Remove __ASSUME_COMPLETE_READV_WRITEV.
[platform/upstream/linaro-glibc.git] / ChangeLog
1 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2
3         * sysdeps/unix/sysv/linux/kernel-features.h
4         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5         * sysdeps/unix/sysv/linux/readv.c: Do not include
6         <kernel-features.h>.
7         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10         unconditional.
11         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12         conditional code.
13         * sysdeps/unix/sysv/linux/writev.c: Do not include
14         <kernel-features.h>.
15         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18         unconditional.
19         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
20         conditional code.
21
22 2014-06-25  Will Newton  <will.newton@linaro.org>
23
24         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25         comment changes throughout the file.  Remove checks
26         for HAVE_*_H definitions that are not required.
27         (__gen_tempname): Call abort if an unknown kind value is
28         passed.
29
30 2014-06-25  Andreas Schwab  <schwab@suse.de>
31
32         [BZ #17086]
33         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
34         scalbln, scalblnf, scalblnl in libc.
35
36 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37
38         [BZ #17086]
39         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
40         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42
43 2014-06-24  Roland McGrath  <roland@hack.frob.com>
44
45         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
46         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
47         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
48         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49         Update #include.
50         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
51         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
52         Update #include.
53         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
54         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
55         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
56         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
57         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
58         * sysdeps/x86/bits/pthreadtypes.h: ... here.
59         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
60         * sysdeps/x86/bits/semaphore.h: ... here.
61         * sysdeps/x86/nptl/elide.h: Moved ...
62         * sysdeps/x86/elide.h: ... here.
63         * sysdeps/x86_64/nptl/Implies: File removed.
64         * sysdeps/i386/nptl/Implies: File removed.
65
66 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
67
68         [BZ #16539]
69         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
70         return the argument for normal arguments with exponent below -64.
71         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
72         Likewise.
73         * math/auto-libm-test-in: Add another test of expm1.
74         * math/auto-libm-test-out: Regenerated.
75
76         [BZ #16287]
77         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
78         calling __erfcl for arguments at least 16.
79         * math/auto-libm-test-in: Add more tests of erf.
80         * math/auto-libm-test-out: Regenerated.
81
82         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
83         individual architectures.
84         * sysdeps/unix/sysv/linux/configure: Regenerated.
85         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
86         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
87         * sysdeps/unix/sysv/linux/powerpc/configure.ac
88         (ldd_rewrite_script): Define variable.
89         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
90         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
91         file.
92         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
93         generated file.
94         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
95         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
96         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
97         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
98         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
99         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
100         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
101         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
102
103 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
104
105         [BZ #17084]
106         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
107         Rename member __data.d to __data.__elision_data.
108
109 2014-06-24  Wilco  <wdijkstr@arm.com>
110
111         * NEWS: Add 16918 to fixed bug list.
112
113 2014-06-24  Wilco  <wdijkstr@arm.com>
114
115         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
116
117 2014-06-24  Wilco  <wdijkstr@arm.com>
118
119         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
120         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
121         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
122         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
123         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
124         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
125         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
126         Use _FPU_MASK_RM.
127
128 2014-06-24  Wilco  <wdijkstr@arm.com>
129
130         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
131
132 2014-06-24  Wilco  <wdijkstr@arm.com>
133
134         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
135         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
136         * sysdeps/arm/fesetround.c (fesetround): Remove space.
137         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
138
139 2014-06-24  Wilco  <wdijkstr@arm.com>
140
141         [BZ #16918]
142         * sysdeps/arm/feupdateenv.c (feupdateenv):
143         Rewrite to reduce FPSCR accesses and fix return value.
144
145 2014-06-24  Wilco  <wdijkstr@arm.com>
146
147         * sysdeps/arm/fclrexcpt.c (feclearexcept):
148         Optimize to avoid unnecessary FPSCR writes.
149         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
150         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
151         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
152         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
153
154 2014-06-24  Wilco  <wdijkstr@arm.com>
155
156         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
157         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
158         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
159         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
160         Call libc_fetestexcept_vfp.
161         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
162         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
163         __SOFTFP__ ifdef so that they can be built for softfp.
164
165 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
166
167         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
168         argument type signed char.
169
170         * Makerules (check-abi): Dump diff of symlist if the test
171         fails.
172
173 2014-06-23  Roland McGrath  <roland@hack.frob.com>
174
175         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
176         using abort.
177
178         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
179         Remove unused variable ST.
180
181 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
182
183         [BZ #16354]
184         [BZ #17061]
185         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
186         small arguments before calling __expm1.
187         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
188         small arguments before calling __expm1f.
189         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
190         small arguments before calling __expm1l.
191         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
192         Likewise.
193         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
194         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
195         spurious underflow for some cosh tests.
196         * math/auto-libm-test-out: Regenerated.
197         * sysdeps/i386/fpu/libm-test-ulps: Update.
198
199         [BZ #17050]
200         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
201         (__ieee754_y1): Set errno if return value overflows.
202         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
203         (__ieee754_y1f): Set errno if return value overflows.
204         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
205         (__ieee754_y1l): Set errno if return value overflows.
206         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
207         (__ieee754_y1l): Set errno if return value overflows.
208         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
209         * math/auto-libm-test-out: Regenerated.
210
211         * math/gen-auto-libm-tests.c: Document use of
212         ignore-zero-inf-sign.
213         (input_flag_type): Add value flag_ignore_zero_inf_sign.
214         (input_flags): Add ignore-zero-inf-sign.
215         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
216         * math/gen-libm-test.pl (generate_testfile): Handle
217         ignore-zero-inf-sign.
218         * math/auto-libm-test-in: Mark some cpow tests with
219         ignore-zero-inf-sign and some with xfail-rounding.
220         * math/auto-libm-test-out: Regenerated.
221         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
222         * sysdeps/i386/fpu/libm-test-ulps: Update.
223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
224
225         [BZ #16315]
226         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
227         overflowing or underflowing operations take place with sign of
228         result.
229         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
230         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
231         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
232         (__ieee754_pow): Recompute overflowing and underflowing results in
233         original rounding mode.
234         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
235         (__powl_helper): Allow negative argument X and scale negated value
236         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
237         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
238         overflowing or underflowing operations take place with sign of
239         result.
240         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
241         Include <math.h>.
242         * math/auto-libm-test-in: Add more tests of pow.
243         * math/auto-libm-test-out: Regenerated.
244         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
245         (pow_tonearest_test_data): Remove.
246         (pow_test_tonearest): Likewise.
247         (pow_towardzero_test_data): Likewise.
248         (pow_test_towardzero): Likewise.
249         (pow_downward_test_data): Likewise.
250         (pow_test_downward): Likewise.
251         (pow_upward_test_data): Likewise.
252         (pow_test_upward): Likewise.
253         (main): Don't call removed functions.
254         * sysdeps/i386/fpu/libm-test-ulps: Update.
255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
256
257 2014-06-23  Roland McGrath  <roland@hack.frob.com>
258
259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
260         Moved ...
261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
263         Moved ...
264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
266         Moved ...
267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
269         Moved ...
270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
272         File removed.
273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
274         File removed.
275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
276         File removed.
277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
278         File removed.
279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
280         File removed.
281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
282         File removed.
283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
284         File removed.
285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
286         File removed.
287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
288         File removed.
289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
290         File removed.
291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
292         File removed.
293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
294         File removed.
295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
296         Moved ...
297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
299         Moved ...
300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
301         ... here.
302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
303         Moved ...
304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
306         Moved ...
307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
309         Moved ...
310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
312         Moved ...
313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
315         Moved ...
316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
318         Moved ...
319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
321         Moved ...
322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
325         ... here.
326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
327         Moved ...
328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
330         Moved ...
331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
332         ... here.
333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
334         Moved ...
335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
336         ... here.
337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
338         Moved ...
339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
340         ... here.
341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
342         Moved ...
343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
345         Moved ...
346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
350         Moved ...
351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
352         ... here.
353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
354         Moved ...
355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
356         ... here.
357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
358         Moved ...
359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
361         Moved ...
362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
364         Moved ...
365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
367         Moved ...
368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
370         Moved ...
371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
372         ... here.
373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
374         Moved ...
375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
377         Moved ...
378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
380         Moved ...
381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
383         Moved ...
384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
388         Moved ...
389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
391         Moved ...
392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
394         Moved ...
395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
396         ... here.
397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
398         Moved ...
399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
400         ... here.
401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
402         Moved ...
403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
404         ... here.
405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
406         Moved ...
407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
409         Moved ...
410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
412         Moved ...
413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
415         Moved ...
416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
417         ... here.
418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
419         Moved ...
420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
421         ... here.
422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
423         Moved ...
424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
425         ... here.
426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
427         Moved ...
428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
430         Moved ...
431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
432
433 2014-06-23  Will Newton  <will.newton@linaro.org>
434             Wilco  <wdijkstr@arm.com>
435
436         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
437         implementation.  Include get-rounding-mode.h.
438         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
439         [!libc_feholdsetround_noex_ctx]: Define
440         libc_feholdsetround_noex_ctx.
441         [!libc_feholdsetround_noexf_ctx]: Define
442         libc_feholdsetround_noexf_ctx.
443         [!libc_feholdsetround_noexl_ctx]: Define
444         libc_feholdsetround_noexl_ctx.
445         (libc_feholdsetround_ctx): New function.
446         (libc_feresetround_ctx): New function.
447         (libc_feholdsetround_noex_ctx): New function.
448         (libc_feresetround_noex_ctx): New function.
449
450 2014-06-23  Roland McGrath  <roland@hack.frob.com>
451
452         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
453         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
454         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
455         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
456         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
457         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
458
459         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
460         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
461         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
462         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
463         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
464         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
465         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
466         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
467         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
468         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
469         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
470         Moved ...
471         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
472         ... here.
473         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
474         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
475         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
476         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
477         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
478         Moved ...
479         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
480         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
481         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
482         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
483         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
484         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
485         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
486         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
487         Moved ...
488         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
489         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
490         Moved ...
491         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
492         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
493         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
494         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
495         Moved ...
496         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
497         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
498         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
499         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
500         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
501         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
502         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
504         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
505         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
506         Moved ...
507         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
508         ... here.
509         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
510         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
511         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
512         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
514         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
515         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
516         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
517         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
518         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
519         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
520         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
521         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
522         Moved ...
523         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
524         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
525         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
526         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
527         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
528         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
529         Moved ...
530         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
531         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
532         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
533         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
534         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
535
536         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
537         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
538         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
539         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
540         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
541         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
542         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
543         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
544         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
545         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
546         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
547         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
548         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
549         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
550         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
551         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
552         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
553         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
554         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
555         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
556         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
557         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
558         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
559         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
560         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
561         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
562         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
563         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
564
565 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
566
567         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
568         (FALLOC_FL_COLLAPSE_RANGE): New macro.
569         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
570         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
571         (IPV6_PMTUDISC_INTERFACE): Likewise.
572         (IPV6_PMTUDISC_OMIT): Likewise.
573
574 2014-06-23  Andreas Schwab  <schwab@suse.de>
575
576         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
577         Remove unused errout label.
578
579 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
580
581         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
582         macro: hardware supports Vector Crypto instructions.
583
584 2014-06-23  Will Newton  <will.newton@linaro.org>
585
586         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
587         rather than __builtin_expect.
588
589         * elf/dl-lookup.c (undefined_msg): Remove variable.
590         (_dl_lookup_symbol_x): Replace undefined_msg with string
591         literal.
592
593         * elf/dl-lookup.c (do_lookup_unique): New function.
594         (do_lookup_x): Move STB_GNU_UNIQUE handling code
595         to a separate function.
596
597 2014-06-23  Andreas Schwab  <schwab@suse.de>
598
599         [BZ #17079]
600         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
601         before reading the next line.
602
603 2014-06-23  Will Newton  <will.newton@linaro.org>
604
605         * test-skeleton.c (signal_handler): Use printf and %m
606         rather than perror.  Use printf rather than fprintf to
607         stderr.  Use puts rather than fputs to stderr.
608         (main): Likewise.
609
610 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
611
612         * nscd/nscd.c (thread_info_t): Remove typedef.
613         (thread_info): Remove variable.
614
615 2014-06-21  Allan McRae  <allan@archlinux.org>
616
617         * NEWS: Mention CVE-2014-4043.
618
619 2014-06-20  Roland McGrath  <roland@hack.frob.com>
620
621         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
622         * nptl/smp.h: ... here.
623
624         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
625
626         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
627         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
628         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
629         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
630
631         * nptl/allocatestack.c: Include <stack-aliasing.h>.
632         * nptl/stack-aliasing.h: New file.
633         * sysdeps/i386/i686/stack-aliasing.h: New file.
634         * sysdeps/i386/i686/nptl/Makefile: File removed.
635         * sysdeps/x86_64/stack-aliasing.h: New file.
636         * sysdeps/x86_64/nptl/Makefile
637         (CFLAGS-pthread_create.c): Variable removed.
638
639         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
640         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
641         old file.
642         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
643         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
644         old file.
645
646 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
647
648         * sysdeps/unix/sysv/linux/arm/kernel-features.h
649         (__ASSUME_SIGFRAME_V2): Remove macro.
650         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
651         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
652         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
653         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
654         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
655         Declare as function.  Remove conditional macro definitions.
656         (__default_rt_sa_restorer): Likewise.
657         (__default_sa_restorer_v1): Remove declaration.
658         (__default_sa_restorer_v2): Likewise.
659         (__default_rt_sa_restorer_v1): Likewise.
660         (__default_rt_sa_restorer_v2): Likewise.
661         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
662         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
663         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
664
665 2014-06-20  Roland McGrath  <roland@hack.frob.com>
666
667         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
668         (libpthread-routines): Add sysdep.
669         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
670         * sysdeps/unix/sysv/linux/sparc/Versions
671         (libpthread: GLIBC_2.3.3): New version set.
672         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
673         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
674         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
675         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
676         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
677         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
678         Moved ...
679         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
680         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
681         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
682         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
683         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
684         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
685         * sysdeps/sparc/nptl/sem_init.c: ... here.
686         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
687         * sysdeps/sparc/nptl/sem_post.c: ... here.
688         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
689         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
690         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
691         * sysdeps/sparc/nptl/sem_wait.c: ... here.
692         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
693         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
694         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
695         (libpthread-routines): Add cpu_relax.
696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
697         File removed.
698         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
699         (librt: GLIBC_2.3.3): New version set.
700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
701         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
702         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
703         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
706         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
707         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
708         Moved ...
709         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
711         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
713         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
715         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
717         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
719         Moved ...
720         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
721         Update #include.
722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
723         Moved ...
724         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
725         Update #include.
726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
727         Moved ...
728         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
729         Update #include.
730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
731         Moved ...
732         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
733         Update #include.
734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
735         Moved ...
736         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
737         Update #include.
738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
739         Moved ...
740         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
741         Update #include.
742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
743         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
745         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
747         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
749         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
751         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
753         Moved ...
754         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
756         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
758         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
759
760 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
761
762         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
763         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
764         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
765         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
766         * nscd/nscd.c: Likewise.
767         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
768         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
769         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
770         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
771
772         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
773         <kernel-features.h>.
774         (init_mq_netlink): Remove conditional have_sock_cloexec
775         definitions.  Remove code conditional on have_sock_cloexec < 0.
776         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
777         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
778         * sysdeps/unix/sysv/linux/opensock.c: Do not include
779         <kernel-features.h>.
780         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
781         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
782
783 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
784
785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
786         Add tests for memset_chk and memset.
787
788         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
789         with AVX2_Usable.
790
791 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
792
793         [BZ #16046]
794         * elf/tst-dl-iter-static.c: New file.
795         * elf/Makefile (tests-static): Add tst-dl-iter-static.
796
797         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
798         error.
799
800 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
801
802         * sysdeps/unix/sysv/linux/kernel-features.h
803         (__ASSUME_F_GETOWN_EX): Remove macro.
804         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
805         <kernel-features.h>.
806         (miss_F_GETOWN_EX): Remove variable or macro.
807         (do_fcntl): Do not check miss_F_GETOWN_EX.
808         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
809
810         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
811         Remove macro.
812         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
813         [!__ASSUME_AT_RANDOM]: Remove conditional code.
814         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
815
816         * sysdeps/unix/sysv/linux/kernel-features.h
817         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
818         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
819         [ADJ_OFFSET_SS_READ]: Make code unconditional.
820         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
821
822 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
823
824         [BZ #17075]
825         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
826         Fix calculation of the symbol's value.
827         * sysdeps/arm/tst-armtlsdescloc.c: New file.
828         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
829         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
830         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
831         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
832         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
833         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
834         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
835         (modules-names): Add `tst-armtlsdescmod',
836         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
837         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
838         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
839         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
840         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
841         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
842         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
843         ($(objpfx)tst-armtlsdescloc): New dependency.
844         ($(objpfx)tst-armtlsdescextnow): Likewise.
845         ($(objpfx)tst-armtlsdescextlazy): Likewise.
846         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
847         TLS scheme support.
848         * sysdeps/arm/configure: Regenerate.
849
850 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
851
852         * include/fcntl.h (__atfct_seterrno): Remove prototype.
853         (__atfct_seterrno_2): Likewise.
854         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
855         <kernel-features.h>.
856         (__ASSUME_ATFCTS): Do not undefine and redefine.
857         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
858         (__have_atfcts): Remove conditional definition.
859         (__fxstatat([__NR_fstatat64]: Make code unconditional.
860         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
861         unreachable if [__ASSUME_ATFCTS].
862         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
863         not undefine and redefine.
864         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
865         <kernel-features.h>.
866         (faccessat) [__NR_faccessat]: Make code unconditional.
867         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
868         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
869         <kernel-features.h>.
870         (fchmodat) [__NR_fchmodat]: Make code unconditional.
871         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
872         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
873         <kernel-features.h>.
874         (fchownat) [__NR_fchownat]: Make code unconditional.
875         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
876         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
877         <kernel-features.h>.
878         (futimesat) [__NR_futimesat]: Make code unconditional.
879         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
880         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
881         <kernel-features.h>.
882         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
883         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
884         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
885         <kernel-features.h>.
886         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
887         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
888         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
889         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
890         <kernel-features.h>.
891         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
892         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
893         * sysdeps/unix/sysv/linux/linkat.c: Do not include
894         <kernel-features.h>.
895         (linkat) [__NR_linkat]: Make code unconditional.
896         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
897         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
898         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
899         <kernel-features.h>.
900         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
901         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
902         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
903         <kernel-features.h>.
904         (mkdirat) [__NR_mkdirat]: Make code unconditional.
905         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
906         * sysdeps/unix/sysv/linux/openat.c: Do not include
907         <kernel-features.h>.
908         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
909         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
910         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
911         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
912         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
913         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
914         <kernel-features.h>.
915         (readlinkat) [__NR_readlinkat]: Make code unconditional.
916         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
917         result of INLINE_SYSCALL directly, not via int variable.
918         * sysdeps/unix/sysv/linux/renameat.c: Do not include
919         <kernel-features.h>.
920         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
921         (renameat) [__NR_renameat]: Make code unconditional.
922         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
923         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
924         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
925         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
926         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
927         (__ASSUME_ATFCTS): Do not undefine and redefine.
928         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
929         <kernel-features.h>.
930         (symlinkat) [__NR_symlinkat]: Make code unconditional.
931         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
932         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
933         <kernel-features.h>.
934         (unlinkat) [__NR_unlinkat]: Make code unconditional.
935         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
936         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
937         (__ASSUME_ATFCTS): Do not undefine and redefine.
938         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
939         <kernel-features.h>.
940         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
941         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
942         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
943         <kernel-features.h>.
944         (__xmknodat) [__NR_mknodat]: Make code unconditional.
945         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
946
947 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
948
949         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
950
951 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
952
953         [BZ #17069]
954         * posix/regcomp.c (parse_reg_exp): Deallocate partially
955         constructed tree before returning error.
956         * posix/bug-regexp36.c: Expand test case.
957
958 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
959
960         [BZ #6803]
961         * math/libm-test.inc (scalbln_test_date):
962         Add errno expectations.
963         * math/w_scalblnf.c: New File.
964         Add wrapper which checks for setting errno to ERANGE.
965         Add weak_alias for corresponding scalbln function.
966         * math/w_scalbln.c: Likewise.
967         * math/w_scalblnl.c: Likewise.
968         * math/Makefile (libm-calls): Add w_scalbln.
969         * sysdeps/ieee754/flt-32/s_scalblnf.c:
970         Remove weak_alias for corresponding scalbln function.
971         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
972         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
973         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
974         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
975         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
976         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
977         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
978         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
979         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
980         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
981         Remove long_double_symbol for scalblnl function in libm, libc.
982         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
983         Add wrapper which checks for setting errno to ERANGE.
984         Add long_double_symbol for scalblnl function in libm, libc.
985         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
986         Remove long_double_symbol for scalblnl in libm.
987         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
988         Add wrapper which checks for setting errno to ERANGE.
989         Add long_double_symbol for scalblnl function in libm.
990         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
991         Do not use wrapper because of own implementation.
992
993 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
994
995         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
996         3 bytes for __pad1 for x32.
997         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
998
999 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1000             H.J. Lu  <hongjiu.lu@intel.com>
1001
1002         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1003         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1004         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1005         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1006         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1007
1008 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1009
1010         [BZ #17069]
1011         * posix/regcomp.c (parse_expression): Deallocate partially
1012         constructed tree before returning error.
1013         * posix/Makefile.c (tests): Add bug-regex36.
1014         (generated): Add bug-regex36.mtrace.
1015         (tests-special): Add $(objpfx)bug-regex36-mem.out
1016         (bug-regex36-ENV): New variable.
1017         ($(objpfx)bug-regex36-mem.out): New rule.
1018         * posix/bug-regex36.c: New file.
1019
1020 2014-06-19  Will Newton  <will.newton@linaro.org>
1021
1022         * malloc/malloc.c (systrim): If extra is zero then return
1023         early.
1024
1025 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1026
1027         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1028
1029 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1030
1031         * sysdeps/aarch64/strchr.S: New file.
1032
1033 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1034
1035         [BZ #17022]
1036         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1037         from arguments -2 or below.
1038         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1039         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1040
1041 2014-06-18  Andreas Schwab  <schwab@suse.de>
1042
1043         [BZ #17062]
1044         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1045         of a bracket expr not to run off the end of the string.
1046         * posix/Makefile (tests): Add tst-fnmatch3.
1047         * posix/tst-fnmatch3.c: New file.
1048
1049 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1050
1051         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1052         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1053         [$(cross-compiling) = no]: Likewise.
1054         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1055         [$(cross-compiling) = no]: Likewise.
1056
1057 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1058
1059         [BZ #17031]
1060         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1061         double, adjusted for any remainder from the high double.
1062         * math/libm-test.inc (nearbyint): Add tests.
1063         (rint): Likewise.
1064
1065 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1066
1067         * nptl/sysdeps/powerpc/Makefile: Moved ...
1068         * sysdeps/powerpc/nptl/Makefile: ... here.
1069         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1070         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1071         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1072         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1073         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1074         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1075         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1076         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1077         * nptl/sysdeps/powerpc/tls.h: Moved ...
1078         * sysdeps/powerpc/nptl/tls.h: ... here.
1079
1080 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1081
1082         [BZ #16681]
1083         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1084         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1085         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1086         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1087         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1088         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1089         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1090         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1091         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1092
1093 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1094
1095         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1096
1097 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1098
1099         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1100         defined operator.
1101
1102         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1103         $TIMEOUTFACTOR.
1104
1105 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1106
1107         [BZ #17058]
1108         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1109         non-executed part of the test.
1110
1111 2014-06-16  Andreas Schwab  <schwab@suse.de>
1112
1113         * string/bits/string2.h (strdup, strndup): Update feature guard.
1114
1115 2014-06-14  David S. Miller  <davem@davemloft.net>
1116
1117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1118
1119 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1120
1121         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1122         that was previously under [RESET_PID].
1123         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1124
1125         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1126         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1127         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1128         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1129         (__libc_vfork): New strong alias.
1130         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1131
1132 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1133
1134         * sysdeps/generic/elide.h: New file.
1135
1136 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1137
1138         * Makefile (installed-headers): Adjust path of pthread.h header.
1139
1140 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1141
1142         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1143         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1144         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1145         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1146
1147         * nptl/sysdeps/s390/Makefile: Moved ...
1148         * sysdeps/s390/nptl/Makefile: ... here.
1149         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1150         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1151         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1152         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1153         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1154         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1155         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1156         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1157         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1158         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1159         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1160         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1161         * nptl/sysdeps/s390/tls.h: Moved ...
1162         * sysdeps/s390/nptl/tls.h: ... here.
1163
1164         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1165         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1166
1167 2014-06-13  David S. Miller  <davem@davemloft.net>
1168
1169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1172         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1176         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1177         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1178         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1179         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1180         Remove RESET_PID cpp guards.
1181         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1182         Remove RESET_PID cpp guards.
1183         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1184
1185 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1186
1187         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1188         __sp to uintptr_t.
1189
1190 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1191
1192         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1193         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1194         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1195         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1196         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1197         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1198         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1199         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1200         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1201         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1202         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1203         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1204         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1205         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1206         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1207         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1208         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1209         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1210         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1211         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1212
1213         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1214         (pthread_rwlock_rdlock): Add elision.
1215         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1216         (pthread_rwlock_wrlock): Add elision.
1217         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1218         (pthread_rwlock_trywrlock): Add elision.
1219         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1220         (pthread_rwlock_tryrdlock): Add elision.
1221         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1222         (pthread_rwlock_tryrdlock): Add elision unlock.
1223         * nptl/sysdeps/pthread/pthread.h:
1224         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1225         (PTHREAD_RWLOCK_INITIALIZER,
1226         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1227         Handle new elision field.
1228         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1229         * sysdeps/arm/nptl/bits/pthreadtypes.h
1230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1231         * sysdeps/sh/nptl/bits/pthreadtypes.h
1232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1233         * sysdeps/tile/nptl/bits/pthreadtypes.h
1234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1235         * sysdeps/a/nptl/bits/pthreadtypes.h
1236         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1237         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1239         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1241         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1242         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1243         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1245         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1247         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1248         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1249         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1250         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1251         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1252         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1253         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1254         (elision_init): Set try_xbegin to zero when no RTM.
1255         * sysdeps/x86/nptl/bits/pthreadtypes.h
1256         (pthread_rwlock_t): Change __pad1 to __rwelision.
1257         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1258
1259 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1260
1261         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1262         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1263         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1264         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1265
1266 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1267
1268         [BZ #16996]
1269         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1270         that the cached result has been set before returning it.
1271
1272 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1273
1274         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1275         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1276         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1277         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1278         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1279         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1280
1281         * nptl/sysdeps/sparc/Makefile: Moved ...
1282         * sysdeps/sparc/nptl/Makefile: ... here.
1283         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1284         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1285         * nptl/sysdeps/sparc/tls.h: Moved ...
1286         * sysdeps/sparc/nptl/tls.h: ... here.
1287         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1288         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1289         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1290         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1291         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1292         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1293         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1294         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1295         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1296         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1297         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1298         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1299         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1300         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1301         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1302         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1303         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1304         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1305         Update #include.
1306         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1307         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1308         Update #include.
1309         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1310         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1311         Update #include.
1312         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1313         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1314         Update #include.
1315
1316         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1317
1318         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1319         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1320
1321         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1322         (struct list_links): Type removed.
1323         (struct thread_node, struct timer_node): Replace struct list_links
1324         with struct list_head.
1325         (list_unlink_ip): Likewise.
1326         * sysdeps/pthread/timer_routines.c
1327         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1328         (list_append, list_insbefore): Likewise.
1329         (list_init): Function removed.
1330         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1331         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1332         * sysdeps/pthread/Makefile: ... here, new file.
1333
1334         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1335         * sysdeps/nptl/Implies: ... here.
1336         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1337         * nptl/sysdeps/pthread/list.h: Moved ...
1338         * include/list.h: ... here.
1339         * nptl/sysdeps/pthread/createthread.c: Moved ...
1340         * nptl/createthread.c: ... here.
1341         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1342         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1343         * nptl/pt-longjmp.c: ... here.
1344         * nptl/sysdeps/pthread/Makefile: Moved ...
1345         * sysdeps/nptl/Makefile: ... here.
1346         * nptl/sysdeps/pthread/Subdirs: Moved ...
1347         * sysdeps/nptl/Subdirs: ... here.
1348         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1349         * sysdeps/nptl/aio_misc.h: ... here.
1350         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1351         * sysdeps/nptl/bits/libc-lock.h: ... here.
1352         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1353         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1354         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1355         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1356         * nptl/sysdeps/pthread/configure: Moved ...
1357         * sysdeps/nptl/configure: ... here.
1358         * nptl/sysdeps/pthread/configure.ac: Moved ...
1359         * sysdeps/nptl/configure.ac: ... here.
1360         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1361         * sysdeps/nptl/gai_misc.h: ... here.
1362         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1363         * sysdeps/nptl/librt-cancellation.c: ... here.
1364         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1365         * sysdeps/nptl/malloc-machine.h: ... here.
1366         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1367         * sysdeps/nptl/pthread-functions.h: ... here.
1368         * nptl/sysdeps/pthread/pthread.h: Moved ...
1369         * sysdeps/nptl/pthread.h: ... here.
1370         * nptl/sysdeps/pthread/setxid.h: Moved ...
1371         * sysdeps/nptl/setxid.h: ... here.
1372         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1373         * sysdeps/nptl/sigfillset.c: ... here.
1374         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1375         * sysdeps/nptl/tcb-offsets.h: ... here.
1376         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1377         * sysdeps/nptl/tst-mqueue8x.c: ... here.
1378         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1379         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1380         * nptl/sysdeps/pthread/allocalim.h: Moved ...
1381         * sysdeps/pthread/allocalim.h: ... here.
1382         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1383         * sysdeps/pthread/bits/sigthread.h: ... here.
1384         * nptl/sysdeps/pthread/flockfile.c: Moved ...
1385         * sysdeps/pthread/flockfile.c: ... here.
1386         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1387         * sysdeps/pthread/ftrylockfile.c: ... here.
1388         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1389         * sysdeps/pthread/funlockfile.c: ... here.
1390         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1391         * sysdeps/pthread/posix-timer.h: ... here.
1392         * nptl/sysdeps/pthread/timer_create.c: Moved ...
1393         * sysdeps/pthread/timer_create.c: ... here.
1394         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1395         * sysdeps/pthread/timer_delete.c: ... here.
1396         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1397         * sysdeps/pthread/timer_getoverr.c: ... here.
1398         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1399         * sysdeps/pthread/timer_gettime.c: ... here.
1400         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1401         * sysdeps/pthread/timer_routines.c: ... here.
1402         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1403         * sysdeps/pthread/timer_settime.c: ... here.
1404         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1405         * sysdeps/pthread/tst-timer.c: ... here.
1406         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1407         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1408
1409         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1410         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1411
1412         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1413         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1414         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1415         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1416         Update #include target.
1417         * nptl/sysdeps/i386/i686/Makefile: Moved ...
1418         * sysdeps/i386/i686/nptl/Makefile: ... here.
1419         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1420         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1421         Update #include target.
1422         * nptl/sysdeps/i386/i686/tls.h: Moved ...
1423         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
1424         * nptl/sysdeps/i386/Makefile: Moved ...
1425         * sysdeps/i386/nptl/Makefile: ... here.
1426         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1427         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1428         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1429         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1430         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1431         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1432         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1433         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1434         * sysdeps/i386/nptl/pthreaddef.h: ... here.
1435         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1436         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1437         * nptl/sysdeps/i386/tls.h: Moved ...
1438         * sysdeps/i386/nptl/tls.h: ... here.
1439
1440         * sysdeps/sh/Makefile [$(subdir) = csu]
1441         (gen-as-const-headers): Add tcb-offsets.sym.
1442         * nptl/sysdeps/sh/Makefile: File removed.
1443         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1444         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1445         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1446         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1447         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1448         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1449         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1450         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1451         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1452         * sysdeps/sh/nptl/pthreaddef.h: ... here.
1453         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1454         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1455         * nptl/sysdeps/sh/tls.h: Moved ...
1456         * sysdeps/sh/nptl/tls.h: ... here.
1457         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1458         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1459         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1460         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1461         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1462         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1463         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1464         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1465         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1466         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1467         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1468         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1469         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1470         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1471         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1472         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1473         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1474         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1475         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1476         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1477         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1478         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1479         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1480         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1481         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1482         Moved ...
1483         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1484         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1485         Moved ...
1486         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1487         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1488         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1489         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1490         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1491         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1492         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1493         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1494         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1495         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1496         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1497         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1498         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1499         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1500         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1501         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1502         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1503         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1504         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1505
1506 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1507
1508         * posix/spawn_faction_addopen.c: Include string.h.
1509
1510 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1511
1512         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1513         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1514         * nptl/sysdeps/x86_64/Makefile: Moved ...
1515         * sysdeps/x86_64/nptl/Makefile: ... here.
1516         * nptl/sysdeps/x86_64/configure: Moved ...
1517         * sysdeps/x86_64/nptl/configure: ... here.
1518         * nptl/sysdeps/x86_64/configure.ac: Moved ...
1519         * sysdeps/x86_64/nptl/configure.ac: ... here.
1520         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1521         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1522         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1523         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1524         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1525         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1526         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1527         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1528         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1529         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1530         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1531         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1532         * nptl/sysdeps/x86_64/tls.h: Moved ...
1533         * sysdeps/x86_64/nptl/tls.h: ... here.
1534         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1535         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1536         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1537         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1538
1539         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1540
1541 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1542
1543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1544
1545 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
1546
1547         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1548         type.
1549         [POSIX] (off_t): Likewise.
1550         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1551         [POSIX] (S_ISBLK): Require macro.
1552         [POSIX] (S_ISCHR): Likewise.
1553         [POSIX] (S_ISDIR): Likewise.
1554         [POSIX] (S_ISFIFO): Likewise.
1555         [POSIX] (S_ISREG): Likewise.
1556         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1557         optional-macro.
1558         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1559         type.
1560         [POSIX] (time_t): Likewise.
1561         [POSIX] (timer_t): Likewise.
1562
1563 2014-06-11  Florian Weimer  <fweimer@redhat.com>
1564
1565         [BZ #17048]
1566         * posix/spawn_int.h (struct __spawn_action): Make the path string
1567         non-const to support deallocation.
1568         * posix/spawn_faction_addopen.c
1569         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1570         * posix/spawn_faction_destroy.c
1571         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
1572         path in all spawn_do_open actions.
1573         * posix/tst-spawn.c (do_test): Exercise the copy operation in
1574         posix_spawn_file_actions_addopen.
1575
1576 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
1577
1578         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1579         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1580         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1581         conditional code always true.
1582         (__libc_vfork): New alias.
1583
1584 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1585
1586         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1587         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1588
1589         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1590
1591         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1592         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1593
1594         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1595         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1596
1597         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1598         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1599
1600 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1601
1602         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1603         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1604         multiarch strcmp for PPC64.
1605         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1606         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1608         multiarch optimizations.
1609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1610         (__libc_ifunc_impl_list): Likewise.
1611
1612 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1613
1614         * benchtests/scripts/validate_benchout.py: New script.
1615         * benchtests/Makefile (bench-func): Call it.
1616         * benchtests/scripts/benchout.schema.json: New file.
1617
1618 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
1619
1620         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1621         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1622         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1623         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1624         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1625         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1626         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1627         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1628         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1629         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1630         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1631         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1632         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1633         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1634         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1635         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1637         Moved ...
1638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1639         ... here.
1640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1641         Moved ...
1642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1644         Moved ...
1645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1646         ... here.
1647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1648         Moved ...
1649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1650         ... here.
1651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1652         Moved ...
1653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1655         Moved ...
1656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1657         ... here.
1658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1659         Moved ...
1660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1661         ... here.
1662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1663         Moved ...
1664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1666         Moved ...
1667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1668         ... here.
1669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1670         Moved ...
1671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1672         ... here.
1673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1674         Moved ...
1675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1676         ... here.
1677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1678         Moved ...
1679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1681         Moved ...
1682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1683         ... here.
1684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1685         Moved ...
1686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1687         ... here.
1688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1689         Moved ...
1690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1691         ... here.
1692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1693         Moved ...
1694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1696         Moved ...
1697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1698         ... here.
1699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1700         Moved ...
1701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1702         ... here.
1703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1704         Moved ...
1705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1707         Moved ...
1708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1709         ... here.
1710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1711         Moved ...
1712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1714         Moved ...
1715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1717         Moved ...
1718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1719         ... here.
1720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1721         Moved ...
1722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1723         ... here.
1724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1725         Moved ...
1726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1727         ... here.
1728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1729         Moved ...
1730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1732         Moved ...
1733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1734         ... here.
1735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1736         Moved ...
1737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1738         ... here.
1739         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1740         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1742         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1744         Moved ...
1745         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1746         ... here.
1747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1748         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1750         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1752         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1753         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1754         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1755         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1756         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1757         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1758         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1759         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1760         Moved ...
1761         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1762         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1763         Moved ...
1764         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1765         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1766         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1767         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1768         Moved ...
1769         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1770         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1771         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1772         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1773         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1774         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1775         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1776
1777 2014-06-10  Wilco  <wdijkstr@arm.com>
1778
1779         * math/test-fenv-return.c: New file.
1780         * math/Makefile: Add new test test-fenv-return.
1781
1782 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
1783
1784         [BZ #17042]
1785         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1786         when x - 1 is zero.
1787         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1788         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1789         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1790         0.0L for an argument of 1.0L.
1791         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1792         Likewise.
1793         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1794         value when x - 1 is zero.
1795         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1796         * sysdeps/i386/fpu/libm-test-ulps: Update.
1797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1798
1799 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
1800
1801         [BZ #15119]
1802         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1803
1804 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1805
1806         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1807         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1808
1809 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1810
1811         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1812         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1813
1814         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1815         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1816
1817         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1818         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1819
1820         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1821         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1822
1823         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1824         if not already defined.
1825         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1826         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1827         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1828         (TLS_INIT_TP): Use it.
1829         (TLS_DEFINE_INIT_TP): New macro.
1830         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1831
1832 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
1833
1834         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1835         constant.
1836         [POSIX] (IXANY): Likewise.
1837         [POSIX] (OLCUC): Likewise.
1838         [POSIX || POSIX2008] (CBAUD): Do not allow.
1839         [POSIX || POSIX2008] (DEFECHO): Likewise.
1840         [POSIX || POSIX2008] (ECHOCTL): Likewise.
1841         [POSIX || POSIX2008] (ECHOKE): Likewise.
1842         [POSIX || POSIX2008] (ECHOPRT): Likewise.
1843         [POSIX || POSIX2008] (EXTA): Likewise.
1844         [POSIX || POSIX2008] (EXTB): Likewise.
1845         [POSIX || POSIX2008] (FLUSHO): Likewise.
1846         [POSIX || POSIX2008] (LOBLK): Likewise.
1847         [POSIX || POSIX2008] (PENDIN): Likewise.
1848         [POSIX || POSIX2008] (SWTCH): Likewise.
1849         [POSIX || POSIX2008] (VDISCARD): Likewise.
1850         [POSIX || POSIX2008] (VDSUSP): Likewise.
1851         [POSIX || POSIX2008] (VLNEXT): Likewise.
1852         [POSIX || POSIX2008] (VREPRINT): Likewise.
1853         [POSIX || POSIX2008] (VSTATUS): Likewise.
1854         [POSIX || POSIX2008] (VWERASE): Likewise.
1855         (B*): Change to B[0123456789]*.
1856         * conform/data/time.h-data [POSIX || UNIX98]
1857         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1858         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1859         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1860         [POSIX] (tm_*): Do not allow.
1861
1862 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
1863
1864         * Makefile (install): Don't set LANGUAGE.
1865         * Makefile.in (install): Likewise.
1866         * assert/Makefile (test-assert-ENV): Remove variable.
1867         (test-assert-perr-ENV): Likewise.
1868         * elf/Makefile (neededtest4-ENV): Likewise.
1869         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1870         [$(cross-compiling) = no]: Don't set LANGUAGE.
1871         * io/ftwtest-sh (LANG): Remove variable.
1872         * libio/Makefile (tst-widetext-ENV): Likewise.
1873         * manual/install.texi (Running make install): Don't refer to
1874         environment settings for make install.
1875         * INSTALL: Regenerated.
1876         * nptl/tst-tls6.sh: Don't set LANG.
1877         * posix/globtest.sh (LANG): Remove variable.
1878         * string/Makefile (tester-ENV): Likewise.
1879         (inl-tester-ENV): Likewise.
1880         (noinl-tester-ENV): Likewise.
1881         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1882         [$(cross-compiling) = no]: Don't set LANGUAGE.
1883         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1884         without explicit environment settings.
1885
1886 2014-06-06  Roland McGrath  <roland@hack.frob.com>
1887
1888         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1889         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1890         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1891         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1892
1893 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
1894
1895         * crypt/crypt-private.h [DOS]: Add some includes taken from the
1896         other files in the crypt directory.
1897         * crypt/crypt.c: Remove duplicate includes.
1898         * crypt/crypt-entry.c: Likewise.
1899         * crypt/crypt_util.c: Likewise.
1900
1901 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
1902
1903         * Makeconfig (run-program-env): New variable.
1904         (run-program-prefix-before-env): Likewise.
1905         (run-program-prefix-after-env): Likewise.
1906         (run-program-prefix): Define in terms of new variables.
1907         (built-program-cmd-before-env): New variable.
1908         (built-program-cmd-after-env): Likewise.
1909         (built-program-cmd): Define in terms of new variables.
1910         (test-program-prefix-before-env): New variable.
1911         (test-program-prefix-after-env): Likewise.
1912         (test-program-prefix): Define in terms of new variables.
1913         (test-program-cmd-before-env): New variable.
1914         (test-program-cmd-after-env): Likewise.
1915         (test-program-cmd): Define in terms of new variables.
1916         * Rules (make-test-out): Use $(run-program-env).
1917         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1918         (help): Do not mention environment variables.  Mention
1919         --timeoutfactor option.
1920         (timeoutfactor): New variable.
1921         (blacklist_exports): Remove function.
1922         (exports): Remove variable.
1923         (command): Do not include ${exports}.
1924         * manual/install.texi (Configuring and compiling): Do not mention
1925         test wrappers preserving environment variables.  Mention that last
1926         assignment to a variable must take precedence.
1927         * INSTALL: Regenerated.
1928         * benchtests/Makefile (run-bench): Use $(run-program-env).
1929         * catgets/Makefile ($(objpfx)test1.cat): Use
1930         $(built-program-cmd-before-env), $(run-program-env) and
1931         $(built-program-cmd-after-env).
1932         ($(objpfx)test2.cat): Do not specify environment variables
1933         explicitly.
1934         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1935         $(run-program-env) and $(built-program-cmd-after-env).
1936         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1937         $(run-program-env) and $(test-program-cmd-after-env).
1938         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1939         explicitly.
1940         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1941         run_program_env and test_program_cmd_after_env arguments.
1942         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1943         * elf/tst-pathopt.sh: Use run_program_env argument.
1944         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1945         $(test-wrapper-env) and $(run-program-env).
1946         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1947         run_program_env arguments.
1948         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1949         * intl/Makefile ($(objpfx)tst-gettext.out): Use
1950         $(test-program-prefix-before-env), $(run-program-env) and
1951         $(test-program-prefix-after-env).
1952         ($(objpfx)tst-gettext2.out): Likewise.
1953         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1954         run_program_env and test_program_prefix_after_env arguments.
1955         * intl/tst-gettext2.sh: Likewise.
1956         * intl/tst-gettext4.sh: Do not set environment variables
1957         explicitly.
1958         * intl/tst-gettext6.sh: Likewise.
1959         * intl/tst-translit.sh: Likewise.
1960         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1961         $(test-program-prefix-before-env), $(run-program-env) and
1962         $(test-program-prefix-after-env).
1963         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1964         run_program_env and test_program_prefix_after_env arguments.
1965         * math/Makefile (run-regen-ulps): Use $(run-program-env).
1966         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1967         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
1968         explicitly with each use of ${test_wrapper_env}.
1969         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1970         $(test-program-prefix-before-env), $(run-program-env) and
1971         $(test-program-prefix-after-env).
1972         * posix/tst-getconf.sh: Do not set environment variables
1973         explicitly.
1974         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1975         run_program_env and test_program_prefix_after_env arguments.
1976         * stdio-common/tst-printf.sh: Do not set environment variables
1977         explicitly.
1978         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1979         $(test-program-prefix-before-env), $(run-program-env) and
1980         $(test-program-prefix-after-env).
1981         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1982         run_program_env and test_program_prefix_after_env arguments.
1983         Split $test calls into $test_pre and $test.
1984         * timezone/Makefile (build-testdata): Use
1985         $(built-program-cmd-before-env), $(run-program-env) and
1986         $(built-program-cmd-after-env).
1987
1988 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1989
1990         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1991         strlen for non SHARED builds.
1992
1993 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1994
1995         * nptl/allocatestack.c (check_list): Inlined function...
1996         (__reclaim_stacks): ... here.
1997
1998 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1999
2000         [BZ #15698]
2001         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2002         memory overrun.
2003
2004 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2005
2006         * Rules (make-test-out): Include
2007         LOCPATH=$(common-objpfx)localedata in default environment.
2008         * debug/Makefile (tst-chk1-ENV): Remove variable.
2009         (tst-chk2-ENV): Likewise.
2010         (tst-chk3-ENV): Likewise.
2011         (tst-chk4-ENV): Likewise.
2012         (tst-chk5-ENV): Likewise.
2013         (tst-chk6-ENV): Likewise.
2014         (tst-lfschk1-ENV): Likewise.
2015         (tst-lfschk2-ENV): Likewise.
2016         (tst-lfschk3-ENV): Likewise.
2017         (tst-lfschk4-ENV): Likewise.
2018         (tst-lfschk5-ENV): Likewise.
2019         (tst-lfschk6-ENV): Likewise.
2020         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2021         (tst-iconv7-ENV): Likewise.
2022         * intl/Makefile (LOCPATH-ENV): Likewise.
2023         (tst-codeset-ENV): Likewise.
2024         (tst-gettext3-ENV): Likewise.
2025         (tst-gettext5-ENV): Likewise.
2026         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2027         (tst-fopenloc-ENV): Likewise.
2028         (tst-fgetws-ENV): Remove variable.
2029         (tst-ungetwc1-ENV): Likewise.
2030         (tst-ungetwc2-ENV): Likewise.
2031         (bug-ungetwc2-ENV): Likewise.
2032         (tst-swscanf-ENV): Likewise.
2033         (bug-ftell-ENV): Likewise.
2034         (tst-fgetwc-ENV): Likewise.
2035         (tst-fseek-ENV): Likewise.
2036         (tst-ftell-partial-wide-ENV): Likewise.
2037         (tst-ftell-active-handler-ENV): Likewise.
2038         (tst-ftell-append-ENV): Likewise.
2039         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2040         (tst-regexloc-ENV): Likewise.
2041         (bug-regex1-ENV): Likewise.
2042         (tst-regex-ENV): Likewise.
2043         (tst-regex2-ENV): Likewise.
2044         (bug-regex5-ENV): Likewise.
2045         (bug-regex6-ENV): Likewise.
2046         (bug-regex17-ENV): Likewise.
2047         (bug-regex18-ENV): Likewise.
2048         (bug-regex19-ENV): Likewise.
2049         (bug-regex20-ENV): Likewise.
2050         (bug-regex22-ENV): Likewise.
2051         (bug-regex23-ENV): Likewise.
2052         (bug-regex25-ENV): Likewise.
2053         (bug-regex26-ENV): Likewise.
2054         (bug-regex30-ENV): Likewise.
2055         (bug-regex32-ENV): Likewise.
2056         (bug-regex33-ENV): Likewise.
2057         (bug-regex34-ENV): Likewise.
2058         (bug-regex35-ENV): Likewise.
2059         (tst-rxspencer-ENV): Likewise.
2060         (tst-rxspencer-no-utf8-ENV): Likewise.
2061         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2062         (tst-sscanf-ENV): Likewise.
2063         (tst-swprintf-ENV): Likewise.
2064         (tst-swscanf-ENV): Likewise.
2065         (test-vfprintf-ENV): Likewise.
2066         (scanf13-ENV): Likewise.
2067         (bug14-ENV): Likewise.
2068         (tst-grouping-ENV): Likewise.
2069         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2070         (tst-strtod3-ENV): Likewise.
2071         (tst-strtod4-ENV): Likewise.
2072         (tst-strtod5-ENV): Likewise.
2073         (testmb2-ENV): Likewise./
2074         * string/Makefile (tst-strxfrm-ENV): Likewise.
2075         (tst-strxfrm2-ENV): Likewise.
2076         (bug-strcoll1-ENV): Likewise.
2077         (test-strcasecmp-ENV): Likewise.
2078         (test-strncasecmp-ENV): Likewise.
2079         * time/Makefile (tst-strptime-ENV): Likewise.
2080         (tst-ftime_l-ENV): Likewise.
2081         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2082         (tst-mbrtowc-ENV): Likewise.
2083         (tst-wcrtomb-ENV): Likewise.
2084         (tst-mbrtowc2-ENV): Likewise.
2085         (tst-c16c32-1-ENV): Likewise.
2086         (tst-mbsnrtowcs-ENV): Likewise.
2087
2088 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2089
2090         * manual/resource.texi (How to get information about the memory
2091         subsystem?): Fix typo.
2092         Reported by Peon de la Parra Ivan <peon@keba.com>
2093
2094 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2095
2096         [BZ #16882]
2097         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2098         (pthread_spin_lock): Branch out of spin loop to proper location.
2099         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2100         (pthread_spin_lock): Likewise.
2101
2102         * nptl/tst-spin4.c: New test.
2103         * nptl/Makefile (tests): Add tst-spin4.
2104
2105 2014-06-03  Andreas Schwab  <schwab@suse.de>
2106
2107         [BZ #15946]
2108         * resolv/res_send.c (send_dg): Reload file descriptor after
2109         calling reopen.
2110
2111 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2112
2113         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2114
2115 2014-06-03  Richard Henderson  <rth@redhat.com>
2116
2117         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2118         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2119         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2120         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2121         in the SAVE_PID block.
2122         (__libc_vfork): New alias.
2123         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2124
2125         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2126         child in registers, not on the stack.  Remove RESET_PID conditionals.
2127         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2128
2129 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2130
2131         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2132
2133 2014-06-03  Wilco  <wdijkstr@arm.com>
2134
2135         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2136         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2137         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2138         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2139         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2140         Likewise.
2141
2142 2014-06-03  Wilco  <wdijkstr@arm.com>
2143
2144         * sysdeps/aarch64/fpu/math_private.h
2145         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2146         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2147         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2148         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2149         Fix declarations.
2150
2151 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2152
2153         * crypt/crypt-private.h: Include ufc-crypt.h.
2154         (__b64_from_24bit): Declare extern.
2155         * crypt/crypt_util.c(__b64_from_24bit): New function.
2156         (b64t): New static const variable.
2157         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2158         (b64t): Remove variable.
2159         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2160         * crypt/sha256-crypt.c: Include crypt-private.h.
2161         (b64t): Remove variable.
2162         (__sha256_crypt_r): Remove b64_from_24bit and replace
2163         with __b64_from_24bit.
2164         * crypt/sha512-crypt.c: Likewise.
2165
2166 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2167
2168         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2169         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2170         Label the code __libc_vfork rather than __vfork.
2171         [!NOT_IN_libc] (vfork): Define as weak alias.
2172         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2173         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2174         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2175
2176 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2177
2178         * malloc/malloc.c (malloc_info): Fix format specifier for
2179         n_mmaps.
2180
2181 2014-06-02  Wilco  <wdijkstr@arm.com>
2182
2183         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2184         FPCR write.
2185
2186 2014-06-02  Wilco  <wdijkstr@arm.com>
2187
2188         [BZ #17009]
2189         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2190         Rewrite to reduce FPCR/FPSR accesses.
2191
2192 2014-06-01  David S. Miller  <davem@davemloft.net>
2193
2194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2195
2196 2014-05-31  David S. Miller  <davem@davemloft.net>
2197
2198         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2199         to occur in round to nearest mode when |x| >= 2.0
2200
2201 2014-05-30  Richard Henderson  <rth@twiddle.net>
2202
2203         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2204         (PSEUDO_RET_NOERRNO): Remove.
2205         (ret): Don't redefine.
2206         (ret_NOERRNO): Define in terms of ret.
2207         (ret_ERRVAL): Likewise.
2208
2209         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2210         use of PSEUDO_RET; perform the error check directly.
2211
2212 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2213
2214         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2215         with __int128_t.
2216
2217 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2218
2219         * malloc/malloc (malloc_info): Fix formatting.
2220
2221 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2222             Roland McGrath  <roland@hack.frob.com>
2223
2224         * malloc/malloc (malloc_info): Also print mmapped statistics.
2225
2226 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2227
2228         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2229         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2230
2231 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2232
2233         * malloc/malloc.c (malloc_info): Inline mi_arena.
2234
2235 2014-05-29  Richard Henderson  <rth@twiddle.net>
2236
2237         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2238         Remove comma before expanding ASM_ARGS_##nr.
2239         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2240         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2241         of ASM_ARGS_##nr.
2242         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2243         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2244         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2245         (ASM_ARGS_1): Add leading comma.
2246
2247         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2248         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2249         to __errno_location.
2250         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2251         Remove the expected plt for __errno_location.
2252
2253         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2254         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2255         call to __read_tp.
2256
2257         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2258         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2259         it and break it down.
2260         (DOCARGS_0, DOCARGS_1): Do nothing.
2261         (DOCARGS_2): Update to store into the new stack frame.
2262         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2263         (UNDOCARGS_1): Update to restore from the new stack frame.
2264         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2265         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2266
2267         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2268         (SINGLE_THREAD_P): New parameter for result regno.
2269         (PSEUDO): Update to match; use cbz instead of beq.
2270
2271         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2272         Use ENTRY to define the _nocancel entry point.  Share the syscall
2273         and syscall error check paths with the cancel path.
2274         (PSEUDO_END): New.
2275
2276         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2277         whitespace; tabs before and after asm mnemonics.
2278
2279 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2280
2281         [BZ #15132]
2282         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2283         Call fstat64 or stat64 internally, depending on arguments passed.
2284         Replace stat buffer argument with file descriptor argument.
2285         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2286         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2287         Pass fd to __internal_statvfs instead of calling fstat64.
2288         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2289         Pass fd to __internal_statvfs64 instead of calling fstat64.
2290         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2291         Pass -1 to __internal_statvfs instead of calling stat64.
2292         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2293         Pass -1 to __internal_statvfs64 instead of calling stat64.
2294
2295 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2296
2297         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2298         that was previously under [RESET_PID].
2299         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2300
2301         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2302         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2303
2304 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2305
2306         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2307
2308         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2309         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2310
2311 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2312
2313         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2314
2315 2014-05-27  Andreas Schwab  <schwab@suse.de>
2316
2317         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2318         TLS_INIT_TP macro.
2319         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2320         * elf/rtld.c (init_tls, dl_main): Likewise.
2321         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2322         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2323         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2324         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2325         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2326         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2327         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2328         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2329         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2330         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2331         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2332         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2333         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2334         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2335         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2336         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2337         * sysdeps/generic/tls.h: Update description.
2338
2339 2014-05-27  Will Newton  <will.newton@linaro.org>
2340
2341         [BZ #16990]
2342         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2343         and restore r2 rather than just restoring.
2344
2345 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2346
2347         [BZ #16724]
2348         * libio/tst-ftell-append.c: New test case.
2349         * libio/Makefile (tests): Add test case.
2350         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2351         append mode.
2352         * libio/wfileops.c (do_ftell_wide): Likewise.
2353
2354 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2355
2356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2357
2358         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2359         ...
2360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2362         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2363         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2364         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2365         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2366         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2367         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2368         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2369         Moved ...
2370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2371         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2372         Moved ...
2373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2374         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2375         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2376         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2377         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2378         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2379         ...
2380         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2381         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2382         Moved ...
2383         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2384         here.
2385         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2386         ...
2387         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2388         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2389         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2390
2391         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2392         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2393         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2394         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2395
2396         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2397         merge into ...
2398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2400         ...
2401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2402         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2403         ...
2404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2405         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2406         Moved ...
2407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2408         here.
2409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2410         Moved ...
2411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2413         Moved ...
2414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2415
2416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2417         conditional [RESET_PID].
2418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2420         removed.
2421         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2422         removed.
2423
2424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2425         <tcb-offsets.h>.
2426         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2427         (__libc_vfork): New strong alias.
2428         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2429         removed.
2430         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2431         Removed.
2432
2433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2434         <tcb-offsets.h>.
2435         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2436         (__libc_vfork): New strong alias.
2437         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2438         removed.
2439         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2440         removed.
2441
2442 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
2443
2444         * malloc/malloc.c (mi_arena): New function.
2445         (malloc_info): Remove nested function mi_arena. Call non-nosted
2446         function mi_arena.
2447
2448 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2449
2450         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2451         by insrwi.
2452         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2453         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2454         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2455         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2456         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2457         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2458         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2459
2460 2014-05-26  Andreas Schwab  <schwab@suse.de>
2461
2462         [BZ #16984]
2463         * locale/programs/repertoire.c (repertoire_read): Add slash
2464         between I18NPATH element and file name.
2465         * locale/programs/locfile.c (locfile_read): Likewise.
2466
2467 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2468
2469         * nptl/pthread_mutexattr_settype.c
2470         (__pthread_mutexattr_settype):
2471         Disable lock elision for PTHREAD_MUTEX_NORMAL.
2472
2473 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2474
2475         * nptl/tst-mutex5 (do_test):
2476         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2477
2478 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2479
2480         * benchtests/README: Document 'init' directive.
2481         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2482         BENCH_INIT.
2483         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2484         (parse_file): Recognize 'init' directive.
2485
2486 2014-05-26  Kyle McMartin  <kyle@redhat.com>
2487
2488         [BZ #16796]
2489         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2490         alignment of struct pthread.
2491
2492 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2493
2494         [BZ #16878]
2495         * nscd/netgroupcache.c (addgetnetgrentX): Look for
2496         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2497         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2498         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2499
2500 2014-05-25  Richard Henderson  <rth@twiddle.net>
2501
2502         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2503         (SINGLE_THREAD_P_PIC): Remove.
2504         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2505         (SINGLE_THREAD_P_PIC): Remove.
2506
2507         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2508         branch to syscall error ...
2509         (PSEUDO): ... here.
2510         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2511         from __local_syscall_error to .Lsyscall_error.
2512         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2513         (SYSCALL_ERROR): Update label name.
2514
2515         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2516         Do not use DOARGS/UNDOARGS.
2517         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2518         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2519         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2520         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2521         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2522
2523         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2524         block comment.
2525
2526         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2527         define if !NOT_IN_libc.
2528         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2529         define with non-default symbol versions.
2530
2531 2014-05-23  Richard Henderson  <rth@twiddle.net>
2532
2533         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2534         (vfork, __vfork): Define via compat_symbol.
2535
2536         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2537         [!HAVE_IFUNC] (vfork_compat): Remove.
2538         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2539
2540 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2541
2542         [BZ #16978]
2543         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2544         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2545         variable.
2546
2547 2014-05-23  Richard Henderson  <rth@twiddle.net>
2548
2549         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2550         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2551         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2552         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2553
2554         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2555         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2556         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2557         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2558         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2559         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2560         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2561         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2562         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2563         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2564         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2565         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2566         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2567         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2568         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2569         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2570         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2571         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2572         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2573         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2574         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2575         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2576         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2577         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2578         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2579         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2580         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2581         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2582         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2583         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2584         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2585         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2586         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2587         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2588         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2589         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2590         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2591         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2592         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2593         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2594         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2595         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2596         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2597         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2598         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2599         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2600         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2601         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2602         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2603         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2604         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2605         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2606         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2607         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2608         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2609         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2610
2611         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2612         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2613         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
2614         before exiting on error.
2615         (__libc_vfork): New strong alias.
2616         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2617         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2618
2619         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2620         that was previously under [RESET_PID].
2621         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2622
2623         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2624
2625 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2626
2627         [BZ #16977]
2628         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2629         value when x - 1 is zero.
2630         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2631         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2632         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2633         0.0L for an argument of 1.0L.
2634         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2635         Likewise.
2636         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2637         value when x - 1 is zero.
2638         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2639         * sysdeps/i386/fpu/libm-test-ulps: Update.
2640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2641
2642 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2643
2644         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2645         alphasort and versionsort.
2646
2647 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2648
2649         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2650         macro.
2651         [copysignf]: Likewise.
2652
2653 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2654
2655         * crypt/md5-crypt.c: Fix formatting.
2656
2657 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2658
2659         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2660         (b64_from_24bit): New function.
2661
2662 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2663
2664         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2665         libc_hidden_builtin_def to ifunc.
2666         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2667         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2668
2669 2014-05-21  Roland McGrath  <roland@hack.frob.com>
2670
2671         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2672         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2673
2674 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
2675
2676         * nscd/Depend (linuxthreads): Remove.
2677         (nptl): Add.
2678         * resolv/Depend (linuxthreads): Remove.
2679         * rt/Depend (linuxthreads): Remove.
2680
2681         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2682         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2683         $(common-objpfx)elf/.
2684         (link-libc-before-gnulib): Likewise.
2685         (elfobjdir): Remove variable.
2686         * Makefile (install): Use $(elf-objpfx) instead of
2687         $(common-objpfx)elf/.
2688         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2689         $(elfobjdir)/.
2690         (link-libc-deps): Likewise.
2691         ($(common-objpfx)libc.so): Likewise.
2692         ($(common-objpfx)linkobj/libc.so): Likewise.
2693         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2694         instead of $(common-objpfx)elf/.
2695         (symbolic-link-list): Likewise.
2696         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2697         [$(cross-compiling) = no]: Likewise.
2698         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2699         $(elfobjdir)/.
2700         (static-gnulib-arch): Likewise.
2701         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2702         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2703         $(common-objpfx)elf/.
2704
2705 2014-05-21  Richard Henderson  <rth@redhat.com>
2706
2707         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2708         (SINGLE_THREAD_P): Use the correct width load.  Fold
2709         into the ldr offset.
2710
2711         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2712         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2713
2714 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
2715
2716         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2717         (libgcc_s_resume): Use __attribute_used__.
2718         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2719         Likewise.
2720
2721 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2722
2723         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2724         optimization when used with float constants.
2725
2726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2727
2728 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
2729
2730         [BZ #16915]
2731         * locale/nl_langinfo_l.c: Make direct reference to every
2732         _nl_current_CATEGORY symbol.
2733         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2734         (tests-static): Add tst-langinfo-static.
2735         (tests-special): Add tst-langinfo-static.out.
2736         ($(objpfx)tst-langinfo.out): Redirect output.
2737         ($(objpfx)tst-langinfo-static.out): New.
2738         * localedata/tst-langinfo.sh: Send output to stdout.
2739         * localedata/tst-langinfo-static.c: New file.
2740
2741         [BZ #16965]
2742         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2743         when the shift amount is modulo the limb size.
2744
2745 2014-05-20  Richard Henderson  <rth@redhat.com>
2746
2747         [BZ #16967]
2748         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2749         Change type of sa_flags from unsigned int to int.
2750
2751         [BZ #16966]
2752         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2753
2754         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2755
2756 2014-05-20  Will Newton  <will.newton@linaro.org>
2757
2758         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2759         Test the return value of the system call in the nocancel case.
2760
2761 2014-05-20  Will Newton  <will.newton@linaro.org>
2762             Yvan Roux  <yvan.roux@linaro.org>
2763
2764         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2765         #include of asm/ptrace.h.
2766         (PTRACE_GET_THREAD_AREA): Remove #undef.
2767         (PTRACE_GETHBPREGS): Likewise.
2768         (PTRACE_SETHBPREGS): Likewise.
2769         (struct user_regs_struct): New structure.
2770         (struct user_fpsimd_struct): New structure.
2771         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2772         #include of asm/ptrace.h and second #include of sys/user.h.
2773         (PTRACE_GET_THREAD_AREA): Remove #undef.
2774         (PTRACE_GETHBPREGS): Likewise.
2775         (PTRACE_SETHBPREGS): Likewise.
2776         (ELF_NGREG): Use new struct user_regs_struct.
2777         (elf_fpregset_t): Use new struct user_fpsimd_struct.
2778
2779 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2780
2781         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2782         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2783
2784 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
2785
2786         [BZ #16958]
2787         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2788         membar to avoid block loads/stores to overlap previous stores.
2789
2790 2014-05-17  Richard Henderson  <rth@redhat.com>
2791
2792         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2793         Create the __##syscall_name##_nocancel entry point.
2794         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2795         Remove; let the sysdep-cancel.h code create it.
2796
2797 2014-05-17  David S. Miller  <davem@davemloft.net>
2798
2799         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2800         Protect with __USE_GNU.
2801         (TIOCSET_TEMPT): Likewise.
2802         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2803         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2804         these are already provided in bits/ioctl-types.h
2805
2806 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2807
2808         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2809         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2810
2811         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2812         Use wait4 regardless of [__NR_waitpid].
2813
2814 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2815
2816         PR libgcc/60166
2817         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2818         (_FP_NANSIGN_Q): Set the quiet bit.
2819
2820 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
2821
2822         * benchtests/Makefile
2823         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2824         not $(common-objpfx)math/libm.so.
2825         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2826         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2827         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2828         $(common-objpfx)dlfcn/libdl.so.
2829         ($(objpfx)tst-audit8): Depend on $(libm), not
2830         $(common-objpfx)math/libm.so.
2831         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2832         not $(common-objpfx)dlfcn/libdl.so.
2833         * math/Makefile
2834         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2835         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
2836         [$(build-shared) = yes].
2837         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2838         $(common-objpfx)nptl/libpthread.so.
2839         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2840         $(common-objpfx)math/libm.so$(libm.so-version) or
2841         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2842         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2843         $(common-objpfx)dlfcn/libdl.so.
2844         * setjmp/Makefile (link-libm): Remove variable.
2845         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2846         * stdio-common/Makefile (link-libm): Remove variable.
2847         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2848         * stdlib/Makefile (link-libm): Remove variable.
2849         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2850         ($(objpfx)tst-strtod-round): Likewise.
2851         ($(objpfx)tst-tininess): Likewise.
2852         ($(objpfx)tst-strtod-underflow): Likewise.
2853         ($(objpfx)tst-strtod6): Likewise.
2854         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2855         $(libdl), not $(common-objpfx)nptl/libpthread.so and
2856         $(common-objpfx)dlfcn/libdl.so.
2857
2858 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2859
2860         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2861         BSD terminal modes definitions.
2862
2863 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2864
2865         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2866         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2867
2868         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2869         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2870         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2871         Don't do #include_next.
2872         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2873         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2874         Don't do #include_next.
2875         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2876         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2877         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2878         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2879
2880 2014-05-16  Allan McRae  <allan@archlinux.org>
2881
2882         * po/sv.po: Update Swedish translation from translation project.
2883
2884         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2885         in sed expression.
2886
2887 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
2888
2889         [BZ #16917]
2890         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2891         errno if the TIOCGPTN ioctl fails with an error different than
2892         EINVAL.
2893         * login/tst-ptsname.c: New file.
2894         * login/Makefile (tests): Add tst-ptsname.
2895
2896         [BZ #16943]
2897         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2898         and prlimit64.
2899
2900 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2901
2902         [BZ #16849]
2903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2904         herrno to return EAI_AGAIN.
2905
2906 2014-05-14  Roland McGrath  <roland@hack.frob.com>
2907
2908         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2909         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2910         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2911         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2912         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2913         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2914         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2915         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2916         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2917         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2918         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2919         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2920         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2921         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2922         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2923         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2924         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2925         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2926         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2927         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2928         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2929         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2930         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2931         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2932         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2933         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2934         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2935         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2936         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2937         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2939         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2941         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2943         Moved ...
2944         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2946         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2948         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2950         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2952         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2954         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2956         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2958         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2960         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2962         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2964         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2966         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2968         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2970         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2972         Moved ...
2973         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2975         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2977         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2979         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2981         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2983         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2985         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2987         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2989         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2991         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2993         Moved ...
2994         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2996         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2997
2998         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2999         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3000         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3001         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3002         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3003         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3004         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3005         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3006         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3007         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3008         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3009         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3010         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3011         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3012         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3013         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3014         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3015         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3016         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3017         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3018         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3019         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3020         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3021         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3022         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3023         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3024         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3025         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3026         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3027         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3028         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3029
3030         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3031         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3032
3033         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3034         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3035         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3036         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3037         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3038         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3039         Moved ...
3040         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3041         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3042         Moved ...
3043         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3044         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3045         Moved ...
3046         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3047         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3048         Moved ...
3049         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3050         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3051         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3052         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3053         Moved ...
3054         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3055         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3056         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3057         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3058         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3059         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3060         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3061         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3062         Moved ...
3063         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3064         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3065         Moved ...
3066         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3067         ... here.
3068         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3069         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3070         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3071         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3072         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3073         Moved ...
3074         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3075         ... here.
3076         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3077         Moved ...
3078         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3079         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3080         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3081         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3082         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3083         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3084         Moved ...
3085         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3086         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3087         Moved ...
3088         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3089         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3090         Moved ...
3091         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3092         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3093         Moved ...
3094         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3095         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3096         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3097         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3098         Moved ...
3099         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3100         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3101         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3102         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3103         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3104         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3105         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3106         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3107         Moved ...
3108         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3109         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3110         Moved ...
3111         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3112         ... here.
3113         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3114         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3115         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3116         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3117         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3118         Moved ...
3119         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3120         ... here.
3121         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3122         Moved ...
3123         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3124         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3125         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3126         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3127         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3128         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3129         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3130         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3131         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3132         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3133         Moved ...
3134         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3135         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3136         Moved ...
3137         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3138         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3139         Moved ...
3140         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3141         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3142         Moved ...
3143         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3144         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3145         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3146         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3147         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3148         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3149         Moved ...
3150         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3151         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3152         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3153         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3154         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3155         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3156         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3157         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3158         Moved ...
3159         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3160         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3161         Moved ...
3162         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3163         ... here.
3164         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3165         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3166         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3167         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3168         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3169         Moved ...
3170         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3171         ... here.
3172         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3173         Moved ...
3174         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3175         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3176         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3177         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3178         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3179         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3180         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3181         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3182         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3183         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3184         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3185
3186         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3187         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3188
3189         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3190         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3191
3192         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3193         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3194         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3195         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3196         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3197         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3198         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3199         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3200         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3201         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3202         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3203         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3204         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3205         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3206         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3207         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3208         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3209         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3210         Moved ...
3211         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3212         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3213         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3214         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3215         Moved ...
3216         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3217         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3218         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3219         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3220         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3221         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3222         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3223         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3224         Moved ...
3225         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3226         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3227         Moved ...
3228         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3229         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3230         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3231         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3232         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3233         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3234         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3235         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3236         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3237         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3238         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3239         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3240         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3241         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3242         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3243         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3244         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3245
3246         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3247         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3248         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3249         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3250         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3251
3252         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3253         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3254         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3255         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3256         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3257         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3258         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3259         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3260         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3261         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3262
3263         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3264         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3265
3266         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3267         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3268         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3269         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3270         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3271         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3272         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3273         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3274         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3275         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3276         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3277         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3278         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3279         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3280         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3281         Update #include.
3282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3283         Likewise.
3284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3285         Likewise.
3286         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3287         Likewise.
3288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3289         Likewise.
3290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3291         Likewise.
3292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3293         Likewise.
3294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3295         Likewise.
3296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3297         Likewise.
3298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3299         Likewise.
3300         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3301         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3302         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3303         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3305         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3306         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3307         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3308         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3309         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3310         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3311         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3312         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3313         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3314         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3315
3316         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3317         that was previously under [RESET_PID].
3318         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3319         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3320         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3321
3322         * sysdeps/i386/nptl/Implies: New file.
3323         * sysdeps/x86_64/nptl/Implies: New file.
3324         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3325         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3326         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3327         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3328
3329         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3330         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3331         (__libc_vfork): New strong alias.
3332         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3333         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3334
3335         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3336         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3337         (__libc_vfork): New strong alias.
3338         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3339         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3340
3341         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3342         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3343         (__libc_vfork): New strong alias.
3344         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3345         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3346         * nptl/pt-vfork.c: New file.
3347         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3348         (libpthread: GLIBC_2.20): New version set (empty).
3349
3350 2014-05-14  Will Newton  <will.newton@linaro.org>
3351
3352         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3353         rather than #if.
3354
3355 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3356
3357         [BZ #16564]
3358         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3359         arguments with exponent 65 or above.
3360         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3361         arguments 0x1p113L or above.
3362         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3363         to arguments 0x1p107L or above.
3364         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3365         positive arguments with exponent 65 or above.
3366         * math/auto-libm-test-in: Add more tests of log1p.
3367         * math/auto-libm-test-out: Regenerated.
3368
3369         [BZ #16928]
3370         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3371         non-finite arguments is +0.
3372         * math/s_cacosf.c (__cacosf): Likewise.
3373         * math/s_cacosl.c (__cacosl): Likewise.
3374         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3375         * sysdeps/i386/fpu/libm-test-ulps: Update.
3376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3377
3378         [BZ #16927]
3379         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3380         value.
3381         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3382         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3383         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3384         for explicit high bit of mantissa when testing for argument equal
3385         to 1.
3386         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3387         * sysdeps/i386/fpu/libm-test-ulps: Update.
3388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3389
3390         [BZ #16516]
3391         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3392         (__erf): Scale by 16 instead of 8 in potentially underflowing
3393         case.  Ensure exception if result actually underflows.
3394         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3395         (__erff): Scale by 16 instead of 8 in potentially underflowing
3396         case.  Ensure exception if result actually underflows.
3397         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3398         (efx8): Remove variable.
3399         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3400         case.  Ensure exception if result actually underflows.
3401         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3402         (efx8): Remove variable.
3403         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3404         case.  Ensure exception if result actually underflows.
3405         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3406         (efx8): Remove variable.
3407         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3408         case.  Ensure exception if result actually underflows.
3409         * math/auto-libm-test-in: Add more tests of erf.
3410         * math/auto-libm-test-out: Regenerated.
3411
3412 2014-05-14  Andreas Schwab  <schwab@suse.de>
3413
3414         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3415         Remove code conditionalized on USE___THREAD.
3416
3417         * config.h.in (HAVE_PT_CHOWN): Define as 0.
3418         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3419         not definedness.
3420
3421 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3422
3423         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3424         Define unconditionally.
3425         (__ASSUME_O_CLOEXEC): Likewise.
3426         (__ASSUME_SOCK_CLOEXEC): Likewise.
3427         (__ASSUME_IN_NONBLOCK): Likewise.
3428         (__ASSUME_PIPE2): Likewise.
3429         (__ASSUME_EVENTFD2): Likewise.
3430         (__ASSUME_SIGNALFD4): Likewise.
3431         (__ASSUME_DUP3): Likewise.
3432         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3433         (__ASSUME_DUP3): Do not define.
3434         (__ASSUME_EVENTFD2): Likewise.
3435         (__ASSUME_IN_NONBLOCK): Likewise.
3436         (__ASSUME_O_CLOEXEC): Likewise.
3437         (__ASSUME_PIPE2): Likewise.
3438         (__ASSUME_SIGNALFD4): Likewise.
3439         (__ASSUME_SOCK_CLOEXEC): Likewise.
3440         (__ASSUME_UTIMES): Undefine.
3441         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3442         (__ASSUME_UTIMES): Do not define.
3443         (__ASSUME_O_CLOEXEC): Likewise.
3444         (__ASSUME_SOCK_CLOEXEC): Likewise.
3445         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3446         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3447         0x020621].
3448         (__ASSUME_PIPE2): Likewise.
3449         (__ASSUME_EVENTFD2): Likewise.
3450         (__ASSUME_SIGNALFD4): Likewise.
3451         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3452         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3453         Do not define.
3454         (__ASSUME_EVENTFD2): Likewise.
3455         (__ASSUME_SIGNALFD4): Likewise.
3456         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3457         (__ASSUME_32BITUIDS): Likewise.
3458         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3459         (__ASSUME_IPC64): Likewise.
3460         (__ASSUME_ST_INO_64_BIT): Likewise.
3461         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3462         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3463         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3464         (__ASSUME_UTIMES): Do not define.
3465         (__ASSUME_PSELECT): Likewise.
3466         (__ASSUME_PPOLL): Likewise.
3467         (__ASSUME_O_CLOEXEC): Likewise.
3468         (__ASSUME_SOCK_CLOEXEC): Likewise.
3469         (__ASSUME_IN_NONBLOCK): Likewise.
3470         (__ASSUME_PIPE2): Likewise.
3471         (__ASSUME_EVENTFD2): Likewise.
3472         (__ASSUME_SIGNALFD4): Likewise.
3473         (__ASSUME_DUP3): Likewise.
3474         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3475         (__ASSUME_UTIMES): Likewise.
3476         (__ASSUME_O_CLOEXEC): Likewise.
3477         (__ASSUME_SOCK_CLOEXEC): Likewise.
3478         (__ASSUME_IN_NONBLOCK): Likewise.
3479         (__ASSUME_PIPE2): Likewise.
3480         (__ASSUME_EVENTFD2): Likewise.
3481         (__ASSUME_SIGNALFD4): Likewise.
3482         (__ASSUME_DUP3): Likewise.
3483         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3484         (__ASSUME_UTIMES): Likewise.
3485         (__ASSUME_O_CLOEXEC): Likewise.
3486         (__ASSUME_SOCK_CLOEXEC): Likewise.
3487         (__ASSUME_IN_NONBLOCK): Likewise.
3488         (__ASSUME_PIPE2): Likewise.
3489         (__ASSUME_EVENTFD2): Likewise.
3490         (__ASSUME_SIGNALFD4): Likewise.
3491         (__ASSUME_DUP3): Likewise.
3492         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3493         Likewise.
3494         (__ASSUME_UTIMES): Likewise.
3495         (__ASSUME_EVENTFD2): Likewise.
3496         (__ASSUME_SIGNALFD4): Likewise.
3497         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3498         (__ASSUME_O_CLOEXEC): Likewise.
3499         (__ASSUME_SOCK_CLOEXEC): Likewise.
3500         (__ASSUME_IN_NONBLOCK): Likewise.
3501         (__ASSUME_PIPE2): Likewise.
3502         (__ASSUME_EVENTFD2): Likewise.
3503         (__ASSUME_SIGNALFD4): Likewise.
3504         (__ASSUME_DUP3): Likewise.
3505         (__ASSUME_UTIMES): Undefine.
3506
3507         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3508         feclearexcept.  Remove symbol versioning code.
3509         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
3510         symbol versioning code.
3511         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
3512         symbol versioning code.
3513         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3514         feupdateenv.  Remove symbol versioning code.
3515         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3516         fegetexceptflag.  Remove symbol versioning code.
3517         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3518         fesetexceptflag.  Remove symbol versioning code.
3519         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3520         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
3521         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3522         (__posix_fadvise64_l32): Remove prototype.
3523         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3524         code.
3525
3526 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3527
3528         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3529         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3530         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3531         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3532
3533 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
3534
3535         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3536         current working directory
3537
3538 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3539
3540         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3541         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3542         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3543         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3544         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3545         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3546         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3547         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3548         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3549         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3550         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3551         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3552         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3553         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3554         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3555         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3556         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3557         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3558         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3559         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3560         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3561         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3562         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3563         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3564         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3565         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3566         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3567         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3568         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3569         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3570         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3571         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3572         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3573         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3574         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3575         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3576         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3577         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3578         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3579         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3580         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3581         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3582
3583         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3584         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3585
3586         * sysdeps/unix/sysv/linux/arm/Makefile
3587         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3588         Add rt-aeabi_unwind_cpp_pr1.
3589         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3590         Add nptl-aeabi_unwind_cpp_pr1.
3591         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3592         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3593         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3594         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3595         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3596         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3597
3598         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3599         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3600         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3601         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3602
3603         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3604         Deconditionalize the code that was previously under [RESET_PID].
3605         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3606
3607         * sysdeps/generic/exit-thread.h: New file.
3608         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3609         * include/unistd.h (__exit_thread): Remove declaration.
3610         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3611         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3612         * csu/libc-start.c: Include <exit-thread.h>.
3613         (LIBC_START_MAIN): Pass no argument to __exit_thread.
3614         * nptl/pthread_create.c: Include <exit-thread.h>.
3615         (start_thread): Call __exit_thread in place of __exit_thread_inline.
3616         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3617         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3618         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3619         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3620         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3621         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3622         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3623         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3624         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3625         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3626         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3627         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3628         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3629         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3630         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3631         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3632
3633 2014-05-13  Andreas Schwab  <schwab@suse.de>
3634
3635         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3636
3637 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
3638
3639         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3640         (__ASSUME_UTIMES): Do not condition on kernel version.
3641         (__ASSUME_PSELECT): Define unconditionally.
3642         (__ASSUME_PPOLL): Likewise.
3643         (__ASSUME_ATFCTS): Likewise.
3644         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3645         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3646         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3647         (__ASSUME_UTIMENSAT): Define unconditionally.
3648         (__ASSUME_PRIVATE_FUTEX): Likewise.
3649         (__ASSUME_FALLOCATE): Likewise.
3650         (__ASSUME_O_CLOEXEC): Likewise.
3651         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3652         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3653         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3654         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3655         (__ASSUME_IN_NONBLOCK): Likewise.
3656         (__ASSUME_PIPE2): Likewise.
3657         (__ASSUME_EVENTFD2): Likewise.
3658         (__ASSUME_SIGNALFD4): Likewise.
3659         (__ASSUME_DUP3): Likewise.
3660         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3661         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3662         (__ASSUME_AT_RANDOM): Likewise.
3663         (__ASSUME_PREADV): Likewise.
3664         (__ASSUME_PWRITEV): Likewise.
3665         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3666         (__ASSUME_F_GETOWN_EX): Define unconditionally.
3667         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3668         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3669         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3670         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3671         (__ASSUME_O_CLOEXEC): Define unconditionally.
3672         (__ASSUME_PSELECT): Do not undefine conditionally.
3673         (__ASSUME_PPOLL): Likewise.
3674         (__ASSUME_ATFCTS): Likewise.
3675         (__ASSUME_SET_ROBUST_LIST): Likewise.
3676         (__ASSUME_UTIMENSAT): Likewise.
3677         (__ASSUME_FDATASYNC): Define unconditionally.
3678         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3679         (__ASSUME_SIGFRAME_V2): Likewise.
3680         )__ASSUME_EVENTFD2): Likewise.
3681         (__ASSUME_SIGNALFD4): Likewise.
3682         (__ASSUME_PSELECT): Do not undefine conditionally.
3683         (__ASSUME_PPOLL): Likewise.
3684         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3685         (__ASSUME_PSELECT): Define unconditionally.
3686         (__ASSUME_PPOLL): Likewise.
3687         (__ASSUME_O_CLOEXEC): Likewise.
3688         (__ASSUME_SOCK_CLOEXEC): Likewise.
3689         (__ASSUME_IN_NONBLOCK): Likewise.
3690         (__ASSUME_PIPE2): Likewise.
3691         (__ASSUME_EVENTFD2): Likewise.
3692         (__ASSUME_SIGNALFD4): Likewise.
3693         (__ASSUME_DUP3): Likewise.
3694         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3695         (__ASSUME_O_CLOEXEC): Likewise.
3696         (__ASSUME_SOCK_CLOEXEC): Likewise.
3697         (__ASSUME_IN_NONBLOCK): Likewise.
3698         (__ASSUME_PIPE2): Likewise.
3699         (__ASSUME_EVENTFD2): Likewise.
3700         (__ASSUME_SIGNALFD4): Likewise.
3701         (__ASSUME_DUP3): Likewise.
3702         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3703         (__ASSUME_EVENTFD2): Likewise.
3704         (__ASSUME_SIGNALFD4): Likewise.
3705         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3706
3707 2014-05-12  Andreas Schwab  <schwab@suse.de>
3708
3709         [BZ #16932]
3710         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3711         (_nss_nis_gethostbyname4_r): Return error if item length is larger
3712         than maximum RPC packet size.
3713         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3714         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3715         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3716         (_nss_nis_getservbyport_r): Likewise.
3717
3718 2014-05-12  Will Newton  <will.newton@linaro.org>
3719
3720         * malloc/Makefile (tests): Add tst-mallopt.
3721         * malloc/tst-mallopt.c: New file.
3722
3723 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3724
3725         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3726         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3727
3728 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3729
3730         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3731         (tst-tlsmod6.so): Likewise.
3732
3733 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3734
3735         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3736
3737 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
3738
3739         [BZ #16064]
3740         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3741         and <dl-procinfo.h>.
3742         (__fegetenv): Save SSE state in envp->__eip if supported.
3743         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3744         envp->__eip if supported.
3745         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3746         and <dl-procinfo.h>.
3747         (__fesetenv): Always set __eip, __cs_selector, __opcode,
3748         __data_offset and __data_selector in environment to 0.  Set SSE
3749         state if supported.
3750         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3751         test-fenv-sse.
3752         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3753         -mfpmath=sse.
3754         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3755
3756 2014-05-09  Will Newton  <will.newton@linaro.org>
3757
3758         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3759         and libc_relro_required for ARM.
3760         * sysdeps/arm/preconfigure: Regenerate.
3761
3762 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3763             Stefan Liebler  <stli@linux.vnet.ibm.com>
3764
3765         * config.make.in (enable-lock-elision): New Makefile variable.
3766         * configure.ac: Likewise.
3767         * configure: Regenerate.
3768         * sysdeps/s390/configure.ac:
3769         Add check for gcc transactions support.
3770         * sysdeps/s390/configure: Regenerate.
3771         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3772         Build elision files if enabled.
3773         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3774         Add lock elision support for s390.
3775         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3776         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3777         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3778         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3779         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3780         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3781         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3782         Likewise.
3783         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3784         Likewise.
3785         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3786         Likewise.
3787         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3788         Likewise.
3789         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3790         (__lll_timedlock_elision, __lll_lock_elision)
3791         (__lll_unlock_elision, __lll_trylock_elision)
3792         (lll_timedlock_elision, lll_lock_elision)
3793         (lll_unlock_elision, lll_trylock_elision): Add.
3794         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3795         (pthread_mutex_t): Add lock elision support for s390.
3796
3797 2014-05-14  Wilco  <wdijkstr@arm.com>
3798
3799         * sysdeps/arm/fclrexcpt.c: Cleanup.
3800         * sysdeps/arm/fedisblxcpt.c: Cleanup.
3801         * sysdeps/arm/feenablxcpt.c: Cleanup.
3802         * sysdeps/arm/fegetenv.c: Cleanup.
3803         * sysdeps/arm/fegetexcept.c: Cleanup.
3804         * sysdeps/arm/fegetround.c: Cleanup.
3805         * sysdeps/arm/feholdexcpt.c: Cleanup.
3806         * sysdeps/arm/fesetenv.c: Cleanup.
3807         * sysdeps/arm/fesetround.c: Cleanup.
3808         * sysdeps/arm/feupdateenv.c: Cleanup.
3809         * sysdeps/arm/fgetexcptflg.c: Cleanup.
3810         * sysdeps/arm/fraiseexcpt.c: Cleanup.
3811         * sysdeps/arm/fsetexcptflg.c: Cleanup.
3812         * sysdeps/arm/ftestexcept.c: Cleanup.
3813         * sysdeps/arm/get-rounding-mode.h: Cleanup.
3814         * sysdeps/arm/setfpucw.c: Cleanup.
3815
3816 2014-05-09  Will Newton  <will.newton@linaro.org>
3817
3818         * sysdeps/arm/armv7/strcmp.S: New file.
3819         * NEWS: Mention addition of ARMv7 optimized strcmp.
3820
3821 2014-05-08  Roland McGrath  <roland@hack.frob.com>
3822
3823         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3824         look for %.ac rather than %.in.
3825
3826         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3827         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3828         * sysdeps/mach/hurd/configure: Regenerated.
3829         * sysdeps/unix/sysv/linux/configure: Regenerated.
3830
3831         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3832
3833 2014-05-07  Steve Ellcey  <sellcey@mips.com>
3834
3835         [BZ# 16922]
3836         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3837         (LONG_SUB): Ditto.
3838         (PTR_SUB): Ditto.
3839
3840 2014-05-07  Andreas Schwab  <schwab@suse.de>
3841
3842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3843         when skipping over non-matching result from nscd.
3844
3845 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
3846
3847         [BZ #16876]
3848         * nptl/sockperf.c (client): Check socket return value.
3849
3850         [BZ #16877]
3851         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3852         nscd security class.
3853
3854 2014-05-06  Roland McGrath  <roland@hack.frob.com>
3855
3856         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3857         * sysdeps/arm/unwind.h: ... here.
3858
3859 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
3860
3861         [BZ# 16916]
3862         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3863         Define.
3864
3865 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3866
3867         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3868         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3869         multiarch strncpy for PPC64.
3870         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3871         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3873         multiarch optimizations.
3874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3875         (__libc_ifunc_impl_list): Likewise.
3876         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3877         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3878         multiarch stpncpy for PPC64.
3879         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3880         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3881
3882 2014-05-06  Andreas Schwab  <schwab@suse.de>
3883
3884         [BZ #16912]
3885         * gmon/mcount.c (_MCOUNT_DECL): Use
3886         atomic_compare_and_exchange_bool_acq instead of
3887         catomic_compare_and_exchange_bool_acq.
3888
3889 2014-05-05  Roland McGrath  <roland@hack.frob.com>
3890
3891         * elf/Makefile (others, install-bin): Remove pldd.
3892         (pldd-modules): Variable removed.
3893         ($(objpfx)pldd): Target removed.
3894         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3895         (others, install-bin): Append pldd here.
3896         ($(objpfx)pldd): New target.
3897
3898         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3899         to 0, so the first #if test emitted later doesn't see it undefined.
3900         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3901         * sysdeps/gnu/errlist.c: Regenerated.
3902
3903 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3904
3905         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3906         [libc_hidden_builtin_def]: Define to empty value.
3907         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3908         [libc_hidden_builtin_def]: Likewise.
3909         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3910         [libc_hidden_builtin_def]: Likewise.
3911         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3912         [libc_hidden_builtin_def]: Likewise.
3913         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3914         __redirect_memcpy and define ifunc as default hidden symbol.
3915         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3916         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3917
3918 2014-05-04  Adam Conrad  <adconrad@0c3.net>
3919
3920         * locale/iso-4217.def: Reintroduce XDR currency.
3921
3922 2014-05-04  Allan McRae  <allan@archlinux.org>
3923
3924         * po/eo.po: Update Esperanto translation from translation project.
3925
3926 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
3927
3928         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3929         and FEATURE_INDEX_MAX to 1.
3930         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3931
3932 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3933
3934         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3935         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3936         * iconvdata/big5.c (ONE_DIRECTION): Define.
3937         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3938         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3939         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3940         * iconvdata/cp932.c (ONE_DIRECTION): Define.
3941         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3942         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3943         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3944         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3945         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3946         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3947         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3948         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3949         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3950         * iconvdata/gbk.c (ONE_DIRECTION): Define.
3951         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3952         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3953         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3954         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3955         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3956         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3957         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3958         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3959         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3960         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3961         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3962         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3963         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3964         * iconvdata/iso646.c (ONE_DIRECTION): Define.
3965         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3966         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3967         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3968         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3969         * iconvdata/johab.c (ONE_DIRECTION): Define.
3970         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3971         * iconvdata/sjis.c (ONE_DIRECTION): Define.
3972         * iconvdata/t.61.c (ONE_DIRECTION): Define.
3973         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3974         * iconvdata/tscii.c (ONE_DIRECTION): Define.
3975         * iconvdata/uhc.c (ONE_DIRECTION): Define.
3976         * iconvdata/unicode.c (ONE_DIRECTION): Define.
3977         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3978         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3979         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3980
3981 2014-05-01  Roland McGrath  <roland@hack.frob.com>
3982
3983         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3984         (_IO_JUMPS_OFFSET): Define to 0.
3985
3986         * nptl/sysdeps/pthread/bits/libc-lock.h
3987         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3988         (__libc_lock_define_initialized_recursive): Always define using
3989         initializer.  Modern compilers treat uninitialized (implicit zero) and
3990         explicit zero initializers the same (i.e. put the datum in bss).
3991
3992 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3993
3994         * nscd/nscd-client.h: Include <string.h>.
3995
3996 2014-05-01  David S. Miller  <davem@davemloft.net>
3997
3998         [BZ #16885]
3999         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4000         multiple zero bytes exist at the end of a string.
4001         Reported by Aurelien Jarno <aurelien@aurel32.net>
4002
4003         * string/test-strcmp.c (check): Add explicit test for situations where
4004         there are multiple zero bytes after the first.
4005
4006 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4007
4008         [BZ #16890]
4009         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4010         when compiling wprintf.
4011         * stdio-common/tstdiomisc.c (t3): New function.
4012         (main): Call it.
4013
4014 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4015
4016         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4017         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4018         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4019         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4020
4021 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4022
4023         * stdlib/longlong.h: Updated from GCC.
4024
4025 2014-05-01  Will Newton  <will.newton@linaro.org>
4026             Bernard Ogden  <bernie.ogden@linaro.org>
4027
4028         * NEWS: Update fixed bug list.
4029
4030         [BZ #15119]
4031         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4032
4033 2014-04-30  David S. Miller  <davem@davemloft.net>
4034
4035         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4036         (libc_feholdexcept_setround_sparc_ctx): New function.
4037         (libc_fesetenv_sparc_ctx): Likewise.
4038         (libc_feupdateenv_sparc_ctx): Likewise.
4039         (libc_feholdsetround_sparc_ctx): Likewise.
4040         (libc_feholdexcept_setround_ctx): Define.
4041         (libc_feholdexcept_setroundf_ctx): Likewise.
4042         (libc_feholdexcept_setroundl_ctx): Likewise.
4043         (libc_fesetenv_ctx): Likewise.
4044         (libc_fesetenvf_ctx): Likewise.
4045         (libc_fesetenvl_ctx): Likewise.
4046         (libc_feupdateenv_ctx): Likewise.
4047         (libc_feupdateenvf_ctx): Likewise.
4048         (libc_feupdateenvl_ctx): Likewise.
4049         (libc_feresetround_ctx): Likewise.
4050         (libc_feresetroundf_ctx): Likewise.
4051         (libc_feresetroundl_ctx): Likewise.
4052         (libc_feholdsetround_ctx): Likewise.
4053         (libc_feholdsetroundf_ctx): Likewise.
4054         (libc_feholdsetroundl_ctx): Likewise.
4055
4056         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4057         with __USE_GNU instead of XOPEN cpp guards.
4058
4059         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4060         0.
4061
4062         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4063         with XOPEN cpp guards.
4064
4065 2014-04-30  Julian Brown  <julian@codesourcery.com>
4066
4067         [BZ #16888]
4068         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4069         handling.
4070
4071 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4072
4073         [BZ #9894]
4074         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4075         Change to 2.6.32.
4076         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4077         * sysdeps/unix/sysv/linux/configure: Regenerated.
4078         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4079         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4080         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4081         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4082         * README: Update reference to required Linux kernel version.
4083         * manual/install.texi (Linux): Update reference to required Linux
4084         kernel headers version.
4085         * INSTALL: Regenerated.
4086
4087         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4088         header inclusion.
4089         [POSIX] (limits.h): Likewise.
4090         [POSIX] (math.h): Likewise.
4091         [POSIX] (sys/wait.h): Likewise.
4092         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4093         function.
4094         [POSIX] (stddef.h): Do not allow header inclusion.
4095
4096 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4097
4098         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4099
4100 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4101
4102         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4103         Return immediately after lll_futex_wake.
4104
4105 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4106
4107         [BZ #16791]
4108         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4109         structure.
4110         (datahead_init_pos): Call datahead_init_common early.
4111         (datahead_init_neg): Likewise.
4112
4113         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4114         datahead_init_neg): New functions.
4115         * nscd/aicache.c (addhstaiX): Use them.
4116         * nscd/grpcache.c (cache_addgr): Likewise.
4117         * nscd/hstcache.c (cache_addhst): Likewise.
4118         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4119         * nscd/netgroupcache.c (do_notfound): Likewise.
4120         (addgetnetgrentX): Likewise.
4121         (addinnetgrX): Likewise.
4122         * nscd/pwdcache.c (cache_addpw): Likewise.
4123         * nscd/servicescache.c (cache_addserv): Likewise.
4124
4125 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4126             Atsushi Onoe  <atsushi@onoe.org>
4127
4128         [BZ #14308]
4129         [BZ #12994]
4130         [BZ #13651]
4131         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4132         one response is valid.
4133         * resolv/res_send.c (send_dg): Check for validity of other
4134         response if the current response is a referral.
4135
4136 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4137
4138         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4139
4140 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4141
4142         [BZ #16823]
4143         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4144         Always divide by positive zero when computing -Inf result.
4145         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4146         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4147
4148 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4149
4150         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4151         FPSCR if value do not change.
4152         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4153         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4154         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4155         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4156         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4157         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4158         function.
4159
4160 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4161
4162         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4163         * sysdeps/unix/sysv/linux/hppa: Move directory from
4164         ports/systeps/unix/sysv/linux/hppa.
4165         * README: Update listing for hppa-*-linux-gnu.
4166
4167 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4168
4169         [BZ #16754]
4170         * manual/stdio.texi (Hook functions): Fix types of stream hook
4171         functions.
4172         [BZ #16854]
4173         * socket/sys/socket.h: Fix typo in comment.
4174
4175 2014-04-28  Wilco  <wdijkstr@arm.com>
4176
4177         * sysdeps/arm/fenv_private.h: New file.
4178         * sysdeps/arm/math_private.h: New file.
4179         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4180
4181 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4182
4183         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4184         with __int128_t.
4185         (La_x86_64_retval): Likewise.
4186
4187 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4188
4189         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4190         fpsr if value didn't change.
4191         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4192         to fpcr if value didn't change.
4193         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4194         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4195         fpsr or fpcr if value didn't change.
4196         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4197         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4198         fpcr if value didn't change.
4199         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4200         to fpsr if value didn't change.
4201
4202 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4203
4204         * nptl/tst-sem3.c: Use test-skeleton.c
4205         (main): Rename to do_test.  Use return instead of
4206         exit.
4207         * nptl/tst-sem4.c: Use test-skeleton.c
4208         (main): Rename to do_test.
4209
4210 2014-04-22  David S. Miller  <davem@davemloft.net>
4211
4212         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4213         (struct sigaction): New struct member __glibc_reserved0, change
4214         type of sa_flags to int.
4215
4216 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4217
4218         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4219         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4220
4221 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4222
4223         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4224         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4225
4226 2014-04-22  Will Newton  <will.newton@linaro.org>
4227             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4228
4229         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4230         (__longjmp): Add longjmp and longjmp_target SystemTap
4231         probes.
4232         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4233         (__sigsetjmp): Add setjmp SystemTap probe.
4234
4235 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4236
4237         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4238         match manual order.
4239
4240 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4241
4242         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4243
4244         * sysdeps/powerpc/fpu/fenv_private.h
4245         (libc_feholdexcept_setroundl_ctx): Define to
4246         libc_feholdexcept_setround_ppc_ctx.
4247         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4248         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4249         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4250         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4251
4252 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4253
4254         * sysdeps/aarch64/math-tests.h: New file.
4255
4256 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4257
4258         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4259         New.
4260         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4261         Check and set bit_AVX2_Usable.
4262         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4263         macro.
4264         (bit_AVX2): Likewise.
4265         (index_AVX2_Usable): Likewise.
4266         (CPUID_AVX2): Likewise.
4267         (HAS_AVX2): Likewise.
4268
4269 2014-04-17  Will Newton  <will.newton@linaro.org>
4270
4271         * manual/setjmp.texi (System V contexts): Add note that
4272         calling setcontext on a context created by a call to a
4273         signal handler is undefined.  Update text to note that
4274         setcontext from a signal handler is possible but not
4275         recommended.
4276
4277         [BZ #16629]
4278         * stdlib/tst-setcontext.c: Include signal.h.
4279         (main): Check that the signal stack before and
4280         after swapcontext is the same.
4281
4282         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4283         Re-implement to restore registers in user code and avoid
4284         rt_sigreturn system call.
4285
4286 2014-04-17  Wilco  <wdijkstr@arm.com>
4287
4288         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4289         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4290         * math/test-fenv.c: Skip exception trap tests on targets which only
4291         support non-stop mode.
4292
4293 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4294             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4295
4296         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4297         (libc_feholdsetround_aarch64_ctx)
4298         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4299         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4300         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4301         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4302         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4303         (libc_feresetround_noexl_ctx): Define.
4304
4305 2014-04-16  Richard Henderson  <rth@redhat.com>
4306
4307         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4308
4309         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4310         unwind tables.
4311
4312         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4313         const from the non-libc, non-ldso copy.
4314
4315         * sysdeps/alpha/libm-test-ulps: Regenerate.
4316
4317 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4318             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4319
4320         * sysdeps/aarch64/fpu/math_private.h: New file.
4321
4322 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4323
4324         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4325
4326 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4327
4328         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4329         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4330         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4331         Intel MPX bound registers before _dl_profile_fixup.
4332         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4333         registers after _dl_profile_fixup.  Save and restore bound
4334         registers bnd0/bnd1 when calling _dl_call_pltexit.
4335         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4336         (LR_BND_OFFSET): Likewise.
4337         (LRV_BND0_OFFSET): Likewise.
4338         (LRV_BND1_OFFSET): Likewise.
4339
4340 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4341
4342         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4343         to...
4344         * sysdeps/mach/hurd/i386/tls.h: ... here.
4345         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4346         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4347         fields.
4348
4349 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4350
4351         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4352
4353 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4354
4355         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4356
4357 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4358
4359         [BZ #14770]
4360         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4361         * sysdeps/s390/configure: Regenerate.
4362
4363         [BZ #16824]
4364         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4365         Set round-to-nearest internally to reduce error accumulation.
4366
4367 2014-04-16  Alan Modra  <amodra@gmail.com>
4368
4369         [BZ #16740]
4370         [BZ #16619]
4371         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4372         * math/libm-test.inc (frexp_test_data): Add tests.
4373         * NEWS: Update fixed bug list.
4374
4375 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4376
4377         * benchtests/Makefile: Depend on libraries in build directory.
4378         (bench-math): Separate out math tests.
4379         (bench-pthread): Separate out pthread tests.
4380         (bench): Include math and pthread tests.
4381
4382 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
4383
4384         [BZ #16831]
4385         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4386         _dl_debug_initialize.
4387
4388         * configure.ac: Remove SELinux header check.
4389         * configure: Regenerate.
4390         * nscd/selinux.c (perms): Array of const char* to permission names.
4391         (nscd_request_avc_has_perm): Call security_deny_unknown to find
4392         default policy. Call string_to_security_class and string_to_av_perm to
4393         translate strings. Enforce default policy and call avs_has_perm with
4394         results of translated strings.
4395
4396 2014-04-13  David S. Miller  <davem@davemloft.net>
4397
4398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4399
4400 2014-04-12  Allan McRae  <allan@archlinux.org>
4401
4402         [BZ #16838]
4403         * manual/string.texi (Collation Functions): Fix qsort argument
4404         order in example.
4405         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4406
4407 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
4408
4409         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4410         Make the test a no-op if there are no exceptions defined.
4411
4412 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4413
4414         * elf/Makefile (tests): make tst-dlopen-aout conditional on
4415         enable-hardcoded-path-in-tests
4416
4417 2014-04-11  Will Newton  <will.newton@linaro.org>
4418
4419         * benchtests/Makefile (extra-objs): Add json-lib.o.
4420         (bench-func): Tidy up JSON output.
4421         * benchtests/bench-skeleton.c: Include json-lib.h.
4422         (main): Use JSON library functions to do output of
4423         benchmark results.
4424         * benchtests/bench-timing-type.c (main): Output the
4425         timing type simply, leaving formatting to the user.
4426         * benchtests/json-lib.c: New file.
4427         * benchtests/json-lib.h: Likewise.
4428
4429 2014-04-11  Torvald Riegel  <triegel@redhat.com>
4430
4431         [BZ #15215]
4432         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4433         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
4434         memory barriers.  Add comments.
4435         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4436         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4437         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4438         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4439         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4440         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4441
4442 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4443
4444         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4445         * sysdeps/s390/s390-64/configure.ac: ... this ...
4446         * sysdeps/s390/configure.ac: ... to here.
4447         * sysdeps/s390/s390-32/configure: Delete file.
4448         * sysdeps/s390/s390-64/configure: Delete file.
4449         * sysdeps/s390/configure: Regenerate.
4450
4451 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
4452
4453         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4454
4455 2014-04-11  Will Newton  <will.newton@linaro.org>
4456
4457         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4458         to zero if it is not defined elsewhere.  (mtrim): Test
4459         the value of MALLOC_DEBUG with #if rather than #ifdef.
4460
4461 2014-04-10 Torvald Riegel  <triegel@redhat.com>
4462
4463         * benchtests/pthread_once-inputs: New file.
4464         * benchtests/pthread_once-source.c: New file.
4465         * benchtests/README: Update documentation.
4466
4467 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4468             H.J. Lu  <hongjiu.lu@intel.com>
4469
4470         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4471         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4472         * sysdeps/x86_64/configure: Regenerated.
4473         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4474         macro.
4475         (REGISTER_SAVE_RAX): Likewise.
4476         (REGISTER_SAVE_RCX): Likewise.
4477         (REGISTER_SAVE_RDX): Likewise.
4478         (REGISTER_SAVE_RSI): Likewise.
4479         (REGISTER_SAVE_RDI): Likewise.
4480         (REGISTER_SAVE_R8): Likewise.
4481         (REGISTER_SAVE_R9): Likewise.
4482         (REGISTER_SAVE_BND0): Likewise.
4483         (REGISTER_SAVE_BND1): Likewise.
4484         (REGISTER_SAVE_BND2): Likewise.
4485         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
4486         bound registers when calling _dl_fixup.
4487
4488 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4489
4490         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4491         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4492         of its definition.
4493         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4494         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4495         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4496         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4497         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4498         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4499         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4500
4501 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
4502
4503         [BZ #15514]
4504         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4505         pathconf(_PC_NAME_MAX).
4506
4507 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4508
4509         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4510         Remove macro usage.
4511         (__PTHREAD_SPINS): Move definition to ...
4512         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4513         (__PTHREAD_SPINS): ... here.
4514         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4515         (__PTHREAD_SPIN): Likewise.
4516         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4517         (__PTHREAD_SPIN): Likewise.
4518         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4519         (__PTHREAD_SPIN): Likewise.
4520         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4521         (__PTHREAD_SPIN): Likewise.
4522         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4523         (__PTHREAD_SPIN): Likewise.
4524         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4525         (__PTHREAD_SPIN): Likewise.
4526         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4527         (__PTHREAD_SPIN): Likewise.
4528         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4529         (__PTHREAD_SPIN): Likewise.
4530         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4531         (__PTHREAD_SPIN): Likewise.
4532         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4533         (__PTHREAD_SPIN): Likewise.
4534         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4535         (__PTHREAD_SPIN): Likewise.
4536         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4537         (__PTHREAD_SPIN): Likewise.
4538
4539         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4540         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4541         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4542         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4543         imply folder.
4544         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4545         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4546         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4547         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4548         correct imply path.
4549         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4550         strlen symbol for non multi-arch builds.
4551         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4552         missing hidden_def and weak_alias.
4553
4554 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
4555
4556         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4557
4558 2014-04-07  Will Newton  <will.newton@linaro.org>
4559
4560         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4561         and contents.  [!_LIBC] Remove #ifndef and contents.
4562         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
4563         * string/memccpy.c (__memccpy): Use ANSI prototype.
4564         * string/memfrob.c (memfrob): Likewise.
4565         * string/strcoll.c (STRCOLL): Likewise.
4566         * string/strlen.c (strlen): Likewise.
4567         * string/strtok.c (STRTOK): Likewise.
4568         * string/strcat.c: Remove unused #include of memcopy.h.
4569         (strcat): Use ANSI prototype.
4570         * string/strchr.c: Remove unused #include of memcopy.h.
4571         (strchr): Use ANSI prototype.
4572         * string/strcmp.c: Remove unused #include of memcopy.h.
4573         (strcmp): Use ANSI prototype.
4574         * string/strcpy.c: Remove unused #include of memcopy.h.
4575         (strcpy): Use ANSI prototype.
4576
4577 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4578
4579         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4580         * config.make.in (config-extra-cppflags): Set it from
4581         libc_extra_cppflags.
4582         * configure.ac (libc_extra_cflags): Make it accumulate over
4583         configure fragments.
4584         (libc_extra_cppflags): New flag.
4585         * configure. Regenerate.
4586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4587         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4588         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4590
4591         [BZ #16815]
4592         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4593         result for FE_DOWNWARD rounding mode.
4594         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4595         Likewise.
4596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4597
4598 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
4599
4600         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4601         in function argument name.
4602
4603 2014-04-03  David Svoboda  <svoboda@cert.org>
4604
4605         [BZ #5666]
4606         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4607         explicitly.
4608
4609 2014-04-03  Roland McGrath  <roland@hack.frob.com>
4610
4611         * elf/dl-unmap-segments.h: New file.
4612         * sysdeps/generic/ldsodefs.h
4613         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4614         * elf/dl-close.c: Include <dl-unmap-segments.h>.
4615         * elf/dl-fptr.c: Likewise.
4616         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4617         * sysdeps/aarch64/tlsdesc.c: Likewise.
4618         * sysdeps/arm/tlsdesc.c: Likewise.
4619         * sysdeps/i386/tlsdesc.c: Likewise.
4620         * sysdeps/tile/dl-runtime.c: Likewise.
4621         * sysdeps/x86_64/tlsdesc.c: Likewise.
4622         * elf/dl-load.h: New file.
4623         * elf/dl-load.c: Include it.
4624         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4625         Macros moved to dl-load.h.
4626         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4627         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4628         Use _dl_unmap_segments in place of __munmap.
4629         Break out segment-mapping loop into ...
4630         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4631
4632 2014-04-03  Will Newton  <will.newton@linaro.org>
4633
4634         * elf/dl-lookup.c (do_lookup_x): Remove comment
4635         referring to nested function and move variable
4636         declarations down to before first use.
4637
4638 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
4639
4640         [BZ #16799]
4641         [BZ #16800]
4642         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4643         with 0 numerator.
4644         * math/s_catanf.c (__catanf): Likewise.
4645         * math/s_catanh.c (__catanh): Likewise.
4646         * math/s_catanhf.c (__catanhf): Likewise.
4647         * math/s_catanhl.c (__catanhl): Likewise.
4648         * math/s_catanl.c (__catanl): Likewise.
4649         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4650         by positive zero when computing -Inf result.
4651         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4652         (catanh_test): Likewise.
4653         * sysdeps/i386/fpu/libm-test-ulps: Update.
4654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4655
4656         [BZ #16789]
4657         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4658         instead of using underflowing value in computing result.
4659         * math/s_clog10.c (__clog10): Likewise.
4660         * math/s_clog10f.c (__clog10f): Likewise.
4661         * math/s_clog10l.c (__clog10l): Likewise.
4662         * math/s_clogf.c (__clogf): Likewise.
4663         * math/s_clogl.c (__clogl): Likewise.
4664         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4665         (clog10_test): Likewise.
4666         * sysdeps/i386/fpu/libm-test-ulps: Update.
4667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4668
4669 2014-04-02  Alan Modra  <amodra@gmail.com>
4670
4671         [BZ #16739]
4672         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4673         output when value is near a power of two.  Use int64_t for lx and
4674         remove casts.  Use decimal rather than hex exponent constants.
4675         Don't use long double multiplication when double will suffice.
4676         * math/libm-test.inc (nextafter_test_data): Add tests.
4677         * NEWS: Add 16739 and 16786 to bug list.
4678
4679         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4680
4681         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4682
4683 2014-04-01  Will Newton  <will.newton@linaro.org>
4684
4685         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4686         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
4687
4688 2014-04-01  Florian Weimer  <fweimer@redhat.com>
4689
4690         [BZ #13347]
4691         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4692         * nptl/tst-setuid2.c: New file.
4693         * nptl/Makefile (xtests): Add tst-setuid2.
4694
4695 2014-04-01  Alan Modra  <amodra@gmail.com>
4696
4697         [BZ #16786]
4698         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4699
4700 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4701
4702         [BZ #6803]
4703         [BZ #6804]
4704         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4705         set errno as appropriate.
4706         * math/w_scalbf.c (__scalbf): Likewise.
4707         * math/w_scalbl.c (__scalbl): Likewise.
4708         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4709         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4710         * math/libm-test.inc (scalb_test_data): Add errno expectations.
4711         Add more NaN tests.
4712
4713         [BZ #16349]
4714         * math/w_atan2.c: Include <errno.h>.
4715         (__atan2): Set errno for result underflowing to zero.
4716         * math/w_atan2f.c: Include <errno.h>.
4717         (__atan2f): Set errno for result underflowing to zero.
4718         * math/w_atan2l.c: Include <errno.h>.
4719         (__atan2l): Set errno for result underflowing to zero.
4720         * math/auto-libm-test-in: Don't allow missing errno for some atan2
4721         tests.
4722         * math/auto-libm-test-out: Regenerated.
4723
4724 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4725
4726         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4727         Encode instruction correctly in little endian.
4728         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4729         Likewise.
4730         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4731         Likewise.
4732         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4733         Likewise.
4734         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4735         Likewise.
4736
4737 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4738
4739         [BZ #9894]
4740         * sysdeps/unix/sysv/linux/kernel-features.h
4741         [__sparc__ && !__arch64__ && !__sparc_v9__]
4742         (__ASSUME_SET_ROBUST_LIST): Do not define.
4743         [__sparc__ && !__arch64__ && !__sparc_v9__]
4744         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4745         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4746         Likewise.
4747         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4748         (__ASSUME_FUTEX_LOCK_PI): Undefine.
4749         (__ASSUME_REQUEUE_PI): Likewise.
4750         (__ASSUME_SET_ROBUST_LIST): Likewise.
4751         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4752         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4753         Undefine.
4754         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4755         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4756         Likewise.
4757         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4758         Likewise.
4759         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4760         Likewise.
4761         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4762         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4763         Undefine.
4764         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4765         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4766         Likewise.
4767
4768         [BZ #16648]
4769         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4770         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4771         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4772
4773 2014-03-31  Will Newton  <will.newton@linaro.org>
4774
4775         * benchtests/Makefile (bench): Add ffs and ffsll to list
4776         of tests.
4777         * benchtests/ffs-inputs: New file.
4778         * benchtests/ffsll-inputs: Likewise.
4779
4780 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
4781
4782         [BZ #16770]
4783         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4784         too large before casting to int.
4785         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4786         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4787         * math/libm-test.inc (scalb_test_data): Add more tests.
4788
4789 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4790
4791         * benchtests/Makefile (DETAILED_OPT): New make option.
4792         (bench-func): Run benchmark program with -d if DETAILED_OPT is
4793         set.
4794         * benchtests/bench-skeleton.c: Include stdbool.h.
4795         (main): Store and print timings per input.
4796         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4797         member to each argument value.
4798         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4799         (_print_arg_data): Initialize per-input timing to 0.
4800
4801         * benchtests/Makefile (timing-type): New binary.
4802         (bench-clean): Also remove bench-timing-type.
4803         (bench): New target for timing-type.
4804         (bench-func): Print output in JSON format.
4805         * benchtests/bench-skeleton.c (main): Print output in JSON
4806         format.
4807         * benchtests/bench-timing-type.c: New file.
4808         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4809         (TIMING_PRINT_STATS): Remove.
4810         * benchtests/scripts/bench.py (_print_arg_data): Store variant
4811         name separately.
4812
4813         * benchtests/bench-modf.c: Remove.
4814         * benchtests/modf-inputs: New inputs file.
4815
4816 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
4817
4818         [BZ #16362]
4819         * math/s_clog10.c (M_PI_LOG10E): New macro.
4820         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4821         imaginary parts are 0.
4822         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4823         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4824         imaginary parts are 0.
4825         * math/s_clog10l.c (M_PI_LOG10El): New macro.
4826         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4827         imaginary parts are 0.
4828         * math/libm-test.inc (clog10_test_data): Update expected results
4829         for when real and imaginary parts are 0.
4830
4831 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
4832
4833         * elf/dl-load.c: Finish conversion of __builtin_expect into
4834         __glibc_{un}likely.
4835
4836 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
4837
4838         [BZ #16348]
4839         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4840         1+x for argument with exponent below -67.
4841         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4842         Likewise.
4843         * math/auto-libm-test-in: Add more tests of exp.
4844         * math/auto-libm-test-out: Regenerated.
4845
4846 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4847
4848         [BZ #16759]
4849         * inet/getnetgrent_r.c (get_nonempty_val): New function.
4850         (nscd_getnetgrent): Use it.
4851
4852         [BZ #16760]
4853         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4854         of stpcpy.
4855
4856 2014-03-27  Andi Kleen  <ak@linux.intel.com>
4857
4858         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4859         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4860         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4861         (lll_robust_unlock): Remove out of line section. Use cfi
4862         intrinsics.
4863         (LLL_STUB_UNWIND_INFO*): Remove.
4864         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4865         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4866         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4867         (lll_robust_unlock): Remove out of line section. Use cfi
4868         intrinsics.
4869         (LLL_STUB_UNWIND_INFO*): Remove.
4870
4871 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4872
4873         [BZ #16758]
4874         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4875         blank values.
4876
4877 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4878
4879         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4880
4881 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
4882
4883         [BZ #16198]
4884         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4885         fnstenv.
4886         * math/test-fenv-preserve.c: New file.
4887         * math/Makefile (tests): Add test-fenv-preserve.
4888
4889 2014-03-26  Will Newton <will.newton@linaro.org>
4890
4891         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4892
4893 2014-03-25  Roland McGrath  <roland@hack.frob.com>
4894
4895         * scripts/versionlist.awk: Partition the version sets and emit all
4896         GLIBC_* (sorted) before all others (sorted).
4897
4898 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4899
4900         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4901         GLIBC_2.2.5 version.
4902
4903 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4904
4905         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4906         calls.
4907
4908         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4909         previous change.
4910
4911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4912
4913 2014-03-25  Andreas Schwab  <schwab@suse.de>
4914
4915         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4916         label to be used after in6ailist is initialized.
4917
4918 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4919
4920         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4921         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4922
4923 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4924
4925         [BZ #16357]
4926         [BZ #16599]
4927         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4928         min_plus_half.
4929         (fp_formats): Update initializers.
4930         (init_fp_formats): Initialize new field.
4931         (output_for_one_input_case): Allow underflow for results up to
4932         min_plus_half.
4933         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4934         * math/auto-libm-test-in: Don't mark some underflows from asin and
4935         atanh as spurious.
4936         * math/auto-libm-test-out: Regenerated.
4937         * sysdeps/i386/fpu/libm-test-ulps: Update.
4938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4939
4940 2014-03-25  Andreas Schwab  <schwab@suse.de>
4941
4942         * libio/Makefile (tst-ftell-partial-wide-ENV)
4943         (tst-ftell-active-handler-ENV): Define.
4944
4945 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
4946
4947         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4948
4949 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4950
4951         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4952
4953 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4954
4955         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4956         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4957         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4958
4959 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4960
4961         [BZ #16634]
4962         * elf/dl-load.c (open_verify): Add mode parameter.
4963         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4964         (open_path): Change from boolean 'secure' to complete flag 'mode'
4965         (_dl_map_object): Adjust.
4966         * elf/Makefile (tests): Add tst-dlopen-aout.
4967         * elf/tst-dlopen-aout.c: New test.
4968
4969 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
4970
4971         [BZ #16714]
4972         * sysdeps/unix/sysv/linux/s390/bits/stat.h
4973         (struct stat): Rename member pad0 to __glibc_reserved0.
4974
4975         [BZ #16712]
4976         * sysdeps/s390/s390-32/bits/wordsize.h
4977         (__WORDSIZE32_SIZE_ULONG): New define.
4978         * sysdeps/s390/s390-64/bits/wordsize.h
4979         (__WORDSIZE32_SIZE_ULONG): Likewise.
4980         * sysdeps/generic/stdint.h (SIZE_MAX):
4981         Define as UL if __WORDSIZE32_SIZE_ULONG.
4982
4983         [BZ #16713]
4984         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4985         (__glibc_reserved0): New variable.
4986         (sa_flags): Change type to int.
4987
4988         * posix/Makefile (before-compile): Use += before-compile instead
4989         of a :=.
4990
4991         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4992         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4993
4994 2014-03-20  Andreas Schwab  <schwab@suse.de>
4995
4996         [BZ #16743]
4997         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4998         non-matching result from nscd.
4999
5000 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5001
5002         * scripts/bench.py: Moved to ...
5003         * benchtests/scripts/bench.py: ... here.
5004         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5005
5006 2014-03-24  Andreas Schwab  <schwab@suse.de>
5007
5008         [BZ #16002]
5009         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5010         alloca_account and account alloca use for struct in6ailist.
5011
5012 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5013
5014         [BZ #16284]
5015         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5016         rounding mode to recompute results that overflow to infinity or
5017         underflow to zero.
5018         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5019         bug 16284.
5020         * math/auto-libm-test-out: Regenerated.
5021         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5022         (ccosh_test): Likewise.
5023         (csin_test_data): Use plus_oflow.
5024         (csin_test): Use ALL_RM_TEST.
5025         (csinh_test_data): Use plus_oflow.
5026         (csinh_test): Use ALL_RM_TEST.
5027         * sysdeps/i386/fpu/libm-test-ulps: Update.
5028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5029
5030 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5031
5032         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5033         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5034         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5035
5036         [BZ #16731]
5037         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5038         when x - 1 is zero.
5039         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5040         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5041         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5042         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5043         argument is 1.
5044         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5045         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5046         zero.
5047         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5048         * sysdeps/i386/fpu/libm-test-ulps: Update.
5049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5050
5051 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5052
5053         * scripts/bench.pl: Remove file.
5054         * scripts/bench.py: New benchmark script.
5055         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5056         * benchtests/README: Mention python dependency.
5057         * scripts/pylintrc: New file.
5058         * scripts/pylint: New file.
5059
5060         * bits/mathdef.h: Use #ifdef instead of #if.
5061         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5062         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5063         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5064         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5065         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5066         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5067
5068 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5069             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5070
5071         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5073         and strpbrk-ppc64 objects.
5074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5075         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5076         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5077         multiarch strpbrk for POWER7.
5078         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5079         multiarch strpbrk for PPC64.
5080         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5081         ifunc selector.
5082         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5083         strpbrk for POWER7.
5084
5085 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5086
5087         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5088         (atan_test): Likewise.
5089         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5090         (atanh_test): Use ALL_RM_TEST.
5091         (atan2_test_data): Likewise.
5092         (cabs_test): Likewise.
5093         (cacosh_test): Likewise.
5094         (carg_test): Likewise.
5095         (casin_test): Likewise.
5096         (casinh_test): Likewise.
5097         (cbrt_test): Likewise.
5098         (csqrt_test): Likewise.
5099         (erf_test): Likewise.
5100         (erfc_test): Likewise.
5101         (pow10_test): Likewise.
5102         (exp2_test): Likewise.
5103         (hypot_test): Likewise.
5104         (j0_test): Likewise.
5105         (j1_test): Likewise.
5106         (lgamma_test): Likewise.
5107         (gamma_test): Likewise.
5108         (sincos_test): Likewise.
5109         (tanh_test): Likewise.
5110         (y0_test): Likewise.
5111         (y1_test): Likewise.
5112         * sysdeps/i386/fpu/libm-test-ulps: Update.
5113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5114
5115 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5116
5117         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5118         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5119         and strcspn-ppc64 objects.
5120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5121         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5122         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5123         multiarch strcspn for POWER7.
5124         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5125         multiarch strcspn for PPC64.
5126         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5127         ifunc selector.
5128         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5129         strcspn for POWER7.
5130
5131 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5132
5133         * math/gen-libm-test.pl (generate_testfile): Expect only function
5134         name as argument to AUTO_TESTS_* and pass results for all rounding
5135         modes to parse_args.
5136         (parse_auto_input): Separate inputs of automatic tests from
5137         outputs before storing in %auto_tests.
5138         * math/libm-test.inc (acos_test_data): Update call to
5139         AUTO_TESTS_f_f.
5140         (acos_test): Use ALL_RM_TEST.
5141         (acos_tonearest_test_data): Remove.
5142         (acos_test_tonearest): Likewise.
5143         (acos_towardzero_test_data): Likewise.
5144         (acos_test_towardzero): Likewise.
5145         (acos_downward_test_data): Likewise.
5146         (acos_test_downward): Likewise.
5147         (acos_upward_test_data): Likewise.
5148         (acos_test_upward): Likewise.
5149         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5150         (asin_test_data): Likewise.
5151         (asin_test): Use ALL_RM_TEST.
5152         (asin_tonearest_test_data): Remove.
5153         (asin_test_tonearest): Likewise.
5154         (asin_towardzero_test_data): Likewise.
5155         (asin_test_towardzero): Likewise.
5156         (asin_downward_test_data): Likewise.
5157         (asin_test_downward): Likewise.
5158         (asin_upward_test_data): Likewise.
5159         (asin_test_upward): Likewise.
5160         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5161         (atan_test_data): Likewise.
5162         (atanh_test_data): Likewise.
5163         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5164         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5165         (carg_test_data): Likewise.
5166         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5167         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5168         (ccosh_test_data): Likewise.
5169         (cexp_test_data): Likewise.
5170         (clog_test_data): Likewise.
5171         (clog10_test_data): Likewise.
5172         (cos_test_data): Update call to AUTO_TESTS_f_f.
5173         (cos_test): Use ALL_RM_TEST.
5174         (cos_tonearest_test_data): Remove.
5175         (cos_test_tonearest): Likewise.
5176         (cos_towardzero_test_data): Likewise.
5177         (cos_test_towardzero): Likewise.
5178         (cos_downward_test_data): Likewise.
5179         (cos_test_downward): Likewise.
5180         (cos_upward_test_data): Likewise.
5181         (cos_test_upward): Likewise.
5182         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5183         (cosh_test): Use ALL_RM_TEST.
5184         (cosh_tonearest_test_data): Remove.
5185         (cosh_test_tonearest): Likewise.
5186         (cosh_towardzero_test_data): Likewise.
5187         (cosh_test_towardzero): Likewise.
5188         (cosh_downward_test_data): Likewise.
5189         (cosh_test_downward): Likewise.
5190         (cosh_upward_test_data): Likewise.
5191         (cosh_test_upward): Likewise.
5192         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5193         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5194         (ctan_test_data): Likewise.
5195         (ctan_test): Use ALL_RM_TEST.
5196         (ctan_tonearest_test_data): Remove.
5197         (ctan_test_tonearest): Likewise.
5198         (ctan_towardzero_test_data): Likewise.
5199         (ctan_test_towardzero): Likewise.
5200         (ctan_downward_test_data): Likewise.
5201         (ctan_test_downward): Likewise.
5202         (ctan_upward_test_data): Likewise.
5203         (ctan_test_upward): Likewise.
5204         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5205         (ctanh_test): Use ALL_RM_TEST.
5206         (ctanh_tonearest_test_data): Remove.
5207         (ctanh_test_tonearest): Likewise.
5208         (ctanh_towardzero_test_data): Likewise.
5209         (ctanh_test_towardzero): Likewise.
5210         (ctanh_downward_test_data): Likewise.
5211         (ctanh_test_downward): Likewise.
5212         (ctanh_upward_test_data): Likewise.
5213         (ctanh_test_upward): Likewise.
5214         (erf_test_data): Update call to AUTO_TESTS_f_f.
5215         (erfc_test_data): Likewise.
5216         (exp_test_data): Likewise.
5217         (exp_test): Use ALL_RM_TEST.
5218         (exp_tonearest_test_data): Remove.
5219         (exp_test_tonearest): Likewise.
5220         (exp_towardzero_test_data): Likewise.
5221         (exp_test_towardzero): Likewise.
5222         (exp_downward_test_data): Likewise.
5223         (exp_test_downward): Likewise.
5224         (exp_upward_test_data): Likewise.
5225         (exp_test_upward): Likewise.
5226         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5227         (exp10_test): Use ALL_RM_TEST.
5228         (exp10_tonearest_test_data): Remove.
5229         (exp10_test_tonearest): Likewise.
5230         (exp10_towardzero_test_data): Likewise.
5231         (exp10_test_towardzero): Likewise.
5232         (exp10_downward_test_data): Likewise.
5233         (exp10_test_downward): Likewise.
5234         (exp10_upward_test_data): Likewise.
5235         (exp10_test_upward): Likewise.
5236         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5237         (expm1_test_data): Likewise.
5238         (expm1_test): Use ALL_RM_TEST.
5239         (expm1_tonearest_test_data): Remove.
5240         (expm1_test_tonearest): Likewise.
5241         (expm1_towardzero_test_data): Likewise.
5242         (expm1_test_towardzero): Likewise.
5243         (expm1_downward_test_data): Likewise.
5244         (expm1_test_downward): Likewise.
5245         (expm1_upward_test_data): Likewise.
5246         (expm1_test_upward): Likewise.
5247         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5248         (fma_test): Use ALL_RM_TEST.
5249         (fma_towardzero_test_data): Remove.
5250         (fma_test_towardzero): Likewise.
5251         (fma_downward_test_data): Likewise.
5252         (fma_test_downward): Likewise.
5253         (fma_upward_test_data): Likewise.
5254         (fma_test_upward): Likewise.
5255         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5256         (j0_test_data): Update call to AUTO_TESTS_f_f.
5257         (j1_test_data): Likewise.
5258         (jn_test_data): Update call to AUTO_TESTS_if_f.
5259         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5260         (log_test_data): Update call to AUTO_TESTS_f_f.
5261         (log10_test_data): Likewise.
5262         (log1p_test_data): Likewise.
5263         (log2_test_data): Likewise.
5264         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5265         (pow_tonearest_test_data): Likewise.
5266         (sin_test_data): Update call to AUTO_TESTS_f_f.
5267         (sin_test): Use ALL_RM_TEST.
5268         (sin_tonearest_test_data): Remove.
5269         (sin_test_tonearest): Likewise.
5270         (sin_towardzero_test_data): Likewise.
5271         (sin_test_towardzero): Likewise.
5272         (sin_downward_test_data): Likewise.
5273         (sin_test_downward): Likewise.
5274         (sin_upward_test_data): Likewise.
5275         (sin_test_upward): Likewise.
5276         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5277         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5278         (sinh_test): Use ALL_RM_TEST.
5279         (sinh_tonearest_test_data): Remove.
5280         (sinh_test_tonearest): Likewise.
5281         (sinh_towardzero_test_data): Likewise.
5282         (sinh_test_towardzero): Likewise.
5283         (sinh_downward_test_data): Likewise.
5284         (sinh_test_downward): Likewise.
5285         (sinh_upward_test_data): Likewise.
5286         (sinh_test_upward): Likewise.
5287         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5288         (sqrt_test): Use ALL_RM_TEST.
5289         (sqrt_tonearest_test_data): Remove.
5290         (sqrt_test_tonearest): Likewise.
5291         (sqrt_towardzero_test_data): Likewise.
5292         (sqrt_test_towardzero): Likewise.
5293         (sqrt_downward_test_data): Likewise.
5294         (sqrt_test_downward): Likewise.
5295         (sqrt_upward_test_data): Likewise.
5296         (sqrt_test_upward): Likewise.
5297         (tan_test_data): Update call to AUTO_TESTS_f_f.
5298         (tan_test): Use ALL_RM_TEST.
5299         (tan_tonearest_test_data): Remove.
5300         (tan_test_tonearest): Likewise.
5301         (tan_towardzero_test_data): Likewise.
5302         (tan_test_towardzero): Likewise.
5303         (tan_downward_test_data): Likewise.
5304         (tan_test_downward): Likewise.
5305         (tan_upward_test_data): Likewise.
5306         (tan_test_upward): Likewise.
5307         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5308         (tgamma_test_data): Likewise.
5309         (y0_test_data): Likewise.
5310         (y1_test_data): Likewise.
5311         (yn_test_data): Update call to AUTO_TESTS_if_f.
5312         (main): Do not call removed functions.
5313
5314 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5315
5316         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5317         (ldexp_test_data): Remove.
5318         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5319         scalbn_test_data.
5320         (scalb_test): Use ALL_RM_TEST.
5321
5322 2014-03-19  Andreas Schwab  <schwab@suse.de>
5323
5324         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5325
5326 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5327
5328         [BZ #16649]
5329         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5330         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5331         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5332         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5333         (__ASSUME_PREADV): Undefine.
5334         (__ASSUME_PWRITEV): Likewise.
5335
5336 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5337
5338         * bits/mman-linux.h: Add comment about non-Linux use.
5339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5340         bits/mman-linux.h resting place.
5341
5342         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5343         * bits/mman-linux.h: ... here.
5344
5345 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5346
5347         * conform/conformtest.pl: Add standard definition when calling C
5348         preprocessor on data files.
5349         (checknamespace): Remove unused variable.
5350
5351 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5352
5353         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5354         minus_oflow, plus_uflow and minus_uflow in expected results.
5355         * math/libm-test.inc (scalbn_test_data): Add more tests of
5356         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5357         minus_uflow.
5358         (scalbn_test): Use ALL_RM_TEST.
5359         (scalbln_test_data): Add more tests of negative arguments.  Use
5360         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5361         (scalbln_test): Use ALL_RM_TEST.
5362
5363 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5364
5365         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5366
5367 2014-03-18  Will Newton  <will.newton@linaro.org>
5368
5369         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5370         inaccurate comment.
5371
5372 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5373
5374         * Makerules [!subdir] (check-abi): Exit with error status if a
5375         test failed.
5376
5377 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5378
5379         * math/libm-test.inc (nearbyint_test_data): Include all tests used
5380         for rint.  Include results for all rounding modes.
5381         (nearbyint_test): Use ALL_RM_TEST.
5382         (rint_test_data): Include all tests used for nearbyint.
5383
5384 2014-03-17  Will Newton  <will.newton@linaro.org>
5385
5386         * nptl/sysdeps/pthread/pthread.h: Revert previous
5387         change.
5388
5389         * sysdeps/generic/ldsodefs.h: Revert previous
5390         change.
5391
5392         * libio/genops.c: Revert previous change.
5393         * libio/libioP.h: Likewise.
5394         * stdio-common/vfprintf.c: Likewise.
5395
5396         * sysdeps/generic/math_private.h: Revert previous
5397         change.
5398
5399         * sysdeps/generic/math_private.h: Check whether
5400         HAVE_RM_CTX is defined with #ifdef rather
5401         than #if.
5402
5403         * argp/argp-fmtstream.h: Check whether
5404         __STRICT_ANSI__ is defined with #ifdef rather
5405         than #if.
5406         * argp/argp.h: Likewise.
5407
5408         * libio/genops.c: Check whether
5409         _IO_JUMPS_OFFSET is defined with #ifdef rather
5410         than #if.
5411         * libio/libioP.h: Likewise.
5412         * stdio-common/vfprintf.c: Likewise.
5413
5414         * sysdeps/generic/ldsodefs.h: Check whether
5415         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5416         than #if.
5417
5418         * nptl/sysdeps/pthread/pthread.h: Check
5419         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5420         its value.
5421
5422 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5423
5424         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5425         setting O_APPEND.
5426         * libio/tst-ftell-active-handler.c (do_append_test): Add a
5427         test case.
5428
5429         [BZ #16680]
5430         * libio/fileops.c (_IO_file_open): Seek to end of file but
5431         don't cache the offset.
5432         (get_file_offset): Remove function.
5433         (do_ftell): Use cached offset when available.
5434         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5435         don't cache the offset.
5436         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5437         case.
5438         (do_one_test): Call it.
5439         (do_ftell_test): Fix up expected old offset for a+ mode.
5440         * libio/wfileops.c (do_ftell_wide): Used cached offset when
5441         available.
5442
5443         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5444         up test status with function return status.
5445         (do_write_test): Likewise.
5446         (do_append_test): Likewise.
5447
5448         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5449         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5450         Remove.
5451
5452 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5453
5454         * math/gen-libm-test.pl (parse_args): Handle results specified for
5455         each rounding mode separately.
5456         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5457         tests and results from lrint_tonearest_test_data,
5458         lrint_towardzero_test_data, lrint_downward_test_data and
5459         lrint_upward_test_data.
5460         (lrint_test): Use ALL_RM_TEST.
5461         (lrint_tonearest_test_data): Remove.
5462         (lrint_test_tonearest): Likewise.
5463         (lrint_towardzero_test_data): Likewise.
5464         (lrint_test_towardzero): Likewise.
5465         (lrint_downward_test_data): Likewise.
5466         (lrint_test_downward): Likewise.
5467         (lrint_upward_test_data): Likewise.
5468         (lrint_test_upward): Likewise.
5469         (llrint_test_data): Merge in per-rounding-mode tests and results
5470         from llrint_tonearest_test_data, llrint_towardzero_test_data,
5471         llrint_downward_test_data and llrint_upward_test_data.
5472         (llrint_test): Use ALL_RM_TEST.
5473         (llrint_tonearest_test_data): Remove.
5474         (llrint_test_tonearest): Likewise.
5475         (llrint_towardzero_test_data): Likewise.
5476         (llrint_test_towardzero): Likewise.
5477         (llrint_downward_test_data): Likewise.
5478         (llrint_test_downward): Likewise.
5479         (llrint_upward_test_data): Likewise.
5480         (llrint_test_upward): Likewise.
5481         (rint_test_data): Merge in per-rounding-mode tests and results
5482         from rint_tonearest_test_data, rint_towardzero_test_data,
5483         rint_downward_test_data and rint_upward_test_data.  Add
5484         per-rounding-mode results for tests not in those arrays.
5485         (rint_test): Use ALL_RM_TEST.
5486         (rint_tonearest_test_data): Remove.
5487         (rint_test_tonearest): Likewise.
5488         (rint_towardzero_test_data): Likewise.
5489         (rint_test_towardzero): Likewise.
5490         (rint_downward_test_data): Likewise.
5491         (rint_test_downward): Likewise.
5492         (rint_upward_test_data): Likewise.
5493         (rint_test_upward): Likewise.
5494         (main): Don't call removed functions.
5495
5496 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5497
5498         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5499         "Compiled on ..." crapola.  It is anti-useful.
5500
5501 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
5502
5503         * scripts/evaluate-test.sh: Handle fourth argument to determine
5504         whether test run should stop on failure.
5505         * Makeconfig (stop-on-test-failure): New variable.
5506         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5507         $(stop-on-test-failure).
5508         * Makefile (tests): Give a summary of results from testing and
5509         exit with failure status if they include an ERROR or FAIL.
5510         (xtests): Likewise.
5511         * manual/install.texi (Configuring and compiling): Mention
5512         stop-on-test-failure=y.
5513         * INSTALL: Regenerated.
5514
5515 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5516
5517         * scripts/versionlist.awk: New file.
5518         * Makerules [$(build-shared) = yes]
5519         (postclean-generated): Add Versions.def, not Versions.def.v and
5520         Versions.def.v.i.
5521         ($(common-objpfx)Versions.def.v.i): Target removed.
5522         ($(common-objpfx)Versions.def): New target.
5523         ($(common-objpfx)Versions.all): Depend on that rather that
5524         $(common-objpfx)Versions.def.v.
5525         * Versions.def: File removed.
5526
5527         * Makeconfig (+gccwarn): Add -Wundef.
5528         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5529         a dl-sysdep.h breaking its contract.
5530         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5531         * include/stackinfo.h: New file.
5532         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5533         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5534         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5535         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5536         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5537         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5538         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5539         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5540         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5541         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5542         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5543         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5544         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5545         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5546         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5547
5548 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5549
5550         [BZ #16707]
5551         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5552         implementation.
5553         * math/libm-test.inc (round_test_data): Add more tests.
5554
5555         [BZ #16706]
5556         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5557         implementation.
5558         * math/libm-test.inc (nearbyint_test_data): Add more tests.
5559
5560         [BZ #16701]
5561         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5562         implementation.
5563         * math/libm-test.inc (ceil_test_data): Add more tests.
5564
5565         * math/libm-test.inc (trunc_test_data): Add more tests related to
5566         BZ#16414.
5567
5568 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5569
5570         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5571         with #if rather than #ifdef.
5572         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5573
5574 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
5575
5576         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5577         first.  Disable AVX-512 GCC support if assembler doesn't support
5578         it.
5579         * sysdeps/x86_64/configure: Regenerated.
5580
5581 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
5582
5583         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5584         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5585         (__old_pthread_attr_setstack): Likewise.
5586         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5587         [!_STACK_GROWS_DOWN]: Likewise.
5588
5589 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
5590
5591         * config.make.in (have-bash2): Delete.
5592         * configure.ac (libc_cv_have_bash2): Delete.
5593         * configure: Regenerate.
5594         * elf/Makefile (common-ldd-rewrite): Rename to ...
5595         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
5596         (sh-ldd-rewrite): Delete.
5597         (bash-ldd-rewrite): Delete.
5598         (have-bash2): Delete checks.
5599         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5600         ldd-rewrite.
5601
5602         * config.make.in (have-ksh): Delete.
5603         (KSH): Delete.
5604         * configure.ac (libc_cv_have_ksh): Delete.
5605         * configure: Regenerate.
5606
5607         * elf/Makefile: Delete $(have-ksh) check.
5608         ($(objpfx)sotruss): Change KSH to BASH.
5609         * elf/sotruss.ksh: Rename to ...
5610         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
5611         function style to match POSIX.  Drop ksh vim mode setting.
5612
5613         * manual/time.texi (Specifying the Time Zone with TZ): Change
5614         Tuesday to Thursday.
5615
5616         * debug/tst-longjmp_chk2.c: Update header comment.
5617         (stackoverflow_handler): Add comment.  Call assert on pass value.
5618
5619 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
5620
5621         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5622         (HAVE_AVX512_ASM_SUPPORT): Likewise.
5623         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5624         (La_x86_64_vector): Add zmm.
5625         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5626         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5627         ($(objpfx)tst-audit10): New target.
5628         ($(objpfx)tst-audit10.out): Likewise.
5629         (tst-audit10-ENV): New.
5630         (AVX512-CFLAGS): Likewise.
5631         (CFLAGS-tst-audit10.c): Likewise.
5632         (CFLAGS-tst-auditmod10a.c): Likewise.
5633         (CFLAGS-tst-auditmod10b.c): Likewise.
5634         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5635         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5636         * sysdeps/x86_64/configure: Regenerated.
5637         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5638         AVX-512 zmm register support.
5639         (_dl_x86_64_save_sse): Likewise.
5640         (_dl_x86_64_restore_sse): Likewise.
5641         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5642         size vector registers.
5643         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5644         (ZMM_SIZE): Likewise.
5645         * sysdeps/x86_64/tst-audit10.c: New file.
5646         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5647         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5648
5649 2014-03-13  Roland McGrath  <roland@hack.frob.com>
5650
5651         * configure.ac (HAVE_EHDR_START): New check.
5652         * configure: Regenerated.
5653         * config.h.in (HAVE_EHDR_START): New #undef.
5654         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5655         assuming the lowest-addressed segment maps the start of the file.
5656
5657 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
5658
5659         * INSTALL: Regenerated.
5660
5661 2014-03-13  Will Newton  <will.newton@linaro.org>
5662
5663         * manual/setjmp.texi (System V contexts): Improve
5664         clarity and grammar of documentation.
5665
5666 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5667
5668         [BZ #16381]
5669         * elf/Makefile (tests): Add tst-pie2.
5670         (tests-pie): Add tst-pie2.
5671         * elf/tst-pie2.c: New file.
5672         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5673         for ET_EXEC.
5674         * elf/rtld.c (map_doit): Load executable as lt_executable.
5675         (dl_main): Likewise.
5676
5677 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
5678
5679         [BZ #16642]
5680         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5681         (__ASSUME_PSELECT): Undefine.
5682
5683 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5684
5685         [BZ #16689]
5686         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5687         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5688         static build.
5689         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5690         selector for static builds.
5691
5692 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5693
5694         [BZ #16695]
5695         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5696         key in the buffer.
5697
5698 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5699
5700         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5701         IFUNC selector for static builds.
5702
5703 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
5704
5705         * sysdeps/mips/math_private.h [__mips_hard_float]
5706         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5707         libc_feresetround_mips_ctx.
5708         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5709         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5710         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5711
5712         [BZ #16677]
5713         * math/s_nextafter.c (__nextafter): Do not return value from
5714         overflowing computation.
5715         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5716         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5717         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5718         Likewise.
5719         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5720         Likewise.
5721         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5722         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5723
5724 2014-03-11  Roland McGrath  <roland@hack.frob.com>
5725
5726         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5727         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5728         Move sfi_sp use from the load-multiple (that no longer sets sp) to
5729         the new mov targetting sp.
5730
5731 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5732
5733         [BZ #16683]
5734         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5735         Define it for static builds as well.
5736         (NO_BZERO_IMPL): Likewise.
5737
5738 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5739
5740         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5741         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5742         multiarch strspn for PPC64.
5743         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5744         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5746         (__libc_ifunc_impl_list): Likewise.
5747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5748         multiarch optimizations
5749         * string/strspn.c (strspn): Using macro to redefine symbol name.
5750
5751 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5752             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5753
5754         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5755         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5756         multiarch strncat for PPC64.
5757         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5758         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5760         (__libc_ifunc_impl_list): Likewise.
5761         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5762         multiarch optimizations
5763
5764 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5765
5766         [BZ #16639]
5767         * nscd/nscd.service: Make service type forking.
5768
5769 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5770
5771         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5772         sign in non default rounding modes.
5773         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5774
5775 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
5776
5777         * math/libm-test.inc (ALL_RM_TEST): New macro.
5778         (ceil_test): Use ALL_RM_TEST.
5779         (cimag_test): Likewise.
5780         (conj_test): Likewise.
5781         (copysign_test): Likewise.
5782         (cproj_test): Likewise.
5783         (creal_test): Likewise.
5784         (fabs_test): Likewise.
5785         (floor_test): Likewise.
5786         (fmax_test): Likewise.
5787         (fmin_test): Likewise.
5788         (fmod_test): Likewise.
5789         (fpclassify_test): Likewise.
5790         (frexp_test): Likewise.
5791         (ilogb_test): Likewise.
5792         (isfinite_test): Likewise.
5793         (finite_test): Likewise.
5794         (isgreater_test): Likewise.
5795         (isgreaterequal_test): Likewise.
5796         (isinf_test): Likewise.
5797         (isless_test): Likewise.
5798         (islessequal_test): Likewise.
5799         (islessgreater_test): Likewise.
5800         (isnan_test): Likewise.
5801         (isnormal_test): Likewise.
5802         (issignaling_test): Likewise.
5803         (isunordered_test): Likewise.
5804         (logb_test): Likewise.
5805         (logb_downward_test_data): Remove.
5806         (logb_test_downward): Likewise.
5807         (lround_test): Use ALL_RM_TEST.
5808         (llround_test): Likewise.
5809         (modf_test): Likewise.
5810         (nexttoward_test): Likewise.
5811         (remainder_test): Likewise.
5812         (drem_test): Likewise.
5813         (remainder_tonearest_test_data): Likewise.
5814         (remainder_test_tonearest): Likewise.
5815         (drem_test_tonearest): Likewise.
5816         (remainder_towardzero_test_data): Likewise.
5817         (remainder_test_towardzero): Likewise.
5818         (drem_test_towardzero): Likewise.
5819         (remainder_downward_test_data): Likewise.
5820         (remainder_test_downward): Likewise.
5821         (drem_test_downward): Likewise.
5822         (remainder_upward_test_data): Likewise.
5823         (remainder_test_upward): Likewise.
5824         (drem_test_upward): Likewise.
5825         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
5826         (round_test): Use ALL_RM_TEST.
5827         (signbit_test): Likewise.
5828         (trunc_test): Likewise.
5829         (significand_test): Likewise.
5830         (main): Don't call removed functions.
5831
5832 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5833
5834         [BZ #16674]
5835         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5836         || __USE_XOPEN2K8].
5837         (ILL_ILLOPN): Likewise.
5838         (ILL_ILLADR): Likewise.
5839         (ILL_ILLTRP): Likewise.
5840         (ILL_PRVOPC): Likewise.
5841         (ILL_PRVREG): Likewise.
5842         (ILL_COPROC): Likewise.
5843         (ILL_BADSTK): Likewise.
5844         (FPE_INTDIV): Likewise.
5845         (FPE_INTOVF): Likewise.
5846         (FPE_FLTDIV): Likewise.
5847         (FPE_FLTOVF): Likewise.
5848         (FPE_FLTUND): Likewise.
5849         (FPE_FLTRES): Likewise.
5850         (FPE_FLTINV): Likewise.
5851         (FPE_FLTSUB): Likewise.
5852         (SEGV_MAPERR): Likewise.
5853         (SEGV_ACCERR): Likewise.
5854         (BUS_ADRALN): Likewise.
5855         (BUS_ADRERR): Likewise.
5856         (BUS_OBJERR): Likewise.
5857         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5858         (TRAP_TRACE): Likewise.
5859         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5860         __USE_XOPEN2K8].
5861         (CLD_KILLED): Likewise.
5862         (CLD_DUMPED): Likewise.
5863         (CLD_TRAPPED): Likewise.
5864         (CLD_STOPPED): Likewise.
5865         (CLD_CONTINUED): Likewise.
5866         (POLL_IN): Likewise.
5867         (POLL_OUT): Likewise.
5868         (POLL_MSG): Likewise.
5869         (POLL_ERR): Likewise.
5870         (POLL_PRI): Likewise.
5871         (POLL_HUP): Likewise.
5872         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5873         Likewise.
5874         (ILL_ILLOPN): Likewise.
5875         (ILL_ILLADR): Likewise.
5876         (ILL_ILLTRP): Likewise.
5877         (ILL_PRVOPC): Likewise.
5878         (ILL_PRVREG): Likewise.
5879         (ILL_COPROC): Likewise.
5880         (ILL_BADSTK): Likewise.
5881         (FPE_INTDIV): Likewise.
5882         (FPE_INTOVF): Likewise.
5883         (FPE_FLTDIV): Likewise.
5884         (FPE_FLTOVF): Likewise.
5885         (FPE_FLTUND): Likewise.
5886         (FPE_FLTRES): Likewise.
5887         (FPE_FLTINV): Likewise.
5888         (FPE_FLTSUB): Likewise.
5889         (SEGV_MAPERR): Likewise.
5890         (SEGV_ACCERR): Likewise.
5891         (BUS_ADRALN): Likewise.
5892         (BUS_ADRERR): Likewise.
5893         (BUS_OBJERR): Likewise.
5894         (BUS_MCEERR_AR): Likewise.
5895         (BUS_MCEERR_AO): Likewise.
5896         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5897         (TRAP_TRACE): Likewise.
5898         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5899         __USE_XOPEN2K8].
5900         (CLD_KILLED): Likewise.
5901         (CLD_DUMPED): Likewise.
5902         (CLD_TRAPPED): Likewise.
5903         (CLD_STOPPED): Likewise.
5904         (CLD_CONTINUED): Likewise.
5905         (POLL_IN): Likewise.
5906         (POLL_OUT): Likewise.
5907         (POLL_MSG): Likewise.
5908         (POLL_ERR): Likewise.
5909         (POLL_PRI): Likewise.
5910         (POLL_HUP): Likewise.
5911         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5912         (ILL_ILLOPN): Likewise.
5913         (ILL_ILLADR): Likewise.
5914         (ILL_ILLTRP): Likewise.
5915         (ILL_PRVOPC): Likewise.
5916         (ILL_PRVREG): Likewise.
5917         (ILL_COPROC): Likewise.
5918         (ILL_BADSTK): Likewise.
5919         (FPE_INTDIV): Likewise.
5920         (FPE_INTOVF): Likewise.
5921         (FPE_FLTDIV): Likewise.
5922         (FPE_FLTOVF): Likewise.
5923         (FPE_FLTUND): Likewise.
5924         (FPE_FLTRES): Likewise.
5925         (FPE_FLTINV): Likewise.
5926         (FPE_FLTSUB): Likewise.
5927         (SEGV_MAPERR): Likewise.
5928         (SEGV_ACCERR): Likewise.
5929         (BUS_ADRALN): Likewise.
5930         (BUS_ADRERR): Likewise.
5931         (BUS_OBJERR): Likewise.
5932         (BUS_MCEERR_AR): Likewise.
5933         (BUS_MCEERR_AO): Likewise.
5934         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5935         (TRAP_TRACE): Likewise.
5936         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5937         __USE_XOPEN2K8].
5938         (CLD_KILLED): Likewise.
5939         (CLD_DUMPED): Likewise.
5940         (CLD_TRAPPED): Likewise.
5941         (CLD_STOPPED): Likewise.
5942         (CLD_CONTINUED): Likewise.
5943         (POLL_IN): Likewise.
5944         (POLL_OUT): Likewise.
5945         (POLL_MSG): Likewise.
5946         (POLL_ERR): Likewise.
5947         (POLL_PRI): Likewise.
5948         (POLL_HUP): Likewise.
5949         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5950         Likewise.
5951         (ILL_ILLOPN): Likewise.
5952         (ILL_ILLADR): Likewise.
5953         (ILL_ILLTRP): Likewise.
5954         (ILL_PRVOPC): Likewise.
5955         (ILL_PRVREG): Likewise.
5956         (ILL_COPROC): Likewise.
5957         (ILL_BADSTK): Likewise.
5958         (ILL_BADIADDR): Likewise.
5959         (ILL_BREAK): Likewise.
5960         (FPE_INTDIV): Likewise.
5961         (FPE_INTOVF): Likewise.
5962         (FPE_FLTDIV): Likewise.
5963         (FPE_FLTOVF): Likewise.
5964         (FPE_FLTUND): Likewise.
5965         (FPE_FLTRES): Likewise.
5966         (FPE_FLTINV): Likewise.
5967         (FPE_FLTSUB): Likewise.
5968         (FPE_DECOVF): Likewise.
5969         (FPE_DECDIV): Likewise.
5970         (FPE_DECERR): Likewise.
5971         (FPE_INVASC): Likewise.
5972         (FPE_INVDEC): Likewise.
5973         (SEGV_MAPERR): Likewise.
5974         (SEGV_ACCERR): Likewise.
5975         (SEGV_PSTKOVF): Likewise.
5976         (BUS_ADRALN): Likewise.
5977         (BUS_ADRERR): Likewise.
5978         (BUS_OBJERR): Likewise.
5979         (BUS_MCEERR_AR): Likewise.
5980         (BUS_MCEERR_AO): Likewise.
5981         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5982         (TRAP_TRACE): Likewise.
5983         (TRAP_BRANCH): Likewise.
5984         (TRAP_HWBKPT): Likewise.
5985         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5986         __USE_XOPEN2K8].
5987         (CLD_KILLED): Likewise.
5988         (CLD_DUMPED): Likewise.
5989         (CLD_TRAPPED): Likewise.
5990         (CLD_STOPPED): Likewise.
5991         (CLD_CONTINUED): Likewise.
5992         (POLL_IN): Likewise.
5993         (POLL_OUT): Likewise.
5994         (POLL_MSG): Likewise.
5995         (POLL_ERR): Likewise.
5996         (POLL_PRI): Likewise.
5997         (POLL_HUP): Likewise.
5998         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5999         (ILL_ILLOPN): Likewise.
6000         (ILL_ILLADR): Likewise.
6001         (ILL_ILLTRP): Likewise.
6002         (ILL_PRVOPC): Likewise.
6003         (ILL_PRVREG): Likewise.
6004         (ILL_COPROC): Likewise.
6005         (ILL_BADSTK): Likewise.
6006         (FPE_INTDIV): Likewise.
6007         (FPE_INTOVF): Likewise.
6008         (FPE_FLTDIV): Likewise.
6009         (FPE_FLTOVF): Likewise.
6010         (FPE_FLTUND): Likewise.
6011         (FPE_FLTRES): Likewise.
6012         (FPE_FLTINV): Likewise.
6013         (FPE_FLTSUB): Likewise.
6014         (SEGV_MAPERR): Likewise.
6015         (SEGV_ACCERR): Likewise.
6016         (BUS_ADRALN): Likewise.
6017         (BUS_ADRERR): Likewise.
6018         (BUS_OBJERR): Likewise.
6019         (BUS_MCEERR_AR): Likewise.
6020         (BUS_MCEERR_AO): Likewise.
6021         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6022         (TRAP_TRACE): Likewise.
6023         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6024         __USE_XOPEN2K8].
6025         (CLD_KILLED): Likewise.
6026         (CLD_DUMPED): Likewise.
6027         (CLD_TRAPPED): Likewise.
6028         (CLD_STOPPED): Likewise.
6029         (CLD_CONTINUED): Likewise.
6030         (POLL_IN): Likewise.
6031         (POLL_OUT): Likewise.
6032         (POLL_MSG): Likewise.
6033         (POLL_ERR): Likewise.
6034         (POLL_PRI): Likewise.
6035         (POLL_HUP): Likewise.
6036         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6037         (ILL_ILLOPN): Likewise.
6038         (ILL_ILLADR): Likewise.
6039         (ILL_ILLTRP): Likewise.
6040         (ILL_PRVOPC): Likewise.
6041         (ILL_PRVREG): Likewise.
6042         (ILL_COPROC): Likewise.
6043         (ILL_BADSTK): Likewise.
6044         (FPE_INTDIV): Likewise.
6045         (FPE_INTOVF): Likewise.
6046         (FPE_FLTDIV): Likewise.
6047         (FPE_FLTOVF): Likewise.
6048         (FPE_FLTUND): Likewise.
6049         (FPE_FLTRES): Likewise.
6050         (FPE_FLTINV): Likewise.
6051         (FPE_FLTSUB): Likewise.
6052         (SEGV_MAPERR): Likewise.
6053         (SEGV_ACCERR): Likewise.
6054         (BUS_ADRALN): Likewise.
6055         (BUS_ADRERR): Likewise.
6056         (BUS_OBJERR): Likewise.
6057         (BUS_MCEERR_AR): Likewise.
6058         (BUS_MCEERR_AO): Likewise.
6059         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6060         (TRAP_TRACE): Likewise.
6061         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6062         __USE_XOPEN2K8].
6063         (CLD_KILLED): Likewise.
6064         (CLD_DUMPED): Likewise.
6065         (CLD_TRAPPED): Likewise.
6066         (CLD_STOPPED): Likewise.
6067         (CLD_CONTINUED): Likewise.
6068         (POLL_IN): Likewise.
6069         (POLL_OUT): Likewise.
6070         (POLL_MSG): Likewise.
6071         (POLL_ERR): Likewise.
6072         (POLL_PRI): Likewise.
6073         (POLL_HUP): Likewise.
6074         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6075         (ILL_ILLOPN): Likewise.
6076         (ILL_ILLADR): Likewise.
6077         (ILL_ILLTRP): Likewise.
6078         (ILL_PRVOPC): Likewise.
6079         (ILL_PRVREG): Likewise.
6080         (ILL_COPROC): Likewise.
6081         (ILL_BADSTK): Likewise.
6082         (FPE_INTDIV): Likewise.
6083         (FPE_INTOVF): Likewise.
6084         (FPE_FLTDIV): Likewise.
6085         (FPE_FLTOVF): Likewise.
6086         (FPE_FLTUND): Likewise.
6087         (FPE_FLTRES): Likewise.
6088         (FPE_FLTINV): Likewise.
6089         (FPE_FLTSUB): Likewise.
6090         (SEGV_MAPERR): Likewise.
6091         (SEGV_ACCERR): Likewise.
6092         (BUS_ADRALN): Likewise.
6093         (BUS_ADRERR): Likewise.
6094         (BUS_OBJERR): Likewise.
6095         (BUS_MCEERR_AR): Likewise.
6096         (BUS_MCEERR_AO): Likewise.
6097         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6098         (TRAP_TRACE): Likewise.
6099         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6100         __USE_XOPEN2K8].
6101         (CLD_KILLED): Likewise.
6102         (CLD_DUMPED): Likewise.
6103         (CLD_TRAPPED): Likewise.
6104         (CLD_STOPPED): Likewise.
6105         (CLD_CONTINUED): Likewise.
6106         (POLL_IN): Likewise.
6107         (POLL_OUT): Likewise.
6108         (POLL_MSG): Likewise.
6109         (POLL_ERR): Likewise.
6110         (POLL_PRI): Likewise.
6111         (POLL_HUP): Likewise.
6112         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6113         (ILL_ILLOPN): Likewise.
6114         (ILL_ILLADR): Likewise.
6115         (ILL_ILLTRP): Likewise.
6116         (ILL_PRVOPC): Likewise.
6117         (ILL_PRVREG): Likewise.
6118         (ILL_COPROC): Likewise.
6119         (ILL_BADSTK): Likewise.
6120         (ILL_DBLFLT): Likewise.
6121         (ILL_HARDWALL): Likewise.
6122         (FPE_INTDIV): Likewise.
6123         (FPE_INTOVF): Likewise.
6124         (FPE_FLTDIV): Likewise.
6125         (FPE_FLTOVF): Likewise.
6126         (FPE_FLTUND): Likewise.
6127         (FPE_FLTRES): Likewise.
6128         (FPE_FLTINV): Likewise.
6129         (FPE_FLTSUB): Likewise.
6130         (SEGV_MAPERR): Likewise.
6131         (SEGV_ACCERR): Likewise.
6132         (BUS_ADRALN): Likewise.
6133         (BUS_ADRERR): Likewise.
6134         (BUS_OBJERR): Likewise.
6135         (BUS_MCEERR_AR): Likewise.
6136         (BUS_MCEERR_AO): Likewise.
6137         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6138         (TRAP_TRACE): Likewise.
6139         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6140         __USE_XOPEN2K8].
6141         (CLD_KILLED): Likewise.
6142         (CLD_DUMPED): Likewise.
6143         (CLD_TRAPPED): Likewise.
6144         (CLD_STOPPED): Likewise.
6145         (CLD_CONTINUED): Likewise.
6146         (POLL_IN): Likewise.
6147         (POLL_OUT): Likewise.
6148         (POLL_MSG): Likewise.
6149         (POLL_ERR): Likewise.
6150         (POLL_PRI): Likewise.
6151         (POLL_HUP): Likewise.
6152         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6153         (ILL_ILLOPN): Likewise.
6154         (ILL_ILLADR): Likewise.
6155         (ILL_ILLTRP): Likewise.
6156         (ILL_PRVOPC): Likewise.
6157         (ILL_PRVREG): Likewise.
6158         (ILL_COPROC): Likewise.
6159         (ILL_BADSTK): Likewise.
6160         (FPE_INTDIV): Likewise.
6161         (FPE_INTOVF): Likewise.
6162         (FPE_FLTDIV): Likewise.
6163         (FPE_FLTOVF): Likewise.
6164         (FPE_FLTUND): Likewise.
6165         (FPE_FLTRES): Likewise.
6166         (FPE_FLTINV): Likewise.
6167         (FPE_FLTSUB): Likewise.
6168         (SEGV_MAPERR): Likewise.
6169         (SEGV_ACCERR): Likewise.
6170         (BUS_ADRALN): Likewise.
6171         (BUS_ADRERR): Likewise.
6172         (BUS_OBJERR): Likewise.
6173         (BUS_MCEERR_AR): Likewise.
6174         (BUS_MCEERR_AO): Likewise.
6175         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6176         (TRAP_TRACE): Likewise.
6177         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6178         __USE_XOPEN2K8].
6179         (CLD_KILLED): Likewise.
6180         (CLD_DUMPED): Likewise.
6181         (CLD_TRAPPED): Likewise.
6182         (CLD_STOPPED): Likewise.
6183         (CLD_CONTINUED): Likewise.
6184         (POLL_IN): Likewise.
6185         (POLL_OUT): Likewise.
6186         (POLL_MSG): Likewise.
6187         (POLL_ERR): Likewise.
6188         (POLL_PRI): Likewise.
6189         (POLL_HUP): Likewise.
6190         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6191         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6192
6193         [BZ #16670]
6194         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6195         before #include of <time.h>.
6196         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6197         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6198         (test-xfail-UNIX98/sched.h/conform): Likewise.
6199
6200 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6201
6202         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6203         error absence of trapping exception support.
6204         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6205
6206 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6207
6208         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6209         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6210         * timezone/Makefile (testdata): Move definition above include of
6211         Rules.
6212         (test-zones): New variable.
6213         (tests-special): Add zone files.
6214         (build-testdata): Use $(evaluate-test).
6215
6216         * elf/Makefile (tests-special): Rename tests to end with .out.
6217         ($(objpfx)noload-mem): Likewise.
6218         ($(objpfx)tst-leaks1-mem): Likewise.
6219         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6220         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6221         $(objpfx)test-iconvconfig.out.
6222         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6223         set -e inside subshell and redirect output to file.
6224         * iconvdata/Makefile (generated): Rename tests to end with .out.
6225         Correct type.
6226         (tests-special): Rename tests to end with .out.
6227         ($(objpfx)mtrace-tst-loading): Likewise.
6228         * intl/Makefile (generated): Likewise.
6229         (tests-special): Likewise.
6230         ($(objpfx)mtrace-tst-gettext): Likewise.
6231         * misc/Makefile (generated): Likewise.
6232         (tests-special): Likewise.
6233         ($(objpfx)tst-error1-mem): Likewise.
6234         * nptl/Makefile (tests-special): Likewise.
6235         ($(objpfx)tst-stack3-mem): Likewise.
6236         (generated): Likewise.
6237         * posix/Makefile (generated): Likewise.
6238         (tests-special): Likewise.
6239         (xtests-special): Likewise.
6240         ($(objpfx)tst-fnmatch-mem): Likewise.
6241         ($(objpfx)bug-regex2-mem): Likewise.
6242         ($(objpfx)bug-regex14-mem): Likewise.
6243         ($(objpfx)bug-regex21-mem): Likewise.
6244         ($(objpfx)bug-regex31-mem): Likewise.
6245         ($(objpfx)tst-vfork3-mem): Likewise.
6246         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6247         ($(objpfx)tst-pcre-mem): Likewise.
6248         ($(objpfx)tst-boost-mem): Likewise.
6249         ($(objpfx)bug-ga2-mem): Likewise.
6250         ($(objpfx)bug-glob2-mem): Likewise.
6251         * resolv/Makefile (generate): Likewise.
6252         (tests-special): Likewise.
6253         (xtests-special): Likewise.
6254         (generated): Likewise.
6255         ($(objpfx)mtrace-tst-leaks): Likewise.
6256         ($(objpfx)mtrace-tst-leaks2): Likewise.
6257
6258         * scripts/merge-test-results.sh: New file.
6259         * Makefile (tests-special-notdir): New variable.
6260         (tests): Run merge-test-results.sh.
6261         (xtests): Likewise.
6262         * Rules (tests-special-notdir): New variable.
6263         (xtests-special-notdir): Likewise.
6264         (tests): Run merge-test-results.sh
6265         (xtests): Likewise.
6266
6267         * Makeconfig (test-xfail-name): New variable.
6268         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6269         compute variable name for expected failures.
6270         * conform/Makefile (conformtest-headers-data): New variable.
6271         (conformtest-standards): Likewise.
6272         (conformtest-headers-ISO): Likewise.
6273         (conformtest-headers-ISO99): Likewise.
6274         (conformtest-headers-ISO11): Likewise.
6275         (conformtest-headers-POSIX): Likewise.
6276         (conformtest-headers-XPG3): Likewise.
6277         (conformtest-headers-XPG4): Likewise.
6278         (conformtest-headers-UNIX98): Likewise.
6279         (conformtest-headers-XOPEN2K): Likewise.
6280         (conformtest-headers-POSIX2008): Likewise.
6281         (conformtest-headers-XOPEN2K8): Likewise.
6282         (conformtest-header-list-base): Likewise.
6283         (conformtest-header-list-tests): Likewise.
6284         (conformtest-header-base): Likewise.
6285         (conformtest-header-tests): Likewise.
6286         (tests-special): Add $(conformtest-header-list-tests).  If
6287         [$(fast-check) && !$(cross-compiling)], add
6288         $(conformtest-header-tests) instead of
6289         $(objpfx)run-conformtest.out.
6290         (generated): Add $(conformtest-header-list-base).  If
6291         [$(fast-check) && !$(cross-compiling)], add
6292         $(conformtest-header-base).  Remove previous setting.
6293         ($(conformtest-header-list-tests)): New target.
6294         (test-xfail-run-conformtest): Remove variable.
6295         ($(objpfx)run-conformtest.out): Remove target.
6296         (test-xfail-ISO11/complex.h/conform): New variable.
6297         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6298         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6299         (test-xfail-XPG3/varargs.h/conform): Likewise.
6300         (test-xfail-XPG4/varargs.h/conform): Likewise.
6301         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6302         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6303         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6304         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6305         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6306         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6307         (test-xfail-XPG3/ftw.h/conform): Likewise.
6308         (test-xfail-XPG3/grp.h/conform): Likewise.
6309         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6310         (test-xfail-XPG3/limits.h/conform): Likewise.
6311         (test-xfail-XPG3/pwd.h/conform): Likewise.
6312         (test-xfail-XPG3/search.h/conform): Likewise.
6313         (test-xfail-XPG3/signal.h/conform): Likewise.
6314         (test-xfail-XPG3/stdio.h/conform): Likewise.
6315         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6316         (test-xfail-XPG3/string.h/conform): Likewise.
6317         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6318         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6319         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6320         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6321         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6322         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6323         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6324         (test-xfail-XPG3/termios.h/conform): Likewise.
6325         (test-xfail-XPG3/time.h/conform): Likewise.
6326         (test-xfail-XPG3/unistd.h/conform): Likewise.
6327         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6328         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6329         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6330         (test-xfail-XPG4/netdb.h/conform): Likewise.
6331         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6332         (test-xfail-XPG4/signal.h/conform): Likewise.
6333         (test-xfail-XPG4/stdio.h/conform): Likewise.
6334         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6335         (test-xfail-XPG4/stropts.h/conform): Likewise.
6336         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6337         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6338         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6339         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6340         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6341         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6342         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6343         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6344         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6345         (test-xfail-XPG4/termios.h/conform): Likewise.
6346         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6347         (test-xfail-XPG4/unistd.h/conform): Likewise.
6348         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6349         (test-xfail-POSIX/sched.h/conform): Likewise.
6350         (test-xfail-POSIX/signal.h/conform): Likewise.
6351         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6352         (test-xfail-POSIX/tar.h/conform): Likewise.
6353         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6354         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6355         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6356         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6357         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6358         (test-xfail-UNIX98/sched.h/conform): Likewise.
6359         (test-xfail-UNIX98/signal.h/conform): Likewise.
6360         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6361         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6362         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6363         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6364         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6365         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6366         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6367         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6368         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6369         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6370         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6371         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6372         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6373         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6374         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6375         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6376         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6377         (test-xfail-XOPEN2K/math.h/conform): Likewise.
6378         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6379         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6380         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6381         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6382         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6383         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6384         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6385         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6386         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6387         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6388         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6389         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6390         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6391         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6392         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6393         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6394         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6395         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6396         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6397         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6398         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6399         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6400         (test-xfail-POSIX2008/signal.h/conform): Likewise.
6401         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6402         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6403         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6404         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6405         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6406         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6407         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6408         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6409         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6410         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6411         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6412         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6413         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6414         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6415         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6416         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6417         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6418         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6419         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6420         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6421         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6422         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6423         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6424         (conformtest-cc-flags): Likewise.
6425         ($(conformtest-header-tests): New target.
6426         * conform/check-header-lists.sh: New file.
6427         * conform/run-conformtest.sh: Remove.
6428
6429         * conform/conformtest.pl: Allow ' and \ in values given for
6430         constants.
6431         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6432         inclusion.
6433         [POSIX] (sys/types.h): Likewise.
6434         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6435         inclusion.
6436         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6437         inclusion.
6438         * conform/data/signal.h-data (SIGIO): Remove expectation.
6439         [XPG3] (SIGBUS): Do not expect.
6440         [POSIX || XPG3] (SIGPOLL): Likewise.
6441         [POSIX || XPG3] (SIGPROF): Likewise.
6442         [POSIX || XPG3] (SIGSYS): Likewise.
6443         [XPG3] (SIGTRAP): Likewise.
6444         [POSIX || XPG3] (SIGURG): Likewise.
6445         [POSIX || XPG3] (SIGVTALRM): Likewise.
6446         [POSIX || XPG3] (SIGXCPU): Likewise.
6447         [POSIX || XPG3] (SIGXFSZ): Likewise.
6448         [POSIX] (SA_SIGINFO): Expect.
6449         [XPG3] (siginfo_t): Do not expect type or contents.
6450         [POSIX] (si_pid): Do not expect element.
6451         [POSIX] (si_uid): Likewise.
6452         [POSIX] (si_addr): Likewise.
6453         [POSIX] (si_status): Likewise.
6454         [POSIX] (si_band): Likewise.
6455         [XPG4] (si_value): Likewise.
6456         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6457         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6458         [POSIX || XPG3] (ILL_ILLADR): Likewise.
6459         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6460         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6461         [POSIX || XPG3] (ILL_PRVREG): Likewise.
6462         [POSIX || XPG3] (ILL_COPROC): Likewise.
6463         [POSIX || XPG3] (ILL_BADSTK): Likewise.
6464         [POSIX || XPG3] (FPE_INTDIV): Likewise.
6465         [POSIX || XPG3] (FPE_INTOVF): Likewise.
6466         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6467         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6468         [POSIX || XPG3] (FPE_FLTUND): Likewise.
6469         [POSIX || XPG3] (FPE_FLTRES): Likewise.
6470         [POSIX || XPG3] (FPE_FLTINV): Likewise.
6471         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6472         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6473         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6474         [POSIX || XPG3] (BUS_ADRALN): Likewise.
6475         [POSIX || XPG3] (BUS_ADRERR): Likewise.
6476         [POSIX || XPG3] (BUS_OBJERR): Likewise.
6477         [POSIX || XPG3] (CLD_EXITED): Likewise.
6478         [POSIX || XPG3] (CLD_KILLED): Likewise.
6479         [POSIX || XPG3] (CLD_DUMPED): Likewise.
6480         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6481         [POSIX || XPG3] (CLD_STOPPED): Likewise.
6482         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6483         [POSIX || XPG3] (POLL_IN): Likewise.
6484         [POSIX || XPG3] (POLL_OUT): Likewise.
6485         [POSIX || XPG3] (POLL_MSG): Likewise.
6486         [POSIX || XPG3] (POLL_ERR): Likewise.
6487         [POSIX || XPG3] (POLL_PRI): Likewise.
6488         [POSIX || XPG3] (POLL_HUP): Likewise.
6489         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6490         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6491         (SIG*): Do not allow.
6492         [XPG3] (si_*): Likewise.
6493         [XPG3] (SI_*): Likewise.
6494         [XPG3 || XPG4] (sigev_*): Likewise.
6495         [XPG3 || XPG4] (SIGEV_*): Likewise.
6496         [XPG3 || XPG4] (sival_*): Likewise.
6497         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6498         [POSIX || XPG3] (BUS_*): Likewise.
6499         [POSIX || XPG3] (CLD_*): Likewise.
6500         [POSIX || XPG3] (FPE_*): Likewise.
6501         [POSIX || XPG3] (ILL_*): Likewise.
6502         [POSIX || XPG3] (POLL_*): Likewise.
6503         [POSIX || XPG3] (SEGV_*): Likewise.
6504         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6505         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6506         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6507         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6508         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6509         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6510         Specify type and value.
6511         (TVERSLEN): Likewise.
6512         (REGTYPE): Likewise.
6513         (AREGTYPE): Likewise.
6514         (LNKTYPE): Likewise.
6515         (SYMTYPE): Likewise.
6516         (CHRTYPE): Likewise.
6517         (BLKTYPE): Likewise.
6518         (DIRTYPE): Likewise.
6519         (FIFOTYPE): Likewise.
6520         (CONTTYPE): Likewise.
6521         (TSUID): Likewise.
6522         (TSGID): Likewise.
6523         (TSVTX): Likewise.
6524         (TUREAD): Likewise.
6525         (TUWRITE): Likewise.
6526         (TUEXEC): Likewise.
6527         (TGREAD): Likewise.
6528         (TGWRITE): Likewise.
6529         (TGEXEC): Likewise.
6530         (TOREAD): Likewise.
6531         (TOWRITE): Likewise.
6532         (TOEXEC): Likewise.
6533         [POSIX] (TSVTX): Expect constant.
6534
6535 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
6536
6537         * Makefile (tests): Change dependencies to ....
6538         (tests-special): ... additions to this variable.
6539         (tests): Depend on $(tests-special).
6540         * Makerules (check-abi-list): New variable.
6541         (check-abi): Depend on $(check-abi-list).
6542         [$(subdir) = elf] (tests-special): Add
6543         $(objpfx)check-abi-libc.out.
6544         [$(build-shared) = yes && subdir] (tests-special): Add
6545         $(check-abi-list).
6546         [$(build-shared) = yes && subdir] (tests): Do not depend on
6547         check-abi.
6548         * Rules (tests): Depend on $(tests-special).
6549         (xtests): Depend on $(xtests-special).
6550         * catgets/Makefile (tests): Change dependencies to ....
6551         (tests-special): ... additions to this variable.
6552         * conform/Makefile (tests): Change dependencies to ....
6553         (tests-special): ... additions to this variable.
6554         * elf/Makefile (tests): Change dependencies to ....
6555         (tests-special): ... additions to this variable.
6556         * grp/Makefile (tests): Change dependencies to ....
6557         (tests-special): ... additions to this variable.
6558         * iconv/Makefile (xtests): Change dependencies to ....
6559         (xtests-special): ... additions to this variable.
6560         * iconvdata/Makefile (tests): Change dependencies to ....
6561         (tests-special): ... additions to this variable.
6562         * intl/Makefile (tests): Change dependencies to ....
6563         (tests-special): ... additions to this variable.  Also add
6564         $(objpfx)tst-gettext.out.
6565         * io/Makefile (tests): Change dependencies to ....
6566         (tests-special): ... additions to this variable.
6567         * libio/Makefile (tests): Change dependencies to ....
6568         (tests-special): ... additions to this variable.
6569         * malloc/Makefile (tests): Change dependencies to ....
6570         (tests-special): ... additions to this variable.
6571         * misc/Makefile (tests): Change dependencies to ....
6572         (tests-special): ... additions to this variable.
6573         * nptl/Makefile (tests): Change dependencies to ....
6574         (tests-special): ... additions to this variable.
6575         * nptl_db/Makefile (tests): Change dependencies to ....
6576         (tests-special): ... additions to this variable.
6577         * posix/Makefile (tests): Change dependencies to ....
6578         (tests-special): ... additions to this variable.
6579         (xtests): Change dependencies to ....
6580         (xtests-special): ... additions to this variable.
6581         * resolv/Makefile (tests): Change dependencies to ....
6582         (tests-special): ... additions to this variable.
6583         (xtests): Change dependencies to ....
6584         (xtests-special): ... additions to this variable.
6585         * stdio-common/Makefile (tests): Change dependencies to ....
6586         (tests-special): ... additions to this variable.
6587         (do-tst-unbputc): Remove target.
6588         (do-tst-printf): Likewise.
6589         * stdlib/Makefile (tests): Change dependencies to ....
6590         (tests-special): ... additions to this variable.
6591         * string/Makefile (tests): Change dependencies to ....
6592         (tests-special): ... additions to this variable.
6593         * sysdeps/x86/Makefile (tests): Change dependencies to ....
6594         (tests-special): ... additions to this variable.
6595
6596         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6597         whole file.
6598         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6599         whole file.
6600         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6601         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6602
6603         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6604         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6605         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6606         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6607         * conform/data/libgen.h-data [XPG3]: Likewise.
6608         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6609         * conform/data/ndbm.h-data [XPG3]: Likewise.
6610         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6611         * conform/data/netdb.h-data [XPG3]: Likewise.
6612         * conform/data/netinet/in.h-data [XPG3]: Likewise.
6613         * conform/data/poll.h-data [XPG3]: Likewise.
6614         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6615         * conform/data/strings.h-data [XPG3]: Likewise.
6616         * conform/data/stropts.h-data [XPG3]: Likewise.
6617         * conform/data/sys/mman.h-data [XPG3]: Likewise.
6618         * conform/data/sys/resource.h-data [XPG3]: Likewise.
6619         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6620         Likewise.
6621         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6622         * conform/data/sys/time.h-data [XPG3]: Likewise.
6623         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6624         * conform/data/sys/uio.h-data [XPG3]: Likewise.
6625         * conform/data/sys/un.h-data [XPG3]: Likewise.
6626         * conform/data/syslog.h-data [XPG3]: Likewise.
6627         * conform/data/ucontext.h-data [XPG3]: Likewise.
6628         * conform/data/utmpx.h-data [XPG3]: Likewise.
6629         * conform/data/varargs.h-data [UNIX98]: Enable file.
6630
6631         * manual/Makefile (INSTALL_INFO): Remove variable setting.
6632
6633         * math/libm-test.inc (struct test_f_f_data): Move expected results
6634         into structure for each rounding mode.
6635         (struct test_ff_f_data): Likewise.
6636         (struct test_ff_f_data_nexttoward): Likewise.
6637         (struct test_fi_f_data): Likewise.
6638         (struct test_fl_f_data): Likewise.
6639         (struct test_if_f_data): Likewise.
6640         (struct test_fff_f_data): Likewise.
6641         (struct test_c_f_data): Likewise.
6642         (struct test_f_f1_data): Likewise.
6643         (struct test_fF_f1_data): Likewise.
6644         (struct test_ffI_f1_data): Likewise.
6645         (struct test_c_c_data): Likewise.
6646         (struct test_cc_c_data): Likewise.
6647         (struct test_f_i_data): Likewise.
6648         (struct test_ff_i_data): Likewise.
6649         (struct test_f_l_data): Likewise.
6650         (struct test_f_L_data): Likewise.
6651         (struct test_fFF_11_data): Likewise.
6652         (RM_): New macro.
6653         (RM_FE_DOWNWARD): Likewise.
6654         (RM_FE_TONEAREST): Likewise.
6655         (RM_FE_TOWARDZERO): Likewise.
6656         (RM_FE_UPWARD): Likewise.
6657         (RUN_TEST_LOOP_f_f): Update references to expected results.
6658         (RUN_TEST_LOOP_2_f): Likewise.
6659         (RUN_TEST_LOOP_fff_f): Likewise.
6660         (RUN_TEST_LOOP_c_f): Likewise.
6661         (RUN_TEST_LOOP_f_f1): Likewise.
6662         (RUN_TEST_LOOP_fF_f1): Likewise.
6663         (RUN_TEST_LOOP_fI_f1): Likewise.
6664         (RUN_TEST_LOOP_ffI_f1): Likewise.
6665         (RUN_TEST_LOOP_c_c): Likewise.
6666         (RUN_TEST_LOOP_cc_c): Likewise.
6667         (RUN_TEST_LOOP_f_i): Likewise.
6668         (RUN_TEST_LOOP_f_i_tg): Likewise.
6669         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6670         (RUN_TEST_LOOP_f_b): Likewise.
6671         (RUN_TEST_LOOP_f_b_tg): Likewise.
6672         (RUN_TEST_LOOP_f_l): Likewise.
6673         (RUN_TEST_LOOP_f_L): Likewise.
6674         (RUN_TEST_LOOP_fFF_11): Likewise.
6675         * math/gen-libm-test.pl (parse_args): Output four copies of
6676         expected results for each test.
6677
6678         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6679         (__ASSUME_UTIMES): Remove.
6680         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6681         (__ASSUME_UTIMES): Likewise.
6682
6683         * math/gen-auto-libm-tests.c: Update comment on output format.
6684         (output_for_one_input_case): Generate before-rounding and
6685         after-rounding information as conditions on output flags not
6686         floating-point format.
6687         * math/auto-libm-test-out: Regenerated.
6688         * math/gen-libm-test.pl (cond_value): New function.
6689         (or_cond_value): Use cond_value.
6690         (generate_testfile): Handle conditional exceptions.
6691
6692 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
6693
6694         * math/libm-test.inc (max_valid_error): New variable.
6695         (init_max_error): Take new argument specifying whether function
6696         results are exactly determined.  Set max_valid_error and bound
6697         other variables for errors based on this argument.
6698         (set_max_error): Do not record results above max_valid_error.
6699         (check_float_internal): Only accept errors of up to 0.5ulps if
6700         also at most max_valid_error.
6701         (START): Take new argument EXACT and pass it to init_max_error.
6702         (acos_test): Update call to START.
6703         (acos_test_tonearest): Likewise.
6704         (acos_test_towardzero): Likewise.
6705         (acos_test_downward): Likewise.
6706         (acos_test_upward): Likewise.
6707         (acosh_test): Likewise.
6708         (asin_test): Likewise.
6709         (asin_test_tonearest): Likewise.
6710         (asin_test_towardzero): Likewise.
6711         (asin_test_downward): Likewise.
6712         (asin_test_upward): Likewise.
6713         (asinh_test): Likewise.
6714         (atan_test): Likewise.
6715         (atanh_test): Likewise.
6716         (atan2_test): Likewise.
6717         (cabs_test): Likewise.
6718         (cacos_test): Likewise.
6719         (cacosh_test): Likewise.
6720         (carg_test): Likewise.
6721         (casin_test): Likewise.
6722         (casinh_test): Likewise.
6723         (catan_test): Likewise.
6724         (catanh_test): Likewise.
6725         (cbrt_test): Likewise.
6726         (ccos_test): Likewise.
6727         (ccosh_test): Likewise.
6728         (ceil_test): Likewise.
6729         (cexp_test): Likewise.
6730         (cimag_test): Likewise.
6731         (clog_test): Likewise.
6732         (clog10_test): Likewise.
6733         (conj_test): Likewise.
6734         (copysign_test): Likewise.
6735         (cos_test): Likewise.
6736         (cos_test_tonearest): Likewise.
6737         (cos_test_towardzero): Likewise.
6738         (cos_test_downward): Likewise.
6739         (cos_test_upward): Likewise.
6740         (cosh_test): Likewise.
6741         (cosh_test_tonearest): Likewise.
6742         (cosh_test_towardzero): Likewise.
6743         (cosh_test_downward): Likewise.
6744         (cosh_test_upward): Likewise.
6745         (cpow_test): Likewise.
6746         (cproj_test): Likewise.
6747         (creal_test): Likewise.
6748         (csin_test): Likewise.
6749         (csinh_test): Likewise.
6750         (csqrt_test): Likewise.
6751         (ctan_test): Likewise.
6752         (ctan_test_tonearest): Likewise.
6753         (ctan_test_towardzero): Likewise.
6754         (ctan_test_downward): Likewise.
6755         (ctan_test_upward): Likewise.
6756         (ctanh_test): Likewise.
6757         (ctanh_test_tonearest): Likewise.
6758         (ctanh_test_towardzero): Likewise.
6759         (ctanh_test_downward): Likewise.
6760         (ctanh_test_upward): Likewise.
6761         (erf_test): Likewise.
6762         (erfc_test): Likewise.
6763         (exp_test): Likewise.
6764         (exp_test_tonearest): Likewise.
6765         (exp_test_towardzero): Likewise.
6766         (exp_test_downward): Likewise.
6767         (exp_test_upward): Likewise.
6768         (exp10_test): Likewise.
6769         (exp10_test_tonearest): Likewise.
6770         (exp10_test_towardzero): Likewise.
6771         (exp10_test_downward): Likewise.
6772         (exp10_test_upward): Likewise.
6773         (pow10_test): Likewise.
6774         (exp2_test): Likewise.
6775         (expm1_test): Likewise.
6776         (expm1_test_tonearest): Likewise.
6777         (expm1_test_towardzero): Likewise.
6778         (expm1_test_downward): Likewise.
6779         (expm1_test_upward): Likewise.
6780         (fabs_test): Likewise.
6781         (fdim_test): Likewise.
6782         (floor_test): Likewise.
6783         (fma_test): Likewise.
6784         (fma_test_towardzero): Likewise.
6785         (fma_test_downward): Likewise.
6786         (fma_test_upward): Likewise.
6787         (fmax_test): Likewise.
6788         (fmin_test): Likewise.
6789         (fmod_test): Likewise.
6790         (fpclassify_test): Likewise.
6791         (frexp_test): Likewise.
6792         (hypot_test): Likewise.
6793         (ilogb_test): Likewise.
6794         (isfinite_test): Likewise.
6795         (finite_test): Likewise.
6796         (isgreater_test): Likewise.
6797         (isgreaterequal_test): Likewise.
6798         (isinf_test): Likewise.
6799         (isless_test): Likewise.
6800         (islessequal_test): Likewise.
6801         (islessgreater_test): Likewise.
6802         (isnan_test): Likewise.
6803         (isnormal_test): Likewise.
6804         (issignaling_test): Likewise.
6805         (isunordered_test): Likewise.
6806         (j0_test): Likewise.
6807         (j1_test): Likewise.
6808         (jn_test): Likewise.
6809         (ldexp_test): Likewise.
6810         (lgamma_test): Likewise.
6811         (gamma_test): Likewise.
6812         (lrint_test): Likewise.
6813         (lrint_test_tonearest): Likewise.
6814         (lrint_test_towardzero): Likewise.
6815         (lrint_test_downward): Likewise.
6816         (lrint_test_upward): Likewise.
6817         (llrint_test): Likewise.
6818         (llrint_test_tonearest): Likewise.
6819         (llrint_test_towardzero): Likewise.
6820         (llrint_test_downward): Likewise.
6821         (llrint_test_upward): Likewise.
6822         (log_test): Likewise.
6823         (log10_test): Likewise.
6824         (log1p_test): Likewise.
6825         (log2_test): Likewise.
6826         (logb_test): Likewise.
6827         (logb_test_downward): Likewise.
6828         (lround_test): Likewise.
6829         (llround_test): Likewise.
6830         (modf_test): Likewise.
6831         (nearbyint_test): Likewise.
6832         (nextafter_test): Likewise.
6833         (nexttoward_test): Likewise.
6834         (pow_test): Likewise.
6835         (pow_test_tonearest): Likewise.
6836         (pow_test_towardzero): Likewise.
6837         (pow_test_downward): Likewise.
6838         (pow_test_upward): Likewise.
6839         (remainder_test): Likewise.
6840         (drem_test): Likewise.
6841         (remainder_test_tonearest): Likewise.
6842         (drem_test_tonearest): Likewise.
6843         (remainder_test_towardzero): Likewise.
6844         (drem_test_towardzero): Likewise.
6845         (remainder_test_downward): Likewise.
6846         (drem_test_downward): Likewise.
6847         (remainder_test_upward): Likewise.
6848         (drem_test_upward): Likewise.
6849         (remquo_test): Likewise.
6850         (rint_test): Likewise.
6851         (rint_test_tonearest): Likewise.
6852         (rint_test_towardzero): Likewise.
6853         (rint_test_downward): Likewise.
6854         (rint_test_upward): Likewise.
6855         (round_test): Likewise.
6856         (scalb_test): Likewise.
6857         (scalbn_test): Likewise.
6858         (scalbln_test): Likewise.
6859         (signbit_test): Likewise.
6860         (sin_test): Likewise.
6861         (sin_test_tonearest): Likewise.
6862         (sin_test_towardzero): Likewise.
6863         (sin_test_downward): Likewise.
6864         (sin_test_upward): Likewise.
6865         (sincos_test): Likewise.
6866         (sinh_test): Likewise.
6867         (sinh_test_tonearest): Likewise.
6868         (sinh_test_towardzero): Likewise.
6869         (sinh_test_downward): Likewise.
6870         (sinh_test_upward): Likewise.
6871         (sqrt_test): Likewise.
6872         (sqrt_test_tonearest): Likewise.
6873         (sqrt_test_towardzero): Likewise.
6874         (sqrt_test_downward): Likewise.
6875         (sqrt_test_upward): Likewise.
6876         (tan_test): Likewise.
6877         (tan_test_tonearest): Likewise.
6878         (tan_test_towardzero): Likewise.
6879         (tan_test_downward): Likewise.
6880         (tan_test_upward): Likewise.
6881         (tanh_test): Likewise.
6882         (tgamma_test): Likewise.
6883         (trunc_test): Likewise.
6884         (y0_test): Likewise.
6885         (y1_test): Likewise.
6886         (yn_test): Likewise.
6887         (significand_test): Likewise.
6888
6889         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6890         individual tests in comment.
6891         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6892         (prev_max_error): New variable.
6893         (prev_real_max_error): Likewise.
6894         (prev_imag_max_error): Likewise.
6895         (compare_ulp_data): Don't refer to test names in comment.
6896         (find_test_ulps): Remove function.
6897         (find_function_ulps): Likewise.
6898         (find_complex_function_ulps): Likewise.
6899         (init_max_error): Take function name as argument.  Look up ulps
6900         for that function.
6901         (print_ulps): Remove function.
6902         (print_max_error): Use prev_max_error instead of calling
6903         find_function_ulps.
6904         (print_complex_max_error): Use prev_real_max_error and
6905         prev_imag_max_error instead of calling find_complex_function_ulps.
6906         (check_float_internal): Take max_ulp parameter instead of calling
6907         find_test_ulps.  Don't call print_ulps.
6908         (check_float): Update call to check_float_internal.
6909         (check_complex): Update calls to check_float_internal.
6910         (START): Pass argument to init_max_error.
6911         * math/gen-libm-test.pl (%results): Don't include "kind"
6912         information.
6913         (parse_ulps): Don't handle ulps of individual tests.
6914         (print_ulps_file): Likewise.
6915         (output_ulps): Likewise.
6916         * math/README.libm-test: Update.
6917         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6918         individual tests.
6919         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6920         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6921         * sysdeps/arm/libm-test-ulps: Likewise.
6922         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6923         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6924         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6925         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6926         * sysdeps/microblaze/libm-test-ulps: Likewise.
6927         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6928         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6929         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6930         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6931         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6932         * sysdeps/sh/libm-test-ulps: Likewise.
6933         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6934         * sysdeps/tile/libm-test-ulps: Likewise.
6935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6936
6937 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
6938
6939         * math/libm-test.inc (print_complex_max_error): Check separately
6940         whether real and imaginary errors are within allowed range and
6941         pass 0 to print_complex_function_ulps instead of value within
6942         allowed range.
6943
6944 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6945
6946         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6947         formatting.
6948         (get_handles_fopen): Likewise.
6949         (do_write_test): Likewise.
6950
6951         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6952
6953         * libio/fileops.c (do_ftell): Use cached offset when
6954         available.
6955         * libio/iofwide.c (do_ftell_wide): Likewise.
6956         * libio/iofdopen.c (_IO_new_fdopen): Don't use
6957         _IO_file_attach.
6958         * libio/wfileops.c (_IO_fwide): Don't cache offset.
6959
6960         [BZ #16532]
6961         * libio/libioP.h (get_file_offset): New function.
6962         * libio/fileops.c (get_file_offset): Likewise.
6963         (do_ftell): Likewise.
6964         (_IO_new_file_seekoff): Split out ftell logic.
6965         * libio/wfileops.c (do_ftell_wide): Likewise.
6966         (_IO_wfile_seekoff): Split out ftell logic.
6967         * libio/tst-ftell-active-handler.c: New test case.
6968         * libio/Makefile (tests): Add it.
6969
6970 2014-03-03  Roland McGrath  <roland@hack.frob.com>
6971
6972         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6973         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6974
6975 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6976
6977         [BZ #16639]
6978         * nscd/connections.c (nscd_init): Call do_exit.
6979         (start_threads): Call do_exit and notify_parent.
6980         (begin_drop_privileges): Call do_exit.
6981         (finish_drop_privileges): Likewise.
6982         * nscd/selinux.c (preserve_capabilities): Likewise.
6983         (install_real_capabilities): Likewise.
6984         (nscd_selinux_enabled): Likewise.
6985         (avc_create_thread): Likewise.
6986         (avc_alloc_lock): Likewise.
6987         (nscd_avc_init): Likewise.
6988         * nscd/nscd.c (parent_fd): New static variable.
6989         (main): Create a pipe between parent and child processes.
6990         Skip closing parent_fd.
6991         (monitor_child): New function.
6992         (do_exit): Likewise.
6993         (notify_parent): Likewise.
6994         * nscd/nscd.h (notify_parent): Likewise.
6995         (do_exit): Likewise.
6996
6997 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
6998
6999         * malloc/malloc.c (__libc_calloc): Revert last change.
7000
7001 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7002
7003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7004
7005 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7006
7007         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7009         implementation.
7010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7011         (__libc_ifunc_impl_list): Likewise.
7012         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7013         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7014         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7015         * string/strrchr.c: Define STRRCHR.
7016
7017 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7018
7019         * benchtest/bench-strtok.c (simple_strtok): Delete.
7020         (strtok_string): Use as benchmark.
7021         * string/strtok (STRTOK): New macro.
7022
7023 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7024
7025         * manual/threads.texi: Add header and standard comments to all
7026         functions.
7027
7028         * elf/dl-lookup.c (check_match): New function.
7029         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7030         (do_lookup_x): Remove nested function check_match. Use non-nested
7031         function check_match.
7032
7033 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7034
7035         * csu/Makefile (generated, before-compile): Use += rather than =.
7036         * catgets/Makefile (generated, generated-dirs): Likewise.
7037         * debug/Makefile (generated): Likewise.
7038         * dlfcn/Makefile (generated): Likewise.
7039         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7040         * iconvdata/Makefile (before-compile, generated): Likewise.
7041         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7042         * libio/Makefile (generated): Likewise.
7043         * malloc/Makefile (generated): Likewise.
7044         * manual/Makefile (generated, generated-dirs): Likewise.
7045         * misc/Makefile (generated): Likewise.
7046         * posix/Makefile (generated): Likewise.
7047         * resolv/Makefile (generated): Likewise.
7048         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7049         * timezone/Makefile (generated, generated-dirs): Likewise.
7050
7051         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7052
7053 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7054
7055         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7056         power8 implementation.
7057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7058         file: POWER8 llround ifunc implementation.
7059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7060         (__lllround): Add POWER8 implementation.
7061         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7062         POWER8 llround implementation.
7063
7064         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7065         power8 implementation.
7066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7067         file: POWER8 llrint ifunc implementation.
7068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7069         Add POWER8 implementation.
7070         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7071         POWER8 llrint implementation.
7072
7073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7074         power8 implementation.
7075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7076         file: POWER8 finite ifunc implementation.
7077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7078         Add POWER8 implementation.
7079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7080         Likewise.
7081         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7082         POWER8 finite implementation.
7083         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7084
7085         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7086         power8 implementation.
7087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7088         file: POWER8 isinf ifunc implementation.
7089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7090         POWER8 implementation.
7091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7092         Likewise.
7093         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7094         isinf implementation.
7095         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7096
7097         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7098         (INIT_ARCH): Add hwcap2 initialization.
7099         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7100         power8 implementation.
7101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7102         file: POWER8 isnan ifunc implementation.
7103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7104         POWER8 implementation.
7105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7106         Likewise.
7107         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7108         isnan implementation.
7109         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7110
7111 2014-02-27  Joey Ye  <joey.ye@arm.com>
7112
7113         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7114         (_FP_NANFRAC_Q): Set to zero.
7115
7116 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7117
7118         [BZ #16623]
7119         * math/auto-libm-test-in: New test inputs.
7120         * math/auto-libm-test-out: Regenerate.
7121         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7122         and DA.
7123         (__cos): Likewise.
7124         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7125
7126 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7127
7128         * scripts/evaluate-test.sh: Take new argument indicating whether
7129         failure is expected.
7130         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7131         indicating whether failure is expected.
7132         * conform/Makefile (test-xfail-run-conformtest): New variable.
7133         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7134         level.
7135         * posix/Makefile (test-xfail-annexc): New variable.
7136         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7137
7138 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7139
7140         * argp/Makefile: Include Makeconfig immediately after defining
7141         subdir.
7142         * assert/Makefile: Likewise.
7143         * benchtests/Makefile: Likewise.
7144         * catgets/Makefile: Likewise.
7145         * conform/Makefile: Likewise.
7146         * crypt/Makefile: Likewise.
7147         * csu/Makefile: Likewise.
7148         (all): Remove target.
7149         * ctype/Makefile: Include Makeconfig immediately after defining
7150         subdir.
7151         * debug/Makefile: Likewise.
7152         * dirent/Makefile: Likewise.
7153         * dlfcn/Makefile: Likewise.
7154         * gmon/Makefile: Likewise.
7155         * gnulib/Makefile: Likewise.
7156         * grp/Makefile: Likewise.
7157         * gshadow/Makefile: Likewise.
7158         * hesiod/Makefile: Likewise.
7159         * hurd/Makefile: Likewise.
7160         (all): Remove target.
7161         * iconvdata/Makefile: Include Makeconfig immediately after
7162         defining subdir.
7163         * inet/Makefile: Likewise.
7164         * intl/Makefile: Likewise.
7165         * io/Makefile: Likewise.
7166         * libio/Makefile: Likewise.
7167         (all): Remove target.
7168         * locale/Makefile: Include Makeconfig immediately after defining
7169         subdir.
7170         * login/Makefile: Likewise.
7171         * mach/Makefile: Likewise.
7172         (all): Remove target.
7173         * malloc/Makefile: Include Makeconfig immediately after defining
7174         subdir.
7175         (all): Remove target.
7176         * manual/Makefile: Include Makeconfig immediately after defining
7177         subdir.
7178         * math/Makefile: Likewise.
7179         * misc/Makefile: Likewise.
7180         * nis/Makefile: Likewise.
7181         * nss/Makefile: Likewise.
7182         * po/Makefile: Likewise.
7183         (all): Remove target.
7184         * posix/Makefile: Include Makeconfig immediately after defining
7185         subdir.
7186         * pwd/Makefile: Likewise.
7187         * resolv/Makefile: Likewise.
7188         * resource/Makefile: Likewise.
7189         * rt/Makefile: Likewise.
7190         * setjmp/Makefile: Likewise.
7191         * shadow/Makefile: Likewise.
7192         * signal/Makefile: Likewise.
7193         * socket/Makefile: Likewise.
7194         * soft-fp/Makefile: Likewise.
7195         * stdio-common/Makefile: Likewise.
7196         * stdlib/Makefile: Likewise.
7197         * streams/Makefile: Likewise.
7198         * string/Makefile: Likewise.
7199         * sunrpc/Makefile: Likewise.
7200         (all): Remove target.
7201         * sysvipc/Makefile: Include Makeconfig immediately after defining
7202         subdir.
7203         * termios/Makefile: Likewise.
7204         * time/Makefile: Likewise.
7205         * timezone/Makefile: Likewise.
7206         (all): Remove target.
7207         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7208         subdir.
7209         * wctype/Makefile: Likewise.
7210
7211 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7212
7213         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7214         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7215         (libc_feholdexcept_setround_mips): Ditto.
7216         (libc_feholdsetround): New.
7217         (libc_feholdsetroundf): New.
7218         (libc_feholdsetroundl): New.
7219         (libc_feupdateenv_test_mips): New.
7220         (libc_feupdateenv_test): New.
7221         (libc_feupdateenv_testf): New.
7222         (libc_feupdateenv_testl): New.
7223         (libc_feresetround): New.
7224         (libc_feresetroundf): New.
7225         (libc_feresetroundl): New.
7226         (libc_fetestexcept_mips): New.
7227         (libc_fetestexcept): New.
7228         (libc_fetestexceptf): New.
7229         (libc_fetestexceptl): New.
7230         (HAVE_RM_CTX): New.
7231         (libc_feholdexcept_setround_mips_ctx): New.
7232         (libc_feholdexcept_setround_ctx): New.
7233         (libc_feholdexcept_setroundf_ctx): New.
7234         (libc_feholdexcept_setroundl_ctx): New.
7235         (libc_fesetenv_mips_ctx): New.
7236         (libc_fesetenv_ctx): New.
7237         (libc_fesetenv_ctxf): New.
7238         (libc_fesetenv_ctxl): New.
7239         (libc_feupdateenv_mips_ctx): New.
7240         (libc_feupdateenv_ctx): New.
7241         (libc_feupdateenvf_ctx): New.
7242         (libc_feupdateenvl_ctx): New.
7243         (libc_feholdsetround_mips_ctx): New.
7244         (libc_feholdsetround_ctx): New.
7245         (libc_feholdsetroundf_ctx): New.
7246         (libc_feholdsetroundl_ctx): New.
7247         (libc_feresetround_mips_ctx): New.
7248         (libc_feresetround_ctx): New.
7249         (libc_feresetroundf_ctx): New.
7250         (libc_feresetroundl_ctx): New.
7251
7252 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7253
7254         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7255
7256         * manual/ipc.texi: New file.
7257         * manual/Makefile (chapters): Add ipc.
7258         * manual/job.texi: Add "Inter-Process Communication" to next.
7259         * manual/process.texi: Add "Inter-Process Communication" to prev.
7260
7261 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7262
7263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7264
7265 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7266
7267         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7268
7269         * manual/arith.texi: Fix spaces after sentences.
7270         * manual/charset.texi: Likewise.
7271         * manual/errno.texi: Likewise.
7272         * manual/install.texi: Likewise.
7273         * manual/llio.texi: Likewise.
7274         * manual/locale.texi: Likewise.
7275         * manual/maint.texi: Likewise.
7276         * manual/math.texi: Likewise.
7277         * manual/memory.texi: Likewise.
7278         * manual/message.texi: Likewise.
7279         * manual/probes.texi: Likewise.
7280         * manual/resource.texi: Likewise.
7281         * manual/signal.texi: Likewise.
7282         * manual/socket.texi: Likewise.
7283         * manual/stdio.texi: Likewise.
7284         * manual/string.texi: Likewise.
7285         * manual/time.texi: Likewise.
7286         * manual/users.texi: Likewise.
7287
7288 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7289
7290         [BZ #16632]
7291         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7292         _DEFAULT_SOURCE is defined.
7293
7294 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7295             Carlos O'Donell  <carlos@redhat.com>
7296
7297         [BZ #16613]
7298         * elf/dl-tls.c (_dl_count_modids): New function.
7299         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7300         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7301         audit library and increment generation counter.
7302         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7303         * elf/tst-audit9.c: New file.
7304         * elf/tst-auditmod9a.c: New file.
7305         * elf/tst-auditmod9b.c: New file.
7306         * elf/Makefile: Add rules to build and run tst-audit9.
7307
7308 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7309
7310         [BZ #15347]
7311         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7312
7313 2014-02-25  Will Newton  <will.newton@linaro.org>
7314
7315         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7316         (__longjmp): Restore sp and lr before restoring callee
7317         saved registers.  Add longjmp and longjmp_target
7318         SystemTap probe point.
7319         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7320         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7321         Define to zero to match jmpbuf layout.
7322         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7323         (__sigsetjmp): Save sp and lr before saving callee
7324         saved registers.  Add setjmp SystemTap probe point.
7325
7326 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7327
7328         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7329
7330 2014-02-24  Andreas Schwab  <schwab@suse.de>
7331
7332         [BZ #15804]
7333         * elf/pldd.c (wait_for_ptrace_stop): New function.
7334         (main): Call it after attaching.
7335
7336 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7337
7338         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7339         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7340         Versions files is now verboten.
7341         * hurd/Versions (libc: GLIBC_2.0):
7342         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7343         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7344         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7345         * mach/Versions: Likewise.
7346
7347         * csu/Versions: Remove unused %include.
7348         * resolv/Versions: Likewise.
7349
7350 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7351
7352         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7353         ($(objpfx)check-local-headers.out): Likewise.
7354         ($(objpfx)begin-end-check.out): Likewise.
7355         * Makerules (check-abi-%.out): Likewise.
7356         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7357         ($(objpfx)test2.cat): Likewise.
7358         ($(objpfx)de/libc.cat): Likewise.
7359         ($(objpfx)test-gencat.out): Likewise.
7360         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7361         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7362         ($(objpfx)noload-mem): Likewise.
7363         ($(objpfx)tst-pathopt.out): Likewise.
7364         ($(objpfx)tst-rtld-load-self.out): Likewise.
7365         ($(objpfx)tst-array1-cmp.out): Likewise.
7366         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7367         ($(objpfx)tst-array2-cmp.out): Likewise.
7368         ($(objpfx)tst-array3-cmp.out): Likewise.
7369         ($(objpfx)tst-array4-cmp.out): Likewise.
7370         ($(objpfx)tst-array5-cmp.out): Likewise.
7371         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7372         ($(objpfx)check-textrel.out): Likewise.
7373         ($(objpfx)check-execstack.out): Likewise.
7374         ($(objpfx)check-localplt.out): Likewise.
7375         ($(objpfx)order2-cmp.out): Likewise.
7376         ($(objpfx)tst-leaks1-mem): Likewise.
7377         ($(objpfx)tst-leaks1-static-mem): Likewise.
7378         ($(objpfx)tst-initorder-cmp.out): Likewise.
7379         ($(objpfx)tst-initorder2-cmp.out): Likewise.
7380         ($(objpfx)tst-unused-dep.out): Likewise.
7381         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7382         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7383         * iconv/Makefile (test-iconvconfig): Likewise.
7384         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7385         ($(objpfx)iconv-test.out): Likewise.
7386         ($(objpfx)tst-tables.out): Likewise.
7387         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7388         ($(objpfx)tst-gettext.out): Likewise.
7389         ($(objpfx)tst-translit.out): Likewise.
7390         ($(objpfx)tst-gettext2.out): Likewise.
7391         ($(objpfx)tst-gettext4.out): Likewise.
7392         ($(objpfx)tst-gettext6.out): Likewise.
7393         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7394         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7395         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7396         ($(objpfx)tst-fopenloc-mem.out): Likewise.
7397         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7398         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7399         * posix/Makefile ($(objpfx)globtest.out): Likewise.
7400         ($(objpfx)wordexp-tst.out): Likewise.
7401         ($(objpfx)annexc.out): Likewise.
7402         ($(objpfx)tst-fnmatch-mem): Likewise.
7403         ($(objpfx)bug-regex2-mem): Likewise.
7404         ($(objpfx)bug-regex14-mem): Likewise.
7405         ($(objpfx)bug-regex21-mem): Likewise.
7406         ($(objpfx)bug-regex31-mem): Likewise.
7407         ($(objpfx)tst-vfork3-mem): Likewise.
7408         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7409         ($(objpfx)tst-pcre-mem): Likewise.
7410         ($(objpfx)tst-boost-mem): Likewise.
7411         ($(objpfx)tst-getconf.out): Likewise.
7412         ($(objpfx)bug-ga2-mem): Likewise.
7413         ($(objpfx)bug-glob2-mem): Likewise.
7414         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7415         ($(objpfx)mtrace-tst-leaks2): Likewise.
7416         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7417         ($(objpfx)tst-printf.out): Likewise.
7418         ($(objpfx)tst-setvbuf1.out): Likewise.
7419         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7420         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7421         ($(objpfx)tst-fmtmsg.out): Likewise.
7422         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7423         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7424
7425         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7426         * bits/sigaction.h [__USE_MISC]: Likewise.
7427         * bits/waitstatus.h: Update #endif comments.
7428         * ctype/ctype.h: Likewise.
7429         * dirent/dirent.h: Likewise.
7430         [__USE_MISC]: Remove redundant conditionals.
7431         * grp/grp.h: Update #endif comments.
7432         [__USE_GNU]: Remove redundant conditionals.
7433         [__USE_MISC]: Likewise.
7434         * inet/netinet/in.h [__USE_GNU]: Likewise.
7435         * io/sys/stat.h [__USE_MISC]: Likewise.
7436         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7437         * libio/bits/stdio.h: Update #endif comments.
7438         [__USE_MISC]: Remove redundant conditionals.
7439         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7440         * libio/stdio.h: Update #endif comments.
7441         [__USE_MISC]: Remove redundant conditionals.
7442         * math/bits/math-finite.h [__USE_MISC]: Likewise.
7443         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7444         * math/math.h: Update #else and #endif comments.
7445         [__USE_MISC]: Remove redundant conditionals.
7446         * misc/sys/uio.h: Update #endif comments.
7447         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7448         * posix/glob.h [__USE_MISC]: Likewise.
7449         * posix/sys/types.h: Update #endif comments.
7450         [__USE_MISC]: Remove redundant conditionals.
7451         * posix/sys/wait.h: Update #endif comments.
7452         [__USE_MISC]: Remove redundant conditionals.
7453         * posix/unistd.h: Update #endif comments.
7454         [__USE_MISC]: Remove redundant conditionals.
7455         * pwd/pwd.h [__USE_GNU]: Likewise.
7456         [__USE_MISC]: Likewise.
7457         * resolv/netdb.h [__USE_GNU]: Likewise.
7458         * signal/signal.h: Update #endif comments.
7459         [__USE_MISC]: Remove redundant conditionals.
7460         * stdlib/stdlib.h: Update #else and #endif comments.
7461         [__USE_MISC]: Remove redundant conditionals.
7462         [__USE_GNU]: Likewise.
7463         * string/bits/string2.h [__USE_MISC]: Likewise.
7464         * string/string.h: Update #endif comments.
7465         [__USE_MISC]: Remove redundant conditionals.
7466         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7467         Likewise.
7468         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7469         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7470         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7471         Likewise.
7472         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7473         Likewise.
7474         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7475         comments.
7476         [__USE_MISC]: Remove redundant conditionals.
7477         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7478         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7479         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7480         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7481         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7482         Likewise.
7483         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7484         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7485         Likewise.
7486         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7487         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7488         Likewise.
7489         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7490         Likewise.
7491         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7492         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7493         Likewise.
7494         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7495         Likewise.
7496         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7497         * sysdeps/x86/bits/string.h: Update #endif comments.
7498         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7499         conditionals.
7500         * time/sys/time.h: Update #endif comments.
7501         * time/time.h: Likewise.
7502         [__USE_MISC]: Remove redundant conditionals.
7503
7504 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
7505
7506         [BZ #16600]
7507         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7508
7509 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
7510
7511         * Versions.def (librt): Add GLIBC_2.17.
7512
7513 2014-02-21  Adam Conrad  <adconrad@0c3.net>
7514
7515         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7516         synonym for _SYS_AUXV_H to allow direct inclusion.
7517         * sysdeps/sparc/bits/hwcap.h: Likewise.
7518         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7519         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7520         * sysdeps/sparc/sysdep.h: Likewise.
7521
7522 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7523
7524         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7525
7526 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7527
7528         * benchtests/bench-strrchr.c: Print length instead of position.
7529
7530 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
7531
7532         [BZ #16611]
7533         * sysdeps/unix/sysv/linux/kernel-features.h
7534         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7535         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7536         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7537         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7538         Likewise.
7539         [__i386__ || __powerpc__ || __sh__ || __sparc__]
7540         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7541         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7542         (__ASSUME_SENDMMSG): Define instead of using previous
7543         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7544         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7545         (__ASSUME_SENDMMSG_SYSCALL): Define.
7546         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7547         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7548         Likewise.
7549         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7550         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7551         Likewise.
7552         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7553         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7554         Likewise.
7555         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7556         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7557         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7558         [__ASSUME_SENDMMSG]: Change conditionals to
7559         [__ASSUME_SENDMMSG_SOCKETCALL].
7560         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7561         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7562         Define.
7563         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7564         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7565         Likewise.
7566         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7567         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7568         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7569         [!__ASSUME_SENDMMSG]: Change conditional to
7570         [!__ASSUME_SENDMMSG_SOCKETCALL].
7571         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7572         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7573         Define.
7574
7575         [BZ #16610]
7576         * sysdeps/unix/sysv/linux/kernel-features.h
7577         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7578         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7579         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7580         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7581         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7582         [__i386__ || __sparc__]
7583         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7584         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7585         (__ASSUME_RECVMMSG): Define instead of using previous
7586         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7587         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7588         (__ASSUME_RECVMMSG_SYSCALL): Define.
7589         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7590         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7591         Likewise.
7592         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7593         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7594         Likewise.
7595         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7596         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7597         Likewise.
7598         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7599         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7600         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7601         [__ASSUME_RECVMMSG]: Change condition to
7602         [__ASSUME_RECVMMSG_SOCKETCALL].
7603         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7604         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7605         Define.
7606         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7607         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7608         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7609         Likewise.
7610         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7611         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7612         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7613         [!__ASSUME_RECVMMSG]: Change condition to
7614         [!__ASSUME_RECVMMSG_SOCKETCALL].
7615         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7616         (__ASSUME_RECVMMSG_SYSCALL): Define.
7617
7618         [BZ #16609]
7619         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7620         __powerpc__ || __s390__ || __sh__ || __sparc__]
7621         (__ASSUME_SOCKETCALL): Define.
7622         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7623         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7624         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7625         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7626         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7627         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7628         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7629         (__ASSUME_ACCEPT4): Define instead of using previous
7630         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7631         __powerpc__ || __sparc__ || __s390__)] condition.
7632         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7633         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7634         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7635         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7636         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7637         [!__ASSUME_ACCEPT4]: Change condition to
7638         [!__ASSUME_ACCEPT4_SOCKETCALL].
7639         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7640         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
7641         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7642         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7643         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7644         __ASSUME_ACCEPT4_SYSCALL.
7645         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7646         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7647         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7648         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7649         __ASSUME_ACCEPT4_SYSCALL.
7650         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7651         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7652         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7653         [__ASSUME_ACCEPT4]: Change condition to
7654         [__ASSUME_ACCEPT4_SOCKETCALL].
7655         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7656         (__ASSUME_SOCKETCALL): Define.
7657         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7658         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7659         (__ASSUME_SOCKETCALL): Define.
7660         (__ASSUME_ACCEPT4): Remove.
7661         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7662         Define.
7663         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7664         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7665         Likewise.
7666         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7667         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7668
7669         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7670         macro.
7671         (HWCAP_ARM_LPAE): Likewise.
7672         (HWCAP_ARM_EVTSTRM): Likewise.
7673         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7674         Add vpfd32, lpae and evtstrm.
7675         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7676         Increase to 22.
7677
7678 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
7679
7680         * math/auto-libm-test-in: Add tests of clog10.
7681         * math/auto-libm-test-out: Regenerated.
7682         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7683         * sysdeps/i386/fpu/libm-test-ulps: Update.
7684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7685
7686 2014-02-18  Andreas Schwab  <schwab@suse.de>
7687
7688         [BZ #16574]
7689         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7690         Store non-zero if the second buffer was newly allocated.
7691         (send_dg): Likewise.
7692         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7693         to send_vc and send_dg.
7694         (res_nsend): Pass NULL for ansp2_malloced.
7695         * resolv/res_query.c (__libc_res_nquery): Add parameter
7696         answerp2_malloced and pass it down to __libc_res_nsend.
7697         (res_nquery): Pass additional NULL to __libc_res_nquery.
7698         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7699         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
7700         second answer buffer if answerp2_malloced was set.
7701         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7702         (__libc_res_nquerydomain): Add parameter
7703         answerp2_malloced and pass it down to __libc_res_nquery.
7704         (res_nquerydomain): Pass additional NULL to
7705         __libc_res_nquerydomain.
7706         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7707         additional NULL to __libc_res_nsend and __libc_res_nquery.
7708         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7709         additional NULL to __libc_res_nsearch.
7710         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
7711         parameter of __libc_res_nsearch to check for separately allocated
7712         second buffer.
7713         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7714         __libc_res_nquery.
7715         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7716         additional NULL to __libc_res_nquery.
7717         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7718         __libc_res_nsearch.
7719         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7720         * include/resolv.h: Update prototypes of __libc_res_nquery,
7721         __libc_res_nsearch, __libc_res_nsend.
7722
7723 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
7724
7725         * math/auto-libm-test-in: Add tests of fma.
7726         * math/auto-libm-test-out: Regenerated.
7727         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7728         (fma_towardzero_test_data): Likewise.
7729         (fma_downward_test_data): Likewise.
7730         (fma_upward_test_data): Likewise.
7731         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7732         mpc_mode.
7733         (rounding_modes): Add values for new field.
7734         (func_calc_method): Add value mpfr_fff_f.
7735         (func_calc_desc): Add mpfr_fff_f union field.
7736         (test_function): Add field exact_args.
7737         (FUNC): Add macro argument EXACT_ARGS.
7738         (FUNC_mpfr_f_f): Update call to FUNC.
7739         (FUNC_mpfr_f_f): Likewise.
7740         (FUNC_mpfr_ff_f): Likewise.
7741         (FUNC_mpfr_if_f): Likewise.
7742         (FUNC_mpc_c_f): Likewise.
7743         (FUNC_mpc_c_c): Likewise.
7744         (test_functions): Add fma.  Update calls to FUNC.
7745         (handle_input_arg): Add argument exact_args.
7746         (add_test): Update call to handle_input_arg.
7747         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
7748         (output_for_one_input_case): Update call to calc_generic_results.
7749         Recalculate exact zero results in each rounding mode.
7750
7751         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7752         non-negative before setting low bit.
7753         * math/auto-libm-test-in: Mark one asin test possibly having
7754         spurious underflow.
7755         * math/auto-libm-test-out: Regenerated.
7756         * sysdeps/i386/fpu/libm-test-ulps: Update.
7757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7758
7759 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
7760
7761         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7762         * sysdeps/unix/sysv/linux/microblaze: Move directory from
7763         ports/sysdeps/unix/sysv/linux/microblaze.
7764         * README: Add missing listing for microblaze*-*-linux-gnu.
7765
7766 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
7767
7768         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7769         * sysdeps/unix/sysv/linux/ia64: Move directory from
7770         ports/sysdeps/unix/sysv/linux/ia64.
7771         * README: Update listing for ia64-*-linux-gnu.
7772
7773 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
7774             Joseph Myers  <joseph@codesourcery.com>
7775
7776         * Makeconfig (test-name): New variable.
7777         (evaluate-test): Likewise.
7778         * Makerules (do-test-clean): Remove .test-result files.
7779         (common-mostlyclean): Likewise.
7780         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7781         * scripts/evaluate-test.sh: New file.
7782
7783 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
7784
7785         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7786         separate $(objpfx)tst-fopenloc-cmp.out and
7787         $(objpfx)tst-fopenloc-mem.out targets.
7788         (tests): Update dependencies.
7789         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7790         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7791         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7792         (tst-rxspencer-no-utf8-ARGS): New variable.
7793         (tst-rxspencer-no-utf8-ENV): Likewise.
7794         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7795         instead of $(objpfx)tst-rxspencer-mem.
7796         ($(objpfx)tst-rxspencer-mem): Change target to
7797         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
7798         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7799         * posix/tst-rxspencer-no-utf8.c: New file.
7800
7801         * elf/Makefile ($(objpfx)order.out): Remove rule.
7802         [$(run-built-tests) = yes] (tests): Depend on
7803         $(objpfx)order-cmp.out.
7804         ($(objpfx)order-cmp.out): New rule.
7805         [$(run-built-tests) = yes] (tests): Depend on
7806         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7807         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7808         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7809         $(objpfx)tst-array5-static-cmp.out.
7810         ($(objpfx)tst-array1.out): Remove rule.
7811         ($(objpfx)tst-array1-cmp.out): New rule.
7812         ($(objpfx)tst-array1-static.out): Remove rule.
7813         ($(objpfx)tst-array1-static-cmp.out): New rule.
7814         ($(objpfx)tst-array2.out): Remove rule.
7815         ($(objpfx)tst-array2-cmp.out): New rule.
7816         ($(objpfx)tst-array3.out): Remove rule.
7817         ($(objpfx)tst-array3-cmp.out): New rule.
7818         ($(objpfx)tst-array4.out): Remove rule.
7819         ($(objpfx)tst-array4-cmp.out): New rule.
7820         ($(objpfx)tst-array5.out): Remove rule.
7821         ($(objpfx)tst-array5-cmp.out): New rule.
7822         ($(objpfx)tst-array5-static.out): Remove rule.
7823         ($(objpfx)tst-array5-static-cmp.out): New rule.
7824         [$(run-built-tests) = yes] (tests): Depend on
7825         $(objpfx)order2-cmp.out.
7826         ($(objpfx)order2.out): Remove rule.
7827         ($(objpfx)order2-cmp.out): New rule.
7828         ($(objpfx)tst-initorder.out): Remove rule.
7829         [$(run-built-tests) = yes] (tests): Depend on
7830         $(objpfx)tst-initorder-cmp.out.
7831         ($(objpfx)tst-initorder-cmp.out): New rule.
7832         ($(objpfx)tst-initorder2.out): Remove rule.
7833         [$(run-built-tests) = yes] (tests): Depend on
7834         $(objpfx)tst-initorder2-cmp.out.
7835         ($(objpfx)tst-initorder2-cmp.out): New rule.
7836         [$(run-built-tests) = yes] (tests): Depend on
7837         $(objpfx)tst-unused-dep-cmp.out.
7838         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7839         ($(objpfx)tst-unused-dep-cmp.out): New rule.
7840         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7841         on $(objpfx)tst-setvbuf1-cmp.out.
7842         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7843         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7844         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7845         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7846         ($(objpfx)tst-svc.out): Remove rule.
7847         ($(objpfx)tst-svc-cmp.out): New rule.
7848
7849 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
7850
7851         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7852         * ctype/ctype.h [__USE_MISC]: Likewise.
7853         * dirent/dirent.h [__USE_MISC]: Likewise.
7854         * grp/grp.h [__USE_MISC]: Likewise.
7855         * io/fcntl.h [__USE_MISC]: Likewise.
7856         * io/sys/stat.h [__USE_MISC]: Likewise.
7857         * libio/stdio.h [__USE_MISC]: Likewise.
7858         * posix/unistd.h [__USE_MISC]: Likewise.
7859         * pwd/pwd.h [__USE_MISC]: Likewise.
7860         * stdlib.h [__USE_MISC]: Likewise.
7861         * string/bits/string2.h [__USE_MISC]: Likewise.
7862         * string/string.h [__USE_MISC]: Likewise.
7863         * time/time.h [__USE_MISC]: Likewise.
7864
7865 2014-02-13  Andreas Schwab  <schwab@suse.de>
7866
7867         [BZ #16574]
7868         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7869         second answer buffer if it was separately allocated.
7870
7871 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7872
7873         * sysdeps/mips/math-tests.h: Include <features.h>.
7874         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7875         (ROUNDING_TESTS_long_double): Do not define.
7876         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7877         (EXCEPTION_TESTS_long_double): Likewise.
7878         * sysdeps/mips/mips64/libm-test-ulps: Update.
7879
7880         * include/features.h (__USE_BSD): Remove macro definitions.
7881         (__USE_SVID): Likewise.
7882         (_BSD_SOURCE): Likewise.
7883         (_SVID_SOURCE): Likewise.
7884         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7885         from definition of _DEFAULT_SOURCE.
7886         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7887         [_DEFAULT_SOURCE].
7888         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7889         * bits/mman.h [__USE_BSD]: Likewise.
7890         * bits/termios.h [__USE_BSD]: Likewise.
7891         * bits/waitstatus.h [__USE_BSD]: Likewise.
7892         * ctype/ctype.h [__USE_SVID]: Likewise.
7893         * dirent/dirent.h [__USE_BSD]: Likewise.
7894         * grp/grp.h [__USE_SVID]: Likewise.
7895         [__USE_BSD]: Likewise.
7896         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7897         * io/fcntl.h [__USE_BSD]: Likewise.
7898         * io/ftw.h [__USE_BSD]: Likewise.
7899         * io/sys/stat.h [__USE_BSD]: Likewise.
7900         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7901         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7902         * libio/stdio.h [__USE_SVID]: Likewise.
7903         [__USE_BSD]: Likewise.
7904         * math/math.h [__USE_SVID]: Likewise.
7905         [__USE_BSD]: Likewise.
7906         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7907         * misc/bits/syslog.h [__USE_BSD]: Likewise.
7908         * misc/search.h [__USE_SVID]: Likewise.
7909         * misc/sys/mman.h [__USE_BSD]: Likewise.
7910         * misc/sys/syslog.h [__USE_BSD]: Likewise.
7911         * misc/sys/uio.h [__USE_BSD]: Likewise.
7912         * posix/bits/unistd.h [__USE_BSD]: Likewise.
7913         * posix/glob.h [__USE_BSD]: Likewise.
7914         * posix/regex.h [__USE_BSD]: Likewise.
7915         * posix/sys/types.h [__USE_BSD]: Likewise.
7916         [__USE_SVID]: Likewise.
7917         * posix/sys/utsname.h [__USE_SVID]: Likewise.
7918         * posix/sys/wait.h [__USE_BSD]: Likewise.
7919         [__USE_SVID]: Likewise.
7920         * posix/unistd.h [__USE_BSD]: Likewise.
7921         [__USE_SVID]: Likewise.
7922         * pwd/pwd.h [__USE_SVID]: Likewise.
7923         * resolv/netdb.h [__USE_BSD]: Likewise.
7924         * setjmp/setjmp.h [__USE_BSD]: Likewise.
7925         * signal/signal.h [__USE_BSD]: Likewise.
7926         [__USE_SVID]: Likewise.
7927         * socket/sys/socket.h [__USE_BSD]: Likewise.
7928         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7929         * stdlib/stdlib.h [__USE_BSD]: Likewise.
7930         [__USE_SVID]: Likewise.
7931         * string/bits/string2.h [__USE_BSD]: Likewise.
7932         [__USE_SVID]: Likewise.
7933         * string/bits/string3.h [__USE_BSD]: Likewise.
7934         * string/endian.h [__USE_BSD]: Likewise.
7935         * string/string.h [__USE_SVID]: Likewise.
7936         [__USE_BSD]: Likewise.
7937         * string/strings.h [__USE_BSD]: Likewise.
7938         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7939         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7940         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7941         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7942         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7943         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7944         Likewise.
7945         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7946         Likewise.
7947         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7948         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7949         Likewise.
7950         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7951         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7952         Likewise.
7953         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7954         Likewise.
7955         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7956         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7957         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7958         Likewise.
7959         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7960         Likewise.
7961         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7962         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7963         * termios/termios.h [__USE_BSD]: Likewise.
7964         * time/sys/time.h [__USE_BSD]: Likewise.
7965         * time/time.h [__USE_BSD]: Likewise.
7966         [__USE_SVID]: Likewise.
7967
7968         * Makefile (subdir_targets): Remove subdir_lint.out.
7969
7970         * stdio-common/Makefile (do-tst-unbputc): Remove target.
7971         (do-tst-printf): Likewise.
7972         (tests): Depend directly on $(objpfx)tst-unbputc.out and
7973         $(objpfx)tst-printf.out.
7974
7975         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7976
7977         * Makerules (check-abi-%): Change target to
7978         $(objpfx)check-abi-%.out.
7979         (check-abi target): Update dependencies.
7980         (check-abi-pattern variable): Redirect output of diff to $@.
7981         (check-abi variable): Likewise.
7982         * elf/Makefile (check-abi): Update dependencies.
7983
7984         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7985         unused.
7986         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7987         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7988         subnormal range.
7989         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7990         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7991         value has largest subnormal exponent.
7992         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7993         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7994         * sysdeps/aarch64/soft-fp/sfp-machine.h
7995         (_FP_TININESS_AFTER_ROUNDING): New macro.
7996         * sysdeps/alpha/soft-fp/sfp-machine.h
7997         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7998         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7999         Likewise.
8000         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8001         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8002         * sysdeps/mips/soft-fp/sfp-machine.h
8003         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8004         * sysdeps/powerpc/soft-fp/sfp-machine.h
8005         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8006         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8007         Likewise.
8008         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8009         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8010         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8011         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8012         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8013         Likewise.
8014
8015 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8016
8017         [BZ #16545]
8018         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8019         model 1.
8020
8021 2014-02-12  Richard Henderson  <rth@redhat.com>
8022
8023         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8024         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8025         * sysdeps/unix/sysv/linux/alpha: Move directory from
8026         ports/sysdeps/unix/sysv/linux/alpha.
8027         * README: Update listing for alpha-*-linux-gnu.
8028
8029 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8030
8031         * include/features.h: Update comment documenting feature test
8032         macros.
8033         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8034         _DEFAULT_SOURCE.
8035         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8036         (_SVID_SOURCE): Likewise.
8037         (_DEFAULT_SOURCE): Update description of default features.
8038         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8039         with _GNU_SOURCE.
8040         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8041         (S_ISVTX): Likewise.
8042         * manual/math.texi (Mathematical Constants): Likewise.
8043         * manual/signal.texi (Interrupted Primitives): Likewise.
8044         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8045         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8046         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8047         Don't refer to _SVID_SOURCE in warning text.
8048
8049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8050
8051         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8052         already defined.
8053         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8054         * sysdeps/mips/dl-lookup.c: Remove.
8055         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8056
8057 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8058
8059         [BZ #16447]
8060         * math/auto-libm-test-in: Add testcase for expl.
8061         * math/auto-libm-test-out: Regenerate.
8062         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8063         calculation of unsafe.
8064         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8065
8066 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8067
8068         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8069         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8070         ports/sysdeps/unix/sysv/linux/aarch64.
8071         * README: Update listing for aarch64*-*-linux-gnu.
8072
8073 2014-02-11  Will Newton  <will.newton@linaro.org>
8074
8075         * manual/probes.texi (Mathematical Function Probes): Use
8076         "triggered" instead of "hit".
8077
8078         * manual/probes.texi (Internal Probes): Add documentation
8079         of setjmp, longjmp and longjmp_target probes.
8080
8081         * include/stap-probe.h: Add comment about probe argument
8082         format.
8083
8084         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8085         definition.  (tr_where, tr_freehook, tr_mallochook,
8086         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8087
8088 2014-02-11  David S. Miller  <davem@davemloft.net>
8089
8090         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8091         processing int_tests.
8092
8093 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8094
8095         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8096         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8097         * sysdeps/unix/sysv/linux/mips: Move directory from
8098         ports/sysdeps/unix/sysv/linux/mips.
8099         * README: Update listing for mips-*-linux-gnu and
8100         mips64-*-linux-gnu.
8101
8102 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8103
8104         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8105         * sysdeps/unix/sysv/linux/m68k: Move directory from
8106         ports/sysdeps/unix/sysv/linux/m68k.
8107         * README: Update listing for m68k-*-linux-gnu.
8108
8109 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8110
8111         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8112         * sysdeps/unix/sysv/linux/generic: Move directory from
8113         ports/sysdeps/unix/sysv/linux/generic.
8114         * sysdeps/unix/sysv/linux/tile: Move directory from
8115         ports/sysdeps/unix/sysv/linux/tile.
8116         * README: Update listing for tile*-*-linux-gnu.
8117
8118 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8119
8120         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8121         __builtin_expect.
8122         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8123         * catgets/open_catalog.c (__open_catalog): Likewise.
8124         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8125         * debug/confstr_chk.c: Likewise.
8126         * debug/fread_chk.c (__fread_chk): Likewise.
8127         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8128         * debug/getgroups_chk.c: Likewise.
8129         * debug/mbsnrtowcs_chk.c: Likewise.
8130         * debug/mbsrtowcs_chk.c: Likewise.
8131         * debug/mbstowcs_chk.c: Likewise.
8132         * debug/memcpy_chk.c: Likewise.
8133         * debug/memmove_chk.c: Likewise.
8134         * debug/mempcpy_chk.c: Likewise.
8135         * debug/memset_chk.c: Likewise.
8136         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8137         * debug/strcat_chk.c (__strcat_chk): Likewise.
8138         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8139         * debug/strncat_chk.c (__strncat_chk): Likewise.
8140         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8141         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8142         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8143         * debug/wcpncpy_chk.c: Likewise.
8144         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8145         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8146         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8147         * debug/wcsncpy_chk.c: Likewise.
8148         * debug/wcsnrtombs_chk.c: Likewise.
8149         * debug/wcsrtombs_chk.c: Likewise.
8150         * debug/wcstombs_chk.c: Likewise.
8151         * debug/wmemcpy_chk.c: Likewise.
8152         * debug/wmemmove_chk.c: Likewise.
8153         * debug/wmempcpy_chk.c: Likewise.
8154         * debug/wmemset_chk.c: Likewise.
8155         * dirent/scandirat.c (SCANDIRAT): Likewise.
8156         * dlfcn/dladdr1.c (dladdr1): Likewise.
8157         * dlfcn/dladdr.c (dladdr): Likewise.
8158         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8159         * dlfcn/dlerror.c (__dlerror): Likewise.
8160         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8161         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8162         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8163         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8164         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8165         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8166         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8167         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8168         Likewise.
8169         * elf/dl-conflict.c: Likewise.
8170         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8171         * elf/dl-dst.h: Likewise.
8172         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8173         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8174         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8175         * elf/dl-init.c (call_init, _dl_init): Likewise.
8176         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8177         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8178         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8179         Likewise.
8180         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8181         Likewise.
8182         * elf/dl-minimal.c (__libc_memalign): Likewise.
8183         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8184         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8185         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8186         * elf/dl-sym.c (do_sym): Likewise.
8187         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8188         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8189         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8190         * elf/dl-writev.h (_dl_writev): Likewise.
8191         * elf/ldconfig.c (search_dir): Likewise.
8192         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8193         (dl_main): Likewise.
8194         * elf/setup-vdso.h (setup_vdso): Likewise.
8195         * grp/compat-initgroups.c (compat_call): Likewise.
8196         * grp/fgetgrent.c (fgetgrent): Likewise.
8197         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8198         * grp/putgrent.c (putgrent): Likewise.
8199         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8200         Likewise.
8201         * hurd/hurdinit.c: Likewise.
8202         * iconvdata/8bit-gap.c (struct): Likewise.
8203         * iconvdata/ansi_x3.110.c : Likewise.
8204         * iconvdata/big5.c : Likewise.
8205         * iconvdata/big5hkscs.c : Likewise.
8206         * iconvdata/cp1255.c: Likewise.
8207         * iconvdata/cp1258.c : Likewise.
8208         * iconvdata/cp932.c : Likewise.
8209         * iconvdata/euc-cn.c: Likewise.
8210         * iconvdata/euc-jisx0213.c : Likewise.
8211         * iconvdata/euc-jp.c: Likewise.
8212         * iconvdata/euc-jp-ms.c : Likewise.
8213         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8214         * iconvdata/gb18030.c : Likewise.
8215         * iconvdata/gbbig5.c (const): Likewise.
8216         * iconvdata/gbgbk.c: Likewise.
8217         * iconvdata/gbk.c : Likewise.
8218         * iconvdata/ibm1364.c : Likewise.
8219         * iconvdata/ibm930.c : Likewise.
8220         * iconvdata/ibm932.c: Likewise.
8221         * iconvdata/ibm933.c : Likewise.
8222         * iconvdata/ibm935.c : Likewise.
8223         * iconvdata/ibm937.c : Likewise.
8224         * iconvdata/ibm939.c : Likewise.
8225         * iconvdata/ibm943.c: Likewise.
8226         * iconvdata/iso_11548-1.c: Likewise.
8227         * iconvdata/iso-2022-cn.c : Likewise.
8228         * iconvdata/iso-2022-cn-ext.c : Likewise.
8229         * iconvdata/iso-2022-jp-3.c: Likewise.
8230         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8231         * iconvdata/iso-2022-kr.c : Likewise.
8232         * iconvdata/iso646.c (gconv_end): Likewise.
8233         * iconvdata/iso_6937-2.c : Likewise.
8234         * iconvdata/iso_6937.c : Likewise.
8235         * iconvdata/iso8859-1.c: Likewise.
8236         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8237         * iconvdata/shift_jisx0213.c : Likewise.
8238         * iconvdata/sjis.c : Likewise.
8239         * iconvdata/t.61.c : Likewise.
8240         * iconvdata/tcvn5712-1.c : Likewise.
8241         * iconvdata/tscii.c: Likewise.
8242         * iconvdata/uhc.c : Likewise.
8243         * iconvdata/unicode.c (gconv_end): Likewise.
8244         * iconvdata/utf-16.c (gconv_end): Likewise.
8245         * iconvdata/utf-32.c (gconv_end): Likewise.
8246         * iconvdata/utf-7.c (base64): Likewise.
8247         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8248         * iconv/gconv_close.c (__gconv_close): Likewise.
8249         * iconv/gconv_open.c (__gconv_open): Likewise.
8250         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8251         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8252         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8253         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8254         (ucs4le_internal_loop_single): Likewise.
8255         * iconv/iconv.c (iconv): Likewise.
8256         * iconv/iconv_close.c: Likewise.
8257         * iconv/loop.c (SINGLE): Likewise.
8258         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8259         * include/atomic.h: Likewise.
8260         * inet/inet6_option.c (option_alloc): Likewise.
8261         * intl/bindtextdom.c (set_binding_values): Likewise.
8262         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8263         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8264         * intl/localealias.c (read_alias_file): Likewise.
8265         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8266         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8267         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8268         * libio/fmemopen.c (fmemopen): Likewise.
8269         * libio/iofgets.c (_IO_fgets): Likewise.
8270         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8271         * libio/iofgetws.c (fgetws): Likewise.
8272         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8273         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8274         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8275         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8276         * locale/findlocale.c (_nl_find_locale): Likewise.
8277         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8278         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8279         Likewise.
8280         * locale/setlocale.c (setlocale): Likewise.
8281         * login/programs/pt_chown.c (main): Likewise.
8282         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8283         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8284         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8285         (mmap, mmap64, mremap, munmap): Likewise.
8286         * math/e_exp2l.c: Likewise.
8287         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8288         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8289         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8290         * math/s_catan.c (__catan): Likewise.
8291         * math/s_catanf.c (__catanf): Likewise.
8292         * math/s_catanh.c (__catanh): Likewise.
8293         * math/s_catanhf.c (__catanhf): Likewise.
8294         * math/s_catanhl.c (__catanhl): Likewise.
8295         * math/s_catanl.c (__catanl): Likewise.
8296         * math/s_ccosh.c (__ccosh): Likewise.
8297         * math/s_ccoshf.c (__ccoshf): Likewise.
8298         * math/s_ccoshl.c (__ccoshl): Likewise.
8299         * math/s_cexp.c (__cexp): Likewise.
8300         * math/s_cexpf.c (__cexpf): Likewise.
8301         * math/s_cexpl.c (__cexpl): Likewise.
8302         * math/s_clog10.c (__clog10): Likewise.
8303         * math/s_clog10f.c (__clog10f): Likewise.
8304         * math/s_clog10l.c (__clog10l): Likewise.
8305         * math/s_clog.c (__clog): Likewise.
8306         * math/s_clogf.c (__clogf): Likewise.
8307         * math/s_clogl.c (__clogl): Likewise.
8308         * math/s_csin.c (__csin): Likewise.
8309         * math/s_csinf.c (__csinf): Likewise.
8310         * math/s_csinh.c (__csinh): Likewise.
8311         * math/s_csinhf.c (__csinhf): Likewise.
8312         * math/s_csinhl.c (__csinhl): Likewise.
8313         * math/s_csinl.c (__csinl): Likewise.
8314         * math/s_csqrt.c (__csqrt): Likewise.
8315         * math/s_csqrtf.c (__csqrtf): Likewise.
8316         * math/s_csqrtl.c (__csqrtl): Likewise.
8317         * math/s_ctan.c (__ctan): Likewise.
8318         * math/s_ctanf.c (__ctanf): Likewise.
8319         * math/s_ctanh.c (__ctanh): Likewise.
8320         * math/s_ctanhf.c (__ctanhf): Likewise.
8321         * math/s_ctanhl.c (__ctanhl): Likewise.
8322         * math/s_ctanl.c (__ctanl): Likewise.
8323         * math/w_pow.c: Likewise.
8324         * math/w_powf.c: Likewise.
8325         * math/w_powl.c: Likewise.
8326         * math/w_scalb.c (sysv_scalb): Likewise.
8327         * math/w_scalbf.c (sysv_scalbf): Likewise.
8328         * math/w_scalbl.c (sysv_scalbl): Likewise.
8329         * misc/error.c (error_tail): Likewise.
8330         * misc/pselect.c (__pselect): Likewise.
8331         * nis/nis_callback.c (__nis_create_callback): Likewise.
8332         * nis/nis_call.c (__nisfind_server): Likewise.
8333         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8334         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8335         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8336         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8337         * nis/nis_lookup.c (nis_lookup): Likewise.
8338         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8339         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8340         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8341         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8342         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8343         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8344         * nis/nss_compat/compat-initgroups.c (add_group)
8345         (internal_getgrent_r): Likewise.
8346         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8347         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8348         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8349         (internal_getspnam_r): Likewise.
8350         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8351         (_nss_nis_getaliasbyname_r): Likewise.
8352         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8353         (_nss_nis_getntohost_r): Likewise.
8354         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8355         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8356         (_nss_nis_getgrgid_r): Likewise.
8357         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8358         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8359         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8360         (_nss_nis_gethostbyname4_r): Likewise.
8361         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8362         (initgroups_netid): Likewise.
8363         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8364         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8365         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8366         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8367         (_nss_nis_getprotobynumber_r): Likewise.
8368         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8369         (_nss_nis_getsecretkey): Likewise.
8370         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8371         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8372         (_nss_nis_getpwuid_r): Likewise.
8373         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8374         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8375         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8376         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8377         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8378         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8379         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8380         Likewise.
8381         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8382         (_nss_nisplus_getntohost_r): Likewise.
8383         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8384         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8385         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8386         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8387         Likewise.
8388         * nis/nss_nisplus/nisplus-initgroups.c
8389         (_nss_nisplus_initgroups_dyn): Likewise.
8390         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8391         (_nss_nisplus_getnetbyaddr_r): Likewise.
8392         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8393         (_nss_nisplus_getprotobynumber_r): Likewise.
8394         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8395         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8396         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8397         Likewise.
8398         * nis/nss_nisplus/nisplus-service.c
8399         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8400         (_nss_nisplus_getservbyport_r): Likewise.
8401         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8402         (_nss_nisplus_getspnam_r): Likewise.
8403         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8404         Likewise.
8405         * nscd/aicache.c (addhstaiX): Likewise.
8406         * nscd/cache.c (cache_search, prune_cache): Likewise.
8407         * nscd/connections.c (register_traced_file, send_ro_fd)
8408         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8409         (main_loop_epoll): Likewise.
8410         * nscd/grpcache.c (addgrbyX): Likewise.
8411         * nscd/hstcache.c (addhstbyX): Likewise.
8412         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8413         * nscd/mem.c (gc, mempool_alloc): Likewise.
8414         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8415         (addinnetgrX): Likewise.
8416         * nscd/nscd-client.h (__nscd_acquire_maplock)
8417         (__nscd_drop_map_ref): Likewise.
8418         * nscd/nscd_getai.c (__nscd_getai): Likewise.
8419         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8420         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8421         Likewise.
8422         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8423         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8424         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8425         (__nscd_get_map_ref): Likewise.
8426         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8427         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8428         Likewise.
8429         * nscd/pwdcache.c (addpwbyX): Likewise.
8430         * nscd/selinux.c (preserve_capabilities): Likewise.
8431         * nscd/servicescache.c (addservbyX): Likewise.
8432         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8433         * posix/fnmatch.c (fnmatch): Likewise.
8434         * posix/getopt.c (_getopt_internal_r): Likewise.
8435         * posix/glob.c (glob, glob_in_dir): Likewise.
8436         * posix/wordexp.c (exec_comm_child): Likewise.
8437         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8438         (getanswer_r, gaih_getanswer_slice): Likewise.
8439         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8440         * resolv/res_init.c: Likewise.
8441         * resolv/res_mkquery.c (res_nmkquery): Likewise.
8442         * resolv/res_query.c (__libc_res_nquery): Likewise.
8443         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8444         Likewise.
8445         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8446         * stdio-common/perror.c (perror): Likewise.
8447         * stdio-common/printf_fp.c (___printf_fp): Likewise.
8448         * stdio-common/tmpnam.c (tmpnam): Likewise.
8449         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8450         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8451         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8452         Likewise.
8453         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8454         * stdlib/putenv.c (putenv): Likewise.
8455         * stdlib/setenv.c (__add_to_environ): Likewise.
8456         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8457         * stdlib/strtol_l.c (INTERNAL): Likewise.
8458         * string/memmem.c (memmem): Likewise.
8459         * string/strerror.c (strerror): Likewise.
8460         * string/strnlen.c (__strnlen): Likewise.
8461         * string/test-memmem.c (simple_memmem): Likewise.
8462         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8463         * sunrpc/pm_getport.c (__get_socket): Likewise.
8464         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8465         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8466         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8467         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8468         Likewise.
8469         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8470         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8471         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8472         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8473         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8474         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8475         Likewise.
8476         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8477         Likewise.
8478         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8479         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8480         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8481         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8482         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8484         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8485         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8486         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8487         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8488         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8489         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8490         Likewise.
8491         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8492         Likewise.
8493         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8494         Likewise.
8495         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8496         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8497         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8498         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8499         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8500         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8501         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8502         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8503         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8504         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8505         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8506         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8507         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8508         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8509         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8510         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8511         Likewise.
8512         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8513         Likewise.
8514         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8515         Likewise.
8516         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8517         Likewise.
8518         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8519         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8520         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8521         Likewise.
8522         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8523         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8524         * sysdeps/posix/opendir.c (__opendirat): Likewise.
8525         * sysdeps/posix/sleep.c: Likewise.
8526         * sysdeps/posix/tempname.c: Likewise.
8527         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8528         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8529         Likewise.
8530         * sysdeps/powerpc/powerpc32/dl-machine.h
8531         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8532         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8533         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8534         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8535         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8536         Likewise.
8537         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8538         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8539         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8540         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8541         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8542         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8543         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8544         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8545         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8546         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8547         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8548         (elf_machine_lazy_rel): Likewise.
8549         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8550         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8551         (elf_machine_lazy_rel): Likewise.
8552         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8553         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8554         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8555         * sysdeps/unix/grantpt.c (grantpt): Likewise.
8556         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8557         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8558         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8559         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8560         Likewise.
8561         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8562         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8563         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8564         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8565         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8566         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8567         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8568         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8569         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8570         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8571         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8572         Likewise.
8573         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8574         (__posix_fallocate64_l64): Likewise.
8575         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8576         (posix_fallocate): Likewise.
8577         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8578         Likewise.
8579         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8580         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8581         (getifaddrs_internal): Likewise.
8582         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8583         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8584         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8585         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8586         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8587         (__posix_fallocate64_l64): Likewise.
8588         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8589         Likewise.
8590         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8591         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8592         (__get_clockfreq): Likewise.
8593         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8594         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8595         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8596         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8597         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8598         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8599         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8600         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8601         Likewise.
8602         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8603         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8604         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8605         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8606         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8607         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8608         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8609         Likewise.
8610         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8611         (posix_fallocate): Likewise.
8612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8613         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8614         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8615         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8616         (elf_machine_rela, elf_machine_rela_relative)
8617         (elf_machine_lazy_rel): Likewise.
8618         * time/asctime.c (asctime_internal): Likewise.
8619         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8620         * time/tzset.c (__tzset_parse_tz): Likewise.
8621         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8622         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8623         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8624         * wcsmbs/wcsmbsload.h: Likewise.
8625
8626         [BZ #15894]
8627         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8628
8629         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8630         (arena_get2): Remove THREAD_STATS conditionals.
8631         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8632         (__malloc_stats, int): Likewise.
8633
8634 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
8635
8636         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8637         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
8638
8639         * manual/setjmp.texi: Fix typos/grammar errors.
8640
8641         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8642         Only return early when n is <= 0.  Delete unused return statement.
8643
8644         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8645         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8646         * debug/tst-longjmp_chk3.c: New file.
8647
8648         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8649         (test_main): Replace code with set_fortify_handler call.
8650         * debug/test-strcpy_chk.c: Likewise.
8651         * debug/tst-chk1.c: Likewise.
8652         * debug/tst-longjmp_chk.c: Likewise.
8653         * test-skeleton.c: Include fcntl.h & paths.h
8654         (set_fortify_handler): Define.
8655
8656         * debug/tst-longjmp_chk.c: Add header comment and include
8657         ../test-skeleton.c.
8658         (do_test): Mark static.
8659         (TEST_FUNCTION): Define.
8660
8661         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8662         (IP_PMTUDISC_INTERFACE): Likewise.
8663         (IP_MULTICAST_IF): Likewise.
8664         (IP_MULTICAST_TTL): Likewise.
8665         (IP_MULTICAST_LOOP): Likewise.
8666         (IP_ADD_MEMBERSHIP): Likewise.
8667         (IP_DROP_MEMBERSHIP): Likewise.
8668         (IP_UNBLOCK_SOURCE): Likewise.
8669         (IP_BLOCK_SOURCE): Likewise.
8670         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8671         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8672         (IP_MSFILTER): Likewise.
8673         (MCAST_JOIN_GROUP): Likewise.
8674         (MCAST_BLOCK_SOURCE): Likewise.
8675         (MCAST_UNBLOCK_SOURCE): Likewise.
8676         (MCAST_LEAVE_GROUP): Likewise.
8677         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8678         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8679         (MCAST_MSFILTER): Likewise.
8680         (IP_MULTICAST_ALL): Likewise.
8681         (IP_UNICAST_IF): Likewise.
8682
8683         * timezone/Makefile: Delete $(have-ksh) check.
8684         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8685         * timezone/tzselect.ksh: Add +x mode bits.
8686
8687         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8688         (ANON_INODE_FS_MAGIC): Likewise.
8689         (BDEVFS_MAGIC): Likewise.
8690         (BINFMTFS_MAGIC): Likewise.
8691         (BTRFS_TEST_MAGIC): Likewise.
8692         (CRAMFS_MAGIC_WEND): Likewise.
8693         (DEBUGFS_MAGIC): Likewise.
8694         (ECRYPTFS_SUPER_MAGIC): Likewise.
8695         (EXT3_SUPER_MAGIC): Likewise.
8696         (EXT4_SUPER_MAGIC): Likewise.
8697         (FUTEXFS_SUPER_MAGIC): Likewise.
8698         (HOSTFS_SUPER_MAGIC): Likewise.
8699         (HUGETLBFS_MAGIC): Likewise.
8700         (MINIX3_SUPER_MAGIC): Likewise.
8701         (MTD_INODE_FS_MAGIC): Likewise.
8702         (NILFS_SUPER_MAGIC): Likewise.
8703         (OPENPROM_SUPER_MAGIC): Likewise.
8704         (PIPEFS_MAGIC): Likewise.
8705         (PSTOREFS_MAGIC): Likewise.
8706         (QNX6_SUPER_MAGIC): Likewise.
8707         (RAMFS_MAGIC): Likewise.
8708         (REISERFS_SUPER_MAGIC_STRING): Likewise.
8709         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8710         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8711         (SECURITYFS_MAGIC): Likewise.
8712         (SELINUX_MAGIC): Likewise.
8713         (SMACK_MAGIC): Likewise.
8714         (SOCKFS_MAGIC): Likewise.
8715         (SQUASHFS_MAGIC): Likewise.
8716         (STACK_END_MAGIC): Likewise.
8717         (TMPFS_MAGIC): Likewise.
8718         (USBDEVICE_SUPER_MAGIC): Likewise.
8719         (V9FS_MAGIC): Likewise.
8720         (XENFS_SUPER_MAGIC): Likewise.
8721         (CRAMFS_MAGIC): Fix typo in comment.
8722         (EXT2_SUPER_MAGIC): Update comment.
8723         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8724
8725 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
8726
8727         * sysdeps/arm: Move directory from ports/sysdeps/arm.
8728         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8729         * sysdeps/unix/sysv/linux/arm: Move directory from
8730         ports/sysdeps/unix/sysv/linux/arm.
8731         * README: Update listing for arm-*-linux-gnueabi.
8732
8733         * README: Remove mention of am33.
8734
8735 2014-02-07  Roland McGrath  <roland@hack.frob.com>
8736
8737         * bits/sigset.h (__sigemptyset): Use a statement expression rather
8738         than the comma operator, to avoid "rhs of comma has no effect"
8739         compiler warnings.
8740         (__sigfillset, __sigandset, __sigorset): Likewise.
8741         * include/signal.h (__sigemptyset): Likewise.
8742         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8743
8744 2014-02-07  Allan McRae  <allan@archlinux.org>
8745
8746         * version.h (RELEASE): Set to "development".
8747         (VERSION): Set to "2.19.90"
8748         * NEWS: Add 2.20 section.
8749
8750 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
8751
8752         [BZ #16529]
8753         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8754
8755 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8756
8757         * manual/contrib.texi: Update entry for Carlos O'Donell,
8758         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8759
8760 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
8761
8762         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8763
8764         * sysdeps/unix/sysv/linux/kernel-features.h
8765         [__LINUX_KERNEL_VERSION >= 0x020621]
8766         (__ASSUME_PROC_PID_TASK_COMM): Define.
8767
8768 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8769
8770         [BZ #16398]
8771         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8772         conversion when destination buffer does not have enough space.
8773         * libio/tst-ftell-partial-wide.c: New test case.
8774         * libio/Makefile (tests): Add tst-ftell-partial-wide.
8775
8776         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8777         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
8778         Leonard and Allan McRae.
8779
8780 2014-02-04  David S. Miller  <davem@davemloft.net>
8781
8782         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8783         32-bit.
8784
8785 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8786
8787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8788         New file
8789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8790         New file
8791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8792         New file.
8793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8794         New file.
8795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8796         New file.
8797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8798         New file.
8799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8800         New file.
8801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8802         New file.
8803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8804         New file.
8805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8806         New file.
8807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8808         New file.
8809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8810         New file.
8811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8812         New file.
8813
8814 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8815
8816         * nptl/shlib-versions: Change powerpc*le start to 2.17.
8817         * shlib-versions: Likewise.
8818
8819 2014-02-04  Roland McGrath  <roland@hack.frob.com>
8820             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8821
8822         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8823         (abilist-pattern): New variable, set to %-le.abilist.
8824
8825         * Makerules (abilist-pattern): New variable.
8826         (vpath): Use $(abilist-pattern) in place of %.abilist.
8827         (check-abi-% pattern rule): Likewise.
8828         (check-abi, update-abi): Likewise.
8829
8830 2014-02-04  Eric Wong  <normalperson@yhbt.net>
8831
8832         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8833
8834 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
8835
8836         * manual/startup.texi: Add next, previous, and top entries for
8837         the `Program Arguments' and `Environment Variables' nodes.
8838
8839 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
8840
8841         * manual/macros.texi: Add comments before MTASC-safety macros.
8842
8843         * manual/users.texi: Document MTASC-safety properties.
8844
8845         * manual/threads.texi (pthread_key_create, pthread_key_delete)
8846         (pthread_getspecific, pthread_setspecific): Format with
8847         @deftypefun, and add @safety note.
8848         * manual/signal.texi: Move comments that analyze the above
8849         functions to their home place.
8850
8851 2014-02-03  Allan McRae  <allan@archlinux.org>
8852
8853         * po/sl.po: Update Slovenian translation from translation project.
8854
8855 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
8856
8857         * manual/time.texi (timegm): Add missing blank after @c.
8858         Reported by Joseph Myers <joseph@codesourcery.com>.
8859
8860 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
8861
8862         * manual/check-safety.sh: New.
8863         * manual/Makefile ($(objpfx)stamp-summary): Run it.
8864
8865         * manual/terminal.texi: Document MTASC-safety properties.
8866
8867         * manual/filesys.texi: Document MTASC-safety properties.
8868
8869         * manual/errno.texi: Document MTASC-safety properties.
8870
8871         * manual/intro.texi: Document safety identifiers and
8872         conditionals.
8873
8874         * manual/string.texi (wcstok): Fix prototype.
8875         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8876
8877         * manual/time.texi: Document MTASC-safety properties.
8878
8879         * manual/string.texi: Document MTASC-safety properties.
8880
8881         * manual/threads.texi: Document MTASC-safety properties.
8882
8883         * manual/stdio.texi: Document MTASC-safety properties.
8884
8885         * manual/syslog.texi: Document MTASC-safety properties.
8886
8887         * manual/sysinfo.texi: Document MTASC-safety properties.
8888
8889         * manual/startup.texi: Document MTASC-safety properties.
8890
8891         * manual/socket.texi: Document MTASC-safety properties.
8892
8893         * manual/signal.texi: Document MTASC-safety properties.
8894
8895 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
8896
8897         * manual/setjmp.texi: Document MTASC-safety properties.
8898
8899         * manual/search.texi: Document MTASC-safety properties.
8900
8901         * manual/resource.texi: Document MTASC-safety properties.
8902
8903         * manual/process.texi: Document MTASC-safety properties.
8904
8905         * manual/platform.texi: Document MTASC-safety properties.
8906
8907         * manual/pipe.texi: Document MTASC-safety properties.
8908
8909         * manual/pattern.texi: Document MTASC-safety properties.
8910
8911         * manual/message.texi: Document MTASC-safety properties.
8912
8913         [BZ #12751]
8914         * manual/memory.texi: Document MTASC-safety properties.
8915
8916         * manual/math.texi: Document MTASC-safety properties.
8917
8918         * manual/locale.texi: Document MTASC-safety properties.
8919
8920         * manual/llio.texi: Document MTASC-safety properties.
8921
8922         * manual/libdl.texi: New.
8923
8924         * manual/lang.texi: Document MTASC-safety properties.
8925
8926         * manual/job.texi: Document MTASC-safety properties.
8927
8928         * manual/getopt.texi: Document MTASC-safety properties.
8929
8930         * manual/ctype.texi: Document MTASC-safety properties.
8931
8932 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
8933
8934         [BZ #16046]
8935         * csu/libc-tls.c (static_map): Remove variable.
8936         (__libc_setup_tls): Use main executable's link map for TLS data.
8937         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8938         casing for LM_ID_BASE and GL(dl_nns).
8939         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8940         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
8941         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8942         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8943         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8944         member.
8945         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8946         l_phnum members.
8947
8948 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
8949
8950         * manual/debug.texi: Document MTASC-safety properties.
8951
8952 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
8953
8954         [BZ #16510]
8955         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8956         of __x86_64__ when disabling x87 inline functions.
8957
8958 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
8959
8960         * manual/charset.texi: Document MTASC-safety properties.
8961
8962         * manual/crypt.texi: Document MTASC-safety properties.
8963
8964         * manual/conf.texi: Document MTASC-safety properties.
8965
8966         * manual/arith.texi: Document MTASC-safety properties.
8967
8968         * manual/argp.texi: Document MTASC-safety properties.
8969
8970         * manual/macros.texi: Introduce macros to document multi
8971         thread, asynchronous signal and asynchronous cancellation
8972         safety properties.
8973         * manual/intro.texi: Introduce the properties themselves.
8974
8975 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8976
8977         * sysdeps/sh/sh4/Makefile: New file.
8978
8979 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
8980
8981         * math/gen-libm-test.pl ($srcdir): New variable.
8982         ($auto_input): Use it.
8983
8984 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8985
8986         [BZ #16506]
8987         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8988         access beyond array bounds when parsing netgroups file.
8989
8990         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8991         the old buffer before realloc.
8992
8993 2014-01-27  Allan McRae  <allan@archlinux.org>
8994
8995         * po/fr.po: Update French translation from translation project.
8996
8997 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8998
8999         * sysdeps/sh/libm-test-ulps: Regenerate.
9000
9001 2014-01-24  David S. Miller  <davem@davemloft.net>
9002
9003         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9004
9005 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9006
9007         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9008         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9009
9010 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9011
9012         [BZ #16474]
9013         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9014         string pointers after reallocation.
9015
9016 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9017
9018         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9019         __SH4A__ instead of __SH_FPU_ANY__.
9020
9021 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9022
9023         * sysdeps/sh/fpu_control.h: New file.
9024         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9025         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9026         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9027         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9028         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9029         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9030         * sysdeps/sh/sys/ucontext.h: Remove.
9031         * sysdeps/sh/sys: Remove directory.
9032
9033 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9034
9035         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9036         s390/sys/ucontext.h.
9037         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9038         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9039
9040 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9041
9042         [BZ #15605]
9043         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9044
9045 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9046
9047         [BZ#16431]
9048         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9049         Adjust the vDSO correctly for internal calls.
9050         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9051
9052 2014-01-20  Allan McRae  <allan@archlinux.org>
9053
9054         * po/ca.po: Update Catalan translation from translation project.
9055
9056 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9057
9058         * sysdeps/s390/sotruss-lib.c: New file.
9059
9060 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9061
9062         [BZ#16430]
9063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9064         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9065         local calls issues by not having a PLT stub required for IFUNC calls.
9066         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9067
9068 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9069
9070         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9071         * math/test-fpucw-static.c: Likewise.
9072
9073 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9074
9075         [BZ #16453]
9076         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9077
9078 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9079
9080         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9081         implementation for powerpc.
9082
9083 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9084
9085         [BZ #14782]
9086         * sysdeps/posix/system.c (__libc_system): Do not enable
9087         asynchronous cancellation.
9088
9089 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9090
9091         [BZ #16427]
9092         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9093         handling only for numbers special also in the IEEE case.
9094
9095 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9096
9097         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9098
9099 2014-01-11  Allan McRae  <allan@archlinux.org>
9100
9101         * po/bg.po: Update Bulgarian translation from translation project.
9102
9103         * po/de.po: Update German translation from translation project.
9104
9105 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9106
9107         * sysdeps/generic/gcc-compat.h: New file.
9108
9109 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9110
9111         * benchtests/asin-inputs: Correct slow inputs.
9112         * benchtests/acos-inputs: Likewise.
9113
9114 2014-01-10  Allan McRae  <allan@archlinux.org>
9115
9116         * po:sv.po: Update Swedish translation from translation project.
9117
9118         * po/vi.po: Update Vietnamese translation from translation project.
9119
9120         * po/eo.po: Update Esperanto translation from translation project.
9121
9122         * po/cs.po: Update Czech translation from translation project.
9123
9124         * po/nl.po: Update Dutch translation from translation project.
9125
9126         * po/pl.po: Update Polish translation from translation project.
9127
9128         * po/ru.po: Update Russian translation from translation project.
9129
9130         * po/uk.po: Update Ukrainian translation from translation project.
9131
9132 2014-01-08  Brooks Moses  <bmoses@google.com>
9133
9134         * elf/dl-load.c: Fix comment typo.
9135
9136 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9137
9138         * po/header.pot: Rename to...
9139         * po/pot.header: ... this.
9140         * po/Makefile: Use pot.header.
9141
9142 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9143             Maxim Kuvyrkov  <maxim@kugelworks.com>
9144
9145         [BZ #16394]
9146         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9147         SRC and DEST against LEN.
9148
9149 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9150
9151         [BZ #16414]
9152         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9153         implementation.
9154         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9155
9156 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9157
9158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9159
9160 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9161
9162         [BZ #16408]
9163         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9164         for large positive arguments.
9165
9166 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9167
9168         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9169
9170         * math/auto-libm-test-in: Mark various tests with
9171         xfail-rounding:ldbl-128ibm.
9172         * math/auto-libm-test-out: Regenerated.
9173
9174         [BZ #16407]
9175         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9176         Increase overflow threshold.
9177
9178 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9179
9180         [BZ #14286]
9181         * stdio-common/vfprintf.c: Check for integer overflow.
9182
9183 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9184
9185         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9186         the first argument and return value of __tls_get_addr_internal.
9187
9188 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9189
9190         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9191         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9192
9193 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9194
9195         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9196         * sysdeps/s390/rtld-global-offsets.sym: New file.
9197         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9198         GLIBC_2.19 symbol.
9199         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9200         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9201         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9202         ... this.
9203         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9204         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9205         ... this.
9206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9207         Regenerate.
9208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9209         Regenerate.
9210         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9211         halfs of GPRs for high_gprs contexts.
9212         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9213         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9214         field.
9215         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9216         uc_flags field.
9217         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9218         64 bit versions:
9219         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9220         for high GPRs (uc_high_gprs) and for future extensions
9221         (__reserved).
9222         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9223         for future extensions (__reserved).
9224         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9225         64 bit versions:
9226         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9227         SC_HIGHGPRS offset definition.
9228         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9229         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9230
9231         * Versions.def: Add GLIBC_2.19 for libpthread.
9232         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9233         siglongjmp for libpthread with GLIBC_2.19 symver.
9234         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9235         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9236         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9237         * sysdeps/s390/__longjmp.c: New file.
9238         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9239         * sysdeps/s390/longjmp.c: New file.
9240         * sysdeps/s390/setjmp.S: New file.
9241         * sysdeps/s390/sigjmp.S: New file.
9242         * sysdeps/s390/v1-longjmp.c: New file.
9243         * sysdeps/s390/v1-setjmp.h: New file.
9244         * sysdeps/s390/v1-sigjmp.c: New file.
9245         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9246         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9247         GLIBC_2.19 version.
9248         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9249         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9250         versioned symbols for ____longjmp_chk.
9251         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9252         Likewise.
9253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9254         Regenerate.
9255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9256         Regenerate.
9257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9258         Regenerate.
9259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9260         Regenerate.
9261         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9262         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9263         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9264         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9265         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9266         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9267         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9268         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9269         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9270         * sysdeps/s390/rtld-__longjmp.c: New file.
9271         * sysdeps/s390/rtld-setjmp.S: New file.
9272
9273 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9274
9275         [BZ #16400]
9276         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9277         Return -__logl (x) for small positive arguments without evaluating
9278         a polynomial.
9279
9280 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9281
9282         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9283         Rename to ...
9284         (__ptrace_peeksiginfo_args): ... this.
9285         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9286         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9287         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9288
9289 2014-01-06  Allan McRae  <allan@archlinux.org>
9290
9291         * inet/netinet/in.h: Fix typo in comment.
9292
9293 2014-01-05  Andreas Jaeger  <aj@suse.de>
9294
9295         * sysdeps/i386/fpu/libm-test-ulps: Update.
9296
9297 2014-01-05  Allan McRae  <allan@archlinux.org>
9298
9299         * po/libc.pot: Regenerated.
9300
9301         * malloc/memusagestat.c: Fix gettext call formatting.
9302
9303 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9304
9305         * nscd/nscd.c: Improve usage() output.
9306
9307 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9308
9309         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9310         * sysdeps/unix/sysv/linux/configure: Regenerated.
9311         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9312         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9313
9314 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9315
9316         [BZ #16390]
9317         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9318         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9319
9320 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9321
9322         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9323         extra tokens at end of #undef directive.
9324         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9325         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9326         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9327
9328 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9329
9330         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9331
9332         * math/auto-libm-test-in: Mark various tests with
9333         xfail-rounding:ldbl-128ibm.
9334         * math/auto-libm-test-out: Regenerated.
9335
9336 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9337
9338         [BZ #16386]
9339         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9340         numbers with subnormal high part when calculating exponent.
9341
9342         [BZ #16385]
9343         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9344         fabs.
9345
9346         [BZ #16384]
9347         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9348         M_LN2l.
9349         (__ieee754_acoshl): Use __log1pl not __log1p.
9350
9351 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9352
9353         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9354         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9355         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9356         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9357         (reused_arena, arena_get2): Convert to GNU style.
9358         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9359         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9360         (memalign_check, __malloc_set_state): Likewise.
9361         * malloc/mallocbug.c (main): Likewise.
9362         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9363         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9364         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9365         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9366         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9367         (__posix_memalign, malloc_info): Likewise.
9368         * malloc/malloc.h: Likewise.
9369         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9370         (mallochook, memalignhook, reallochook, mabort): Likewise.
9371         * malloc/mcheck.h: Likewise.
9372         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9373         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9374         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9375         * malloc/morecore.c (__default_morecore): Likewise.
9376         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9377         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9378         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9379         (print_and_abort): Likewise.
9380         * malloc/obstack.h: Likewise.
9381         * malloc/set-freeres.c (__libc_freeres): Likewise.
9382         * malloc/tst-mallocstate.c (main): Likewise.
9383         * malloc/tst-mtrace.c (main): Likewise.
9384         * malloc/tst-realloc.c (do_test): Likewise.
9385
9386 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9387
9388         [BZ #16366]
9389         * nscd/netgroupcache.c (do_notfound): New function.
9390         (addgetnetgrentX): Use it.
9391
9392         [BZ # 16365]
9393         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9394         NSS_STATUS_NOTFOUND.
9395
9396 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
9397
9398         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9400
9401 2014-01-01  Allan McRae  <allan@archlinux.org>
9402
9403         * scripts/update-copyrights: Update configure input file suffix.
9404
9405         * NEWS: Update copyright year.
9406         * catgets/gencat.c: Likewise.
9407         * csu/version.c: Likewise.
9408         * debug/catchsegv.sh: Likewise.
9409         * debug/pcprofiledump.c: Likewise.
9410         * debug/xtrace.sh: Likewise.
9411         * elf/ldconfig.c: Likewise.
9412         * elf/ldd.bash.in: Likewise.
9413         * elf/pldd.c: Likewise.
9414         * elf/sotruss.ksh: Likewise.
9415         * elf/sprof.c: Likewise.
9416         * iconv/iconv_prog.c: Likewise.
9417         * iconv/iconvconfig.c: Likewise.
9418         * locale/programs/locale.c: Likewise.
9419         * locale/programs/localedef.c: Likewise.
9420         * login/programs/pt_chown.c: Likewise.
9421         * malloc/memusage.sh: Likewise.
9422         * malloc/memusagestat.c: Likewise.
9423         * malloc/mtrace.pl: Likewise.
9424         * manual/libc.texinfo: Likewise.
9425         * nscd/nscd.c: Likewise.
9426         * nss/getent.c: Likewise.
9427         * nss/makedb.c: Likewise.
9428         * posix/getconf.c: Likewise.
9429         * scripts/test-installation.pl: Likewise.
9430
9431         * All files with FSF copyright notices: Update copyright dates
9432         using scripts/update-copyrights.
9433         * intl/plural.c: Regenerated.
9434         * locale/programs/charmap-kw.h: Likewise.
9435         * locale/programs/locfile-kw.h: Likewise.
9436
9437 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
9438
9439         * sysdeps/unix/sysv/linux/configure: Regenerated.
9440         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9441         the linux/fanotify.h header.
9442         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9443         HAVE_LINUX_FANOTIFY_H is defined.
9444
9445 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9446
9447         * benchtests/cos-inputs: New inputs.
9448         * benchtests/sin-inputs: Likewise.
9449
9450         * benchtests/atan-inputs: New inputs. Fix name of multiple
9451         precision fallback inputs.
9452
9453         * benchtests/atanh-inputs: New inputs.
9454         * benchtests/tanh-inputs: Likewise.
9455
9456         * benchtests/acosh-inputs: New inputs.
9457         * benchtests/asinh-inputs: Likewise.
9458
9459         * benchtests/cosh-inputs: New inputs.
9460         * benchtests/sinh-inputs: Likewise.
9461
9462         * benchtests/acos-inputs: Add more inputs.
9463         * benchtests/asin-inputs: Likewise.
9464
9465 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
9466
9467         [BZ #16375]
9468         * manual/arith.texi: Fix spelling.
9469         * manual/charset.texi: Likewise.
9470         * manual/errno.texi: Likewise.
9471         * manual/filesys.texi: Likewise.
9472         * manual/lang.texi: Likewise.
9473         * manual/llio.texi: Likewise.
9474         * manual/locale.texi: Likewise.
9475         * manual/message.texi: Likewise.
9476         * manual/resource.texi: Likewise.
9477         * manual/search.texi: Likewise.
9478         * manual/setjmp.texi: Likewise.
9479         * manual/stdio.texi: Likewise.
9480         * manual/string.texi: Likewise.
9481         * manual/sysinfo.texi: Likewise.
9482         * manual/time.texi: Likewise.
9483
9484 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
9485
9486         * po/sl.po: New file.
9487
9488 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
9489
9490         * .gitignore: Add core/.gdbinit/.gdb_history.
9491
9492 2013-12-27  Allan McRae  <allan@archlinux.org>
9493
9494         [BZ #16369]
9495         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9496         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9497
9498 2013-12-24  Brooks Moses  <bmoses@google.com>
9499
9500         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9501         all compilers that claim C++98 compliance, not just GCC.
9502         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9503         Likewise.
9504
9505 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9506
9507         * NEWS: Restore accidentally deleted bug-fix entries.
9508
9509 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9510             Ondřej Bílka  <neleai@seznam.cz>
9511
9512         [BZ #15073]
9513         * malloc/malloc.c (_int_free): Perform sanity check only if we
9514         have_lock.
9515
9516 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
9517
9518         [BZ #12986]
9519         * manual/stdio.texi (String Input Conversions): Clarify that character
9520         classes are not supported.
9521
9522 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9523
9524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9525
9526 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
9527
9528         [BZ #16337]
9529         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9530         Calculate results for small negative arguments directly rather
9531         than using reflection formula with special underflow handling.
9532
9533         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9534         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9535         sysdeps/unix/bsd/bsd4.4/syscalls.list.
9536         (fchflags): Likewise.
9537         (revoke): Likewise.
9538         (setlogin): Likewise.
9539         (sigaltstack): Likewise.
9540         (wait4): Likewise.
9541         (sigblock): Remove.
9542         (sigsetmask): Likewise.
9543         (wait3): Likewise.
9544         (waitpid): Likewise.
9545         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9546         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9547         file.
9548         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9549         * sysdeps/unix/bsd/Makefile: ... here.
9550         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9551         * sysdeps/unix/bsd/Versions: ... here.
9552         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9553         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9554         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9555         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9556         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9557         * sysdeps/unix/bsd/sigblock.c: ... here.
9558         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9559         * sysdeps/unix/bsd/sigsetmask.c: ... here.
9560         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9561         * sysdeps/unix/bsd/sigvec.c: ... here.
9562         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9563         * sysdeps/unix/bsd/tcdrain.c: ... here.
9564         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9565         * sysdeps/unix/bsd/tcgetattr.c: ... here.
9566         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9567         * sysdeps/unix/bsd/tcsetattr.c: ... here.
9568         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9569         * sysdeps/unix/bsd/wait.c: ... here.
9570         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9571         * sysdeps/unix/bsd/wait3.c: ... here.
9572         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9573         * sysdeps/unix/bsd/waitpid.c: ... here.
9574
9575 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
9576
9577         [BZ #16356]
9578         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9579         round-to-nearest for [!USE_AS_EXPM1L].
9580         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9581         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
9582         more tests of exp and exp10.  Expect some exp10 tests to miss
9583         exceptions or fail in directed rounding modes.
9584         * math/auto-libm-test-out: Regenerated.
9585         * math/libm-test.inc (exp10_tonearest_test_data): New array.
9586         (exp10_test_tonearest): New function.
9587         (exp10_towardzero_test_data): New array.
9588         (exp10_test_towardzero): New function.
9589         (exp10_downward_test_data): New array.
9590         (exp10_test_downward): New function.
9591         (exp10_upward_test_data): New array.
9592         (exp10_test_upward): New function.
9593         (main): Call the new functions.
9594         * sysdeps/i386/fpu/libm-test-ulps: Update.
9595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9596
9597 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
9598
9599         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9600         asinh, atan, atan2, atanh, cbrt, cos and cosh.
9601         * math/auto-libm-test-out: Regenerated.
9602         * math/libm-test.inc (acosh_test_data): Add more tests.
9603         (atanh_test_data): Likewise.
9604         (ceil_test_data): Likewise.
9605         (copysign_test_data): Likewise.
9606         * sysdeps/i386/fpu/libm-test-ulps: Update.
9607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9608
9609         * timezone/checktab.awk: Update from tzcode 2013i.
9610         * timezone/private.h: Likewise.
9611         * timezone/scheck.c: Likewise.
9612         * timezone/tzfile.h: Likewise.
9613         * timezone/tzselect.ksh: Likewise.
9614         * timezone/zdump.c: Likewise.
9615         * timezone/zic.c: Likewise.
9616
9617         * math/auto-libm-test-in: Add tests of cpow.
9618         * math/auto-libm-test-out: Regenerated.
9619         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9620         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9621         mpc_cc_c.
9622         (func_calc_desc): Add mpc_cc_c union field.
9623         (test_functions): Add cpow.
9624         (special_fill_2pi): New function.
9625         (special_real_inputs): Add 2pi.
9626         (calc_generic_results): Handle mpc_cc_c.
9627         * sysdeps/i386/fpu/libm-test-ulps: Update.
9628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9629
9630         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9631         csqrt, ctan and ctanh.
9632         * math/auto-libm-test-out: Regenerated.
9633         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9634         (TEST_COND_x86): Likewise.
9635         (ccos_test_data): Use AUTO_TESTS_c_c.
9636         (ccosh_test_data): Likewise.
9637         (cexp_test_data): Likewise.
9638         (clog_test_data): Likewise.
9639         (csqrt_test_data): Likewise.
9640         (ctan_test_data): Likewise.
9641         (ctan_tonearest_test_data): Likewise.
9642         (ctan_towardzero_test_data): Likewise.
9643         (ctan_downward_test_data): Likewise.
9644         (ctan_upward_test_data): Likewise.
9645         (ctanh_test_data): Likewise.
9646         (ctanh_tonearest_test_data): Likewise.
9647         (ctanh_towardzero_test_data): Likewise.
9648         (ctanh_downward_test_data): Likewise.
9649         (ctanh_upward_test_data): Likewise.
9650         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9651         mpc_c_c.
9652         (func_calc_desc): Add mpc_c_c union field.
9653         (FUNC_mpc_c_c): New macro.
9654         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9655         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9656         ctanh.
9657         (special_fill_min_subnorm_p120): New function.
9658         (special_real_inputs): Add min_subnorm_p120.
9659         (calc_generic_results): Handle mpc_c_c.
9660         * sysdeps/i386/fpu/libm-test-ulps: Update.
9661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9662
9663 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9664
9665         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9666         (do_sin_slow): New functions.
9667         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9668         (cslow2, csloww1, csloww2): Use the new functions.
9669
9670         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9671         Use M to change sign of result instead of X.  Assume X is
9672         positive.
9673         (csloww1): Likewise.
9674         (__sin): Adjust.
9675         (__cos): Adjust.
9676
9677         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9678         arguments A and DA.
9679         (__sin): Adjust.
9680         (__cos): Likewise.
9681
9682         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9683         (__cos): Likewise.
9684         (sloww1): Don't adjust sign of DX.
9685         (csloww1): Likewise.
9686         (sloww2): Use X directly and don't adjust sign of DX.
9687         (csloww2): Likewise.
9688
9689 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9690
9691         * math/auto-libm-test-in: Add tests of cabs and carg.
9692         * math/auto-libm-test-out: Regenerated.
9693         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9694         (carg_test_data): Likewise.
9695         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9696         mpc_c_f.
9697         (func_calc_desc): Add mpc_c_f union field.
9698         (test_functions): Add cabs and carg.
9699         (calc_generic_results): Handle mpc_c_f.
9700
9701         * sysdeps/powerpc/powerpc32/libgcc-compat.S
9702         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9703         as a macro and a compat symbol.
9704         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9705         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9706         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9707         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9708         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9709         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9710         not use .hidden.
9711         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9712         Likewise.
9713         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9714         Likewise.
9715         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9716         Likewise.
9717         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9718         Likewise.
9719         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9720         Likewise.
9721         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9722         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9723         from GLIBC_2.3.2.
9724
9725 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9726
9727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9728
9729 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9730
9731         * manual/texinfo.tex: Update to version 2013-11-26.10 with
9732         trailing whitespace removed.
9733         * scripts/config.guess: Update to version 2013-11-29.
9734         * scripts/config.sub: Update to version 2013-10-01.
9735
9736         * math/auto-libm-test-in: Add tests of sincos.
9737         * math/auto-libm-test-out: Regenerated.
9738         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9739         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9740         mpfr_f_11.
9741         (func_calc_desc): Add mpfr_f_11 union field.
9742         (test_functions): Add sincos.
9743         (calc_generic_results): Handle mpfr_f_11.
9744         * sysdeps/i386/fpu/libm-test-ulps: Update.
9745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9746
9747 2013-12-19  Andreas Schwab  <schwab@suse.de>
9748
9749         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9750         CALL_MCOUNT.
9751         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9752         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9753         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9754
9755 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9756
9757         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9758         * sysdeps/i386/fpu/libm-test-ulps: Update.
9759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9760
9761         [BZ #16293]
9762         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9763         round-to-nearest mode when using frndint.
9764         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9765         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9766         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9767         Likewise.
9768         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
9769         sinh test to fail.
9770         * math/auto-libm-test-out: Regenerated.
9771         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9772         (TEST_COND_x86): Likewise.
9773         (expm1_tonearest_test_data): New array.
9774         (expm1_test_tonearest): New function.
9775         (expm1_towardzero_test_data): New array.
9776         (expm1_test_towardzero): New function.
9777         (expm1_downward_test_data): New array.
9778         (expm1_test_downward): New function.
9779         (expm1_upward_test_data): New array.
9780         (expm1_test_upward): New function.
9781         (main): Run the new test functions.
9782         * sysdeps/i386/fpu/libm-test-ulps: Update.
9783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9784
9785         * include/features.h: Update comment documenting feature test
9786         macros.  Mention _DEFAULT_SOURCE in comment.
9787         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9788         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9789         _BSD_SOURCE and _SVID_SOURCE.
9790         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9791         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9792         !_SVID_SOURCE]: Likewise.
9793         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9794         (__USE_POSIX_IMPLICITLY): Define.
9795         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9796         (_POSIX_SOURCE): Undefine and redefine.
9797         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9798         (_POSIX_C_SOURCE): Likewise.
9799         * manual/creature.texi (_DEFAULT_SOURCE): Document.
9800         (Feature Test Macros): Update documentation of default features.
9801
9802 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9803
9804         * benchtests/Makefile: Add bench-strtok.
9805         * benchtests/bench-strtok.c: New file: strtok benchtest.
9806
9807 2013-12-19  Allan McRae  <allan@archlinux.org>
9808
9809         * manual/install.texi: Suppress menu for plain text output.
9810         * INSTALL: Regenerated.
9811
9812 2013-12-18  Brooks Moses  <bmoses@google.com>
9813
9814         [BZ #15846]
9815         * misc/getauxval.c: Include errno.h.
9816         (__getauxval): Set errno to ENOENT if the requested type is not
9817         found.
9818         * misc/sys/auxv.h (getauxval): Document that it may set errno;
9819         don't declare with __attribute_const__.
9820         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9821         * manual/startup.texi: Document that getauxval sets errno.
9822
9823 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9824
9825         * math/auto-libm-test-in: Add tests of jn and yn.
9826         * math/auto-libm-test-out: Regenerated.
9827         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9828         (yn_test_data): Likewise.
9829         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9830         mpfr_if_f.
9831         (func_calc_desc): Add mpfr_if_f union field.
9832         (FUNC_mpfr_if_f): New macro.
9833         (test_functions): Add jn and yn.
9834         (calc_generic_results): Assert type of second input for
9835         mpfr_ff_f.  Handle mpfr_if_f.
9836         (output_for_one_input_case): Disable all checking for arguments
9837         fitting floating-point types in case of an integer argument.
9838         * sysdeps/i386/fpu/libm-test-ulps: Update.
9839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9840
9841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9842         Don't expect fegetround reference in libm.so.
9843
9844 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9845
9846         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9847         $(config-cflags-nofma).
9848
9849 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9850
9851         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9852         * math/auto-libm-test-out: Regenerated.
9853
9854         [BZ #16338]
9855         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9856         to determine exponent and adjust argument to have exponent of -1.
9857         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9858         log2.
9859         * math/auto-libm-test-out: Regenerated.
9860         * sysdeps/i386/fpu/libm-test-ulps: Update.
9861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9862
9863 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
9864
9865         * manual/probes.texi: Remove cases when per-thread arenas are
9866         disabled.
9867
9868 2013-12-18  Andreas Schwab  <schwab@suse.de>
9869
9870         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9871         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9872         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9873         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9874         * sysdeps/i386/i686/multiarch/Makefile: Update.
9875         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9876
9877 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9878
9879         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9880         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9881
9882 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
9883
9884         [BZ #15968]
9885         Support TZ transition times < 00:00:00.
9886         This is needed for version-3 tz-format files; it supports time
9887         stamps past 2037 for America/Godthab (the only entry in the tz
9888         database for which this change is relevant).
9889         * manual/time.texi (TZ Variable): Document transition times
9890         from -167:59:59 through -00:00:01.
9891         * time/tzset.c (tz_rule): Time of day is now signed.
9892         (__tzset_parse_tz): Parse negative time of day.
9893
9894         Document TZ transition times >= 25:00:00.
9895         * manual/time.texi (TZ Variable): Document transition times from
9896         25:00:00 through 167:59:59.  These are already supported, and this
9897         support will help with version-3 tz-format files.
9898
9899         * manual/time.texi (TZ Variable): Modernize North America example
9900         to reflect current (i.e., 2007-and-later) daylight saving rules.
9901
9902         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9903
9904 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9905
9906         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9907         * sysdeps/unix/bsd/bits/stat.h: Likewise.
9908         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9909         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9910         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9911         * sysdeps/unix/bsd/bsdstat.h: Likewise.
9912         * sysdeps/unix/bsd/clock.c: Likewise.
9913         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9914         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9915         * sysdeps/unix/bsd/init-posix.c: Likewise.
9916         * sysdeps/unix/bsd/poll.c: Likewise.
9917         * sysdeps/unix/bsd/ptsname.c: Likewise.
9918         * sysdeps/unix/bsd/seekdir.c: Likewise.
9919         * sysdeps/unix/bsd/setegid.c: Likewise.
9920         * sysdeps/unix/bsd/seteuid.c: Likewise.
9921         * sysdeps/unix/bsd/setgid.c: Likewise.
9922         * sysdeps/unix/bsd/setrgid.c: Likewise.
9923         * sysdeps/unix/bsd/setruid.c: Likewise.
9924         * sysdeps/unix/bsd/setsid.c: Likewise.
9925         * sysdeps/unix/bsd/setuid.c: Likewise.
9926         * sysdeps/unix/bsd/sigaction.c: Likewise.
9927         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9928         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9929         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9930         * sysdeps/unix/bsd/telldir.c: Likewise.
9931         * sysdeps/unix/bsd/times.c: Likewise.
9932         * sysdeps/unix/bsd/usleep.c: Likewise.
9933
9934         * misc/Makefile (install-lib): Remove libbsd-compat.a.
9935         ($(objpfx)libbsd-compat.a): Remove rule.
9936
9937         * include/features.h (__FAVOR_BSD): Do not define.
9938         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9939         features conflicting with POSIX.
9940         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9941         (_BSD_SOURCE): Remove description of not being a subset of other
9942         feature test macros.
9943         * manual/job.texi (getpgrp): Do not document BSD version.
9944         (getpgid): Do not document by reference to BSD getpgrp.
9945         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9946         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9947         * signal/signal.h [__FAVOR_BSD]: Likewise.
9948         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9949         instead of making contents conditional on [__FAVOR_BSD].
9950         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9951
9952 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9953
9954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9955
9956 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9957
9958         [BZ #16314]
9959         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9960         values below 2**-450, not 2**-500.
9961         * math/auto-libm-test-in: Don't allow spurious underflow from
9962         hypot.
9963         * math/auto-libm-test-out: Regenerated.
9964
9965         [BZ #16316]
9966         [BZ #16330]
9967         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9968         values of ha and hb and sort them after adjusting subnormal
9969         arguments.
9970         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9971         Likewise.
9972         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9973         values of ea and eb and sort them after adjusting subnormal
9974         arguments.
9975         * math/auto-libm-test-in: Do not expect some hypot tests of
9976         subnormals to fail.  Add more hypot tests.
9977         * math/auto-libm-test-out: Regenerated.
9978
9979 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9980
9981         [BZ #13304]
9982         * sysdeps/sh/s_fma.c: New file.
9983         * sysdeps/sh/s_fmaf.c: New file.
9984         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
9985         version.
9986         * sysdeps/sh/Implies: Add sh/soft-fp.
9987
9988 2013-12-16  Roland McGrath  <roland@hack.frob.com>
9989
9990         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
9991         level of indirection to members `objname', `errstring', `malloced'.
9992         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9993         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
9994         it as the __longjmp argument (just pass 1 instead).
9995         (_dl_catch_error): Initialize C with argument pointers and address of
9996         volatile local ERRCODE rather than copying values out of C at return.
9997
9998 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
9999
10000         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10001         * math/auto-libm-test-out: Regenerated.
10002         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10003         (hypot_test_data): Likewise.
10004         (pow_test_data): Likewise.
10005         (pow_tonearest_test_data): Likewise.
10006         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10007         mpfr_ff_f.
10008         (func_calc_desc): Add mpfr_ff_f union field.
10009         (FUNC_mpfr_ff_f): New macro.
10010         (test_functions): Add atan2, hypot and pow.
10011         (special_fill_min): New function.
10012         (special_fill_minus_min): Likewise.
10013         (special_fill_min_subnorm): Likewise.
10014         (special_fill_minus_min_subnorm): Likewise.
10015         (special_real_inputs): Add min, -min, min_subnorm and
10016         -min_subnorm.
10017         (calc_generic_results): Handle mpfr_ff_f.
10018         * sysdeps/i386/fpu/libm-test-ulps: Update.
10019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10020
10021 2013-12-16  Will Newton  <will.newton@linaro.org>
10022
10023         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10024         (Aligned Memory Blocks): Add documentation for aligned_alloc
10025         and suggest it as an alternative to posix_memalign.
10026         (Hooks for Malloc): Document __memalign_hook is also called
10027         for aligned_alloc.  (Summary of Malloc): Add summary for
10028         aligned alloc.  Document __memalign_hook is also called
10029         for aligned_alloc.
10030
10031 2013-12-16  Will Newton  <will.newton@linaro.org>
10032
10033         * manual/memory.texi (Malloc Examples): Clarify default
10034         alignment documentation.  Suggest posix_memalign rather
10035         than memalign or valloc.
10036         (Aligned Memory Blocks): Remove suggestion to use memalign
10037         or valloc.  Remove obsolete comment about BSD.
10038         Document memalign errno values and mark the function obsolete.
10039         Document posix_memalign returned error codes.  Mark valloc
10040         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10041         called for posix_memalign and valloc.
10042         (Summary of Malloc): Add posix_memalign to function summary.
10043         __memalign_hook is also called for posix_memalign and valloc.
10044
10045 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10046
10047         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10048         TAYLOR_SIN.
10049         (__sin): Adjust.
10050         (__cos): Likewise.
10051         (sloww): Use mynumber union.  Expand ternary operator into
10052         if-else statements.
10053         (cslow): use mynumber union.
10054
10055 2013-12-16  Allan McRae  <allan@archlinux.org>
10056
10057         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10058         * configure: Regenerated.
10059
10060         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10061
10062         [BZ #14120]
10063         * configure.ac: Added --enable-maintainer-mode. Check for
10064         autoconf when enabled.
10065         * configure: Regenerated.
10066
10067         * nscd/nscd.service: New file.
10068         * nscd/nscd.tmpfiles: New file.
10069
10070 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10071
10072         [BZ #12100]
10073         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10074         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10075         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10076         (strstr): Add __strstr_sse2_unaligned ifunc.
10077         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10078         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10079         (strcasestr): Remove __strcasestr_sse42 ifunc.
10080         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10083
10084 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10085
10086         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10087         * sysdeps/sh/bits/fenv.h: ... here.
10088         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10089
10090 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10091
10092         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10093
10094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10095         hypotf multiarch implementations.
10096         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10097         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10098         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10099         multiarch hypot for PPC64.
10100         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10101         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10102         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10103         multiarch hypotf for PPC64.
10104
10105         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10106         modff multiarch implementations.
10107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10110         multiarch modf for PPC64.
10111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10114         multiarch modff for PPC64.
10115
10116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10117         and logl multiarch implementations.
10118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10121         multiarch logb for PPC64.
10122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10125         multiarch logb for PPC64.
10126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10129         multiarch logb for PPC64.
10130
10131         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10132         isinff multiarch implementation.
10133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10134         file.
10135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10137         multiarch isinf for PPC64.
10138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10139         file.
10140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10141         multiarch isinff for PPC64.
10142
10143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10144         finitef multiarch implementation.
10145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10146         file.
10147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10149         multiarch finite for PPC64.
10150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10151         file.
10152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10153         multiarch finitef for PPC64.
10154
10155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10156         lrint multiarch implementation.
10157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10158         file.
10159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10161         multiarch llrint for PPC64.
10162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10163         multiarch lrint for PPC64.
10164
10165         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10166         copysignf multiarch implementation.
10167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10168         file.
10169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10170         file.
10171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10172         multiarch copysign for PPC64.
10173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10174         multiarch copysignf for PPC64.
10175
10176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10177         multiarch implementation.
10178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10179         file.
10180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10181         file.
10182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10183         file.
10184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10185         file.
10186         multiarch llround for PPC64.
10187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10188         multiarch trunc for PPC64.
10189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10190         multiarch truncf for PPC64.
10191
10192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10193         multiarch implementation.
10194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10195         file.
10196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10197         file.
10198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10199         file.
10200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10201         file.
10202         multiarch llround for PPC64.
10203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10204         multiarch round for PPC64.
10205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10206         multiarch roundf for PPC64.
10207
10208         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10209         multiarch implementation.
10210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10211         file.
10212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10213         file.
10214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10215         file.
10216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10217         file.
10218         multiarch llround for PPC64.
10219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10220         multiarch floor for PPC64.
10221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10222         multiarch floorf for PPC64.
10223
10224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10225         multiarch implementation.
10226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10227         file.
10228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10229         file.
10230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10231         file.
10232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10233         file.
10234         multiarch llround for PPC64.
10235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10236         multiarch ceil for PPC64.
10237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10238         multiarch ceilf for PPC64.
10239
10240         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10241         multiarch implementation.
10242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10243         file.
10244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10245         file.
10246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10247         file.
10248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10249         multiarch llround for PPC64.
10250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10251         multiarch lround for PPC64.
10252
10253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10254         multiarch implementation.
10255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10258         file.
10259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10262         multiarch isnan for PPC64.
10263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10264         multiarch isnanf for PPC64.
10265
10266         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10267         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10268         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10269         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10270         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10272
10273         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10274         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10275         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10276         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10277
10278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10279         multiarch implementations.
10280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10281         (__libc_ifunc_impl_list): Likewise.
10282         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10283         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10284         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10285         multiarch stpcpy for PPC64.
10286
10287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10288         multiarch implementations.
10289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10290         (__libc_ifunc_impl_list): Likewise.
10291         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10292         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10293         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10294         multiarch strcpy for PPC64.
10295
10296         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10297         redefine function name.
10298         (_wordcopy_fwd_dest_aligned): Likewise.
10299         (_wordcopy_bwd_aligned): Likewise.
10300         (_wordcopy_bwd_dest_aligned): Likewise.
10301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10302         multiarch implementations.
10303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10304         (__libc_ifunc_impl_list): Likewise.
10305         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10306         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10307         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10308         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10309         multiarch wcscpy for PPC64.
10310
10311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10312         multiarch implementations.
10313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10314         (__libc_ifunc_impl_list): Likewise.
10315         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10316         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10317         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10318         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10319         multiarch wcscpy for PPC64.
10320
10321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10322         multiarch implementations.
10323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10324         (__libc_ifunc_impl_list): Likewise.
10325         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10326         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10327         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10328         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10329         multiarch wcsrchr for PPC64.
10330
10331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10332         multiarch implementations.
10333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10334         (__libc_ifunc_impl_list): Likewise.
10335         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10336         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10337         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10338         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10339         multiarch wcschr for PPC64.
10340
10341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10342         multiarch implementations.
10343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10344         (__libc_ifunc_impl_list): Likewise.
10345         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10346         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10347         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10348         multiarch strchrnul for PPC64.
10349
10350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10351         implementations.
10352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10353         (__libc_ifunc_impl_list): Likewise.
10354         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10355         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10356         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10357         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10358         strchr for PPC64.
10359
10360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10361         implementations.
10362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10363         (__libc_ifunc_impl_list): Likewise.
10364         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10365         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10366         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10367         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10368         strncmp for PPC64.
10369
10370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10371         multiarch implementations.
10372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10373         (__libc_ifunc_impl_list): Likewise.
10374         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10375         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10376         strncasecmp for PPC64.
10377         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10378         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10379         multiarch strncasecmp_l for PPC64.
10380
10381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10382         multiarch implementations.
10383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10384         (__libc_ifunc_impl_list): Likewise.
10385         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10386         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10387         multiarch strcasecmp for PPC64.
10388         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10389         file.
10390         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10391         multiarch strcasecmp_l for PPC64.
10392
10393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10394         implementations.
10395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10396         (__libc_ifunc_impl_list): Likewise.
10397         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10398         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10399         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10400         strnlen for PPC64.
10401
10402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10403         implementations.
10404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10405         (__libc_ifunc_impl_list): Likewise.
10406         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10407         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10408         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10409         strlen for PPC64.
10410
10411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10412         implementations.
10413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10414         (__libc_ifunc_impl_list): Likewise.
10415         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10416         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10417         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10418         rawmemrchr for PPC64.
10419
10420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10421         implementation.
10422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10423         (__libc_ifunc_impl_list): Likewise.
10424         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10425         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10426         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10427         memrchr for PPC64.
10428
10429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10430         implementation.
10431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10432         (__libc_ifunc_impl_list): Likewise.
10433         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10434         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10435         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10436         memchr for PPC64.
10437
10438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10439         implementation.
10440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10441         (__libc_ifunc_impl_list): Likewise.
10442         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10443         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10444         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10445         mempcpy for PPC64.
10446
10447         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10448         avoid cretion of __bzero symbol.
10449         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10450         Likewise.
10451         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10452         Likewise.
10453         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10454         Likewise.
10455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10456         multiarch implementations.
10457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10458         (__libc_ifunc_impl_list): Likewise.
10459         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10460         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10461         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10462         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10463         bzero for PPC32.
10464         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10465         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10466         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10467         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10468         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10469         memset for PPC64.
10470         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10471
10472         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10474         implementations.
10475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10476         (__libc_ifunc_impl_list): Likewise.
10477         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10478         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10479         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10480         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10481         memcmp for PPC64.
10482
10483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10484         multiarch for POWER/PPC64.
10485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10486         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10487         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10488         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10489         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10490         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10491         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10492         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10493         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10494         memcpy for PPC64.
10495
10496         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10497         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10498         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10499         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10500         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10501         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10502         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10503         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10504         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10505         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10506         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10507         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10508         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10509         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10510         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10518
10519 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10520
10521         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10522
10523 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10524
10525         * benchtests/Makefile (bench): Add exp2 and log2.
10526         (LDLIBS-bench-exp2): Add -lm.
10527         (LDLIBS-bench-log2): Likewise.
10528         * benchtests/exp2-inputs: New inputs file.
10529         * benchtests/log2-inputs: New inputs file.
10530         * benchtests/log-inputs: Add new inputs.
10531         * benchtests/tan-inputs: Likewise.
10532
10533 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10534
10535         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10536         definition...
10537         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10538         (csloww2): ... from here.
10539
10540         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10541         instead of structures.
10542         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10543         (POLYNOMIAL): Likewise.
10544         (TAYLOR_SLOW): Likewise.
10545         (__sin): Likewise.
10546         (__cos): Likewise.
10547         (slow1): Likewise.
10548         (slow2): Likewise.
10549         (sloww): Likewise.
10550         (sloww1); Likewise.
10551         (sloww2): Likewise.
10552         (bsloww1): Likewise.
10553         (bsloww2): Likewise.
10554         (cslow2): Likewise.
10555         (csloww): Likewise.
10556         (csloww1): Likewise.
10557         (csloww2): Likewise.
10558
10559 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
10560
10561         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10562         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10563         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10564         * malloc/hooks.c (realloc_check): Likewise.
10565
10566         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10567         * malloc/arena.c: Remove PER_THREAD conditional.
10568         [!PER_THREAD]: Remove code.
10569         (ptmalloc_unlock_all2): Likewise.
10570         (ptmalloc_init): Likewise.
10571         (_int_new_arena): Likewise.
10572         (arena_get2): Likewise.
10573         * malloc/hooks.c (__malloc_get_state): Likewise.
10574         (__malloc_set_state): Likewise.
10575         * malloc/malloc.c: Likewise.
10576         (struct malloc_state): Likewise.
10577         (struct malloc_par): Likewise.
10578         (__libc_realloc): Likewise.
10579         (__libc_mallopt): Likewise.
10580
10581 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10582
10583         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10584
10585 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
10586
10587         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10588         macro to a function.  Check for zero perturb_byte.
10589         (_int_malloc, _int_free): Remove zero perturb_byte checks.
10590
10591         * malloc/malloc.c: (force_reg): Remove.
10592         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10593         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10594         force_reg by atomic_forced_read.
10595         * malloc/arena.c (ptmalloc_init): Likewise.
10596         * malloc/hooks.c (top_check): Likewise.
10597
10598 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10599
10600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10601
10602 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
10603
10604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10605
10606 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
10607
10608         * math/auto-libm-test-in: Add tests of lgamma.
10609         * math/auto-libm-test-out: Regenerated.
10610         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10611         (M_LOG_2_SQRT_PIl): Likewise.
10612         (lgamma_test_data): Use AUTO_TESTS_f_f1.
10613         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10614         mpfr_f_f1.
10615         (func_calc_desc): Add mpfr_f_f1 union field.
10616         (ARGS1): New macro.
10617         (ARGS2): Likewise.
10618         (ARGS3): Likewise.
10619         (ARGS4): Likewise.
10620         (RET1): Likewise.
10621         (RET2): Likewise.
10622         (CALC): Likewise.
10623         (FUNC): Likewise.
10624         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10625         (test_functions): Add lgamma.
10626         (calc_generic_results): Handle mpfr_f_f1.
10627         * sysdeps/i386/fpu/libm-test-ulps: Update.
10628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10629
10630 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10631
10632         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10633         __mpn_add_n for PowerPC64/POWER7.
10634         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10635         __mpn_sub_n for PowerPC64/POWER7.
10636
10637         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10638         __mpn_addmul_1 for PowerPC64.
10639         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10640         __mpn_submul_1 for PowerPC64.
10641         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10642         for PowerPC64.
10643         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10644         for PowerPC64.
10645
10646 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
10647
10648         [BZ #15089]
10649         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10650
10651 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10652
10653         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10654
10655         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10656         add multiarch folders.
10657         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10658         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10659         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10660         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10661         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10662         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10663         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10664         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10665         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10666         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10667         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10674
10675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10676         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10678         New file.
10679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10680         New file.
10681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10682         multiarch __ieee754_hypot for PowerPC32.
10683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10684         New file.
10685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10686         New file.
10687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10688         multiarch __ieee754_hypotf for PowerPC32.
10689
10690         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10691         long_double_symbol only if __logbl is defined.
10692         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10693         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10694         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10695         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10696         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10697         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10698         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10699         path for implementation.
10700         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10701         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10703         logb, and logbl multiarch implementations for PowerPC32.
10704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10705         file.
10706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10707         file.
10708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10709         multiarch logb for PowerPC32.
10710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10711         file.
10712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10713         file.
10714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10715         multiarch logbf for PowerPC32.
10716         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10718         file.
10719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10720         multiarch logbl implementation for PowerPC32.
10721
10722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10723         and modff multiarch implementations.
10724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10725         New file.
10726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10727         New file.
10728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10729         multiarch modf for PowerPC32.
10730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10731         New file.
10732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10733         New file.
10734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10735         multiarch modff for PowerPC32.
10736
10737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10738         and lrintf multiarch implementations.
10739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10740         New file.
10741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10742         New file.
10743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10744         multiarch lrint for PowerPC32.
10745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10746         file: multiarch lrintf for PowerPC32.
10747
10748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10749         and lroundf multiarch implementations.
10750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10751         New file.
10752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10753         New file.
10754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10755         New file.
10756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10757         multiarch lround for PowerPC32.
10758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10759         file: multiarch lroundf for PowerPC32.
10760
10761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10762         copysign and copysignf multiarch implementations.
10763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10764         New file.
10765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10766         New file.
10767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10768         file: multiarch copysign for PowerPC32.
10769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10770         file: multiarch copysignf for PowerPC32.
10771
10772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10773         and truncf multiarch implementations.
10774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10775         New file.
10776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10777         file.
10778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10779         multiarch trunc for PowerPC32.
10780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10781         New file.
10782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10783         New file.
10784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10785         multiarch truncf for PowerPC32.
10786
10787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10788         and roundf multiarch implementations.
10789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10790         New file.
10791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10792         file.
10793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10794         multiarch round for PowerPC32.
10795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10796         New file.
10797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10798         New file.
10799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10800         multiarch roundf for PowerPC32.
10801
10802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10803         and floorf multiarch implementations.
10804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10805         New file.
10806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10807         file.
10808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10809         multiarch floor for PowerPC32.
10810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10811         New file.
10812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10813         New file.
10814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10815         multiarch floorf for PowerPC32.
10816
10817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10818         and ceilf multiarch implementations.
10819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10820         New file.
10821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10822         file.
10823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10824         multiarch ceil for PowerPC32.
10825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10826         New file.
10827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10828         file.
10829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10830         multiarch ceilf for PowerPC32.
10831
10832         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10833         is defined.
10834         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10835         FINITEF is defined.
10836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10837         and finitef multiarch implementations.
10838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10839         New file.
10840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10841         file.
10842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10843         multiarch finite for PowerPC32.
10844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10845         New file.
10846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10847         file: multiarch finitef for PowerPC32.
10848
10849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10850         and isinff multiarch implementations.
10851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10852         file.
10853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10854         file.
10855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10856         multiarch isinf for PowerPC32.
10857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10858         New file.
10859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10860         multiarch isinff for PowerPC32.
10861
10862         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10863         alias when __isnan is defined.
10864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10865         and isnanf multiarch implementations.
10866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10867         file.
10868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10869         file.
10870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10871         file.
10872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10873         file.
10874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10875         multiarch isnan for PowerPC32.
10876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10877         New file.
10878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10879         New file.
10880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10881         multiarch isnanf for PowerPC32.
10882
10883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10884         and sqrtf multiarch implementations.
10885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10886         file.
10887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10888         file.
10889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10890         multiarch sqrt for PowerPC32.
10891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10892         file.
10893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10894         file.
10895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10896         multiarch sqrtf for PowerPC32.
10897
10898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10899         and llroundf multiarch implementations.
10900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10901         New file.
10902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10903         New file.
10904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10905         New file.
10906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10907         file: multiarch llround for PowerPC32.
10908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10909         file: multiarch llroundf for PowerPC32.
10910
10911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10912         multiarch PowerPC32 fpu implementations.
10913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10914         New file.
10915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10916         New file.
10917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10918         multiarch llrint for PowerPC32.
10919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10920         New file.
10921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10922         New file.
10923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10924         file.
10925
10926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10927
10928         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10929         file.
10930         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10931         file.
10932         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10933         file.
10934         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10935         multiarch wordcopy for PPC32.
10936         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10937         wordcopy objects.
10938         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10939         (__libc_ifunc_impl_list): Likewise.
10940         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10941         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10942         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10943         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10944         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10945         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10946
10947         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10949         file.
10950         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10951         file.
10952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10953         file.
10954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10955         multiarch wcscpy for PPC32.
10956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10957         multiarch objects.
10958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10959         (__libc_ifunc_impl_list): Likewise.
10960         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10961         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10962         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10963         sysdeps/powerpc/power6/wcscpy.c.
10964
10965         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10967         file.
10968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10969         file.
10970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10971         file.
10972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10973         multiarch wcsrchr for PPC32.
10974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10975         multiarch objects.
10976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10977         (__libc_ifunc_impl_list): Likewise.
10978         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10979         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10980         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10981         sysdeps/powerpc/power6/wcsrchr.c.
10982
10983         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10984         file.
10985         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10986         file.
10987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10988         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10989         multiarch wcschr for PPc32.
10990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10991         multiarch objects.
10992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10993         (__libc_ifunc_impl_list): Likewise.
10994         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10995         * sysdeps/powerpc/power6/wcschr.c: ... to here.
10996         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10997         sysdeps/powerpc/power6/wcschr.c.
10998
10999         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11000         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11001         file.
11002         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11003         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11004         file: multiarch strchr for PPC32.
11005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11006         multiarch objects.
11007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11008         (__libc_ifunc_impl_list): Likewise.
11009
11010         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11011         name.
11012         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11013         file.
11014         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11015         file.
11016         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11017         multiarch strchrnul for PPC32.
11018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11019         multiarch objects.
11020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11021         (__libc_ifunc_impl_list): Likewise.
11022
11023         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11024         file.
11025         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11026         multiarch strncasecmp for PPC32.
11027         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11028         file.
11029         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11030         multiarch strncasecmp_l for PPC32.
11031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11032         strncasecmp multiarch objects.
11033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11034         (__libc_ifunc_impl_list): Likewise.
11035
11036         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11037         file.
11038         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11039         multiarch strncasecmp for PPC32.
11040         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11041         New file.
11042         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11043         multiarch strcasecmp_l for PPC32.
11044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11045         multiarch objects.
11046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11047         (__libc_ifunc_impl_list): Likewise.
11048
11049         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11050         file.
11051         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11052         file.
11053         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11054         multiarch strncmp for PPC32.
11055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11056         multiarch objects.
11057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11058         (__libc_ifunc_impl_list): Likewise.
11059
11060         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11061         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11062         file.
11063         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11064         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11066         multiarch objects.
11067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11068         (__libc_ifunc_impl_list): Likewise.
11069
11070         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11071         file.
11072         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11073         file.
11074         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11076         multiarch objects.
11077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11078         (__libc_ifunc_impl_list): Likewise.
11079
11080         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11081         file.
11082         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11083         file.
11084         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11085         multiarch rawmemchr for PPC32.
11086         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11087         multiarch objects.
11088         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11089         (__libc_ifunc_impl_list): Likewise.
11090
11091         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11092         file.
11093         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11094         file.
11095         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11096         file: memrchr multiarch for PPC32.
11097         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11098         multiarch objects.
11099         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11100         (__libc_ifunc_impl_list): Likewise.
11101
11102         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11103         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11104         file.
11105         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11106         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11107         multiarch memchr for PPC32.
11108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11109         multiarch objects.
11110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11111         (__libc_ifunc_impl_list): Likewise.
11112
11113         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11114         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11115         file.
11116         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11117         file.
11118         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11119         file: multiarch mempcpy for PPC32.
11120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11121         multiarch objects.
11122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11123         (__libc_ifunc_impl_list): Likewise.
11124
11125         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11126         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11127         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11128         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11129         multiarch bzero for PPC32.
11130         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11131         file.
11132         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11133         file.
11134         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11135         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11136         file: multiarch memset for PPC32.
11137         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11139         memset multiarch objects.
11140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11141         (__libc_ifunc_impl_list): Likewise.
11142
11143         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11144         file.
11145         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11147         memcmp for PPC32.
11148         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11150         multiarch objects.
11151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11152         (__libc_ifunc_impl_list): Likewise.
11153
11154         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11155         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11156         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11157         file.
11158         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11159         file.
11160         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11161         file.
11162         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11163         multiarch memcpy for PPC32.
11164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11165         multiarch objects.
11166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11167         (__libc_ifunc_impl_list): Likewise.
11168
11169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11170         support multiarch for POWER/PPC32.
11171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11172         Likewise.
11173         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11175         Implies file to make multiarch folder appers before the fpu and
11176         default folder for power4 configuration.
11177
11178 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11179
11180         * scripts/bench.pl: Append volatile keyword to type.
11181
11182 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11183
11184         * sysdeps/sh/sotruss-lib.c: New file.
11185         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11186
11187 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11188
11189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11190
11191 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11192
11193         [BZ #6810]
11194         * math/w_tgamma.c: Include <errno.h>.
11195         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11196         * math/w_tgammaf.c: Include <errno.h>.
11197         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11198         * math/w_tgammal.c: Include <errno.h>.
11199         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11200         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11201         underflow.  Add more tgamma tests.
11202         * math/auto-libm-test-out: Regenerated.
11203         * sysdeps/i386/fpu/libm-test-ulps: Update.
11204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11205
11206         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11207         sin, sinh, tan, tanh, tgamma, y0 and y1.
11208         * math/auto-libm-test-out: Regenerated.
11209         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11210         (TEST_COND_x86): Likewise.
11211         (M_E2l): Remove macro.
11212         (M_E3l): Likewise.
11213         (M_2_SQRT_PIl): Likewise.
11214         (M_SQRT_PIl): Likewise.
11215         (M_1_DIV_El): Likewise.
11216         (log_test_data): Use AUTO_TESTS_f_f.
11217         (log10_test_data): Likewise.
11218         (log1p_test_data): Likewise.
11219         (log2_test_data): Likewise.
11220         (sin_test_data): Likewise.
11221         (sin_tonearest_test_data): Likewise.
11222         (sin_towardzero_test_data): Likewise.
11223         (sin_downward_test_data): Likewise.
11224         (sin_upward_test_data): Likewise.
11225         (sinh_test_data): Likewise.
11226         (sinh_tonearest_test_data): Likewise.
11227         (sinh_towardzero_test_data): Likewise.
11228         (sinh_downward_test_data): Likewise.
11229         (sinh_upward_test_data): Likewise.
11230         (tan_test_data): Likewise.
11231         (tan_tonearest_test_data): Likewise.
11232         (tan_towardzero_test_data): Likewise.
11233         (tan_downward_test_data): Likewise.
11234         (tan_upward_test_data): Likewise.
11235         (tanh_test_data): Likewise.
11236         (tgamma_test_data): Likewise.
11237         (y0_test_data): Likewise.
11238         (y1_test_data): Likewise.
11239         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11240         (special_real_inputs): Add pi/4.
11241         * sysdeps/i386/fpu/libm-test-ulps: Update.
11242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11243
11244 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11245
11246         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11247         "longjmp_target" static probes.
11248         (__longjmp): Rename to __longjmp_symbol.
11249         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11250         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11251         on which longjmp to generate.
11252         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11253         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11254         probe.
11255         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11256         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11257         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11258         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11259         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11260         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11262         __longjmp_symbol based on which __longjmp to generate.
11263         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11264         probe.
11265         (setjmp): Rename to setjmp_symbol.
11266         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11267         (_setjmp): Rename to _setjmp_symbol.
11268         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11269         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11270         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11271         which setjmp to generate.
11272         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11273         "longjmp_target" static probes.
11274
11275 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11276
11277         * benchtests/README: Add note about output arguments.
11278         * benchtests/bench-sincos.c: Remove file.
11279         * benchtests/sincos-inputs: New file.
11280         * scripts/bench.pl: Identify output arguments and define
11281         static variables for them.
11282
11283         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11284
11285         [BZ #15941]
11286         * Makefile (INSTALL): Add install-plain.texi as the primary
11287         dependency.
11288         * manual/install-plain.texi: New file.
11289         * manual/install.texi: Include node directive only for
11290         non-plaintext output.
11291
11292 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11293
11294         * stdlib/longlong.h: Update from GCC.
11295
11296         [BZ #6807]
11297         [BZ #15901]
11298         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11299         * math/w_j0f.c (y0f): Likewise.
11300         * math/w_j0l.c (__y0l): Likewise.
11301         * math/w_j1.c (y1): Likewise.
11302         * math/w_j1f.c (y1f): Likewise.
11303         * math/w_j1l.c (__y1l): Likewise
11304         * math/w_jn.c (yn): Likewise.
11305         * math/w_jnf.c (ynf): Likewise.
11306         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11307         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11308         value for Bessel function domain errors outside _SVID_ mode.
11309         Adjust sign of return value for yn (negative integer, 0).
11310         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11311         by zero in return for negative x and set sign appropriately for
11312         negative n.
11313         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11314         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11315         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11316         expectations in error cases.
11317         (y1_test_data): Likewise.
11318         (yn_test_data): Likewise.
11319         * sysdeps/i386/fpu/libm-test-ulps: Update.
11320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11321
11322 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11323
11324         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11325         "64" to "64-v1".  Add "64-v2".
11326         (abi-64-options): Rename to ...
11327         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11328         (abi-64-condition): Rename to ...
11329         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11330         (abi-64-ld-soname): Rename to ...
11331         (abi-64-v1-ld-soname): ... this.
11332         (abi-64-v2-options): Define.
11333         (abi-64-v2-condition): Likewise.
11334         (abi-64-v2-ld-soname): Likewise.
11335         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11336         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11340
11341 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11342             Alan Modra  <amodra@gmail.com>
11343
11344         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11345         New versions for use with the ELFv2 ABI.
11346         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11347         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11348         declaration.
11349         (struct La_ppc64v2_retval): Likewise.
11350         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11351         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11352         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11353         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11354         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11355         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11356         Do not save or restore CR.
11357         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11358         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11359         return values for ELFv2 ABI.  Fix location of FPR return registers.
11360         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11361         updated values for _CALL_ELF == 2.
11362         (La_regs, La_retval, int_retval): Likewise.
11363
11364 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11365
11366         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11367         (FRAME_MIN_SIZE_PARM): Likewise.
11368         (FRAME_BACKCHAIN): Likewise.
11369         (FRAME_CR_SAVE): Likewise.
11370         (FRAME_LR_SAVE): Likewise.
11371         (FRAME_TOC_SAVE): Likewise.
11372         (FRAME_PARM_SAVE): Likewise.
11373         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11374         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11375         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11376         (call_mcount_parm_offset): New macro.
11377         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11378         (PROF): Use symbolic stack frame offsets.
11379         (TAIL_CALL_SYSCALL_ERROR): Likewise.
11380         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11381         Redefine in terms of FRAME_MIN_SIZE.
11382         (_dl_runtime_resolve): Use symbolic stack frame offsets.
11383         (_dl_profile_resolve): Likewise.  Update comment.
11384         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11385         symbols stack frame offsets.
11386         (__sigsetjmp): Likewise.
11387         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11388         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11389         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11390         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11391
11392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11393         (FRAME_BACKCHAIN): Remove.
11394         (FRAME_CR_SAVE): Likewise.
11395         (FRAME_LR_SAVE): Likewise.
11396         (FRAME_COMPILER_DW): Likewise.
11397         (FRAME_LINKER_DW): Likewise.
11398         (FRAME_TOC_SAVE): Likewise.
11399         (FRAME_PARM_SAVE): Likewise.
11400         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11401         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11402         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11404         (CHECK_SP): Use symbolic stack frame offsets.
11405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11406         zone" instead of caller's parameter save area for temp storage.
11407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11408         Likewise.  Also, use symbolic stack frame offsets.
11409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11410         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11411         our own stack frame instead of the caller's.
11412         (__socket): Use symbolic stack frame offsets.
11413
11414 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11415             Alan Modra  <amodra@gmail.com>
11416
11417         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11418         Define.
11419         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11420         (PPC64_LOCAL_ENTRY_OFFSET): Define.
11421         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11422         New function.
11423         (elf_machine_fixup_plt): Call it.
11424         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
11425         reloc arguments.
11426         (elf_machine_rela): Update call to elf_machine_plt_conflict.
11427         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11428         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11429         r2 before calling target.
11430
11431 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11432             Alan Modra  <amodra@gmail.com>
11433
11434         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11435         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11436         versions of macros to support ELFv2 ABI.
11437         (LOCALENTRY): New macro.
11438         (ENTRY, EALIGN): Use it.
11439         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11440         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11441         fall through into ENTRY entry point.
11442         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11443         Only define if _CALL_ELF != 2.
11444
11445         (elf_machine_matches_host): Verify ABI version matches.
11446         (RTLD_START): Use LOCALENTRY.
11447         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11448         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11449         (PLT_ENTRY_WORDS): New macro.
11450         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11451         (elf_machine_runtime_setup): Support ELFv2 ABI.
11452         (elf_machine_fixup_plt): Likewise.
11453         (elf_machine_plt_conflict): Likewise.
11454         (resolve_ifunc): Likewise.
11455         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11456         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11457         Likewise.
11458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11459         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11461         (makecontext): Support ELFv2 ABI.
11462         * elf/elf.h (EF_PPC64_ABI): Define.
11463
11464 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11465
11466         * sysdeps/powerpc/powerpc64/sysdep.h
11467         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11468         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11469         (ENTRY) [ASSEMBLER]: ... but instead here ...
11470         (EALIGN) [ASSEMBLER]: ... and here.
11471         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11472         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11473         (ENTRY_2) [!ASSEMBLER]: Use it.
11474         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11475         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
11476         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11477         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11478         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11480         Use PPC64_LOAD_FUNCPTR.
11481
11482         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11483
11484 2013-12-04  Alan Modra  <amodra@gmail.com>
11485
11486         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11487         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11488         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11489         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11490
11491         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11492         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11493         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11494         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11495         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11496         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11497
11498 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11499
11500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11501         (__makecontext): Fix incorrect CFI when backtracing out of
11502         context created via makecontext.
11503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11504         (__setcontext): Fix incorrect CFI during switch to new context.
11505         (__novec_setcontext): Likewise.
11506
11507 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11508
11509         [BZ #4772]
11510         * time/strptime_l.c (__strptime_internal): Allow modifiers
11511         in strptime.
11512         * time/tst-strptime.c (day_tests): Add testcase.
11513
11514 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11515
11516         * scripts/bench.pl: Skip over blank lines.
11517
11518 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11519
11520         [BZ #926]
11521         * manual/time.texi (Calendar Time): Clarify what timezone functions
11522         use.
11523
11524 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11525
11526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11527
11528 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11529
11530         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11531         implementation.
11532         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11533         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11534         * debug/memset_chk.c (__memset_chk): Likewise.
11535         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11536         * debug/strncpy_chk.c: Likewise.
11537
11538 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11539
11540         [BZ #15268]
11541         [BZ #15425]
11542         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11543         (__ieee754_exp): For possibly underflowing results, check size of
11544         result and force underflow exception if required.
11545         * math/auto-libm-test-in: Add more tests of exp.
11546         * math/auto-libm-test-out: Regenerated.
11547         * sysdeps/i386/fpu/libm-test-ulps: Update.
11548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11549
11550         [BZ #16283]
11551         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11552         * math/w_exp2f.c (__exp2f): Likewise.
11553         * math/w_exp2l.c (__exp2l): Likewise.
11554         * math/auto-libm-test-in: Do not allow missing errno on exp2
11555         underflow.
11556         * math/auto-libm-test-out: Regenerated.
11557
11558 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
11559
11560         [BZ #16274]
11561         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11562         handle filename validation.
11563         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11564         (do_open): Delete.
11565
11566 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11567
11568         [BZ #6786]
11569         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11570         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11571         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11572         <float.h>.
11573         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11574         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11575         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11576         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11577         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11578         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11579         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11580         * math/auto-libm-test-in: Don't allow missing errno from erfc.
11581         Add more erfc tests.
11582         * math/auto-libm-test-out: Regenerated.
11583         * sysdeps/i386/fpu/libm-test-ulps: Update.
11584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11585
11586         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11587         exp2, expm1, j0 and j1.
11588         * math/auto-libm-test-out: Regenerated.
11589         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11590         (erfc_test_data): Likewise.
11591         (exp_test_data): Likewise.
11592         (exp_tonearest_test_data): Likewise.
11593         (exp_towardzero_test_data): Likewise.
11594         (exp_downward_test_data): Likewise.
11595         (exp_upward_test_data): Likewise.
11596         (exp10_test_data): Likewise.
11597         (exp2_test_data): Likewise.
11598         (expm1_test_data): Likewise.
11599         (j0_test_data): Likewise.
11600         (j1_test_data): Likewise.
11601         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11602         (input_flag_type): Add flag_xfail_rounding.
11603         (input_flags): Add xfail-rounding.
11604         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11605         (output_for_one_input_case): Handle flag_xfail_rounding.
11606         * sysdeps/i386/fpu/libm-test-ulps: Update.
11607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11608
11609 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
11610
11611         [BZ #16289]
11612         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11613         division by 0.
11614
11615 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11616
11617         [BZ #16195]
11618         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11619         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11620         (STAP_PROBE0): New macro.
11621         (STAP_PROBE1): Likewise.
11622         (STAP_PROBE2): Likewise.
11623         (STAP_PROBE3): Likewise.
11624         (STAP_PROBE4): Likewise.
11625
11626 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
11627
11628         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11629
11630 2013-12-02  Steve Ellcey  <sellcey@mips.com>
11631
11632         * benchtests/Makefile (bench): Add sqrt.
11633         (LDLIBS-bench-sqrt): New.
11634         * benchtests/sqrt-input: New.
11635
11636 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
11637
11638         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11639         (GAIH_EAI): Likewise.
11640         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11641         (gaih_inet): Likewise.
11642         (getaddrinfo): Don't use GAIH_EAI.
11643
11644         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11645         (struct gaih): Remove definition.
11646
11647 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11648
11649         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11650         Use HERRNOP directly.
11651
11652 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11653
11654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11655
11656 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
11657
11658         * math/gen-auto-libm-tests.c (test_functions): Add more
11659         single-argument functions.
11660         (special_fill_pi_2): New function.
11661         (special_fill_minus_pi_2): Likewise.
11662         (special_fill_pi_6): Likewise.
11663         (special_fill_minus_pi_6): Likewise.
11664         (special_fill_pi_3): Likewise.
11665         (special_fill_2pi_3): Likewise.
11666         (special_fill_e): Likewise.
11667         (special_fill_1_e): Likewise.
11668         (special_fill_e_minus_1): Likewise.
11669         (special_real_inputs): Add more special inputs.
11670         (output_for_one_input_case): Do not require ERANGE on underflow to
11671         zero if round-to-nearest result does not underflow to zero, unless
11672         exact results required.
11673         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11674         atan, atanh, cbrt, cos and cosh.
11675         * math/auto-libm-test-out: Regenerated.
11676         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11677         (acos_tonearest_test_data): Likewise.
11678         (acos_towardzero_test_data): Likewise.
11679         (acos_downward_test_data): Likewise.
11680         (acos_upward_test_data): Likewise.
11681         (acosh_test_data): Likewise.
11682         (asin_test_data): Likewise.
11683         (asin_tonearest_test_data): Likewise.
11684         (asin_towardzero_test_data): Likewise.
11685         (asin_upward_test_data): Likewise.
11686         (asinh_test_data): Likewise.
11687         (atan_test_data): Likewise.
11688         (atanh_test_data): Likewise.
11689         (cbrt_test_data): Likewise.
11690         (cos_test_data): Likewise.
11691         (cos_tonearest_test_data): Likewise.
11692         (cos_towardzero_test_data): Likewise.
11693         (cos_downward_test_data): Likewise.
11694         (cos_upward_test_data): Likewise.
11695         (cosh_test_data): Likewise.
11696         (cosh_tonearest_test_data): Likewise.
11697         (cosh_towardzero_test_data): Likewise.
11698         (cosh_downward_test_data): Likewise.
11699         (cosh_upward_test_data): Likewise.
11700         * sysdeps/i386/fpu/libm-test-ulps: Update.
11701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11702
11703 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
11704
11705         [BZ #6787]
11706         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11707         * math/w_exp10f.c (__exp10f): Likewise.
11708         * math/w_exp10l.c (__exp10l): Likewise.
11709         * math/libm-test.inc (exp10_test_data): Add more tests and expect
11710         errno settings in existing tests.
11711
11712         [BZ #14032]
11713         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11714         precision control set to double precision.
11715         * sysdeps/i386/fpu/w_sqrt.c: New file.
11716         * math/auto-libm-test-in: Add more tests.
11717         * math/auto-libm-test-out: Update.
11718
11719         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11720         (sqrt_test_tonearest): New function.
11721         (sqrt_towardzero_test_data): New variable.
11722         (sqrt_test_towardzero): New function.
11723         (sqrt_downward_test_data): New variable.
11724         (sqrt_test_downward): New function.
11725         (sqrt_upward_test_data): New variable.
11726         (sqrt_test_upward): New function.
11727         (main): Call the new functions.
11728
11729         * math/gen-auto-libm-tests.c: New file.
11730         * math/auto-libm-test-in: Likewise.
11731         * math/auto-libm-test-out: New generated file.
11732         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11733         variables.
11734         (%beautify): Add generated representations of zero.
11735         (top level): Set $auto_input and call parse_auto_input.
11736         (beautify): Remove trailing "f" from hex float constants.
11737         (parse_args): Handle XFAIL_TEST.
11738         (convert_condition): New function.
11739         (or_value): Likewise.
11740         (or_cond_value): Likewise.
11741         (generate_testfile): Handle AUTO_TESTS_* lines.
11742         (parse_auto_input): New function.
11743         * math/libm-test.inc (XFAIL_TEST): New macro.
11744         (ERRNO_UNCHANGED): Update value.
11745         (ERRNO_EDOM): Likewise.
11746         (ERRNO_ERANGE): Likewise.
11747         (IGNORE_RESULT): Likewise.
11748         (TEST_COND_flt_32): New macro.
11749         (TEST_COND_dbl_64): Likewise.
11750         (TEST_COND_ldbl_96_intel): Likewise.
11751         (TEST_COND_ldbl_96_m68k): Likewise.
11752         (TEST_COND_ldbl_128): Likewise.
11753         (TEST_COND_ldbl_128ibm): Likewise.
11754         (TEST_COND_long32): Likewise.
11755         (TEST_COND_long64): Likewise.
11756         (TEST_COND_before_rounding): Likewise.
11757         (TEST_COND_after_rounding): Likewise.
11758         (enable_test): Handle XFAIL_TEST flag.
11759         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11760         with finite results.
11761         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11762         auto-libm-test-out.
11763
11764 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11765             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11766
11767         [BZ #16214]
11768         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11769         __tls_get_addr_internal instead of __tls_get_offset in order to
11770         avoid GOT pointer dependency.  Make rtld export
11771         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11772         __tls_get_addr since we are a __tls_get_offset platform.
11773         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11774         GOT pointer being set up before.
11775         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11776
11777 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
11778
11779         * manual/math.texi (Errors in Math Functions): Document accuracy
11780         goals.
11781
11782         [BZ #15004]
11783         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11784         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11785         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11786         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11787         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11788         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11789         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11790         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11791         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11792         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11793         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11794         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11795         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11796         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11797         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11798         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11799
11800         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11801         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11802         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11803         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11804         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11805         Likewise.
11806         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11807         Likewise.
11808         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11809         Likewise.
11810         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11811         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11812         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11813         atomic-feupdateenv and flt-rounds.
11814         * sysdeps/powerpc/nofpu/Versions (libc): Add
11815         __atomic_feholdexcept, __atomic_feclearexcept,
11816         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11817         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11818         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11819         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11820         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11821         here.
11822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11823         Update.
11824
11825         * manual/arith.texi (FP Exceptions): Document that exceptions may
11826         not be raised when matherr is used.
11827         (Math Error Reporting): Document overflow in directed rounding
11828         modes.  Document that errno may not be set when finite values are
11829         returned on overflow.  Document intent to set errno on underflow
11830         only for underflow to zero.
11831
11832         [BZ #16271]
11833         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11834         round-to-nearest then adjust result for other rounding modes.
11835         * include/fenv.h (fegetround): Use libm_hidden_proto.
11836         * math/fegetround.c (fegetround): Use libm_hidden_def.
11837         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11838         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11839         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11840         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11841         Likewise.
11842         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11843         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11844         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11845         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11846
11847 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11848
11849         [BZ #16077]
11850         * nss/Versions (libnss_files): Add
11851         _nss_files_gethostbyname3_r.
11852         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11853         New function.
11854         (HOST_DB_LOOKUP): Remove macro.
11855         (_nss_files_gethostbyname_r): Implement function without the
11856         HOST_DB_LOOKUP macro.
11857         (_nss_files_gethostbyname2_r): Likewise.
11858
11859 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
11860
11861         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11862
11863 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
11864
11865         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11866         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11867         warning.
11868
11869 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11870
11871         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11872         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11873         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11874         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11875         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11876         __fe_nomask_env_priv and attribute_hidden.
11877         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11878         (libc_feupdateenv_test_ppc): Likewise.
11879         (libc_feresetround_ppc): Likewise.
11880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11881         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11882         compat_symbol macro.
11883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11884         (__fe_nomask_env): Likewise.
11885         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11886
11887 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11888
11889         * string/Makefile: Remove ifunc tests.
11890         * string/test-string.h: Define TEST_IFUNC.
11891         * string/test-bcopy-ifunc.c: Remove.
11892         * string/test-bzero-ifunc.c: Likewise.
11893         * string/test-memccpy-ifunc.c: Likewise.
11894         * string/test-memchr-ifunc.c: Likewise.
11895         * string/test-memcmp-ifunc.c: Likewise.
11896         * string/test-memcpy-ifunc.c: Likewise.
11897         * string/test-memmem-ifunc.c: Likewise.
11898         * string/test-memmove-ifunc.c: Likewise.
11899         * string/test-mempcpy-ifunc.c: Likewise.
11900         * string/test-memrchr-ifunc.c: Likewise.
11901         * string/test-memset-ifunc.c: Likewise.
11902         * string/test-rawmemchr-ifunc.c: Likewise.
11903         * string/test-stpcpy-ifunc.c: Likewise.
11904         * string/test-stpncpy-ifunc.c: Likewise.
11905         * string/test-strcasecmp-ifunc.c: Likewise.
11906         * string/test-strcasestr-ifunc.c: Likewise.
11907         * string/test-strcat-ifunc.c: Likewise.
11908         * string/test-strchr-ifunc.c: Likewise.
11909         * string/test-strchrnul-ifunc.c: Likewise.
11910         * string/test-strcmp-ifunc.c: Likewise.
11911         * string/test-strcpy-ifunc.c: Likewise.
11912         * string/test-strcspn-ifunc.c: Likewise.
11913         * string/test-strlen-ifunc.c: Likewise.
11914         * string/test-strncasecmp-ifunc.c: Likewise.
11915         * string/test-strncat-ifunc.c: Likewise.
11916         * string/test-strncmp-ifunc.c: Likewise.
11917         * string/test-strncpy-ifunc.c: Likewise.
11918         * string/test-strnlen-ifunc.c: Likewise.
11919         * string/test-strpbrk-ifunc.c: Likewise.
11920         * string/test-strrchr-ifunc.c: Likewise.
11921         * string/test-strspn-ifunc.c: Likewise.
11922         * string/test-strstr-ifunc.c: Likewise.
11923
11924 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11925
11926         * benchtests/Makefile: Remove ifunc tests.
11927         * benchtests/bench-string.h: Define TEST_IFUNC.
11928         * benchtests/bench-bcopy-ifunc.c: Remove.
11929         * benchtests/bench-bzero-ifunc.c: Likewise.
11930         * benchtests/bench-memccpy-ifunc.c: Likewise.
11931         * benchtests/bench-memchr-ifunc.c: Likewise.
11932         * benchtests/bench-memcmp-ifunc.c: Likewise.
11933         * benchtests/bench-memcpy-ifunc.c: Likewise.
11934         * benchtests/bench-memmem-ifunc.c: Likewise.
11935         * benchtests/bench-memmove-ifunc.c: Likewise.
11936         * benchtests/bench-mempcpy-ifunc.c: Likewise.
11937         * benchtests/bench-memrchr-ifunc.c: Likewise.
11938         * benchtests/bench-memset-ifunc.c: Likewise.
11939         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11940         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11941         * benchtests/bench-stpcpy-ifunc.c: Likewise.
11942         * benchtests/bench-stpncpy-ifunc.c: Likewise.
11943         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11944         * benchtests/bench-strcasestr-ifunc.c: Likewise.
11945         * benchtests/bench-strcat-ifunc.c: Likewise.
11946         * benchtests/bench-strchr-ifunc.c: Likewise.
11947         * benchtests/bench-strchrnul-ifunc.c: Likewise.
11948         * benchtests/bench-strcmp-ifunc.c: Likewise.
11949         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11950         * benchtests/bench-strcpy-ifunc.c: Likewise.
11951         * benchtests/bench-strcspn-ifunc.c: Likewise.
11952         * benchtests/bench-strlen-ifunc.c: Likewise.
11953         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11954         * benchtests/bench-strncat-ifunc.c: Likewise.
11955         * benchtests/bench-strncmp-ifunc.c: Likewise.
11956         * benchtests/bench-strncpy-ifunc.c: Likewise.
11957         * benchtests/bench-strnlen-ifunc.c: Likewise.
11958         * benchtests/bench-strpbrk-ifunc.c: Likewise.
11959         * benchtests/bench-strrchr-ifunc.c: Likewise.
11960         * benchtests/bench-strsep-ifunc.c: Likewise.
11961         * benchtests/bench-strspn-ifunc.c: Likewise.
11962         * benchtests/bench-strstr-ifunc.c: Likewise.
11963
11964 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11965
11966         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11967
11968 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11969
11970         * resolv/netdb.h: Use __glibc_reserved instead __unused.
11971         * rt/aio.h: Likewise.
11972         * sysdeps/gnu/bits/utmp.h: Likewise.
11973         * sysdeps/gnu/bits/utmpx.h: Likewise.
11974         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11975         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11976         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11977         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11978         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11979         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11980         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11981         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11982         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11983         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11984         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11985         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11986         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11988         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11989         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11990         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11991         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11992         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11993         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11994         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11995         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11996         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11997         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11998         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11999         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12000         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12001         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12002         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12003         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12004         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12005         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12006         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12007         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12008         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12009         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12010         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12011         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12012         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12013         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12014         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12015         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12016
12017 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12018
12019         [BZ #16245]
12020         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12021         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12022
12023 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12024
12025         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12026         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12027         Likewise.
12028
12029 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12030
12031         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12032         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12033         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12034         (__fesetround): Remove define.
12035         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12036         rounding and exceptions handling.
12037         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12038         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12039         (__fe_nomask_env): Likewise.
12040         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12041         __fegetround instead of fegetround.
12042         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12043         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12044
12045 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12046
12047         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12048         it's there.
12049
12050         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12051
12052 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12053
12054         [BZ #11157]
12055         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12056         (encrypt_r): Likewise.
12057         * malloc/obstack.h (obstack_free): Likewise.
12058         * posix/unistd.h (encrypt): Likewise.
12059
12060 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12061
12062         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12063         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12064         DL_CALL_DT_FINI() that call the functions directly.
12065         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12066         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12067         * elf/dl-fini.c: Likewise.
12068
12069 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12070
12071         * malloc/hooks.c (memalign_check): Add alignment rounding.
12072         * malloc/malloc.c (_mid_memalign): New function.
12073         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12074         Implement by calling _mid_memalign.
12075         * manual/probes.texi (Memory Allocation Probes): Remove
12076         memory_valloc_retry and memory_pvalloc_retry.
12077
12078 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12079
12080         * locale/programs/locarchive.c (open_archive): Add const
12081         qualifier to ARCHIVEFNAME and copy default fname to
12082         DEFAULT_FNAME.
12083
12084         [BZ #15601]
12085         * libio/tst-widetext.input: Rename Oriya to Odia.
12086         * locale/iso-639.def: Likewise.
12087
12088         * manual/probes.texi (Mathematical Function Probes): Add
12089         documentation for sin, cos, asin and acos probes.
12090         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12091         (__sin32): Add slowasin probe.
12092         (__cos32): Add slowacos probe.
12093         (__mpsin): Add slowsin probe.
12094         (__mpcos): Add slowcos probe.
12095
12096 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12097
12098         [BZ #15483]
12099         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12100         thread-local __sim_exceptions_thread and global
12101         __sim_exceptions_global.
12102         (__sim_disabled_exceptions): Change to thread-local
12103         __sim_disabled_exceptions_thread and global
12104         __sim_disabled_exceptions_global.
12105         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12106         and global __sim_round_mode_global.
12107         (__simulate_exceptions): Use thread-local floating-point state and
12108         set global state from it as needed.
12109         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12110         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12111         __sim_round_mode_thread.
12112         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12113         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12114         and global __sim_exceptions_global.
12115         (__sim_disabled_exceptions): Change to thread-local
12116         __sim_disabled_exceptions_thread and global
12117         __sim_disabled_exceptions_global.
12118         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12119         and global __sim_round_mode_global.
12120         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12121         (SIM_SET_GLOBAL): Likewise.
12122         * sysdeps/powerpc/soft-fp/sfp-machine.h
12123         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12124         __sim_round_mode_thread.
12125         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12126         __sim_disabled_exceptions_thread.
12127         (__sim_exceptions): Change to __sim_exceptions_thread.
12128         (__sim_disabled_exceptions): Change to
12129         __sim_disabled_exceptions_thread.
12130         (__sim_round_mode): Change to __sim_round_mode_thread.
12131         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12132         thread-local floating-point state and set global state from it as
12133         needed.
12134         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12135         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12136         (__sim_disabled_exceptions): Remove extern declaration.
12137         (feenableexcept): Use thread-local floating-point state and set
12138         global state from it as needed.
12139         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12140         extern declaration.
12141         (__sim_disabled_exceptions): Likewise.
12142         (__sim_round_mode): Likewise.
12143         (__fegetenv): Use thread-local floating-point state.
12144         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12145         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12146         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12147         floating-point state and set global state from it as needed.
12148         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12149         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12150         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12151         Likewise.
12152         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12153         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12154         Likewise.
12155         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12156         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12157         Use __sim_round_mode_thread.
12158         * math/test-fenv-tls.c: New file.
12159         * math/Makefile (tests): Add test-fenv-tls.
12160         ($(objpfx)test-fenv-tls): Depend on
12161         $(common-objpfx)nptl/libpthread.so.
12162
12163 2013-11-19  Andreas Schwab  <schwab@suse.de>
12164
12165         * locale/programs/locale.c (show_info): Decode wordarray elements.
12166         * locale/categories.def (LC_MONETARY): Add element for
12167         _NL_MONETARY_CRNCYSTR.
12168         * locale/C-monetary.c (conversion_rate): New variable.
12169         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12170         element.
12171
12172 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12173
12174         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12175         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12176
12177 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12178
12179         * elf/Makefile (tst-auxv): New test.
12180         * elf/tst-auxv.c: New
12181         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12182
12183 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12184
12185         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12186         (hidden_proto): Caller changed.
12187         (hidden_tls_proto): New macro.
12188         (libc_hidden_tls_proto): Likewise.
12189         (rtld_hidden_tls_proto): Likewise.
12190         (libm_hidden_tls_proto): Likewise.
12191         (libresolv_hidden_tls_proto): Likewise.
12192         (librt_hidden_tls_proto): Likewise.
12193         (libdl_hidden_tls_proto): Likewise.
12194         (libnss_files_hidden_tls_proto): Likewise.
12195         (libnsl_hidden_tls_proto): Likewise.
12196         (libnss_nisplus_hidden_tls_proto): Likewise.
12197         (libutil_hidden_tls_proto): Likewise.
12198
12199 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12200
12201         [BZ #10253]
12202         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12203         (decompose_rpath): Defer expansion to fillin_rpath.
12204         (_dl_init_paths): Pass linkmap to fillin_rpath.
12205
12206 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12207
12208         * benchtests/Makefile: Add strsep.
12209         * benchtests/bench-strsep.c: New file: strsep benchtest.
12210         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12211
12212 2013-11-18  Andreas Schwab  <schwab@suse.de>
12213
12214         * locale/programs/locale.c (show_info) [case byte]: Check for
12215         '\377' instead of '\177'.
12216         * locale/C-monetary.c (not_available): Always use "\377".
12217         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12218         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12219         detect unavailable sign_posn locale elements.
12220         * locale/localeconv.c (__localeconv): For grouping and
12221         mon_grouping handle "\177" and "\377" like no grouping.
12222         (INT_ELEM): New macro.  Use it to set all numeric members.
12223         * locale/programs/ld-monetary.c (monetary_read)
12224         <tok_mon_grouping>: Normalize single -1 to the empty string.
12225         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12226         Likewise.
12227
12228 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12229
12230         [BZ #16055]
12231         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12232         when we match (nil).
12233         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12234
12235 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12236
12237         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12238         (NO_TEST_INLINE): Update value.
12239         (ERRNO_UNCHANGED): Likewise.
12240         (ERRNO_EDOM): Likewise.
12241         (ERRNO_ERANGE): Likewise.
12242         (IGNORE_RESULT): Likewise.
12243         (check_float_internal): Check signs of NaN results if
12244         TEST_NAN_SIGN used.
12245         (check_complex): Pass TEST_NAN_SIGN flag through to second
12246         check_float_internal call.
12247         (copysign_test_data): Add tests with quiet NaNs as second
12248         argument.  Use TEST_NAN_SIGN.
12249         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12250         TEST_NAN_SIGN.
12251         (signbit_test_data): Add tests of quiet NaN argument.
12252         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12253
12254         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12255         $ignore_result.
12256         (parse_args): Handle function results specified as IGNORE.
12257         * math/libm-test.inc (IGNORE_RESULT): New macro.
12258         (check_float_internal): Do not check numerical result if flag
12259         IGNORE_RESULT set.
12260         (check_complex): Pass through IGNORE_RESULT to second
12261         check_float_internal call.
12262         (check_int): Do not check numerical result if flag IGNORE_RESULT
12263         set.
12264         (check_long): Likewise.
12265         (check_bool): Likewise.
12266         (check_longlong): Likewise.
12267         (lrint_test_data): Add tests of infinite and NaN arguments.
12268         (lrint_tonearest_test_data): Likewise.
12269         (lrint_towardzero_test_data): Likewise.
12270         (lrint_downward_test_data): Likewise.
12271         (lrint_upward_test_data): Likewise.
12272         (llrint_test_data): Likewise.
12273         (llrint_tonearest_test_data): Likewise.
12274         (llrint_towardzero_test_data): Likewise.
12275         (llrint_downward_test_data): Likewise.
12276         (llrint_upward_test_data): Likewise.
12277         (lround_test_data): Likewise.
12278         (llround_test_data): Likewise.
12279
12280         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12281         (ERRNO_UNCHANGED): Update value.
12282         (ERRNO_EDOM): Likewise.
12283         (ERRNO_ERANGE): Likewise.
12284         (NO_TEST_INLINE_FLOAT): New macro.
12285         (NO_TEST_INLINE_DOUBLE): Likewise.
12286         (enable_test): New function.
12287         (RUN_TEST_f_f): Check enable_test before running test.
12288         (RUN_TEST_2_f): Likewise.
12289         (RUN_TEST_fff_f): Likewise.
12290         (RUN_TEST_c_f): Likewise.
12291         (RUN_TEST_f_f1): Likewise.
12292         (RUN_TEST_fF_f1): Likewise.
12293         (RUN_TEST_fI_f1): Likewise.
12294         (RUN_TEST_ffI_f1): Likewise.
12295         (RUN_TEST_c_c): Likewise.
12296         (RUN_TEST_cc_c): Likewise.
12297         (RUN_TEST_f_i): Likewise.
12298         (RUN_TEST_f_i_tg): Likewise.
12299         (RUN_TEST_ff_i_tg): Likewise.
12300         (RUN_TEST_f_b): Likewise.
12301         (RUN_TEST_f_b_tg): Likewise.
12302         (RUN_TEST_f_l): Likewise.
12303         (RUN_TEST_f_L): Likewise.
12304         (RUN_TEST_fFF_11): Likewise.
12305         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12306         conditionals.
12307         (cosh_test_data): Likewise.
12308         (exp_test_data): Likewise.
12309         (expm1_test_data): Likewise.
12310         (hypot_test_data): Likewise.
12311         (pow_test_data): Likewise.
12312         (sinh_test_data): Likewise.
12313         (tanh_test_data): Likewise.
12314         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12315         flags argument.
12316
12317         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12318         tests with quiet NaN input and output.
12319         (acosh_test_data): Likewise.
12320         (asin_test_data): Likewise.
12321         (asinh_test_data): Likewise.
12322         (atan_test_data): Likewise.
12323         (atanh_test_data): Likewise.
12324         (atan2_test_data): Likewise.
12325         (cbrt_test_data): Likewise.
12326         (cos_test_data): Likewise.
12327         (cosh_test_data): Likewise.
12328         (erf_test_data): Likewise.
12329         (erfc_test_data): Likewise.
12330         (exp_test_data): Likewise.
12331         (exp10_test_data): Likewise.
12332         (exp2_test_data): Likewise.
12333         (expm1_test_data): Likewise.
12334         (hypot_test_data): Likewise.
12335         (j0_test_data): Likewise.
12336         (j1_test_data): Likewise.
12337         (jn_test_data): Likewise.
12338         (lgamma_test_data): Likewise.
12339         (log_test_data): Likewise.
12340         (log10_test_data): Likewise.
12341         (log1p_test_data): Likewise.
12342         (log2_test_data): Likewise.
12343         (pow_test_data): Likewise.
12344         (scalb_test_data): Likewise.
12345         (sin_test_data): Likewise.
12346         (sincos_test_data): Likewise.
12347         (sinh_test_data): Likewise.
12348         (tan_test_data): Likewise.
12349         (tanh_test_data): Likewise.
12350         (tgamma_test_data): Likewise.
12351         (y0_test_data): Likewise.
12352         (y1_test_data): Likewise.
12353         (yn_test_data): Likewise.
12354
12355         [BZ #16167]
12356         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12357         argument being NaN and avoid computations with second argument in
12358         that case.
12359         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12360         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12361         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12362
12363 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12364
12365         * locale/iso-639.def: Add Chitwani Tharu (the).
12366
12367 2013-11-14  Andreas Schwab  <schwab@suse.de>
12368
12369         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12370         word instead of empty string.
12371
12372 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12373
12374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12375         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12377         (__fe_nomask_env): Likewise.
12378
12379 2013-11-13  Steve Ellcey  <sellcey@mips.com>
12380
12381         * benchtests/bench-timing.h: Include time.h.
12382
12383 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
12384
12385         [BZ #15997]
12386         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12387         to 3.4.0 for x32.
12388         * sysdeps/unix/sysv/linux/configure: Regenerated.
12389
12390 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
12391
12392         [BZ #16151]
12393         * stdlib/strtod_l.c (round_and_return): Do not consider
12394         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12395         exponent one less than half the least subnormal exponent.
12396         * stdlib/test-strtod-round-data: Add more tests.
12397         * stdlib/tst-strtod-round.c (tests): Regenerated.
12398
12399 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12400
12401         [BZ #14143]
12402         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12403         (__fe_mask_env): Likewise.
12404         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12405         libm_hidden_proto and add function prototype.
12406         (__fe_mask_env): Add function prototype.
12407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12408         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12410         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12412         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12413
12414 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12415
12416         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12417         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12418
12419 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12420
12421         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12422         of htab_find_slot().
12423
12424 2013-11-11  David S. Miller  <davem@davemloft.net>
12425
12426         [BZ #16150]
12427         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12428         symbol in the non-vis3 case in static builds.
12429         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12430         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12431         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12432         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12433
12434 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12435
12436         [BZ #387]
12437         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12438         it is empty.
12439
12440 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12441
12442         * benchtests/Makefile: Add bench-strtod.
12443         * benchtests/bench-strtod.c: New file: strtod benchtest
12444
12445 2013-11-11  Andreas Schwab  <schwab@suse.de>
12446
12447         [BZ #16153]
12448         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12449         terminating NUL in key length.
12450
12451 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12452
12453         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12454         Add artificial ODP entry for vDSO symbol for PPC64.
12455         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12456         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12457
12458 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12459
12460         [BZ #15374]
12461         * nss/getent.c (services_keys): Recognize services starting with digit.
12462
12463 2013-11-06  David S. Miller  <davem@davemloft.net>
12464
12465         [BZ #15985]
12466         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12467         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12468
12469 2013-11-06  Will Newton  <will.newton@linaro.org>
12470
12471         * manual/memory.texi (Malloc Examples): Remove register
12472         keyword from examples.
12473
12474 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
12475
12476         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12477
12478 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
12479
12480         [BZ #6981]
12481         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12482         depending on [__GCC_IEC_559 > 0].
12483         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12484         depending on [__GCC_IEC_559_COMPLEX > 0].
12485
12486 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
12487
12488         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12489         to iso-639.def.
12490
12491 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
12492
12493         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12494
12495 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
12496
12497         [BZ #16112]
12498         * malloc/malloc (malloc_info): Do not handle first bin as
12499         special case.
12500
12501 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
12502
12503         * locale/iso-639.def: Add Central Nahuatl (nhn).
12504
12505 2013-11-01  Bruno Haible  <bruno@clisp.org>
12506
12507         [BZ #7003]
12508         * manual/math.texi (BSD Random): Specify range upper bound as
12509         in POSIX.
12510
12511 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
12512
12513         * locale/iso-639.def: Add Meadow Mari (mhr).
12514
12515 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
12516
12517         [BZ #14752], [BZ #15763]
12518         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12519         Validate name.
12520         * rt/tst_shm.c: Add test for escaping directory.
12521
12522 2013-10-31  Andreas Schwab  <schwab@suse.de>
12523
12524         [BZ #15917]
12525         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12526         followed by 'x' as part of digit sequence.
12527         * stdio-common/tst-sscanf.c (double_tests2): New tests.
12528
12529 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12530
12531         [BZ #16037]
12532         * configure.ac: allow GNU Make 4.0 and greater.
12533         * configure: Regenerated.
12534
12535 2013-10-30  Will Newton  <will.newton@linaro.org>
12536
12537         [BZ #16038]
12538         * malloc/hooks.c (memalign_check): Limit alignment to the
12539         maximum representable power of two.
12540         * malloc/malloc.c (__libc_memalign): Likewise.
12541         * malloc/tst-memalign.c (do_test): Add test for very
12542         large alignment values.
12543         * malloc/tst-posix_memalign.c (do_test): Likewise.
12544
12545 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12546
12547         [BZ #11087]
12548         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12549         (munmap_chunk): Likewise.
12550         (mremap_chunk): Likewise.
12551
12552 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12553
12554         [BZ #15799]
12555         * stdlib/div.c (div): Remove obsolete code.
12556         * stdlib/ldiv.c (ldiv): Likewise.
12557         * stdlib/lldiv.c (lldiv): Likewise.
12558
12559 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12560
12561         [BZ #16071]
12562         * nss/nss_files/files-XXX.c (get_contents_ret): New
12563         enumerator.
12564         (get_contents): New function.
12565         (internal_getent): Use it.  Expand size of LINEBUFLEN.
12566
12567 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
12568
12569         * configure.in: Moved to ...
12570         * configure.ac: ... here. Change reference to configure.in
12571         to configure.ac.
12572         * sysdeps/arm/preconfigure.ac: ... here.
12573         configure.in to configure.ac.
12574         * sysdeps/gnu/configure.in: Moved to ...
12575         * sysdeps/gnu/configure.ac: ... here.
12576         * sysdeps/i386/configure.in: Moved to ...
12577         * sysdeps/i386/configure.ac: ... here.
12578         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12579         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12580         * sysdeps/mach/configure.in: Moved to ...
12581         * sysdeps/mach/configure.ac: ... here.
12582         * sysdeps/mach/hurd/configure.in: Moved to ...
12583         * sysdeps/mach/hurd/configure.ac: ... here.
12584         * sysdeps/powerpc/configure.in: Moved to ...
12585         * sysdeps/powerpc/configure.ac: ... here.
12586         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12587         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12588         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12589         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12590         * sysdeps/s390/s390-32/configure.in: Moved to ...
12591         * sysdeps/s390/s390-32/configure.ac: ... here.
12592         * sysdeps/s390/s390-64/configure.in: Moved to ...
12593         * sysdeps/s390/s390-64/configure.ac: ... here.
12594         * sysdeps/sh/configure.in: Moved to ...
12595         * sysdeps/sh/configure.ac: ... here.
12596         * sysdeps/sparc/configure.in: Moved to ...
12597         * sysdeps/sparc/configure.ac: ... here.
12598         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12599         * sysdeps/unix/sysv/linux/configure.ac: ... here.
12600         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12601         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12602         * sysdeps/x86_64/configure.in: Moved to ...
12603         * sysdeps/x86_64/configure.ac: ... here.
12604         * sysdeps/x86_64/preconfigure.in: Moved to ...
12605         * sysdeps/x86_64/preconfigure.ac: ... here.
12606         * aclocal.m4: Change reference to configure.in to configure.ac.
12607         * config.h.in: Likewise.
12608         * manual/install.texi: Likewise.
12609         * manual/maint.texi: Likewise.
12610         * Makefile: Likewise.
12611         * malloc/Makefile: Likewise.
12612         * nscd/Makefile: Likewise.
12613         * Makeconfig: Change reference to configure.in and
12614         preconfigure.in to configure.ac and preconfigure.ac
12615         respectively.
12616         * INSTALL: Regenerated.
12617         * configure: Likewise.
12618         * sysdeps/gnu/configure: Likewise.
12619         * sysdeps/i386/configure: Likewise.
12620         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12621         * sysdeps/mach/configure: Likewise.
12622         * sysdeps/mach/hurd/configure: Likewise.
12623         * sysdeps/powerpc/configure: Likewise.
12624         * sysdeps/powerpc/powerpc32/configure: Likewise.
12625         * sysdeps/powerpc/powerpc64/configure: Likewise.
12626         * sysdeps/s390/s390-32/configure: Likewise.
12627         * sysdeps/s390/s390-64/configure: Likewise.
12628         * sysdeps/sh/configure: Likewise.
12629         * sysdeps/sparc/configure: Likewise.
12630         * sysdeps/unix/sysv/linux/configure: Likewise.
12631         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12632         * sysdeps/x86_64/configure: Likewise.
12633         * sysdeps/x86_64/preconfigure: Likewise.
12634
12635 2013-10-29  Andreas Schwab  <schwab@suse.de>
12636
12637         * stdio-common/Makefile (tst-swscanf-ENV): Define.
12638
12639 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12640
12641         * benchtests/pow-inputs: Add new inputs.
12642
12643         * benchtests/exp-inputs: Add new inputs.
12644
12645         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12646         conditional check for return value.
12647         (__cos32): Likewise.
12648
12649 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12650
12651         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12652         to provide a boost for large inputs with word alignment.
12653         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12654         implementation based on optimized PPC64 strcpy.
12655         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12656         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12657         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12658         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12659
12660 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12661
12662         [BZ #2801]
12663         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12664
12665 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12666
12667         [BZ #14876]
12668         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12669         * time/tst-strptime.c (day_tests): Add testcase.
12670
12671 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12672
12673         [BZ #14029]
12674         * manual/pattern.texi: Acknowledge that fnmatch can fail.
12675
12676 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
12677
12678         [BZ #16074]
12679         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12680         MAP_FAILED on error.
12681
12682 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12683
12684         [BZ #16072]
12685         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12686         heap for large requests.
12687
12688 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
12689
12690         [BZ #9954]
12691         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12692         result if the result has no associated interface.
12693         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12694         interface for all 127.X.Y.Z addresses.
12695
12696 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
12697
12698         * locale/iso-639.def: Add Ligurian (lij)
12699
12700 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
12701
12702         [BZ #15825]
12703         * sunrpc/rpc_main.c: Document rpcgen -5.
12704
12705 2013-10-19  Michael Stahl  <mstahl@redhat.com>
12706
12707         * elf/rtld.c (do_preload): Print the reason why preloading failed.
12708
12709 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12710
12711         [BZ #10278]
12712         * posix/glob.c: Match only directories when trailing slash is present.
12713         * posix/tst-gnuglob.c (my_opendir): Do not open files.
12714         (main): Add testcase.
12715
12716 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12717
12718         [BZ #15670]
12719         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12720
12721 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
12722
12723         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12724         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12725         AUTH_DES and cindex for FIPS 140-2.
12726         (DES Encryption): Add cindex FIPS 46-3.
12727
12728         * locale/locarchive.h (struct locarhandle): Add fname.
12729         * locale/programs/localedef.c (main): Pass ARGV[remaining]
12730         if an optional argument was specified to --list-archive,
12731         otherwise NULL.
12732         * locale/programs/locarchive.c (show_archive_content): Take new
12733         argument fname and pass it via ah.fname to open_archive.
12734         * locale/programs/localedef.h: Update decl.
12735         (open_archive): If AH->fname is non-null, open that file
12736         rather than the default file name, and don't ignore ENOENT.
12737         (create_archive): Set AH.fname to NULL.
12738         (delete_locales_from_archive): Likewise.
12739         (add_locales_to_archive): Likewise.
12740         * locale/programs/locfile.c (write_all_categories): Likewise.
12741
12742 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
12743             Aldy Hernandez  <aldyh@redhat.com>
12744
12745         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12746         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12747         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12748         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12749         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12750         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12751         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12752         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12753         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12754         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12755         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12756         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12757         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12758         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12759         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12760         Likewise.
12761         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12762         Likewise.
12763         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12764         Likewise.
12765         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12766         Likewise.
12767         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12768         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12769         Likewise.
12770         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12771         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12772         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12773         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12774         Likewise.
12775         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12776         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12777         * sysdeps/powerpc/preconfigure: Likewise.
12778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12779         Likewise.
12780         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12781         Replace contents of file by #include of <fenv_libc.h>.
12782         * sysdeps/powerpc/soft-fp/sfp-machine.h
12783         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12784         and <sys/prctl.h>.
12785         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12786         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12787         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12788         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12789         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12790         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12792         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12793         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12794         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12795         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12796         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12798         Allow copysignl PLT reference to be missing.
12799
12800 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
12801             Joseph Myers  <joseph@codesourcery.com
12802
12803         [BZ #15948]
12804         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12805         single character.
12806         (add_to_tablewc): Assert sequence of wide characters is nonempty.
12807
12808 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12809
12810         * elf/tst-tls-dlinfo.c: Don't include tls.h.
12811         * elf/tst-tls1.c: Likewise.
12812         * elf/tst-tls10.h: Likewise.
12813         * elf/tst-tls14.c: Likewise.
12814         * elf/tst-tls2.c: Likewise.
12815         * elf/tst-tls3.c: Likewise.
12816         * elf/tst-tls4.c: Likewise.
12817         * elf/tst-tls5.c: Likewise.
12818         * elf/tst-tls6.c: Likewise.
12819         * elf/tst-tls7.c: Likewise.
12820         * elf/tst-tls8.c: Likewise.
12821         * elf/tst-tls9.c: Likewise.
12822         * elf/tst-tlsmod1.c: Likewise.
12823         * elf/tst-tlsmod13.c: Likewise.
12824         * elf/tst-tlsmod13a.c: Likewise.
12825         * elf/tst-tlsmod14a.c: Likewise.
12826         * elf/tst-tlsmod16a.c: Likewise.
12827         * elf/tst-tlsmod16b.c: Likewise.
12828         * elf/tst-tlsmod2.c: Likewise.
12829         * elf/tst-tlsmod3.c: Likewise.
12830         * elf/tst-tlsmod4.c: Likewise.
12831         * elf/tst-tlsmod5.c: Likewise.
12832         * elf/tst-tlsmod6.c: Likewise.
12833
12834 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
12835
12836         [BZ #12486]
12837         * malloc/malloc.c: remove checks for statistics.
12838
12839 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12840
12841         [BZ #15277]
12842         * inet/inet_net.c (inet_network): Detect additional invalid strings.
12843         * inet/tst-network.c: Add testcase.
12844
12845 2013-10-17  Andreas Schwab  <schwab@suse.de>
12846
12847         [BZ #15218]
12848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12849         to determine canonical name.
12850
12851 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12852
12853         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12854         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12855         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12856         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12857         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12858         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12859         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12860         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12861         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12862         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12863         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12864         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12865         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12866         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12867         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12868         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12870         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12871         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12872         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12873         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12874         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12875         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12876         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12877         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12878         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12879         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12880         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12881         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12882         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12883         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12884         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12885         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12886         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12887         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12888         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12889         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12890         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12891         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12892         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12893         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12894         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12895         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12896         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12897         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12898         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12899         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12900         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12901         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12902         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12903         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12904         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12905         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12906         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12907         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12908         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12909         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12910         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12911
12912 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
12913
12914         [BZ #16041]
12915         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12916         make result into a quiet NaN.
12917
12918 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
12919
12920         * soft-fp/adddf3.c: Fix horizontal whitespace.
12921         * soft-fp/addsf3.c: Likewise.
12922         * soft-fp/addtf3.c: Likewise.
12923         * soft-fp/divdf3.c: Likewise.
12924         * soft-fp/divsf3.c: Likewise.
12925         * soft-fp/divtf3.c: Likewise.
12926         * soft-fp/double.h: Likewise.
12927         * soft-fp/eqdf2.c: Likewise.
12928         * soft-fp/eqsf2.c: Likewise.
12929         * soft-fp/eqtf2.c: Likewise.
12930         * soft-fp/extenddftf2.c: Likewise.
12931         * soft-fp/extended.h: Likewise.
12932         * soft-fp/extendsfdf2.c: Likewise.
12933         * soft-fp/extendsftf2.c: Likewise.
12934         * soft-fp/extendxftf2.c: Likewise.
12935         * soft-fp/fixdfdi.c: Likewise.
12936         * soft-fp/fixdfsi.c: Likewise.
12937         * soft-fp/fixdfti.c: Likewise.
12938         * soft-fp/fixsfdi.c: Likewise.
12939         * soft-fp/fixsfsi.c: Likewise.
12940         * soft-fp/fixsfti.c: Likewise.
12941         * soft-fp/fixtfdi.c: Likewise.
12942         * soft-fp/fixtfsi.c: Likewise.
12943         * soft-fp/fixtfti.c: Likewise.
12944         * soft-fp/fixunsdfdi.c: Likewise.
12945         * soft-fp/fixunsdfsi.c: Likewise.
12946         * soft-fp/fixunsdfti.c: Likewise.
12947         * soft-fp/fixunssfdi.c: Likewise.
12948         * soft-fp/fixunssfsi.c: Likewise.
12949         * soft-fp/fixunssfti.c: Likewise.
12950         * soft-fp/fixunstfdi.c: Likewise.
12951         * soft-fp/fixunstfsi.c: Likewise.
12952         * soft-fp/fixunstfti.c: Likewise.
12953         * soft-fp/floatdidf.c: Likewise.
12954         * soft-fp/floatdisf.c: Likewise.
12955         * soft-fp/floatditf.c: Likewise.
12956         * soft-fp/floatsidf.c: Likewise.
12957         * soft-fp/floatsisf.c: Likewise.
12958         * soft-fp/floatsitf.c: Likewise.
12959         * soft-fp/floattidf.c: Likewise.
12960         * soft-fp/floattisf.c: Likewise.
12961         * soft-fp/floattitf.c: Likewise.
12962         * soft-fp/floatundidf.c: Likewise.
12963         * soft-fp/floatundisf.c: Likewise.
12964         * soft-fp/floatunditf.c: Likewise.
12965         * soft-fp/floatunsidf.c: Likewise.
12966         * soft-fp/floatunsisf.c: Likewise.
12967         * soft-fp/floatunsitf.c: Likewise.
12968         * soft-fp/floatuntidf.c: Likewise.
12969         * soft-fp/floatuntisf.c: Likewise.
12970         * soft-fp/floatuntitf.c: Likewise.
12971         * soft-fp/fmadf4.c: Likewise.
12972         * soft-fp/fmasf4.c: Likewise.
12973         * soft-fp/fmatf4.c: Likewise.
12974         * soft-fp/gedf2.c: Likewise.
12975         * soft-fp/gesf2.c: Likewise.
12976         * soft-fp/getf2.c: Likewise.
12977         * soft-fp/ledf2.c: Likewise.
12978         * soft-fp/lesf2.c: Likewise.
12979         * soft-fp/letf2.c: Likewise.
12980         * soft-fp/muldf3.c: Likewise.
12981         * soft-fp/mulsf3.c: Likewise.
12982         * soft-fp/multf3.c: Likewise.
12983         * soft-fp/negdf2.c: Likewise.
12984         * soft-fp/negsf2.c: Likewise.
12985         * soft-fp/negtf2.c: Likewise.
12986         * soft-fp/op-1.h: Likewise.
12987         * soft-fp/op-2.h: Likewise.
12988         * soft-fp/op-4.h: Likewise.
12989         * soft-fp/op-8.h: Likewise.
12990         * soft-fp/op-common.h: Likewise.
12991         * soft-fp/quad.h: Likewise.
12992         * soft-fp/single.h: Likewise.
12993         * soft-fp/soft-fp.h: Likewise.
12994         * soft-fp/sqrtdf2.c: Likewise.
12995         * soft-fp/sqrtsf2.c: Likewise.
12996         * soft-fp/sqrttf2.c: Likewise.
12997         * soft-fp/subdf3.c: Likewise.
12998         * soft-fp/subsf3.c: Likewise.
12999         * soft-fp/subtf3.c: Likewise.
13000         * soft-fp/truncdfsf2.c: Likewise.
13001         * soft-fp/trunctfdf2.c: Likewise.
13002         * soft-fp/trunctfsf2.c: Likewise.
13003         * soft-fp/trunctfxf2.c: Likewise.
13004         * soft-fp/unorddf2.c: Likewise.
13005         * soft-fp/unordsf2.c: Likewise.
13006         * soft-fp/unordtf2.c: Likewise.
13007
13008 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13009
13010         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13011         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13012
13013 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13014
13015         * elf/dl-libc.c: Clear initfini list after freeing.
13016
13017 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13018
13019         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13020         * soft-fp/addsf3.c: Likewise.
13021         * soft-fp/addtf3.c: Likewise.
13022         * soft-fp/divdf3.c: Likewise.
13023         * soft-fp/divsf3.c: Likewise.
13024         * soft-fp/divtf3.c: Likewise.
13025         * soft-fp/double.h: Likewise.
13026         * soft-fp/eqdf2.c: Likewise.
13027         * soft-fp/eqsf2.c: Likewise.
13028         * soft-fp/eqtf2.c: Likewise.
13029         * soft-fp/extenddftf2.c: Likewise.
13030         * soft-fp/extended.h: Likewise.
13031         * soft-fp/extendsfdf2.c: Likewise.
13032         * soft-fp/extendsftf2.c: Likewise.
13033         * soft-fp/extendxftf2.c: Likewise.
13034         * soft-fp/fixdfdi.c: Likewise.
13035         * soft-fp/fixdfsi.c: Likewise.
13036         * soft-fp/fixdfti.c: Likewise.
13037         * soft-fp/fixsfdi.c: Likewise.
13038         * soft-fp/fixsfsi.c: Likewise.
13039         * soft-fp/fixsfti.c: Likewise.
13040         * soft-fp/fixtfdi.c: Likewise.
13041         * soft-fp/fixtfsi.c: Likewise.
13042         * soft-fp/fixtfti.c: Likewise.
13043         * soft-fp/fixunsdfdi.c: Likewise.
13044         * soft-fp/fixunsdfsi.c: Likewise.
13045         * soft-fp/fixunsdfti.c: Likewise.
13046         * soft-fp/fixunssfdi.c: Likewise.
13047         * soft-fp/fixunssfsi.c: Likewise.
13048         * soft-fp/fixunssfti.c: Likewise.
13049         * soft-fp/fixunstfdi.c: Likewise.
13050         * soft-fp/fixunstfsi.c: Likewise.
13051         * soft-fp/fixunstfti.c: Likewise.
13052         * soft-fp/floatdidf.c: Likewise.
13053         * soft-fp/floatdisf.c: Likewise.
13054         * soft-fp/floatditf.c: Likewise.
13055         * soft-fp/floatsidf.c: Likewise.
13056         * soft-fp/floatsisf.c: Likewise.
13057         * soft-fp/floatsitf.c: Likewise.
13058         * soft-fp/floattidf.c: Likewise.
13059         * soft-fp/floattisf.c: Likewise.
13060         * soft-fp/floattitf.c: Likewise.
13061         * soft-fp/floatundidf.c: Likewise.
13062         * soft-fp/floatundisf.c: Likewise.
13063         * soft-fp/floatunsidf.c: Likewise.
13064         * soft-fp/floatunsisf.c: Likewise.
13065         * soft-fp/floatuntidf.c: Likewise.
13066         * soft-fp/floatuntisf.c: Likewise.
13067         * soft-fp/floatuntitf.c: Likewise.
13068         * soft-fp/fmadf4.c: Likewise.
13069         * soft-fp/fmasf4.c: Likewise.
13070         * soft-fp/fmatf4.c: Likewise.
13071         * soft-fp/gedf2.c: Likewise.
13072         * soft-fp/gesf2.c: Likewise.
13073         * soft-fp/getf2.c: Likewise.
13074         * soft-fp/ledf2.c: Likewise.
13075         * soft-fp/lesf2.c: Likewise.
13076         * soft-fp/letf2.c: Likewise.
13077         * soft-fp/muldf3.c: Likewise.
13078         * soft-fp/mulsf3.c: Likewise.
13079         * soft-fp/multf3.c: Likewise.
13080         * soft-fp/negdf2.c: Likewise.
13081         * soft-fp/negsf2.c: Likewise.
13082         * soft-fp/negtf2.c: Likewise.
13083         * soft-fp/op-1.h: Likewise.
13084         * soft-fp/op-2.h: Likewise.
13085         * soft-fp/op-4.h: Likewise.
13086         * soft-fp/op-8.h: Likewise.
13087         * soft-fp/op-common.h: Likewise.
13088         * soft-fp/quad.h: Likewise.
13089         * soft-fp/single.h: Likewise.
13090         * soft-fp/soft-fp.h: Likewise.
13091         * soft-fp/sqrtdf2.c: Likewise.
13092         * soft-fp/sqrtsf2.c: Likewise.
13093         * soft-fp/sqrttf2.c: Likewise.
13094         * soft-fp/subdf3.c: Likewise.
13095         * soft-fp/subsf3.c: Likewise.
13096         * soft-fp/subtf3.c: Likewise.
13097         * soft-fp/truncdfsf2.c: Likewise.
13098         * soft-fp/trunctfdf2.c: Likewise.
13099         * soft-fp/trunctfsf2.c: Likewise.
13100         * soft-fp/trunctfxf2.c: Likewise.
13101         * soft-fp/unorddf2.c: Likewise.
13102         * soft-fp/unordsf2.c: Likewise.
13103         * soft-fp/unordtf2.c: Likewise.
13104
13105 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13106
13107         [BZ #15672]
13108         * misc/error.c (error_tail): Fix possible buffer overflow.
13109
13110 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13111
13112         [BZ #13028]
13113         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13114         address.
13115
13116 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13117
13118         [BZ #832]
13119         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13120         testing pipefail option.
13121
13122 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13123
13124         * soft-fp/double.h: Indent preprocessor directives inside #if.
13125         * soft-fp/extended.h: Likewise.
13126         * soft-fp/op-2.h: Likewise.
13127         * soft-fp/op-4.h: Likewise.
13128         * soft-fp/op-common.h: Likewise.
13129         * soft-fp/quad.h: Likewise.
13130         * soft-fp/single.h: Likewise.
13131         * soft-fp/soft-fp.h: Likewise.
13132
13133 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13134
13135         * iconv/iconv_prog.c: Fix typos.
13136         * stdio-common/psiginfo-data.h: Likewise.
13137
13138 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13139
13140         [BZ #15764]
13141         * locale/setlocale.c: Fix typo.
13142
13143 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13144
13145         [BZ #16036]
13146         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13147         signaling NaN arguments.
13148         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13149         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13150
13151         [BZ #14910]
13152         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13153         unordered operands.
13154         * soft-fp/gesf2.c (__gesf2): Likewise.
13155         * soft-fp/getf2.c (__getf2): Likewise.
13156         * soft-fp/ledf2.c (__ledf2): Likewise.
13157         * soft-fp/lesf2.c (__lesf2): Likewise.
13158         * soft-fp/letf2.c (__letf2): Likewise.
13159
13160         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13161         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13162         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13163         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13164         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13165         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13166         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13167         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13168         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13169         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13170         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13171         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13172         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13173         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13174         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13175         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13176         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13177         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13178         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13179         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13180         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13181         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13182         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13183         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13184         * soft-fp/floattidf.c (__floattidf): Likewise.
13185         * soft-fp/floattisf.c (__floattisf): Likewise.
13186         * soft-fp/floattitf.c (__floattitf): Likewise.
13187         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13188         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13189         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13190         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13191         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13192         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13193         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13194         * soft-fp/gesf2.c (__gesf2): Likewise.
13195         * soft-fp/getf2.c (__getf2): Likewise.
13196         * soft-fp/ledf2.c (__ledf2): Likewise.
13197         * soft-fp/lesf2.c (__lesf2): Likewise.
13198         * soft-fp/letf2.c (__letf2): Likewise.
13199
13200         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13201         Undefine and redefine.
13202         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13203         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13204         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13205         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13206         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13207         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13208         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13209         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13210         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13211         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13212         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13213         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13214         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13215         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13216         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13217
13218         [BZ #16032]
13219         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13220         without decrementing exponent if mantissa >= that for the
13221         denominator, not >.
13222         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13223         denominator, not >.  Decrement exponent in < case instead of
13224         incrementing in >= case.
13225         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13226         without decrementing exponent if mantissa >= that for the
13227         denominator, not >.
13228
13229         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13230         computing saturated result for unsigned overflow.
13231
13232 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13233             Jeff Law  <law@redhat.com>
13234
13235         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13236         (atan2Mp): Add systemtap probe marker.
13237         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13238         (__ieee754_log): Add systemtap probe marker.
13239         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13240         (atanMp): Add systemtap probe marker.
13241         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13242         (tanMp): Add systemtap probe marker.
13243         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13244         (__slowexp): Add systemtap probe marker.
13245         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13246         (__slowpow): Add systemtap probe marker.
13247         * manual/probes.texi: Document probes.
13248
13249 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13250
13251         [BZ #15362]
13252         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13253         written.
13254         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13255         written.
13256         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13257         written to buffer but not flushed.
13258         * libio/iofwrite_u.c:  Likewise.
13259         * libio/iopadn.c:  Return bytes returned even if EOF was
13260         encountered.
13261         * libio/iowpadn.c:  Likewise.
13262         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13263         if _IO_padn does not write the whole buffer.
13264         [!COMPILE_WPRINTF] (PAD): Likewise.
13265
13266 2013-10-10  David S. Miller  <davem@davemloft.net>
13267
13268         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13269         directory block.
13270
13271 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13272
13273         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13274         instead of FSF address.
13275         * soft-fp/fixdfti.c: Likewise.
13276         * soft-fp/fixsfti.c: Likewise.
13277         * soft-fp/fixtfti.c: Likewise.
13278         * soft-fp/fixunsdfti.c: Likewise.
13279         * soft-fp/fixunssfti.c: Likewise.
13280         * soft-fp/fixunstfti.c: Likewise.
13281         * soft-fp/floattidf.c: Likewise.
13282         * soft-fp/floattisf.c: Likewise.
13283         * soft-fp/floattitf.c: Likewise.
13284         * soft-fp/floatuntidf.c: Likewise.
13285         * soft-fp/floatuntisf.c: Likewise.
13286         * soft-fp/floatuntitf.c: Likewise.
13287         * soft-fp/trunctfxf2.c: Likewise.
13288
13289         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13290         * soft-fp/fixdfti.c: Likewise.
13291         * soft-fp/fixsfti.c: Likewise.
13292         * soft-fp/fixtfti.c: Likewise.
13293         * soft-fp/fixunsdfti.c: Likewise.
13294         * soft-fp/fixunssfti.c: Likewise.
13295         * soft-fp/fixunstfti.c: Likewise.
13296         * soft-fp/floattidf.c: Likewise.
13297         * soft-fp/floattisf.c: Likewise.
13298         * soft-fp/floattitf.c: Likewise.
13299         * soft-fp/floatuntidf.c: Likewise.
13300         * soft-fp/floatuntisf.c: Likewise.
13301         * soft-fp/floatuntitf.c: Likewise.
13302         * soft-fp/trunctfxf2.c: Likewise.
13303
13304 2013-10-10  David S. Miller  <davem@davemloft.net>
13305
13306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13307
13308 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13309
13310         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13311         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13312         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13313         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13314         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13315         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13316         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13317
13318         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13319         for NaNs before doing comparisons on argument.
13320         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13321         Likewise.
13322
13323 2013-10-10  Will Newton  <will.newton@linaro.org>
13324
13325         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13326         passed to _int_memalign does not overflow.
13327
13328 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13329
13330         * scripts/bench.pl: Add include-sources directive.
13331         * benchtests/README: Update documentation.
13332
13333 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13334
13335         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13336         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13337         instead of FP_INIT_ROUNDMODE.
13338         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13339         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13340
13341         [BZ #16034]
13342         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13343         copy class of input value.
13344         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13345         not handle exceptions.
13346         * soft-fp/negsf2.c (__negsf2): Likewise.
13347         * soft-fp/negtf2.c (__negtf2): Likewise.
13348         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13349
13350 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13351
13352         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13353         semicolon.  From Linux kernel.
13354
13355 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13356
13357         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13358
13359 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13360
13361         [BZ #156]
13362         * manual/socket.texi: Added statement about buffer
13363         for gethostbyname2_r.
13364
13365 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13366
13367         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13368         Use .p2align directive instead, throughout.
13369         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13370         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13371         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13372         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13373         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13374         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13375         * sysdeps/x86_64/strchr.S: Likewise.
13376         * sysdeps/x86_64/strrchr.S: Likewise.
13377
13378 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13379
13380         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13381
13382         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13383
13384         * sysdeps/generic/math_private.h (__mpsin1): Remove
13385         declaration.
13386         (__mpcos1): Likewise.
13387         (__mpsin): New argument __range_reduce.
13388         (__mpcos): Likewise.
13389         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13390         (slow): Use __mpsin and __mpcos.
13391         (slow1): Likewise.
13392         (slow2): Likewise.
13393         (sloww): Likewise.
13394         (sloww1): Likewise.
13395         (sloww2): Likewise.
13396         (bsloww): Likewise.
13397         (bsloww1): Likewise.
13398         (bsloww2): Likewise.
13399         (cslow2): Likewise.
13400         (csloww): Likewise.
13401         (csloww1): Likewise.
13402         (csloww2): Likewise.
13403         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13404         range_reduce.  Merge in __mpsin1.
13405         (__mpcos): Likewise.
13406         (__mpsin1): Remove.
13407         (__mpcos1): Likewise.
13408
13409 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
13410
13411         * locale/loadlocale.c (_nl_intern_locale_data): Use
13412         LOCFILE_ALIGNED_P.
13413         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13414         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13415         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13416         obstack data is appropriately aligned.
13417         (obstack_int32_grow_fast): Likewise.
13418         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13419         * locale/programs/locfile.c (add_locale_uint32): Likewise.
13420         (add_locale_uint32_array): Likewise.
13421
13422 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13423
13424         * benchtests/Makefile: Remove ARGLIST and RET variables.
13425         ($(objpfx)bench-%.c): Pass only function name to the script.
13426         * benchtests/README: Update documentation.
13427         * benchtests/acos-inputs: Add new directives.
13428         * benchtests/acosh-inputs: Likewise.
13429         * benchtests/asin-inputs: Likewise.
13430         * benchtests/asinh-inputs: Likewise.
13431         * benchtests/atan-inputs: Likewise.
13432         * benchtests/atanh-inputs: Likewise.
13433         * benchtests/cos-inputs: Likewise.
13434         * benchtests/cosh-inputs: Likewise.
13435         * benchtests/exp-inputs: Likewise.
13436         * benchtests/log-inputs: Likewise.
13437         * benchtests/pow-inputs: Likewise.
13438         * benchtests/rint-inputs: Likewise.
13439         * benchtests/sin-inputs: Likewise.
13440         * benchtests/sinh-inputs: Likewise.
13441         * benchtests/tan-inputs: Likewise.
13442         * benchtests/tanh-inputs: Likewise.
13443         * scripts/bench.pl: Add support for new directives.
13444
13445 2013-10-07  Alan Modra  <amodra@gmail.com>
13446
13447         * README: Fix careless merge.
13448
13449 2013-10-05  Alan Modra  <amodra@gmail.com>
13450
13451         * NEWS: Mention powerpc64le support and bugs fixed.
13452         * README: Both big-endian and little-endian powerpc64 supported.
13453
13454 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13455
13456         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13457         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13458         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13459         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13460
13461 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
13462
13463         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13464         match prototype.
13465
13466 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
13467
13468         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13469         Move -mhard-float appending from
13470         ports/sysdeps/powerpc/powerpc32/Makefile.
13471         [$(with-fp) = yes] (ASFLAGS): Likewise.
13472         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13473         * sysdeps/powerpc/nofpu: Move directory from
13474         ports/sysdeps/powerpc/nofpu.
13475         * sysdeps/powerpc/soft-fp: Move directory from
13476         ports/sysdeps/powerpc/soft-fp.
13477         * sysdeps/powerpc/powerpc32/405: Move directory from
13478         ports/sysdeps/powerpc/powerpc32/405.
13479         * sysdeps/powerpc/powerpc32/440: Move directory from
13480         ports/sysdeps/powerpc/powerpc32/440.
13481         * sysdeps/powerpc/powerpc32/464: Move directory from
13482         ports/sysdeps/powerpc/powerpc32/464.
13483         * sysdeps/powerpc/powerpc32/476: Move directory from
13484         ports/sysdeps/powerpc/powerpc32/476.
13485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13486         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13488         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13490         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13492         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13494         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13495         * README: Update for powerpc-*-linux-gnu software floating point
13496         support in libc.
13497
13498         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13499         case to powerpc/powerpc32*.
13500         * sysdeps/unix/sysv/linux/configure: Regenerated.
13501
13502         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13503         (_FPU_MASK_OM): Define as 0x04.
13504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13505         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13506         0x00c10080.
13507         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13508         0x0000003c.
13509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13510
13511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13512         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13513         getcontext_e500.
13514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13515         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13516         setcontext_e500.
13517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13518         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13519         and setcontext_e500.
13520
13521 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
13522
13523         * locale/iso-3166.def: Update iso-1366.def and related occurrences
13524
13525 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13526
13527         * manual/threads.texi (Default Thread Attributes): Fix typo.
13528
13529 2013-10-04  Will Newton  <will.newton@linaro.org>
13530
13531         * malloc/Makefile: Add tst-memalign.
13532         * malloc/tst-memalign.c: New file.
13533
13534         * malloc/tst-posix_memalign.c: Add comments.
13535         (do_test): Add comments and call free on all potentially
13536         allocated pointers. Add space after cast.
13537
13538         * malloc/tst-pvalloc.c: Add comments.
13539         (do_test): Add comments and call free on all potentially
13540         allocated pointers. Remove duplicate check for NULL pointer.
13541         Add space after cast.
13542
13543         * malloc/tst-valloc.c: Add comments.
13544         (do_test): Add comments and call free on all potentially
13545         allocated pointers. Remove duplicate check for NULL pointer.
13546         Add space after cast.
13547
13548 2013-10-04  Alan Modra  <amodra@gmail.com>
13549
13550         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13551         Use stdint types in rather than __attribute__((mode())).
13552         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13553
13554 2013-10-04  Alan Modra  <amodra@gmail.com>
13555
13556         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13557         Correct handling of unaligned relocs for little-endian.
13558         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13559
13560 2013-10-04  Alan Modra  <amodra@gmail.com>
13561
13562         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13563         * configure: Regenerate.
13564         * nptl/shlib-versions: Powerpc*le starts at 2.18.
13565         * shlib-versions: Likewise.
13566
13567 2013-10-04  Alan Modra  <amodra@gmail.com>
13568
13569         * string/tester.c (test_memrchr): Increment reported test cycle.
13570
13571 2013-10-04  Alan Modra  <amodra@gmail.com>
13572
13573         * string/test-memcpy.c (do_one_test): When reporting errors, print
13574         string address and don't overrun end of string.
13575
13576 2013-10-04  Alan Modra  <amodra@gmail.com>
13577
13578         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13579         insrdi.  Make better use of reg selection to speed exit slightly.
13580         Schedule entry path a little better.  Remove useless "are we done"
13581         checks on entry to main loop.  Handle wrapping around zero address.
13582         Correct main loop count.  Handle single left-over word from main
13583         loop inline rather than by using loop_small.  Remove extra word
13584         case in loop_small caused by wrong loop count.  Add little-endian
13585         support.
13586         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13587         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
13588         cache hint.
13589         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13590         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13591         support.  Avoid rlwimi.
13592         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13593
13594 2013-10-04  Alan Modra  <amodra@gmail.com>
13595
13596         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13597         insrdi.  Formatting.
13598         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13599         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13600         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13601         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13602         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13603         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13604
13605 2013-10-04  Alan Modra  <amodra@gmail.com>
13606
13607         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13608         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13609         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13610         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13611         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13612         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13613         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13614         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13615         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
13616         use of regs.  Use power7 mtocrf.  Tidy function tails.
13617
13618 2013-10-04  Alan Modra  <amodra@gmail.com>
13619
13620         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13621         Formatting.  Consistently use rXXX register defines or rN defines.
13622         Use early exit labels that avoid restoring unused non-volatile regs.
13623         Make cr field use more consistent with rWORDn compares.  Rename
13624         regs used as shift registers for unaligned loop, using rN defines
13625         for short lifetime/multiple use regs.
13626         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13627         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
13628         addi 1,1,64 to pop stack frame.  Simplify return value code.
13629         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13630
13631 2013-10-04  Alan Modra  <amodra@gmail.com>
13632
13633         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13634         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
13635         rather than rlwimi.
13636         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13637         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13638         little-endian support.  Correct typos.
13639         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
13640         rather than rlwimi.
13641         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
13642         in loop and entry code to keep "and." results.
13643         (strchr): Add little-endian support.  Comment.  Move cntlzd
13644         earlier in tail.
13645         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13646
13647 2013-10-04  Alan Modra  <amodra@gmail.com>
13648
13649         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13650         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13651         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13652         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13653
13654 2013-10-04  Alan Modra  <amodra@gmail.com>
13655
13656         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13657         (rTMP): Define as r11.
13658         (strcmp): Add little-endian support.  Optimise tail.
13659         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13660         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13661         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13662         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13663         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13664         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13665         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13666
13667 2013-10-04  Alan Modra  <amodra@gmail.com>
13668
13669         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13670         little-endian support.  Remove unnecessary "are we done" tests.
13671         Handle "s" wrapping around zero and extremely large "size".
13672         Correct main loop count.  Handle single left-over word from main
13673         loop inline rather than by using small_loop.  Correct comments.
13674         Delete "zero" tail, use "end_max" instead.
13675         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13676
13677 2013-10-04  Alan Modra  <amodra@gmail.com>
13678
13679         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13680         support.  Don't branch over align.
13681         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13682         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13683         support.  Rearrange tmp reg use to suit.  Comment.
13684         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13685
13686 2013-10-04  Alan Modra  <amodra@gmail.com>
13687
13688         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13689
13690 2013-10-04  Alan Modra  <amodra@gmail.com>
13691
13692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13693         conditional form of branch and link when obtaining pc.
13694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13695
13696 2013-10-04  Alan Modra  <amodra@gmail.com>
13697
13698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13699         HIWORD/LOWORD.
13700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13702
13703 2013-10-04  Alan Modra  <amodra@gmail.com>
13704
13705         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13706         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13707         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13708         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13709         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13710         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13711         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13712         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13713         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13714         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13715
13716 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13717             Alistair Popple <alistair@ozlabs.au.ibm.com>
13718             Alan Modra <amodra@gmail.com>
13719
13720         [BZ #15723]
13721         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13722         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13723         _dl_hwcap access for little-endian.
13724         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
13725         destroy vmx regs when saving unaligned.
13726         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13727         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
13728         destroy vmx regs when saving unaligned.
13729
13730 2013-10-04  Alan Modra  <amodra@gmail.com>
13731
13732         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13733         Don't use a union to pack hi/low value.
13734
13735 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13736
13737         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13738         for little-endian.
13739         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13740         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13741         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13742         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13743         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13744
13745 2013-10-04  Alan Modra  <amodra@gmail.com>
13746
13747         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13748         constants to usual value for .cst8 section, and remove redundant
13749         high address load.
13750         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13751         constant for 0x1p52.  Load little-endian words of double from
13752         correct stack offsets.
13753
13754 2013-10-04  Alan Modra  <amodra@gmail.com>
13755
13756         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13757         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13758         words of double from correct stack offsets.
13759         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13760         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13761         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13762         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13763         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13764         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13765         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13766         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13767         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13768         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13769         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13770         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13771         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13772         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13773         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13774         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13775         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13776
13777 2013-10-04  Alan Modra  <amodra@gmail.com>
13778
13779         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13780         64-bit int/double union.
13781         (_FPU_SETCW): Likewise.
13782         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13783         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13784
13785 2013-10-04  Alan Modra  <amodra@gmail.com>
13786
13787         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13788         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13789
13790 2013-10-04  Alan Modra  <amodra@gmail.com>
13791
13792         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13793         use vector int constants.
13794         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13795
13796 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13797
13798         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13799         array with long long.
13800         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13801         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13802         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13803         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13804         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13805         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13806         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13807         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13808         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13809         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13810         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13811         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13812         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13813
13814 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13815
13816         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13817         (__signbit): Likewise.  Correct for little-endian.
13818         (__signbitl): Call __signbit.
13819         (lrint): Correct for little-endian.
13820         (lrintf): Call lrint.
13821
13822 2013-10-04  Alan Modra  <amodra@gmail.com>
13823
13824         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13825         union 32-bit int array member with 64-bit int array.
13826         (t515, tm256): Double rather than long double.
13827         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13828
13829 2013-10-04  Alan Modra  <amodra@gmail.com>
13830
13831         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13832         Delete.
13833         (IEEE854_LONG_DOUBLE_BIAS): Delete.
13834         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13835         version of math_ldbl.h.
13836
13837 2013-10-04  Alan Modra  <amodra@gmail.com>
13838
13839         [BZ #15734], [BZ #15735]
13840         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13841         all uses of ieee875 long double macros and unions.  Simplify test
13842         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
13843         ldbl_extract_mantissa value for ix,iy exponents.  Properly
13844         normalize after ldbl_extract_mantissa, and don't add hidden bit
13845         already handled.  Don't treat low word of ieee854 mantissa like
13846         low word of IBM long double and mask off bit when testing for
13847         zero.
13848         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13849         all uses of ieee875 long double macros and unions.  Simplify tests
13850         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
13851         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
13852         two1022, instead use their values.  Recognise that tests for large
13853         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
13854         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13855         Rewrite all uses of ieee875 long double macros and unions.  Simplify
13856         test for 0.0L and nan.  Correct negation.
13857         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13858         ieee875 long double macros and unions.  Correct output for large
13859         magnitude x.  Correct absolute value calculation.
13860         (__erfcl): Likewise.
13861         * math/libm-test.inc: Add tests for errors discovered in IBM long
13862         double versions of fmodl, remainderl, erfl and erfcl.
13863
13864 2013-10-04  Alan Modra  <amodra@gmail.com>
13865
13866         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13867         all uses of ieee854 long double macros and unions.  Simplify tests
13868         for long doubles that are fully specified by the high double.
13869         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13870         Likewise.
13871         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13872         Remove dead code too.
13873         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13874         (__ieee754_ynl): Likewise.
13875         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13876         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13877         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13878         Remove dead code too.
13879         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13880         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13881         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13882         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13883         Simplify.
13884         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13885         Simplify.
13886         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13887         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13888         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13889         Comment on variable precision.
13890         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13891         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13892         Likewise.
13893         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13894         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13895         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13896         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13897         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13898
13899 2013-10-04  Alan Modra  <amodra@gmail.com>
13900
13901         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13902         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13903         all uses of ieee854 long double macros and unions.
13904         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13905         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13906         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13907         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13908         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13909         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13910         Likewise.
13911         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13912         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13913         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13914         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13915         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13916         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13917         Simplify sign and nan test too.
13918         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13919         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13920         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13921         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13922         Likewise.
13923         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13924         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13925         Likewise.
13926         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13927         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13928         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13929         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13930         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13931         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13932
13933 2013-10-04  Alan Modra  <amodra@gmail.com>
13934
13935         * stdio-common/printf_size.c (__printf_size): Don't use
13936         union ieee854_long_double in fpnum union.
13937         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
13938         signbit macro to retrieve sign from long double.
13939         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13940         retrieve sign from long double.
13941         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13942         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13943         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13944         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13945         * math/test-misc.c (main): Don't use union ieee854_long_double.
13946
13947 2013-10-04  Alan Modra  <amodra@gmail.com>
13948
13949         [BZ #15680]
13950         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13951         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13952         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13953         calculation.  Remove unnecessary test for denormal exponent.
13954         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13955         Correct handling of denormals.  Avoid undefined shift behaviour.
13956         Correct normalisation of low mantissa when low double is denormal.
13957         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13958         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
13959         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13960         Correct normalisation of low mantissa.  Test for overflow of high
13961         mantissa and normalise.
13962         (ldbl_nearbyint): Use more readable constant for two52.
13963         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13964         (__mpn_construct_long_double): Fix test for overflow of high
13965         mantissa and correct normalisation.  Avoid undefined shift.
13966
13967 2013-10-04  Alan Modra  <amodra@gmail.com>
13968
13969         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13970         (union ibm_extended_long_double): Define as an array of ieee754_double.
13971         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13972         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13973         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13974         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13975         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13976         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13977         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13978         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13979         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13980         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13981         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13982
13983 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
13984
13985         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13986         page size instead of calling getpagesize.
13987
13988         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13989         (LOCFILE_ALIGN_MASK): Likewise.
13990         (LOCFILE_ALIGN_UP): Likewise.
13991         (LOCFILE_ALIGNED_P): Likewise.
13992         * locale/programs/ld-collate.c (collate_output): Use the new
13993         macros instead of __alignof__ (int32_t).
13994         * locale/weight.h (findidx): Likewise.
13995
13996 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
13997
13998         [BZ #431]
13999         * manual/string.texi: Fix strncat and wcsncat.
14000
14001 2013-10-03  Brooks Moses  <bmoses@google.com>
14002
14003         [BZ #15915]
14004         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14005         * Makerules: ...here, and adjust associated comments.
14006
14007 2013-10-02  Will Newton  <will.newton@linaro.org>
14008
14009         * malloc/Makefile: Add tst-pvalloc.
14010         * malloc/tst-pvalloc.c: New file.
14011
14012 2013-10-02  Will Newton  <will.newton@linaro.org>
14013
14014         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14015         improve test coverage.
14016
14017 2013-10-02  Will Newton  <will.newton@linaro.org>
14018
14019         * malloc/Makefile: Add tst-posix_memalign.
14020         * malloc/tst-posix_memalign.c: New file.
14021
14022 2013-10-01  Eric Blake  <eblake@redhat.com>
14023
14024         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14025         Use __THROWNL rather than __THROW on static functions.
14026
14027 2013-09-30  Petr Machata  <pmachata@redhat.com>
14028
14029         * elf/elf.h (R_AARCH64_ABS16): New macro.
14030         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14031         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14032         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14033         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14034         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14035         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14036         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14037         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14038         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14039         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14040         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14041         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14042         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14043         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14044         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14045         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14046         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14047         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14048         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14049         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14050         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14051         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14052         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14053         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14054         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14055         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14056         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14057         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14058         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14059         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14060         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14061         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14062         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14063         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14064         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14065         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14066         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14067         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14068         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14069         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14070         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14071         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14072         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14073         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14074         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14075         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14076         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14077         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14078         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14079         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14080         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14081         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14082         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14083         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14084         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14085         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14086         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14087         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14088         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14089         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14090         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14091         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14092         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14093         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14094         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14095         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14096         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14097         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14098         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14099         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14100         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14101         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14102         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14103         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14104         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14105         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14106         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14107         (R_AARCH64_TLSDESC_LDR): Likewise.
14108         (R_AARCH64_TLSDESC_ADD): Likewise.
14109         (R_AARCH64_TLSDESC_CALL): Likewise.
14110
14111 2013-09-30  Andreas Schwab  <schwab@suse.de>
14112
14113         [BZ #15048]
14114         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14115         the nss database lookup.
14116         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14118
14119 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14120
14121         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14122
14123 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14124
14125         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14126         ${Bash-specific parameter/pattern/string} parameter expansion.
14127         * sysdeps/unix/make-syscalls.sh: Likewise.
14128
14129 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14130
14131         * sysdeps/sh/stackguard-macros.h: New file.
14132
14133 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14134
14135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14137         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14138         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14139         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14140         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14141
14142 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14143
14144         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14145         Fix thread ID register.
14146
14147 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14148
14149         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14150         [POSIX || UNIX98]: Require rather than permitting all symbols from
14151         <time.h>.
14152         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14153         element of struct sched_param.
14154         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14155         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14156         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14157         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14158         constant.
14159
14160 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14161
14162         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14163         argument calculation.
14164
14165 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14166
14167         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14168         Expect macro.
14169         [POSIX] (pthread_attr_t): Do not require type.
14170         [POSIX] (pthread_cond_t): Likewise.
14171         [POSIX] (pthread_condattr_t): Likewise.
14172         [POSIX] (pthread_key_t): Likewise.
14173         [POSIX] (pthread_mutex_t): Likewise.
14174         [POSIX] (pthread_mutexattr_t): Likewise.
14175         [POSIX] (pthread_once_t): Likewise.
14176         [POSIX] (pthread_t): Likewise.
14177         [POSIX-based standards] (pthread_atfork): Expect function.
14178
14179 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14180             Richard Sandiford  <richard@codesourcery.com>
14181
14182         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14183         (swap_endianness_p): New extern variable.
14184         (set_big_endian): New inline function.
14185         (maybe_swap_uint32): Likewise.
14186         (maybe_swap_uint32_array): Likewise.
14187         (maybe_swap_uint32_obstack): Likewise.
14188         * locale/programs/locfile.c: Include <stdbool.h>.
14189         (swap_endianness_p): New variable.
14190         (add_locale_uint32): Call maybe_swap_uint32.
14191         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14192         (write_locale_data): Call maybe_swap_uint32_array.
14193         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14194         maybe_swap_uint32.
14195         (obstack_int32_grow_fast): Likewise.
14196         (output_weightwc): Call maybe_swap_uint32_obstack.
14197         (collate_output): Likewise.
14198         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14199         (OPT_LITTLE_ENDIAN): Likewise.
14200         (options): Add --little-endian and --big-endian options.
14201         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14202         * locale/programs/locarchive.c: Include "locfile.h".
14203         (GET): New macro.
14204         (SET): Likewise.
14205         (INC): Likewise.
14206         (create_archive): Use the new macros to access fields of
14207         structures directly mapped from or written to locale archives.
14208         (oldlocrecentcmp): Likewise.
14209         (enlarge_archive): Likewise.
14210         (insert_name): Likewise.
14211         (add_alias): Likewise.
14212         (add_locale): Likewise.
14213         (delete_locales_from_archive): Likewise.
14214         (show_archive_content): Likewise.
14215         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14216         locale data.
14217
14218 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14219
14220         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14221         http://www.gnu.org/doc/freemanuals.texi.
14222         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14223
14224 2013-09-24  Will Newton  <will.newton@linaro.org>
14225
14226         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14227         macro.
14228
14229 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14230
14231         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14232         unsigned char.
14233
14234 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14235
14236         * manual/threads.texi (POSIX Threads): Fix a typo.
14237
14238 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14239
14240         [BZ #14547]
14241         * string/tst-strcoll-overflow.c: New test case.
14242         * string/Makefile (xtests): Add tst-strcoll-overflow.
14243         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14244         cache if string sizes may cause integer overflow.
14245
14246         [BZ #14547]
14247         * string/strcoll_l.c (coll_seq): New members rule, idx,
14248         save_idx and back_us.
14249         (get_next_seq_nocache): New function.
14250         (do_compare_nocache): New function.
14251         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14252         when malloc fails.
14253
14254 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14255
14256         [BZ #15754]
14257         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14258         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14259         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14260
14261         [BZ #15754]
14262         * elf/Makefile (tests): Add tst-ptrguard1.
14263         (tests-static): Add tst-ptrguard1-static.
14264         (tst-ptrguard1-ARGS): Define.
14265         (tst-ptrguard1-static-ARGS): Define.
14266         * elf/tst-ptrguard1.c: New file.
14267         * elf/tst-ptrguard1-static.c: New file.
14268         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14269         * sysdeps/i386/stackguard-macros.h: Likewise.
14270         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14271         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14272         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14273         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14274         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14275         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14276
14277 2013-09-23  Hector Marco  <hecmargi@upv.es>
14278             Ismael Ripoll  <iripoll@disca.upv.es>
14279             Carlos O'Donell  <carlos@redhat.com>
14280
14281         [BZ #15754]
14282         * sysdeps/generic/stackguard-macros.h: Define
14283         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14284         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14285         Define __pointer_chk_guard_local.
14286         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14287         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14288
14289 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14290
14291         [BZ #15859]
14292         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14293
14294 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14295
14296         * include/string.h (__ffs): Declare as hidden.
14297         * string/ffs.c (__ffs): Define as hidden.
14298         * sysdeps/i386/ffs.c (__ffs): Likewise.
14299         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14300         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14301         * sysdeps/s390/ffs.c (__ffs): Likewise.
14302         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14303
14304 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14305
14306         * NEWS: Mention malloc probes.
14307
14308         * malloc/arena.c (new_heap): New memory_heap_new probe.
14309         (grow_heap): New memory_heap_more probe.
14310         (shrink_heap): New memory_heap_less probe.
14311         (heap_trim): New memory_heap_free probe.
14312         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14313         (systrim): New memory_sbrk_less probe.
14314         * manual/probes.texi: Document them.
14315
14316         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14317         * manual/probes.texi: Document it.
14318
14319         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14320         (__libc_realloc): Add memory_realloc_retry probe.
14321         (__libc_memalign): Add memory_memalign_retry probe.
14322         (__libc_valloc): Add memory_valloc_retry probe.
14323         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14324         (__libc_calloc): Add memory_calloc_retry probe.
14325         * manual/probes.texi: Document them.
14326
14327         * malloc/arena.c (get_free_list): Add probe
14328         memory_arena_reuse_free_list.
14329         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14330         and memory_arena_reuse.
14331         (arena_get2) [!PER_THREAD]: Likewise.
14332         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14333         memory_arena_reuse_realloc.
14334         * manual/probes.texi: Document them.
14335
14336         * malloc/malloc.c (__libc_free): Add
14337         memory_mallopt_free_dyn_thresholds probe.
14338         (__libc_mallopt): Add multiple memory_mallopt probes.
14339         * manual/probes.texi: Document them.
14340
14341         * malloc/malloc.c: Include stap-probe.h.
14342         (__libc_mallopt): Add memory_mallopt probe.
14343         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14344         * manual/probes.texi: New.
14345         * manual/Makefile (chapters): Add probes.
14346         * manual/threads.texi: Set next node.
14347
14348 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14349
14350         [BZ #15963, #13985]
14351         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14352         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14353         Add `Chinese' to `nan' entry name.
14354
14355 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14356
14357         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14358         (POLYNOMIAL): Likewise.
14359         (TAYLOR_SINCOS): Likewise.
14360         (TAYLOR_SLOW): Likewise.
14361         (__sin): Use TAYLOR_SINCOS.
14362         (__cos): Likewise.
14363         (slow): Use TAYLOR_SLOW.
14364         (sloww): Likewise.
14365         (bsloww): Likewise.
14366         (csloww): Likewise.
14367
14368 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14369
14370         * stdlib/strtod_l.c: Fix buffer overrun.
14371
14372 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14373
14374         * benchtests/Makefile (bench): Add sincos.
14375         * benchtests/bench-sincos.c: New file.
14376
14377         * math/libm-test.inc (cos_test_data): New test inputs.
14378         (sin_test_data): Likewise.
14379
14380         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14381         macro.
14382         (__sin): Use it.
14383         (__cos): Likewise.
14384         (slow1): Likewise.
14385         (slow2): Likewise.
14386         (sloww1): Likewise.
14387         (sloww2): Likewise.
14388         (bsloww1): Likewise.
14389         (bsloww2): Likewise.
14390         (cslow2): Likewise.
14391         (csloww1): Likewise.
14392         (csloww2): Likewise.
14393
14394         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14395         function.
14396         (__sin): Use it.
14397         (__cos): Likewise.
14398
14399         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14400         gotos.
14401         (__cos): Likewise.
14402
14403 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
14404
14405         * config.h.in (HAVE_MIPS_NAN2008): New macro.
14406         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14407         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14408         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14409         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14410         * elf/cache.c (print_entry): Handle the new cache flags.
14411
14412 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14413             Aldy Hernandez  <aldyh@redhat.com>
14414
14415         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14416         Change condition to [_SOFT_FLOAT].
14417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14418         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14419         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14421         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14422         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14423         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14429         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14431         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14432         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14433         declaration.
14434
14435 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14436
14437         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14438         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14439         (__longjmp): Use LOAD_GP to load saved GPRs.
14440         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14441         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14442         (__sigsetjmp): Use SAVE_GP to save GPRs.
14443
14444         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14445         Do not append -msoft-float.
14446         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14447
14448 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14449
14450         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14451
14452 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
14453
14454         [BZ #15966]
14455         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14456         (_FPU_GETCW): Use initial "__" on variable and field names but not
14457         on macro parameter name.
14458         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
14459         parentheses around reference to macro parameter.
14460
14461 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
14462
14463         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14464         prototype.
14465         (ctype_startup): Use uint32_t in cast and sizeof for
14466         ctype->charnames.
14467
14468 2013-09-11  Jia Liu  <proljc@gmail.com>
14469
14470         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14471         __daddr_t_defined.
14472         [__FreeBSD__]: Likewise.
14473
14474 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
14475
14476         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14477         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14478         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14479         (strchr): Remove __strchr_sse42 ifunc selection.
14480         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14481         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14482
14483 2013-09-11  Will Newton  <will.newton@linaro.org>
14484
14485         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14486         parameter to RES. Remove hardcoded 1000 value.
14487         * benchtests/bench-skeleton.c (main): Pass RES parameter
14488         to TIMING_INIT and multiply result by 1000.
14489
14490 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14491
14492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14493
14494 2013-09-11  Andreas Schwab  <schwab@suse.de>
14495
14496         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14497         if not defined.
14498         (O_TMPFILE) [__USE_GNU]: Define.
14499         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14500         Define.
14501
14502 2013-09-11  Will Newton  <will.newton@linaro.org>
14503
14504         [BZ #15857]
14505         * malloc/malloc.c (__libc_memalign): Check the value of bytes
14506         does not overflow.
14507
14508 2013-09-11  Will Newton  <will.newton@linaro.org>
14509
14510         [BZ #15856]
14511         * malloc/malloc.c (__libc_valloc): Check the value of bytes
14512         does not overflow.
14513
14514 2013-09-11  Will Newton  <will.newton@linaro.org>
14515
14516         [BZ #15855]
14517         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14518         does not overflow.
14519
14520 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
14521
14522         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14523         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14524         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14525         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14526         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14527
14528 2013-09-10  Allan McRae  <allan@archlinux.org>
14529
14530         [BZ #15748]
14531         * manual/arith.texi (Parsing of Floats): Clarify
14532         cross-reference.
14533
14534         [BZ #15849]
14535         * manual/install.texi (Running make install): Mention
14536         --enable-pt-chown.
14537         * INSTALL: Regenerated.
14538
14539 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14540
14541         * csu/init-first.c (_init): Remove the !SHARED condition around
14542         FPU control word initialization.
14543         * elf/dl-support.c (_dl_fpu_control): New variable.
14544         (_dl_aux_init) <AT_FPUCW>: Initialize it.
14545         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14546         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14547         * math/test-fpucw-static.c: New file.
14548         * math/test-fpucw-ieee.c: New file.
14549         * math/test-fpucw-ieee-static.c: New file.
14550         * math/Makefile (tests): Add `test-fpucw-ieee' and
14551         `$(tests-static)'.
14552         (tests-static): New variable.
14553         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14554         dependency to...
14555         [($(build-shared),yes)]
14556         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14557         ... this.
14558         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14559         New dependency.
14560
14561 2013-09-09  Allan McRae  <allan@archlinux.org>
14562
14563         [BZ #15939]
14564         * manual/string.texi (Collation Functions): Fix typo in
14565         strcoll example.
14566         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14567
14568         [BZ #15893]
14569         * stdlib/isomac.c (get_null_defines): Fix memory leak.
14570
14571         [BZ #15892]
14572         * libio/memstream.c (open_memstream): Fix memory leak.
14573         * libio/wmemstream.c (open_wmemstream): Likewise.
14574
14575         [BZ #15895]
14576         * nscd/netgroupcache.c: Fix nesting of ifdefs.
14577
14578 2013-09-09  Will Newton  <will.newton@linaro.org>
14579
14580         * malloc/Makefile: Add tst-realloc to tests.
14581         * malloc/tst-realloc.c: New file.
14582
14583 2013-09-09  Allan McRae  <allan@archlinux.org>
14584
14585         [BZ #15844]
14586         * COPYING: Update from GNU website to fix FSF address.
14587         * COPYING.LIB: Likewise.
14588
14589 2013-09-06  David S. Miller  <davem@davemloft.net>
14590
14591         * po/zh_TW.po: Update Chinese (traditional) translation from
14592         translation project.
14593
14594 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
14595             Joseph Myers  <joseph@codesourcery.com>
14596
14597         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14598         "localeinfo.h".
14599         (obstack_chunk_alloc): New macro.
14600         (obstack_chunk_free): Likewise.
14601         (record_offset): New function.
14602         (init_locale_data): Likewise.
14603         (align_locale_data): Likewise.
14604         (add_locale_empty): Likewise.
14605         (add_locale_raw_data): Likewise.
14606         (add_locale_raw_obstack): Likewise.
14607         (add_locale_string): Likewise.
14608         (add_locale_wstring): Likewise.
14609         (add_locale_uint32): Likewise.
14610         (add_locale_uint32_array): Likewise.
14611         (add_locale_char): Likewise.
14612         (start_locale_structure): Likewise.
14613         (end_locale_structure): Likewise.
14614         (start_locale_prelude): Likewise.
14615         (end_locale_prelude): Likewise.
14616         (write_locale_data): Take locale_file structure rather than an
14617         iovec.
14618         * locale/programs/locfile.h: Include "obstack.h".
14619         (struct locale_file): Change to store locale file contents instead
14620         of header.
14621         (init_locale_data): New prototype.
14622         (align_locale_data): Likewise.
14623         (add_locale_empty): Likewise.
14624         (add_locale_raw_data): Likewise.
14625         (add_locale_raw_obstack): Likewise.
14626         (add_locale_string): Likewise.
14627         (add_locale_wstring): Likewise.
14628         (add_locale_uint32): Likewise.
14629         (add_locale_uint32_array): Likewise.
14630         (add_locale_char): Likewise.
14631         (start_locale_structure): Likewise.
14632         (end_locale_structure): Likewise.
14633         (start_locale_prelude): Likewise.
14634         (end_locale_prelude): Likewise.
14635         (write_locale_data): Update prototype.
14636         * locale/programs/3level.h (struct TABLE): Remove result field.
14637         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14638         Use new locale_file interface.
14639         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14640         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14641         * locale/programs/ld-address.c (address_output): Use new
14642         locale_file interface.
14643         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14644         NO_ADD_LOCALE.
14645         (collate_finish): Don't call collseq_table_finalize.
14646         (collate_output): Use new locale_file interface.
14647         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14648         in file.
14649         (NO_FINALIZE): Change to NO_ADD_LOCALE.
14650         (TABLE): Move defines earlier in file.
14651         (ELEMENT): Likewise.
14652         (DEFAULT): Likewise.
14653         (wctrans_table_add): Move macro and inline function earlier in
14654         file.
14655         (struct wctype_table): Move type earlier in file.
14656         (add_locale_wctype_table): New static prototype.
14657         (struct locale_ctype_t): Use logical types instead of struct iovec
14658         pointers for members.
14659         (ctype_output): Use new locale_file interface.
14660         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
14661         new locale_file interface.
14662         (allocate_arrays): Update for use of new locale_file interface.
14663         * locale/programs/ld-identification.c (identification_output): Use
14664         new locale_file interface.
14665         * locale/programs/ld-measurement.c (measurement_output): Likewise.
14666         * locale/programs/ld-messages.c (messages_output): Likewise.
14667         * locale/programs/ld-monetary.c (monetary_output): Likewise.
14668         * locale/programs/ld-name.c (name_output): Likewise.
14669         * locale/programs/ld-numeric.c (numeric_output): Likewise.
14670         * locale/programs/ld-paper.c (paper_output): Likewise.
14671         * locale/programs/ld-telephone.c (telephone_output): Likewise.
14672         * locale/programs/ld-time.c (time_output): Likewise.
14673
14674 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14675
14676         * benchtests/Makefile: Add memrchr benchmark.
14677         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14678         benchmark as memrchr.
14679         * benchtests/bench-memrchr-ifunc.c: New file.
14680         * benchtests/bench-memrchr.c: New file.
14681
14682 2013-09-06   Will Newton  <will.newton@linaro.org>
14683
14684         * benchtests/Makefile (string-bench): Add memcpy.
14685
14686 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
14687             Cong Wang  <amwang@redhat.com>
14688
14689         [BZ #15850]
14690         * sysdeps/unix/sysv/linux/bits/in.h
14691         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14692         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14693         before __USE_KERNEL_IPV6_DEFS uses.
14694         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14695         IPPROTO_BEETPH.
14696         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14697         sockaddr_in6, or ipv6_mreq.
14698
14699 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14700
14701         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14702         memory access for final bytes in some large inputs.
14703         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14704
14705 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14706
14707         * string/test-memrchr.c: New file.
14708         * string/test-memrchr-ifunc.c: New file.
14709         * string/Makefile: Add new memrchr testcase.
14710
14711 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
14712
14713         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14714         fanotify_init returns EPERM.
14715
14716 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14717
14718         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14719         errors.
14720         (top level): Treat second token from macro or constant entries for
14721         allowed headers as allowed.
14722         * include/complex.h: Condition internal declarations on
14723         [!_ISOMAC].
14724         * include/fenv.h: Condition include of <stdbool.h> and internal
14725         declarations on [!_ISOMAC].
14726
14727 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
14728
14729         [BZ #15923]
14730         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14731
14732 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14733
14734         * configure.in (--enable-versioning): Remove configure option.
14735         (libc_cv_asm_symver_directive): Remove configure test.
14736         (libc_cv_ld_version_script_option): Likewise.
14737         (VERSIONING): Remove variable and AC_SUBST.
14738         (DO_VERSIONING): Remove AC_DEFINE.
14739         * configure: Regenerated.
14740         * config.h.in (DO_VERSIONING): Remove macro.
14741         * Makerules [$(versioning) = yes]: Change conditionals to
14742         [$(build-shared) = yes].
14743         * config.make.in (versioning): Remove variable.
14744         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14745         [$(build-shared) = yes].
14746         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14747         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14748         * elf/Makefile [$(versioning) = yes]: Change conditionals to
14749         [$(build-shared) = yes].
14750         * extra-lib.mk [$(versioning) = yes]: Likewise.
14751         * hurd/Makefile [$(versioning) = yes]: Likewise.
14752         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14753         [SHARED].
14754         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14755         [SHARED].
14756         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14757         [SHARED && !NO_HIDDEN].
14758         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14759         [SHARED].
14760         [SHARED && DO_VERSIONING]: Likewise..
14761         * libio/Makefile [$(versioning) = yes]: Change conditionals to
14762         [$(build-shared) = yes].
14763         * manual/install.texi (--disable-versioning): Remove
14764         documentation.
14765         * INSTALL: Regenerated.
14766         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14767         to [SHARED].
14768         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14769         [$(build-shared) = yes].
14770         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14771         * sysdeps/i386/i686/multiarch/strstr-c.c
14772         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14773         [SHARED && !NO_HIDDEN].
14774         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14775         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14776         * sysdeps/powerpc/powerpc32/dl-machine.c
14777         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14778         * sysdeps/powerpc/powerpc32/sysdep.h
14779         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14780         to [SHARED && PIC && !NO_HIDDEN].
14781         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14782         conditional to [SHARED].
14783
14784 2013-09-04   Will Newton  <will.newton@linaro.org>
14785
14786         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14787         * benchtests/bench-string.h: Include bench-timing.h instead
14788         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14789         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14790         call to HP_TIMING_DIFF_INIT.
14791         * benchtests/bench-memccpy.c: Use bench-timing.h macros
14792         instead of hp-timing.h macros.
14793         * benchtests/bench-memchr.c: Likewise.
14794         * benchtests/bench-memcmp.c: Likewise.
14795         * benchtests/bench-memcpy.c: Likewise.
14796         * benchtests/bench-memmem.c: Likewise.
14797         * benchtests/bench-memmove.c: Likewise.
14798         * benchtests/bench-memset.c: Likewise.
14799         * benchtests/bench-rawmemchr.c: Likewise.
14800         * benchtests/bench-strcasecmp.c: Likewise.
14801         * benchtests/bench-strcasestr.c: Likewise.
14802         * benchtests/bench-strcat.c: Likewise.
14803         * benchtests/bench-strchr.c: Likewise.
14804         * benchtests/bench-strcmp.c: Likewise.
14805         * benchtests/bench-strcpy.c: Likewise.
14806         * benchtests/bench-strcpy_chk.c: Likewise.
14807         * benchtests/bench-strlen.c: Likewise.
14808         * benchtests/bench-strncasecmp.c: Likewise.
14809         * benchtests/bench-strncat.c: Likewise.
14810         * benchtests/bench-strncmp.c: Likewise.
14811         * benchtests/bench-strncpy.c: Likewise.
14812         * benchtests/bench-strnlen.c: Likewise.
14813         * benchtests/bench-strpbrk.c: Likewise.
14814         * benchtests/bench-strrchr.c: Likewise.
14815         * benchtests/bench-strspn.c: Likewise.
14816         * benchtests/bench-strstr.c: Likewise.
14817
14818 2013-09-04  Will Newton  <will.newton@linaro.org>
14819
14820         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14821
14822 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
14823
14824         [BZ #15427]
14825         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14826         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14827         * math/libm-test.inc (lgamma_test_data): Add more tests.
14828         * sysdeps/i386/fpu/libm-test-ulps: Update.
14829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14830
14831 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
14832
14833         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14835         Add ifunc.
14836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14837         Add strcmp-sse2-unaligned
14838         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14839
14840 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14841
14842         * Versions.def (libc): Add GLIBC_2.19.
14843
14844 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14845
14846         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14847         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14848
14849 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
14850
14851         [BZ #14155]
14852         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14853         intermediate calculations in recurrence.
14854         (__ieee754_ynf): Likewise.
14855         * math/libm-test.inc (jn_test_data): Do not allow spurious
14856         underflow exception.  Add more tests.
14857         (yn_test_data): Add more tests.
14858         * sysdeps/i386/fpu/libm-test-ulps: Update.
14859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14860
14861 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
14862
14863         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14864
14865 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14866
14867         * csu/init-first.c: Fix then/than typos.
14868         * locale/programs/ld-collate.c: Likewise.
14869         * locale/programs/linereader.h: Likewise.
14870         * manual/charset.texi: Likewise.
14871         * manual/filesys.texi: Likewise.
14872         * manual/stdio.texi: Likewise.
14873         * manual/string.texi: Likewise.
14874         * stdlib/fmtmsg.c: Likewise.
14875         * sysdeps/i386/stpncpy.S: Likewise.
14876         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14877         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14878         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14879         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14880
14881 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14882
14883         * elf/dl-open.c: Fix typos.
14884         * iconvdata/gbbig5.c: Likewise.
14885         * iconvdata/iso-2022-jp.c: Likewise.
14886         * iconv/gconv_int.h: Likewise.
14887         * iconv/loop.c: Likewise.
14888         * nis/rpcsvc/nis.h: Likewise.
14889         * resolv/ns_name.c: Likewise.
14890         * stdio-common/vfscanf.c: Likewise.
14891         * streams/stropts.h: Likewise.
14892         * sunrpc/rpc_thread.c: Likewise.
14893         * sysdeps/i386/strpbrk.S: Likewise.
14894         * sysdeps/ieee754/k_standard.c: Likewise.
14895         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14896         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14897         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14898         * sysdeps/mach/hurd/profil.c: Likewise.
14899         * sysdeps/s390/dl-procinfo.h: Likewise.
14900         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14901         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14902         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14903         * sysdeps/x86_64/dl-trampoline.S: Likewise.
14904         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14905
14906 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
14907
14908         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14909         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14910
14911 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
14912
14913         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14914         aix specific files.
14915         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14916         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14917         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14918         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14919         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14920         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14921         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14922         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14923
14924 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14925             Roland McGrath  <roland@hack.frob.com>
14926
14927         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14928         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14929
14930 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14931
14932         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14933         __executable_start symbol instead of _start.
14934
14935 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14936
14937         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14938         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14939         Move macros to...
14940         * sysdeps/gnu/ldsodefs.h: ... this new file.
14941
14942         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14943         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14944         instead of ELFOSABI_LINUX.
14945
14946         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14947         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14948         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14949         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14950         Likewise.
14951         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14952         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14953         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14954         Likewise.
14955         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14956         (ibm_extended_long_double): Add ieee_nan member.
14957         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14958         (do_test): New function.
14959
14960         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14961         TEST_TRUNC.
14962         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14963         functions, renamed from truncdfsf_test, trunctfsf_test,
14964         trunctfdf_test.
14965         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14966         functions.
14967         (do_test): Run all these.
14968
14969 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
14970
14971         * argp/argp-help.c: Fix typos.
14972         * argp/argp-parse.c: Likewise.
14973         * debug/backtracesyms.c: Likewise.
14974         * elf/elf.h: Likewise.
14975         * malloc/malloc.c: Likewise.
14976         * nis/nis_print.c: Likewise.
14977         * resolv/res_comp.c: Likewise.
14978         * stdlib/stdlib.h: Likewise.
14979         * sunrpc/clnt_tcp.c: Likewise.
14980         * sunrpc/clnt_udp.c: Likewise.
14981         * sunrpc/clnt_unix.c: Likewise.
14982         * sysdeps/unix/bsd/ptsname.c: Likewise.
14983         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14984         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14986         Likewise.
14987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14988         Likewise.
14989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14990         Likewise.
14991         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14992
14993 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14994
14995         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14996         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14997
14998 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
14999
15000         [BZ #15897]
15001         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15002         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15003         ($(objpfx)bug-dl-leaf): New rule.
15004         ($(objpfx)bug-dl-leaf.so): Likewise.
15005         ($(objpfx)bug-dl-leaf.out): Likewise.
15006         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15007         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15008         * dlfcn/bug-dl-leaf.c: New test.
15009         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15010         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15011         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15012         (dlclose): Likewise.
15013         (dlmopen): Likewise.
15014
15015 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15016
15017         * include/netdb.h [!_ISOMAC]:
15018         Don't include <tls.h>.
15019         (h_errno, __libc_h_errno): Move declaration and macros out of
15020         [_LIBC_REENTRANT].
15021
15022         * include/resolv.h [_RESOLV_H_]:
15023         Don't include <tls.h>.
15024         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15025         * resolv/res_libc.c: Don't include <tls.h>.
15026         (_res): Use __attribute__ ((nocommon)) in place of
15027         __attribute__ ((section (".bss"))).
15028
15029         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15030         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15031
15032         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15033
15034         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15035         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15036
15037         * resolv/res_mkquery.c: Include <sys/time.h>.
15038
15039         * inet/ifreq.c: Moved to ...
15040         * sysdeps/unix/ifreq.c: ... here.
15041         * inet/ifreq.c: New file, true stub version.
15042
15043         * socket/sa_len.c: New file.
15044         * socket/Makefile (aux): Add it.
15045         * sysdeps/unix/sysv/linux/Makefile
15046         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15047         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15048         and #include <socket/sa_len.c>.
15049         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15050         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15051
15052         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15053         * bits/socket.h: ... here.
15054
15055         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15056         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15057         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15058
15059 2013-08-27  Andreas Schwab  <schwab@suse.de>
15060
15061         [BZ #15736]
15062         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15063         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15064         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15065         * string/test-strcasecmp.c (test_main): Run tests in several
15066         locales.
15067         * string/test-strncasecmp.c (test_main): Likewise.
15068
15069         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15070         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15071         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15072         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15073         (__strncasecmp_ssse3) [PIC]: Likewise.
15074
15075 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15076
15077         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15078
15079         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15080         instead of explicitly declaring xdecrypt.
15081         * nis/nss_nis/nis-publickey.c: Likewise.
15082
15083 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15084
15085         [BZ #15890]
15086         * nscd/aicache.c: Include res_hconf.h.
15087         (addhstaiX): Initialize res_hconf.
15088
15089 2013-08-26  Andreas Schwab  <schwab@suse.de>
15090
15091         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15092         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15093
15094 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15095
15096         * nscd/aicache.c (addhstaiX): Fix indentation.
15097
15098 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15099
15100         * configure.ac: Quote $build_pt_chown test.
15101         * configure: Regenerated.
15102
15103 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15104
15105         [BZ #15532]
15106         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15107         * math/s_cexpf.c (__cexpf): Likewise.
15108         * math/s_cexpl.c (__cexpl): Likewise.
15109         * math/libm-test.inc (cexp_test_data): Correct expected return
15110         value for NaN + i0.  Add another test.
15111
15112 2013-08-22  David S. Miller  <davem@davemloft.net>
15113
15114         * po/ca.po: Update Catalan translation from translation project.
15115         * po/uk.po: Add Ukrainian translations from translation project.
15116
15117 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15118
15119         [BZ #15797]
15120         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15121         is infinite, not alongside NaN test.
15122         * math/s_fdimf.c (__fdimf): Likewise.
15123         * math/s_fdiml.c (__fdiml): Likewise.
15124         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15125         errno is unchanged.
15126
15127 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15128
15129         * argp/argp-help.c: Fix typos.
15130         * crypt/speeds.c: Likewise.
15131         * csu/check_fds.c: Likewise.
15132         * elf/dl-load.c: Likewise.
15133         * elf/dl-open.c: Likewise.
15134         * elf/reldep3.c: Likewise.
15135         * elf/reldep.c: Likewise.
15136         * elf/sprof.c: Likewise.
15137         * iconv/iconv_charmap.c: Likewise.
15138         * iconv/skeleton.c: Likewise.
15139         * iconv/strtab.c: Likewise.
15140         * io/lockf64.c: Likewise.
15141         * libio/libioP.h: Likewise.
15142         * resolv/gai_notify.c: Likewise.
15143         * resolv/ns_name.c: Likewise.
15144         * resolv/ns_samedomain.c: Likewise.
15145         * resolv/res_send.c: Likewise.
15146         * stdlib/random.c: Likewise.
15147         * sunrpc/rpc/xdr.h: Likewise.
15148         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15149         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15150         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15151         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15152         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15153         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15154         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15155         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15156         * sysdeps/mach/hurd/check_fds.c: Likewise.
15157         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15158         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15159         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15160         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15161         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15162         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15163         * sysdeps/pthread/aio_notify.c: Likewise.
15164         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15165         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15166         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15167         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15168         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15169
15170 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15171
15172         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15173         version if bit_Slow_SSE4_2 is set.
15174         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15175         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15176
15177 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15178
15179         [BZ #15867]
15180         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15181         trampoline stack frame information.
15182         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15183         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15184         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15185         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15186         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15187         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15188         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15189         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15190         sa_flags value.
15191         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15192         interrupting a syscall and set with option SA_SIGINFO.
15193
15194 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15195
15196         [BZ #15531]
15197         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15198         argument is infinite.
15199         * math/s_cprojf.c (__cprojf): Likewise.
15200         * math/s_cprojl.c (__cprojl): Likewise.
15201         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15202         * math/libm-test.inc (cproj_test_data): Add more tests.
15203
15204         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15205
15206         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15207         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15208         size.  Use __ffs to determine corresponding shift.
15209
15210 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15211             Roland McGrath  <roland@hack.frob.com>
15212
15213         * Makefile (INSTALL): Remove trailing blank lines from output of
15214         makeinfo.
15215
15216 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15217
15218         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15219         Align 32 bit compat elf_greg to 8 bytes.
15220
15221 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15222
15223         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15224
15225 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15226
15227         * string/strcoll_l.c (coll_seq): New structure.
15228         (get_next_seq_cached): New function.
15229         (get_next_seq): New function.
15230         (do_compare): New function.
15231         (STRCOLL): Use GNU style definition.  Simplify implementation
15232         by using get_next_seq, get_next_seq_cached and do_compare.
15233
15234 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15235
15236         [BZ #14699]
15237         CVE-2013-4237
15238         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15239         member.
15240         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15241         member.
15242         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15243         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15244         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15245         conditional.
15246         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15247         GETDENTS_64BIT_ALIGNED.
15248         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15249         * manual/filesys.texi (Reading/Closing Directory): Document
15250         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15251         strongly.
15252         * manual/conf.texi (Limits for Files): Add portability note to
15253         NAME_MAX, PATH_MAX.
15254         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15255
15256 2013-08-13  Andreas Schwab  <schwab@suse.de>
15257
15258         [BZ #15749]
15259         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15260         of fabs.
15261         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15262         LDBL_MAX_EXP >= 16384]: Add tests for it.
15263
15264 2013-08-12  David S. Miller  <davem@davemloft.net>
15265
15266         * version.h (RELEASE): Set to "development".
15267         (VERSION): Set to "2.18.90".
15268         * NEWS: Add 2.19 section.
15269
15270 2013-08-03  David S. Miller  <davem@davemloft.net>
15271
15272         * po/ko.po: Update Korean translation from translation project.
15273
15274 2013-08-01  David S. Miller  <davem@davemloft.net>
15275
15276         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15277         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15278         Bilka.
15279
15280 2013-07-30  David S. Miller  <davem@davemloft.net>
15281
15282         * po/fr.po: Update French translation from translation project.
15283
15284 2013-07-28  David S. Miller  <davem@davemloft.net>
15285
15286         * po/cs.po: Update Czech translation from translation project.
15287
15288         * po/sv.po: Update Swedish translation from translation project.
15289
15290 2013-07-27  David S. Miller  <davem@davemloft.net>
15291
15292         * po/eo.po: Update Esperanto translation from translation project.
15293
15294         * po/vi.po: Update Vietnamese translation from translation project.
15295
15296         * po/de.po: Update German translation from translation project.
15297
15298 2013-07-26  David S. Miller  <davem@davemloft.net>
15299
15300         * po/bg.po: Update Bulgarian translation from translation project.
15301
15302         * po/nl.po: Update Dutch translation from translation project.
15303         * po/pl.po: Update Polish translation from translation project.
15304         * po/ru.po: Update Russian translation from translation project.
15305
15306 2013-07-24  David S. Miller  <davem@davemloft.net>
15307
15308         * po/libc.pot: Update.
15309
15310 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15311
15312         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15313         variable page size.
15314         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15315         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15316         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15317
15318 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15319
15320         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15321
15322 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15323             Andreas Schwab  <schwab@suse.de>
15324             Roland McGrath  <roland@hack.frob.com>
15325             Joseph Myers  <joseph@codesourcery.com>
15326             Carlos O'Donell  <carlos@redhat.com>
15327
15328         [BZ #15755]
15329         * config.h.in: Define HAVE_PT_CHOWN.
15330         * config.make.in (build-pt-chown): New variable.
15331         * configure.in (--enable-pt_chown): New configure option.
15332         * configure: Regenerate.
15333         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15334         build-pt-chown is enabled.
15335         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15336         pt_chown to fix pty ownership.
15337         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15338         CLOSE_ALL_FDS.
15339         * manual/install.texi (Configuring and compiling): Mention
15340         --enable-pt_chown. Add @findex for grantpt.
15341         * INSTALL: Regenerate.
15342
15343 2013-07-20  David S. Miller  <davem@davemloft.net>
15344
15345         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15346         difference between 32-bit and 64-bit.
15347
15348 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15349
15350         [BZ #15711]
15351         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15352         Avoid system header dependency with -ffreestanding.
15353         ($(objpfx)bits/syscall%d): Likewise.
15354
15355 2013-07-13  David S. Miller  <davem@davemloft.net>
15356
15357         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15358         underflows from atanl/atan2l due to bug 15319.
15359         (casinh_test_data): Likewise.
15360
15361 2013-07-07  David S. Miller  <davem@davemloft.net>
15362
15363         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15364
15365 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15366
15367         * sysdeps/i386/fpu/libm-test-ulps: Update.
15368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15369
15370 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15371
15372         * configure.in (--enable-lock-elision): Fix message text.
15373         * INSTALL: Regenerate.
15374         * configure: Regenerate.
15375
15376 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15377
15378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15379
15380 2013-07-03  Andreas Jaeger  <aj@suse.de>
15381
15382         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15383         define.
15384         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15385         (ptrace_peeksiginfo_args): Add.
15386         (__ptrace_peeksiginfo_flags): Add.
15387         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15388         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15389         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15390
15391 2013-07-03  Allan McRae  <allan@archlinux.org>
15392
15393         * sysdeps/i386/fpu/libm-test-ulps: Update.
15394
15395 2013-07-02  David S. Miller  <davem@davemloft.net>
15396
15397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15398
15399 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
15400
15401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15402
15403 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15404
15405         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15407
15408 2013-07-02  Andi Kleen <ak@linux.intel.com>
15409
15410         * config.h.in (ENABLE_LOCK_ELISION): Add.
15411         * configure.in (--enable-lock-elision): Add option.
15412         * manual/install.texi: Document --enable lock elision.
15413         * configure: Regenerate
15414         * INSTALL: Regenerate.
15415
15416 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
15417
15418         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15419         SSE4.2 strcasecmp for libc.a.
15420         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15421
15422 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15423
15424         [BZ #13304]
15425         * soft-fp/op-common.h (_FP_FMA): New macro.
15426         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15427         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
15428         (_FP_MUL_MEAT_1_imm): ... here.
15429         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
15430         (_FP_MUL_MEAT_1_wide): ... here.
15431         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
15432         (_FP_MUL_MEAT_1_hard): ... here.
15433         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15434         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
15435         (_FP_MUL_MEAT_2_wide): ... here.
15436         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
15437         (_FP_MUL_MEAT_2_wide_3mul): ... here.
15438         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
15439         (_FP_MUL_MEAT_2_gmp): ... here.
15440         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15441         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
15442         (_FP_MUL_MEAT_4_wide): ... here.
15443         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
15444         (_FP_MUL_MEAT_4_gmp): ... here.
15445         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15446         (_FP_WFRACBITS_DW_S): Likewise.
15447         (_FP_WFRACXBITS_DW_S): Likewise.
15448         (_FP_HIGHBIT_DW_S): Likewise.
15449         (FP_FMA_S): Likewise.
15450         (_FP_FRAC_HIGH_DW_S): Likewise.
15451         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15452         (_FP_WFRACBITS_DW_D): Likewise.
15453         (_FP_WFRACXBITS_DW_D): Likewise.
15454         (_FP_HIGHBIT_DW_D): Likewise.
15455         (FP_FMA_D): Likewise.
15456         (_FP_FRAC_HIGH_DW_D): Likewise.
15457         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15458         (_FP_WFRACBITS_DW_E): Likewise.
15459         (_FP_WFRACXBITS_DW_E): Likewise.
15460         (_FP_HIGHBIT_DW_E): Likewise.
15461         (FP_FMA_E): Likewise.
15462         (_FP_FRAC_HIGH_DW_E): Likewise.
15463         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15464         (_FP_WFRACBITS_DW_Q): Likewise.
15465         (_FP_WFRACXBITS_DW_Q): Likewise.
15466         (_FP_HIGHBIT_DW_Q): Likewise.
15467         (FP_FMA_Q): Likewise.
15468         (_FP_FRAC_HIGH_DW_Q): Likewise.
15469         * soft-fp/fmasf4.c: New file.
15470         * soft-fp/fmadf4.c: Likewise.
15471         * soft-fp/fmatf4.c: Likewise.
15472
15473 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15474
15475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15476         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15477         Silvermont.
15478         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15479         macro.
15480         (index_Slow_SSE4_2): Likewise.
15481         (index_Prefer_PMINUB_for_stringop): Likewise.
15482         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15483         bit_Slow_SSE4_2 is set.
15484         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15485         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15486
15487 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15488
15489         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15490         rtld_global._dl_hwcap2.
15491         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15492         POWER8.
15493         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15494         POWER8 feature descriptions defined in _dl_hwcap2.
15495         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15496         string handling for POWER8 feature bits.
15497         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15498         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15499         _dl_powerpc_cap_flags.
15500         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15501         * sysdeps/powerpc/rtld-global-offsets.sym
15502         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15503         _dl_hwcap2 in the rtld_global_ro structure.
15504
15505 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15506
15507         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15508         hardware capabilities in support of AT_HWCAP2.
15509         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15510         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15511         GLRO(dl_hwcap2).
15512         (_dl_show_auxv): Add support for calling _dl_procinfo to display
15513         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
15514         explicitly the unknown a_type display mechanism is used.
15515         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15516         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15517         struct member.
15518         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15519         to macro prototype for AT_HWCAP2 support.
15520         * sysdeps/i386/dl-procinfo.h: Likewise.
15521         * sysdeps/s390/dl-procinfo.h: Likewise.
15522         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15523         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
15524         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
15525         return -1 for unknown a_type display fallback.
15526         * sysdeps/sparc/dl-procinfo.h: Likewise.
15527         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15528         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15529
15530 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
15531
15532         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15533         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15534
15535 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
15536
15537         [BZ #12492]
15538         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15539         mprotect making __stack_prot writable.
15540
15541 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
15542             Joseph Myers  <joseph@codesourcery.com>
15543
15544         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15545         as being properly aligned.
15546
15547 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
15548
15549         * dlfcn/modstatic5.c: New file.
15550         * dlfcn/tststatic5.c: New file.
15551         * dlfcn/Makefile (tests): Add tststatic5.
15552         (tests-static): Likewise.
15553         (modules-names): Add modstatic5.
15554         (tststatic5-ENV): New variable.
15555         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15556
15557         [BZ #15022]
15558         * elf/dl-support.c (_dl_main_map): New variable.
15559         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15560         (_dl_nns, _dl_load_adds): Set to 1.
15561         (_dl_initial_searchlist): Refer to _dl_main_map.
15562         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15563         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15564         call to _dl_get_origin.
15565         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15566         around call_map.
15567         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15568         * dlfcn/modstatic3.c: New file.
15569         * dlfcn/tststatic3.c: New file.
15570         * dlfcn/tststatic4.c: New file.
15571         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15572         (tests-static): Likewise.
15573         (modules-names): Add modstatic3.
15574         (tststatic3-ENV, tststatic4-ENV): New variables.
15575         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15576         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15577
15578 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
15579
15580         * configure.in (CC): Require GCC version 4.4 or later.
15581         * configure: Regenerated.
15582         * manual/install.texi (Tools for Compilation): Update GCC version
15583         requirement.
15584         * INSTALL: Regenerated.
15585
15586 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15587
15588         [BZ #15674]
15589         * string/test-memcmp.c (check2): New.
15590         (main): Call check2.
15591
15592         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15593
15594 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
15595
15596         [BZ #15022]
15597         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15598         over to...
15599         (dl_open_worker) [!SHARED]: ... here.
15600
15601 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15602
15603         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15604
15605 2013-06-25  Richard Henderson  <rth@redhat.com>
15606
15607         * locale/programs/locarchive.c: Include <libc-internal.h>
15608
15609 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
15610
15611         * manual/texinfo.tex: Update to version 2013-06-21.17, with
15612         trailing whitespace removed.
15613
15614 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15615
15616         [BZ #10283]
15617         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15618         * locale/programs/locarchive.c: Include libc-mmap.h.
15619         (prepare_address_space): Take two new outputs (the mmap base and len).
15620         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
15621         values.
15622         (create_archive): Declare new mmap base and len values for
15623         prepare_address_space, and store the result in ah.
15624         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15625         (enlarge_archive): If ah->mmap_base is not NULL, use that and
15626         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15627         Declare new mmap base and len values for
15628         prepare_address_space, and store the result in new_ah.
15629         (open_archive): Declare new mmap base and len values for
15630         prepare_address_space, and store the result in ah.
15631         (close_archive): If ah->mmap_base is not NULL, use that and
15632         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15633         * sysdeps/generic/libc-mmap.h: New file.
15634
15635 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15636
15637         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15638         (ALIGN_UP): Likewise.
15639         (PTR_ALIGN_DOWN): Likewise.
15640         (PTR_ALIGN_UP): Likewise.
15641
15642 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15643
15644         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15645         entry mapped to PPC_PLATFORM_POWER8.
15646         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15647         POWER8.
15648         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15649         (_dl_string_platform): Add case for exporting platform position for
15650         POWER8.
15651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15652         search path to sysdeps/powerpc/powerpc32/power8 directory.
15653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15654         search path to sysdeps/powerpc/powerpc64/power8 directory.
15655         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15656         power7 directories.
15657         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15658         power7 directories.
15659
15660 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15661
15662         * INSTALL: Regenerate.
15663
15664         * nscd/connections.c (nscd_init): Fix comment.
15665
15666 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
15667
15668         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15669
15670         [BZ #15667]
15671         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15672         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15673
15674 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15675
15676         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15677         DL_DST_REQ_STATIC.
15678         (DL_DST_REQ_STATIC): Remove macro.
15679
15680 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
15681
15682         [BZ #7006]
15683         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15684         with a shift of 0 bits.
15685
15686 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15687
15688         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15689         $(tststatic-ENV).
15690
15691 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15692
15693         [BZ #15655]
15694         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15695
15696 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15697
15698         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15699         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15700         accepts -fno-tree-loop-distribute-patterns.
15701         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15702         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15703         recursive call.
15704         * string/memset.c (memset): Likewise.
15705         * string/test-memmove.c (simple_memmove): Disable loop transformation
15706         to library calls.
15707         * string/test-memset.c (simple_memset): Likewise.
15708         * benchtests/bench-memmove.c (simple_memmove): Likewise.
15709         * benchtests/bench-memset.c (simple_memset): Likewise.
15710         * configure: Regenerated.
15711
15712 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
15713
15714         * math/test-misc.c (main): Ignore fesetround failure when failures
15715         of subsequent rounding tests would be ignored.
15716
15717         [BZ #15654]
15718         * math/fedisblxcpt.c (fedisableexcept): Return 0.
15719         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15720         * math/fegetenv.c (__fegetenv): Return 0.
15721         * math/fegetexcept.c (fegetexcept): Return 0.
15722         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15723         FE_TONEAREST.
15724         * math/feholdexcpt.c (feholdexcept): Return 0.
15725         * math/fesetenv.c (__fesetenv): Return 0.
15726         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15727         argument FE_TONEAREST.
15728         * math/feupdateenv.c (__feupdateenv): Return 0.
15729         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15730
15731 2013-06-18  Roland McGrath  <roland@hack.frob.com>
15732
15733         * elf/rtld-Rules (rtld-compile-command.S): New variable.
15734         (rtld-compile-command.s, rtld-compile-command.c): New variables.
15735         ($(objpfx)rtld-%.os rules): Use them.
15736
15737 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15738
15739         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15740         fields.
15741
15742 2013-06-17  Roland McGrath  <roland@hack.frob.com>
15743
15744         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15745         length of target pattern, then descending length of dependency pattern.
15746         * configure.in (AWK): Require gawk 3.1.2 or newer.
15747         * manual/install.texi (Tools for Compilation): Say that we do.
15748         * configure: Regenerated.
15749
15750         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15751         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15752         * scripts/sysd-rules.awk: ... this new script.
15753         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15754         than a glob-style pattern.
15755
15756 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
15757
15758         * math/test-misc.c (main): Do not treat incorrectly rounded
15759         conversions as failure unless ROUNDING_TESTS passes.
15760
15761 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
15762
15763         [BZ #15631]
15764         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15765         restore exception state around main square root computation, then
15766         check for inexactness explicitly.
15767
15768         * math/libm-test.inc (fma_test_data): Add another test.
15769
15770 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15771
15772         * manual/threads.texi (Non-POSIX Extensions): New document
15773         node.  Document pthread_getattr_default_np and
15774         pthread_setattr_default_np.
15775
15776         * Versions.def (libpthread): Add GLIBC_2.18.
15777         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15779         Likewise.
15780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15781         Likewise.
15782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15783         Likewise.
15784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15785         Likewise.
15786         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15787         Likewise.
15788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15789         Likewise.
15790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15791         Likewise.
15792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15793         Likewise.
15794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15795         Likewise.
15796
15797 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15798
15799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15800         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15801
15802 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15803             H.J. Lu  <hjl.tools@gmail.com>
15804
15805         [BZ #15627]
15806         * sysdeps/x86_64/rtld-memset.c: Remove file.
15807         * sysdeps/x86_64/rtld-memset.S: New file.
15808
15809 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
15810
15811         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15812         (test_in_one_mode): Take arguments for whether the rounding mode
15813         is supported for each floating-point type.
15814         (do_test): Pass new arguments to test_in_one_mode using
15815         ROUNDING_TESTS.
15816
15817 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15818
15819         * posix/tst-waitid.c (do_test): Distinguish different instances of
15820         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
15821         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15822         before entering the kernel for waitpid.
15823
15824 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15825
15826         * NEWS: Fix note on clock function precision.  Text by Roland
15827         McGrath.
15828
15829 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15830
15831         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15832         it into place only when and if the sanity check passes.
15833
15834 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
15835
15836         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15837         output for whether conversion result is exact.  Take argument
15838         indicating whether type is IBM long double.
15839         (round_for_all): Change need_exact field to ibm_ld.
15840         * stdlib/tst-strtod-round.c (struct exactness): New type.
15841         (struct test): Change bool ld_ok field to struct exactness exact.
15842         (TEST): Update all definitions for change to field.
15843         (tests): Regenerate array contents.
15844         (test_in_one_mode): Take pointer to new field instead of old ld_ok
15845         field value.  Check for IBM long double here.
15846         (do_test): Update calls to test_in_one_mode.
15847
15848 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15849
15850         [BZ #12515]
15851         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15852         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15853
15854 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15855
15856         [BZ #15605]
15857         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15858         generated by the compiler on loop optimizations.
15859         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15860         general definitions.
15861
15862 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
15863
15864         * math/bug-nextafter.c: Include <math-tests.h>.
15865         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15866         the relevant type.
15867         * math/bug-nexttoward.c: Include <math-tests.h>.
15868         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15869         the relevant type.
15870         * math/test-misc.c: Include <math-tests.h>.
15871         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15872         the relevant type.
15873
15874 2013-06-12  Andreas Jaeger  <aj@suse.de>
15875
15876         * po/ia.po: Update Interlingua translation from translation
15877         project.
15878
15879 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15880
15881         * include/fenv.h: Include stdbool.h.
15882         (struct rm_ctx): New structure.
15883         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15884         Define macro.
15885         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15886         (SET_RESTORE_ROUNDF): Likewise.
15887         (SET_RESTORE_ROUNDL): Likewise.
15888         (SET_RESTORE_ROUND_NOEX): Likewise.
15889         (SET_RESTORE_ROUND_NOEXF): Likewise.
15890         (SET_RESTORE_ROUND_NOEXL): Likewise.
15891         (SET_RESTORE_ROUND_53BIT): Likewise.
15892         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15893         (libc_feresetround_noexf_ctx): Likewise.
15894         (libc_feresetround_noexl_ctx): Likewise.
15895         (libc_feholdsetround_53bit_ctx): Likewise.
15896         (libc_feresetround_53bit_ctx): Likewise.
15897         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15898         (libc_feholdexcept_setround_sse_ctx): New function.
15899         (libc_fesetenv_sse_ctx): Likewise.
15900         (libc_feupdateenv_sse_ctx): Likewise.
15901         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15902         (libc_feholdexcept_setround_387_ctx): Likewise.
15903         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15904         (libc_feholdsetround_387_prec_ctx): Likewise.
15905         (libc_feholdsetround_387_ctx): Likewise.
15906         (libc_feholdsetround_387_53bit_ctx): Likewise.
15907         (libc_feholdsetround_sse_ctx): Likewise.
15908         (libc_feresetround_sse_ctx): Likewise.
15909         (libc_feresetround_387_ctx): Likewise.
15910         (libc_feupdateenv_387_ctx): Likewise.
15911         (libc_feholdexcept_setroundf_ctx): Define macro.
15912         (libc_fesetenvf_ctx): Likewise.
15913         (libc_feupdateenvf_ctx): Likewise.
15914         (libc_feholdsetroundf_ctx): Likewise.
15915         (libc_feresetroundf_ctx): Likewise.
15916         (libc_feholdexcept_setround_ctx): Likewise.
15917         (libc_fesetenv_ctx): Likewise.
15918         (libc_feupdateenv_ctx): Likewise.
15919         (libc_feholdsetround_ctx): Likewise.
15920         (libc_feresetround_ctx): Likewise.
15921         (libc_feholdexcept_setroundl_ctx): Likewise.
15922         (libc_feupdateenvl_ctx): Likewise.
15923         (libc_feholdsetroundl_ctx): Likewise.
15924         (libc_feresetroundl_ctx): Likewise.
15925         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15926         (libc_feresetround_53bit_ctx): Likewise.
15927
15928 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15929
15930         * locale/iso-639.def: Convert to UTF-8.
15931
15932 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
15933
15934         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15935         (EXCEPTION_TESTS_double): Likewise.
15936         (EXCEPTION_TESTS_long_double): Likewise.
15937         (EXCEPTION_TESTS): Likewise.
15938         * math/libm-test.inc (test_exceptions): Only test exceptions if
15939         EXCEPTION_TESTS (FLOAT).
15940
15941 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15942
15943         * benchtests/Makefile (string-bench): Add strcpy_chk and
15944         stpcpy_chk.
15945         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15946         * benchtests/bench-stpcpy_chk.c: New file.
15947         * benchtests/bench-strcpy_chk-ifunc.c: New file.
15948         * benchtests/bench-strcpy_chk.c: New file.
15949         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15950         code.
15951         (do_test): Likewise.
15952
15953 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15954
15955         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15956         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15957         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15958         with tabs where appropriate.
15959         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15960         dl-procinfo.h.
15961         [PPC_PLATFORM_PPC440]: Likewise.
15962         [PPC_PLATFORM_PPC464]: Likewise.
15963         [PPC_PLATFORM_PPC476]: Likewise.
15964         (_dl_string_platform): Add support for detecting ppc405, ppc440,
15965         ppc464, and ppc476 platform strings merging from ports/
15966         dl-procinfo.h.
15967
15968 2013-06-11  Andreas Schwab  <schwab@suse.de>
15969
15970         [BZ #14991]
15971         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15972         (from_ucs4_idx): Regenerate.
15973         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15974         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15975         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15976         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15977         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15978         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15979         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15980         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15981         from FROM_LOOP and TO_LOOP specific macros.
15982         (BODY): Handle combining characters.
15983         * iconvdata/BIG5HKSCS.irreversible: Update.
15984         * iconvdata/BIG5HKSCS.precomposed: New file.
15985         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15986         characters.
15987         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15988
15989 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15990
15991         * include/sys/time.h: Fix indentation and add copyright header.
15992
15993         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15994         (do_test): Likewise.
15995         * string/test-memchr.c (do_one_test): Likewise.
15996         (do_test): Likewise.
15997         * string/test-memcmp.c (do_one_test): Likewise.
15998         (do_test): Likewise.
15999         * string/test-memcpy.c (do_one_test): Likewise.
16000         (do_test): Likewise.
16001         * string/test-memmem.c (do_one_test): Likewise.
16002         (do_test): Likewise.
16003         (do_random_tests): Likewise.
16004         * string/test-memmove.c (do_one_test): Likewise.
16005         (do_test): Likewise.
16006         * string/test-memset.c (do_one_test): Likewise.
16007         (do_test): Likewise.
16008         * string/test-rawmemchr.c (do_one_test): Likewise.
16009         (do_test): Likewise.
16010         * string/test-strcasecmp.c (do_one_test): Likewise.
16011         (do_test): Likewise.
16012         * string/test-strcasestr.c (do_one_test): Likewise.
16013         (do_test): Likewise.
16014         * string/test-strcat.c (do_one_test): Likewise.
16015         (do_test): Likewise.
16016         * string/test-strchr.c (do_one_test): Likewise.
16017         (do_test): Likewise.
16018         * string/test-strcmp.c (do_one_test): Likewise.
16019         (do_test): Likewise.
16020         * string/test-strcpy.c (do_one_test): Likewise.
16021         (do_test): Likewise.
16022         * string/test-string.h: Likewise.
16023         (test_init): Likewise.
16024         * string/test-strlen.c (do_one_test): Likewise.
16025         (do_test): Likewise.
16026         * string/test-strncasecmp.c (do_one_test): Likewise.
16027         (do_test): Likewise.
16028         * string/test-strncat.c (do_one_test): Likewise.
16029         (do_test): Likewise.
16030         * string/test-strncmp.c (do_one_test): Likewise.
16031         (do_test_limit): Likewise.
16032         (do_test): Likewise.
16033         * string/test-strncpy.c (do_one_test): Likewise.
16034         (do_test): Likewise.
16035         * string/test-strnlen.c (do_one_test): Likewise.
16036         (do_test): Likewise.
16037         * string/test-strpbrk.c (do_one_test): Likewise.
16038         (do_test): Likewise.
16039         * string/test-strrchr.c (do_one_test): Likewise.
16040         (do_test): Likewise.
16041         * string/test-strspn.c (do_one_test): Likewise.
16042         (do_test): Likewise.
16043         * string/test-strstr.c (do_one_test): Likewise.
16044         (do_test): Likewise.
16045
16046         * benchtests/Makefile (string-bench): Add string benchmarks.
16047         * benchtests/bench-bcopy-ifunc.c: New file.
16048         * benchtests/bench-bcopy.c: New file.
16049         * benchtests/bench-bzero-ifunc.c: New file.
16050         * benchtests/bench-bzero.c: New file.
16051         * benchtests/bench-memccpy-ifunc.c: New file.
16052         * benchtests/bench-memccpy.c: New file.
16053         * benchtests/bench-memchr-ifunc.c: New file.
16054         * benchtests/bench-memchr.c: New file.
16055         * benchtests/bench-memcmp-ifunc.c: New file.
16056         * benchtests/bench-memcmp.c: New file.
16057         * benchtests/bench-memmem-ifunc.c: New file.
16058         * benchtests/bench-memmem.c: New file.
16059         * benchtests/bench-memmove-ifunc.c: New file.
16060         * benchtests/bench-memmove.c: New file.
16061         * benchtests/bench-mempcpy-ifunc.c: New file.
16062         * benchtests/bench-mempcpy.c: New file.
16063         * benchtests/bench-memset-ifunc.c: New file.
16064         * benchtests/bench-memset.c: New file.
16065         * benchtests/bench-rawmemchr-ifunc.c: New file.
16066         * benchtests/bench-rawmemchr.c: New file.
16067         * benchtests/bench-stpcpy-ifunc.c: New file.
16068         * benchtests/bench-stpcpy.c: New file.
16069         * benchtests/bench-stpncpy-ifunc.c: New file.
16070         * benchtests/bench-stpncpy.c: New file.
16071         * benchtests/bench-strcasecmp-ifunc.c: New file.
16072         * benchtests/bench-strcasecmp.c: New file.
16073         * benchtests/bench-strcasestr-ifunc.c: New file.
16074         * benchtests/bench-strcasestr.c: New file.
16075         * benchtests/bench-strcat-ifunc.c: New file.
16076         * benchtests/bench-strcat.c: New file.
16077         * benchtests/bench-strchr-ifunc.c: New file.
16078         * benchtests/bench-strchr.c: New file.
16079         * benchtests/bench-strchrnul-ifunc.c: New file.
16080         * benchtests/bench-strchrnul.c: New file.
16081         * benchtests/bench-strcmp-ifunc.c: New file.
16082         * benchtests/bench-strcmp.c: New file.
16083         * benchtests/bench-strcpy-ifunc.c: New file.
16084         * benchtests/bench-strcpy.c: New file.
16085         * benchtests/bench-strcspn-ifunc.c: New file.
16086         * benchtests/bench-strcspn.c: New file.
16087         * benchtests/bench-strlen-ifunc.c: New file.
16088         * benchtests/bench-strlen.c: New file.
16089         * benchtests/bench-strncasecmp-ifunc.c: New file.
16090         * benchtests/bench-strncasecmp.c: New file.
16091         * benchtests/bench-strncat-ifunc.c: New file.
16092         * benchtests/bench-strncat.c: New file.
16093         * benchtests/bench-strncmp-ifunc.c: New file.
16094         * benchtests/bench-strncmp.c: New file.
16095         * benchtests/bench-strncpy-ifunc.c: New file.
16096         * benchtests/bench-strncpy.c: New file.
16097         * benchtests/bench-strnlen-ifunc.c: New file.
16098         * benchtests/bench-strnlen.c: New file.
16099         * benchtests/bench-strpbrk-ifunc.c: New file.
16100         * benchtests/bench-strpbrk.c: New file.
16101         * benchtests/bench-strrchr-ifunc.c: New file.
16102         * benchtests/bench-strrchr.c: New file.
16103         * benchtests/bench-strspn-ifunc.c: New file.
16104         * benchtests/bench-strspn.c: New file.
16105         * benchtests/bench-strstr-ifunc.c: New file.
16106         * benchtests/bench-strstr.c: New file.
16107
16108         * benchtests/Makefile: Disable parallel execution of targets.
16109         (string-bench): Add memcpy.
16110         (benchset): New variable to store a list of benchmark sets.
16111         (bench-func): Renamed from bench.
16112         (bench-set): New target.
16113         (bench): Depend on bench-func and bench-set.
16114         * benchtests/README: Add section on benchmark sets.
16115         * benchtests/bench-memcpy-ifunc.c: New file.
16116         * benchtests/bench-memcpy.c: New file.
16117         * benchtests/bench-string.h: New file.
16118
16119 2013-06-11  Andreas Schwab  <schwab@suse.de>
16120
16121         [BZ #15577]
16122         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16123         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16124         values in the triple.
16125         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16126         terminator in the group key.
16127
16128 2013-06-11  Andreas Jaeger  <aj@suse.de>
16129
16130         * po/zh_TW.po: Update Chinese (traditional) translation from
16131         translation project.
16132
16133 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16134
16135         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16136         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16137         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16138         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16139         (clock_getcpuclockid): Likewise.
16140         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16141         Add weak_alias and libc_hidden_def.
16142         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16143         * rt/clock_gettime.c (clock_gettime): Rename to
16144         __clock_gettime.  Add weak_alias and libc_hidden_def.
16145         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16146         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16147         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16148         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16149         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16150         Likewise.
16151         * rt/clock_settime.c (clock_settime): Rename to
16152         __clock_settime.  Add weak_alias and libc_hidden_def.
16153         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16154
16155 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16156
16157         * mach/err_boot.sub: Remove trailing whitespace.
16158         * mach/err_ipc.sub: Likewise.
16159         * mach/err_mach.sub: Likewise.
16160
16161         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16162         (ROUNDING_TESTS_double): Likewise.
16163         (ROUNDING_TESTS_long_double): Likewise.
16164         (ROUNDING_TESTS): Likewise.
16165         * math/libm-test.inc: Include <math-tests.h>.
16166         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16167         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16168         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16169         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16170
16171 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16172
16173         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16174         of assigning.
16175
16176 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16177
16178         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16179         otherwise empty TRANS lines.
16180         * sysdeps/gnu/errlist.c: Regenerated.
16181
16182         * catgets/gencat.c (error_print): Use (void) in function
16183         definition.
16184         * crypt/crypt_util.c (__init_des): Likewise.
16185         * crypt/speeds.c (Stop): Likewise.
16186         (main): Likewise.
16187         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16188         * inet/ruserpass.c (token): Likewise.
16189         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16190         * intl/localealias.c (extend_alias_table): Likewise.
16191         * intl/plural-exp.c (init_germanic_plural): Likewise.
16192         * libio/fcloseall.c (__fcloseall): Likewise.
16193         * libio/genops.c (_IO_flush_all): Likewise.
16194         (_IO_flush_all_linebuffered): Likewise.
16195         (_IO_cleanup): Likewise.
16196         (_IO_iter_begin): Likewise.
16197         (_IO_iter_end): Likewise.
16198         (_IO_list_lock): Likewise.
16199         (_IO_list_unlock): Likewise.
16200         (_IO_list_resetlock): Likewise.
16201         * libio/getchar.c (getchar): Likewise.
16202         * libio/getchar_u.c (getchar_unlocked): Likewise.
16203         * libio/getwchar.c (getwchar): Likewise.
16204         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16205         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16206         * login/getpt.c (__getpt): Likewise.
16207         * login/tst-utmp.c (main): Likewise.
16208         * malloc/hooks.c (__malloc_check_init): Likewise.
16209         * malloc/malloc.c (__malloc_stats): Likewise.
16210         * malloc/mtrace.c (tr_break): Likewise.
16211         (mtrace): Likewise.
16212         (muntrace): Likewise.
16213         * misc/fstab.c (endfsent): Likewise.
16214         * misc/getclktck.c (__getclktck): Likewise.
16215         * misc/getdtsz.c (__getdtablesize): Likewise.
16216         * misc/gethostid.c (gethostid): Likewise.
16217         * misc/getpagesize.c (__getpagesize): Likewise.
16218         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16219         (__get_nprocs): Likewise.
16220         (__get_phys_pages): Likewise.
16221         (__get_avphys_pages): Likewise.
16222         * misc/getttyent.c (getttyent): Likewise.
16223         (setttyent): Likewise.
16224         (endttyent): Likewise.
16225         * misc/getusershell.c (getusershell): Likewise.
16226         (endusershell): Likewise.
16227         (setusershell): Likewise.
16228         (initshells): Likewise.
16229         * misc/hsearch.c (__hdestroy): Likewise.
16230         * misc/sync.c (sync): Likewise.
16231         * misc/syslog.c (closelog_internal): Likewise.
16232         (closelog): Likewise.
16233         * misc/ttyslot.c (ttyslot): Likewise.
16234         * misc/vhangup.c (vhangup): Likewise.
16235         * posix/fork.c (__fork): Likewise.
16236         * posix/getegid.c (__getegid): Likewise.
16237         * posix/geteuid.c (__geteuid): Likewise.
16238         * posix/getgid.c (__getgid): Likewise.
16239         * posix/getpid.c (__getpid): Likewise.
16240         * posix/getppid.c (__getppid): Likewise.
16241         * posix/getuid.c (__getuid): Likewise.
16242         * posix/pause.c (pause): Likewise.
16243         * posix/setpgrp.c (setpgrp): Likewise.
16244         * posix/setsid.c (__setsid): Likewise.
16245         * posix/test-vfork.c (noop): Likewise.
16246         * resolv/gethnamaddr.c (_endhtent): Likewise.
16247         (_gethtent): Likewise.
16248         (ht_endhostent): Likewise.
16249         (gethostent): Likewise.
16250         (dns_service): Likewise.
16251         * stdlib/drand48.c (drand48): Likewise.
16252         * stdlib/lrand48.c (lrand48): Likewise.
16253         * stdlib/mrand48.c (mrand48): Likewise.
16254         * stdlib/rand.c (rand): Likewise.
16255         * stdlib/random.c (__random): Likewise.
16256         * stdlib/setenv.c (clearenv): Likewise.
16257         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16258         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16259         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16260         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16261         (__get_nprocs): Likewise.
16262         (__get_phys_pages): Likewise.
16263         (__get_avphys_pages): Likewise.
16264         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16265         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16266         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16267         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16268         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16269         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16270         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16271         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16272         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16273         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16274         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16275         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16276         * sysdeps/posix/clock.c (clock): Likewise.
16277         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16278         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16279         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16280         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16281         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16282         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16283         (__get_nprocs_conf): Likewise.
16284         (__get_phys_pages): Likewise.
16285         (__get_avphys_pages): Likewise.
16286         * time/clock.c (clock): Likewise.
16287         * time/tzset.c (__tzname_max): Likewise.
16288
16289 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16290
16291         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16292         (__bswap_32): Do not use "register".
16293         * crypt/crypt.c (_ufc_doit_r): Likewise.
16294         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16295         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16296         * gmon/gmon.c (__monstartup): Likewise.
16297         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16298         * hurd/hurdmalloc.c (more_memory): Likewise.
16299         (malloc): Likewise.
16300         (free): Likewise.
16301         (realloc): Likewise.
16302         (malloc_fork_prepare): Likewise.
16303         (malloc_fork_parent): Likewise.
16304         (malloc_fork_child): Likewise.
16305         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16306         (_svcauth_des): Likewise.
16307         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16308         * inet/inet_net.c (inet_network): Likewise.
16309         * inet/inet_netof.c (inet_netof): Likewise.
16310         * inet/rcmd.c (__validuser2_sa): Likewise.
16311         * io/fts.c (fts_open): Likewise.
16312         (fts_load): Likewise.
16313         (fts_close): Likewise.
16314         (fts_read): Likewise.
16315         (fts_children): Likewise.
16316         (fts_build): Likewise.
16317         (fts_stat): Likewise.
16318         (fts_sort): Likewise.
16319         (fts_alloc): Likewise.
16320         (fts_lfree): Likewise.
16321         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16322         (_IO_file_xsgetn): Likewise.
16323         (_IO_file_xsgetn_mmap): Likewise.
16324         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16325         (_IO_cookie_write): Likewise.
16326         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16327         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16328         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16329         * malloc/obstack.c (_obstack_begin): Likewise.
16330         (_obstack_begin_1): Likewise.
16331         (_obstack_newchunk): Likewise.
16332         (_obstack_allocated_p): Likewise.
16333         (obstack_free): Likewise.
16334         (_obstack_memory_used): Likewise.
16335         * misc/getttyent.c (getttynam): Likewise.
16336         (getttyent): Likewise.
16337         (skip): Likewise.
16338         (value): Likewise.
16339         * misc/getusershell.c (initshells): Likewise.
16340         * misc/syslog.c (__vsyslog_chk): Likewise.
16341         * misc/ttyslot.c (ttyslot): Likewise.
16342         * nis/nis_hash.c (__nis_hash): Likewise.
16343         * posix/fnmatch_loop.c (FCT): Likewise.
16344         * posix/getconf.c (print_all): Likewise.
16345         (main): Likewise.
16346         * posix/getopt.c (exchange): Likewise.
16347         * posix/glob.c (globfree): Likewise.
16348         (prefix_array): Likewise.
16349         (__glob_pattern_type): Likewise.
16350         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16351         (NS_GET32): Likewise.
16352         (NS_PUT16): Likewise.
16353         (NS_PUT32): Likewise.
16354         * resolv/gethnamaddr.c (getanswer): Likewise.
16355         (gethostbyname2): Likewise.
16356         (gethostbyaddr): Likewise.
16357         (_gethtent): Likewise.
16358         (_gethtbyname2): Likewise.
16359         (_gethtbyaddr): Likewise.
16360         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16361         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16362         * resolv/res_init.c (__res_vinit): Likewise.
16363         (net_mask): Likewise.
16364         * resolv/res_mkquery.c (outchar): Likewise.
16365         (PRINT): Likewise.
16366         * stdio-common/printf_fp.c (outchar): Likewise.
16367         (PRINT): Likewise.
16368         * stdio-common/printf_fphex.c (outchar): Likewise.
16369         (PRINT): Likewise.
16370         * stdio-common/printf_size.c (outchar): Likewise.
16371         (PRINT): Likewise.
16372         * stdio-common/test_rdwr.c (main): Likewise.
16373         * stdio-common/tfformat.c (matches): Likewise.
16374         * stdio-common/vfprintf.c (outchar): Likewise.
16375         (printf_unknown): Likewise.
16376         (buffered_vfprintf): Likewise.
16377         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16378         * stdio-common/xbug.c (AppendToBuffer): Likewise.
16379         (ReadFile): Likewise.
16380         * stdlib/qsort.c (SWAP): Likewise.
16381         (_quicksort): Likewise.
16382         * stdlib/setenv.c (__add_to_environ): Likewise.
16383         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16384         * stdlib/strtol_l.c (__strtol_l): Likewise.
16385         * stdlib/tst-strtod.c (main): Likewise.
16386         * stdlib/tst-strtol.c (main): Likewise.
16387         * stdlib/tst-strtoll.c (main): Likewise.
16388         * string/bits/string2.h (__strcmp_cc): Likewise.
16389         (__strcmp_cg): Likewise.
16390         (__strcspn_c1): Likewise.
16391         (__strcspn_c2): Likewise.
16392         (__strcspn_c3): Likewise.
16393         (__strspn_c1): Likewise.
16394         (__strspn_c2): Likewise.
16395         (__strspn_c3): Likewise.
16396         (__strsep_1c): Likewise.
16397         (__strsep_2c): Likewise.
16398         (__strsep_3c): Likewise.
16399         * string/memccpy.c (__memccpy): Likewise.
16400         * string/stpcpy.c (__stpcpy): Likewise.
16401         * string/strcmp.c (strcmp): Likewise.
16402         * string/strrchr.c (strrchr): Likewise.
16403         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16404         Likewise.
16405         * sysdeps/mach/hurd/getcwd.c
16406         (_hurd_canonicalize_directory_name_internal): Likewise.
16407         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16408         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16409         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16410         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16411         Likewise, in both definitions.
16412         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16413         definitions.
16414         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16415         64] (__bswap_64): Likewise.
16416         * time/test_time.c (main): Likewise.
16417         * time/tzfile.c (__tzfile_read): Likewise.
16418         (__tzfile_compute): Likewise.
16419         * time/tzset.c (__tzset_parse_tz): Likewise.
16420         (tzset_internal): Likewise.
16421         (compute_change): Likewise.
16422         * wcsmbs/wcscat.c (__wcscat): Likewise.
16423         * wcsmbs/wcschr.c (wcschr): Likewise.
16424         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16425         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16426         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16427         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16428         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16429         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16430         * wcsmbs/wmemchr.c (wmemchr): Likewise.
16431         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16432         * wcsmbs/wmemset.c (wmemset): Likewise.
16433
16434 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
16435
16436         * scripts/config.guess: Update to version 2013-05-16.
16437         * scripts/config.sub: Update to version 2013-04-24.
16438         * scripts/install-sh: Update to version 2011-11-20.07.
16439         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16440         * scripts/move-if-change: Update to version 2012-01-06 07:23.
16441
16442 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
16443
16444         * debug/fgetws_u_chk.c: Fix leading whitespaces.
16445         * elf/sln.c: Likewise.
16446         * hurd/hurd/ioctl.h: Likewise.
16447         * hurd/hurdmalloc.c: Likewise.
16448         * hurd/xattr.c: Likewise.
16449         * include/shlib-compat.h: Likewise.
16450         * inet/ruserpass.c: Likewise.
16451         * libio/iofgets_u.c: Likewise.
16452         * libio/iofgetws_u.c: Likewise.
16453         * locale/programs/ld-identification.c: Likewise.
16454         * locale/programs/ld-time.c: Likewise.
16455         * mach/msg-destroy.c: Likewise.
16456         * nss/nss_files/files-netgrp.c: Likewise.
16457         * resolv/res_data.c: Likewise.
16458         * soft-fp/op-1.h: Likewise.
16459         * soft-fp/op-2.h: Likewise.
16460         * soft-fp/op-4.h: Likewise.
16461         * soft-fp/op-common.h: Likewise.
16462         * stdio-common/printf_fphex.c: Likewise.
16463         * stdlib/strtod_l.c: Likewise.
16464         * sunrpc/rpc/clnt.h: Likewise.
16465         * sysdeps/generic/framestate.c: Likewise.
16466         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16467         * sysdeps/i386/bsd-setjmp.S: Likewise.
16468         * sysdeps/i386/__longjmp.S: Likewise.
16469         * sysdeps/i386/setjmp.S: Likewise.
16470         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16471         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16472         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16473         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16474         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16475         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16476         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16477         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16478         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16479         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16480         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16481         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16482         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16483         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16484         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16485         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16486         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16487         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16488         * sysdeps/ieee754/support.c: Likewise.
16489         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16490         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16491         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16492         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16493         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16494         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16495         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16496         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16497         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16498         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16499         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16500         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16501         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16502         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16503         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16504         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16505         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16507
16508 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
16509
16510         * posix/transbug.c: Remove executable mode.
16511
16512 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
16513
16514         * crypt/speeds.c: Remove trailing whitespace.
16515         * dlfcn/default.c: Likewise.
16516         * elf/ifuncdep2.c: Likewise.
16517         * elf/ifuncmain1.c: Likewise.
16518         * elf/ifuncmain1vis.c: Likewise.
16519         * elf/testobj.h: Likewise.
16520         * elf/tst-stackguard1.c: Likewise.
16521         * gmon/sys/gmon.h: Likewise.
16522         * hurd/hurdmsg.c: Likewise.
16523         * hurd/new-fd.c: Likewise.
16524         * hurd/ports-get.c: Likewise.
16525         * iconvdata/ibm1008_420.c: Likewise.
16526         * inet/tst-getni1.c: Likewise.
16527         * inet/tst-getni2.c: Likewise.
16528         * libio/ioungetc.c: Likewise.
16529         * libio/wfiledoalloc.c: Likewise.
16530         * manual/libm-err-tab.pl: Likewise.
16531         * math/w_dremf.c: Likewise.
16532         * misc/ftruncate.c: Likewise.
16533         * posix/bug-glob2.c: Likewise.
16534         * posix/tst-pcre.c: Likewise.
16535         * posix/wait4.c: Likewise.
16536         * resolv/README: Likewise.
16537         * resolv/res_debug.h: Likewise.
16538         * resolv/tst-inet_ntop.c: Likewise.
16539         * setjmp/bug269-setjmp.c: Likewise.
16540         * soft-fp/extended.h: Likewise.
16541         * soft-fp/op-1.h: Likewise.
16542         * soft-fp/op-2.h: Likewise.
16543         * soft-fp/op-4.h: Likewise.
16544         * soft-fp/op-8.h: Likewise.
16545         * soft-fp/testit.c: Likewise.
16546         * stdio-common/bug16.c: Likewise.
16547         * stdlib/random.c: Likewise.
16548         * sunrpc/rpcsvc/rquota.x: Likewise.
16549         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16550         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16551         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16552         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16553         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16554         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16555         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16556         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16557         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16558         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16559         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16560         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16561         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16562         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16563         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16564         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16565         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16566         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16567         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16568         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16569         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16570         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16571         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16572         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16573         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16574         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16575         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16576         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16577         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16578         * sysdeps/ieee754/s_lib_version.c: Likewise.
16579         * sysdeps/mach/hurd/check_fds.c: Likewise.
16580         * sysdeps/mach/hurd/getsockname.c: Likewise.
16581         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16582         * sysdeps/mach/hurd/recvfrom.c: Likewise.
16583         * sysdeps/powerpc/bits/link.h: Likewise.
16584         * sysdeps/powerpc/dl-procinfo.c: Likewise.
16585         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16586         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16587         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16588         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16589         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16590         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16591         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16592         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16593         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16594         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16595         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16596         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16597         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16598         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16599         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16600         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16601         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16602         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16603         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16604         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16605         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16606         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16607         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16608         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16609         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16610         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16611         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16612         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16613         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16614         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16615         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16616         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16617         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16618         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16619         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16620         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16621         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16622         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16623         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16624         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16625         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16626         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16627         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16628         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16629         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16630         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16631         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16632         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16633         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16634         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16635         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16636         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16637         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16638         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16639         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16640         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16641         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16642         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16643         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16644         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16645         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16646         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16647         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16648         * sysdeps/powerpc/sysdep.h: Likewise.
16649         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16650         * sysdeps/s390/s390-64/sub_n.S: Likewise.
16651         * sysdeps/sh/dl-trampoline.S: Likewise.
16652         * sysdeps/sh/memset.S: Likewise.
16653         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16654         * sysdeps/sh/strlen.S: Likewise.
16655         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16656         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16657         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16658         * sysdeps/sparc/sparc32/rem.S: Likewise.
16659         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16660         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16661         * sysdeps/sparc/sparc32/strchr.S: Likewise.
16662         * sysdeps/sparc/sparc32/udiv.S: Likewise.
16663         * sysdeps/sparc/sparc32/urem.S: Likewise.
16664         * sysdeps/sparc/sparc64/add_n.S: Likewise.
16665         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16666         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16667         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16668         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16669         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16670         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16671         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16672         * sysdeps/unix/bsd/times.c: Likewise.
16673         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16674         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16678         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16679         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16680         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16681         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16682         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16683         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16684         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16685         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16686         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16687         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16688         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16689         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16690         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16691         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16692         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16693         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16694         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16695         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16696         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16697         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16698         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16699         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16700         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16701         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16702         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16703         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16704         * sysdeps/x86_64/strcspn.S: Likewise.
16705
16706 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16707
16708         * locale/C-translit.h: Revert #include <stdint.h> because this is a
16709         generated file.  Regenerate properly from gen-translit.pl.
16710         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
16711         locale/C-translit.h.
16712
16713 2013-06-05  Andreas Schwab  <schwab@suse.de>
16714
16715         [BZ #15100]
16716         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16717         week as 6 instead of -1.
16718         * time/tst-strptime.c (day_tests): Add test case.
16719
16720 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16721
16722         * sysdeps/generic/math_private.h
16723         (libc_feholdexcept_setround_53bit): Replace with
16724         libc_feholdsetround_53bit.
16725         (libc_feupdateenv_53bit): Replace with
16726         libc_feresetround_53bit.
16727         (SET_RESTORE_ROUND_53BIT): Adjust.
16728
16729 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16730
16731         * string/test-strchrnul.c: Add copyright header.
16732
16733         * posix/tst-getaddrinfo4.c: Increase test timeout.
16734
16735 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
16736
16737         [BZ #15536]
16738         * math/libm-test.inc (MAX_EXP): Remove
16739         (MIN_EXP): Define.
16740         (ulp): Use MIN_EXP - MANT_DIG.
16741         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16742
16743 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
16744
16745         * po/be.po: Revert last change.
16746         * po/zh_CN.po: Likewise.
16747         * po/header.pot: Likewise.
16748
16749 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
16750
16751         * Makefile ($(common-objpfx)linkobj/libc.so): Define
16752         link-libc-deps to empty as target-specific variable.
16753         * Makerules (link-libc-args): New variable.
16754         (libc-for-link): Likewise.
16755         (link-libc-deps): Likewise.
16756         (lib%.so): Depend on $(link-libc-deps).  Link with
16757         $(link-libc-args).
16758         (build-module): Link with $(link-libc-args).
16759         (build-module-asneeded): Likewise.
16760         (build-module-helper-objlist): Filter out $(link-libc-deps) from
16761         list of objects.
16762         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16763         target-specific variable.
16764         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16765         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16766         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16767         libc.
16768         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16769         libc and ld.so.
16770         ($(objpfx)libpcprofile.so): Likewise.
16771         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16772         libc_nonshared.a.
16773         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16774         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16775         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16776         $(link-libc-deps).
16777         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16778         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16779         * login/Makefile ($(objpfx)libutil.so): Likewise.
16780         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16781         * math/Makefile ($(objpfx)libm.so): Likewise.
16782         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16783         $(objpfx)libnsl.so): Define libc-for-link as target-specific
16784         variable instead of depending directly on libc.
16785         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16786         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16787         $(link-libc-deps).
16788         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16789         libc.
16790         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16791         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16792         ($(objpfx)libanl.so): Likewise.
16793         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16794         ld.so.
16795         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16796         $(link-libc-deps).
16797         * sysdeps/i386/fpu/Makefile: Remove file.
16798         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16799         ($(objpfx)libm.so): Remove dependency on ld.so.
16800
16801 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
16802
16803         [BZ # 15553]
16804         * nis/yp_xdr.c (XDRMAXNAME): Define.
16805         (XDRMAXRECORD): Define.
16806         (xdr_domainname): Use XDRMAXNAME.
16807         (xdr_mapname): Likewise.
16808         (xdr_peername): Likewise.
16809         (xdr_keydat): Use XDRMAXRECORD.
16810         (xdr_valdat): Likewise.
16811
16812 2013-05-30  Jeff Law  <law@redhat.com>
16813
16814         [BZ #14256]
16815         * manual/errno.texi (ESTALE): Update to account for more than
16816         just NFS file systems.
16817         * sysdeps/gnu/errlist.c: Regenerated.
16818
16819 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16820
16821         [BZ #15465]
16822         * elf/Makefile (tests): Add tst-null-argv.
16823         (modules-names):  Add tst-null-argv-lib.
16824         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16825         (tst-null-argv-ENV): Set environment for tst-null-argv.
16826         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16827         (RTLD_PROGNAME): New macro.
16828         * elf/tst-null-argv.c: New test case.
16829         * elf/tst-null-argv-lib.c: Library for test case.
16830         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16831         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16832         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16833         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16834         * elf/dl-init.c (call_init): Likewise.
16835         (_dl_init): Likewise.
16836         * elf/dl-load.c (print_search_path): Likewise.
16837         (_dl_map_object): Likewise.
16838         * elf/dl-lookup.c (do_lookup_x): Likewise.
16839         (add_dependency): Likewise.
16840         (_dl_lookup_symbol_x): Likewise.
16841         (_dl_debug_bindings): Likewise.
16842         * elf/dl-open.c (_dl_show_scope): Likewise.
16843         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16844         * elf/dl-version.c (match_symbol): Likewise.
16845         (_dl_check_map_versions): Likewise.
16846         * elf/rtld.c (dl_main): Likewise.
16847         (print_unresolved): Use RTLD_PROGNAME.
16848         (print_missing_version): Likewise.
16849         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16850         (elf_machine_rela): Likewise.
16851         * sysdeps/powerpc/powerpc32/dl-machine.c
16852         (__process_machine_rela): Likewise.
16853         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16854         Likewise.
16855         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16856         Likewise.
16857         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16858         Likewise.
16859         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16860         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16861         Likewise.
16862         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16863         Likewise.
16864         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16865
16866 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
16867
16868         * po/be.po: Add descriptive title.
16869         * po/zh_CN.po: Likewise.
16870         * po/header.pot: Likewise.
16871
16872 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
16873
16874         * locale/programs/locarchive.c (create_archive): Inlucde fname in
16875         error message.
16876         (enlarge_archive): Likewise.
16877
16878 2013-05-28  Ben North  <ben@redfrontdoor.org>
16879
16880         * manual/arith.texi (frexp): It is the magnitude of the return
16881         value which lies in [0.5, 1), not the return value itself.
16882
16883 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16884
16885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16886
16887 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
16888
16889         * stdio-common/bug26.c (main): Correct fscanf template.
16890
16891         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16892         declare _dl_skip_args.
16893
16894         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16895         Don't declare.
16896
16897         * manual/platform.texi: Add missing @end deftypefun.
16898
16899 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16900
16901         [BZ #15529]
16902         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16903         bit of mantissa of 2^16382.
16904         * math/libm-test.inc (hypot_test_data): Add more tests.
16905
16906         * math/libm-test.inc: Add drem and pow10 to list of tested
16907         functions.
16908         (pow10_test): New function.
16909         (drem_test): Likewise.
16910         (drem_test_tonearest): Likewise.
16911         (drem_test_towardzero): Likewise.
16912         (drem_test_downward): Likewise.
16913         (drem_test_upward): Likewise.
16914         (main): Call the new functions.
16915
16916         * math/libm-test.inc (finite_test_data): Remove.
16917         (finite_test): Run tests from isfinite_test_data.
16918         (gamma_test_data): Remove.
16919         (gamma_test): Run tests from lgamma_test_data.
16920         * sysdeps/i386/fpu/libm-test-ulps: Update.
16921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16922
16923 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16924
16925         * manual/platform.texi: Add PowerPC PPR function set documentation.
16926         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16927         implementation.
16928
16929 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
16930
16931         * math/libm-test.inc (MAX_EXP): Define.
16932         (ULPDIFF): Define.
16933         (ulp): New function.
16934         (check_float_internal): Use ULPDIFF.
16935         (cpow_test): Disable failing test.
16936         (check_ulp): Test ulp() implemetnation.
16937         (main): Call check_ulp before starting tests.
16938
16939 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16940
16941         * math/gen-libm-test.pl (generate_testfile): Do not handle
16942         START_DATA and END_DATA.
16943         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16944         END_DATA.
16945         (acos_tonearest_test_data): Likewise.
16946         (acos_towardzero_test_data): Likewise.
16947         (acos_downward_test_data): Likewise.
16948         (acos_upward_test_data): Likewise.
16949         (acosh_test_data): Likewise.
16950         (asin_test_data): Likewise.
16951         (asin_tonearest_test_data): Likewise.
16952         (asin_towardzero_test_data): Likewise.
16953         (asin_downward_test_data): Likewise.
16954         (asin_upward_test_data): Likewise.
16955         (asinh_test_data): Likewise.
16956         (atan_test_data): Likewise.
16957         (atanh_test_data): Likewise.
16958         (atan2_test_data): Likewise.
16959         (cabs_test_data): Likewise.
16960         (cacos_test_data): Likewise.
16961         (cacosh_test_data): Likewise.
16962         (carg_test_data): Likewise.
16963         (casin_test_data): Likewise.
16964         (casinh_test_data): Likewise.
16965         (catan_test_data): Likewise.
16966         (catanh_test_data): Likewise.
16967         (cbrt_test_data): Likewise.
16968         (ccos_test_data): Likewise.
16969         (ccosh_test_data): Likewise.
16970         (ceil_test_data): Likewise.
16971         (cexp_test_data): Likewise.
16972         (cimag_test_data): Likewise.
16973         (clog_test_data): Likewise.
16974         (clog10_test_data): Likewise.
16975         (conj_test_data): Likewise.
16976         (copysign_test_data): Likewise.
16977         (cos_test_data): Likewise.
16978         (cos_tonearest_test_data): Likewise.
16979         (cos_towardzero_test_data): Likewise.
16980         (cos_downward_test_data): Likewise.
16981         (cos_upward_test_data): Likewise.
16982         (cosh_test_data): Likewise.
16983         (cosh_tonearest_test_data): Likewise.
16984         (cosh_towardzero_test_data): Likewise.
16985         (cosh_downward_test_data): Likewise.
16986         (cosh_upward_test_data): Likewise.
16987         (cpow_test_data): Likewise.
16988         (cproj_test_data): Likewise.
16989         (creal_test_data): Likewise.
16990         (csin_test_data): Likewise.
16991         (csinh_test_data): Likewise.
16992         (csqrt_test_data): Likewise.
16993         (ctan_test_data): Likewise.
16994         (ctan_tonearest_test_data): Likewise.
16995         (ctan_towardzero_test_data): Likewise.
16996         (ctan_downward_test_data): Likewise.
16997         (ctan_upward_test_data): Likewise.
16998         (ctanh_test_data): Likewise.
16999         (ctanh_tonearest_test_data): Likewise.
17000         (ctanh_towardzero_test_data): Likewise.
17001         (ctanh_downward_test_data): Likewise.
17002         (ctanh_upward_test_data): Likewise.
17003         (erf_test_data): Likewise.
17004         (erfc_test_data): Likewise.
17005         (exp_test_data): Likewise.
17006         (exp_tonearest_test_data): Likewise.
17007         (exp_towardzero_test_data): Likewise.
17008         (exp_downward_test_data): Likewise.
17009         (exp_upward_test_data): Likewise.
17010         (exp10_test_data): Likewise.
17011         (exp2_test_data): Likewise.
17012         (expm1_test_data): Likewise.
17013         (fabs_test_data): Likewise.
17014         (fdim_test_data): Likewise.
17015         (finite_test_data): Likewise.
17016         (floor_test_data): Likewise.
17017         (fma_test_data): Likewise.
17018         (fma_towardzero_test_data): Likewise.
17019         (fma_downward_test_data): Likewise.
17020         (fma_upward_test_data): Likewise.
17021         (fmax_test_data): Likewise.
17022         (fmin_test_data): Likewise.
17023         (fmod_test_data): Likewise.
17024         (fpclassify_test_data): Likewise.
17025         (frexp_test_data): Likewise.
17026         (gamma_test_data): Likewise.
17027         (hypot_test_data): Likewise.
17028         (ilogb_test_data): Likewise.
17029         (isfinite_test_data): Likewise.
17030         (isgreater_test_data): Likewise.
17031         (isgreaterequal_test_data): Likewise.
17032         (isinf_test_data): Likewise.
17033         (isless_test_data): Likewise.
17034         (islessequal_test_data): Likewise.
17035         (islessgreater_test_data): Likewise.
17036         (isnan_test_data): Likewise.
17037         (isnormal_test_data): Likewise.
17038         (issignaling_test_data): Likewise.
17039         (isunordered_test_data): Likewise.
17040         (j0_test_data): Likewise.
17041         (j1_test_data): Likewise.
17042         (jn_test_data): Likewise.
17043         (ldexp_test_data): Likewise.
17044         (lgamma_test_data): Likewise.
17045         (lrint_test_data): Likewise.
17046         (lrint_tonearest_test_data): Likewise.
17047         (lrint_towardzero_test_data): Likewise.
17048         (lrint_downward_test_data): Likewise.
17049         (lrint_upward_test_data): Likewise.
17050         (llrint_test_data): Likewise.
17051         (llrint_tonearest_test_data): Likewise.
17052         (llrint_towardzero_test_data): Likewise.
17053         (llrint_downward_test_data): Likewise.
17054         (llrint_upward_test_data): Likewise.
17055         (log_test_data): Likewise.
17056         (log10_test_data): Likewise.
17057         (log1p_test_data): Likewise.
17058         (log2_test_data): Likewise.
17059         (logb_test_data): Likewise.
17060         (logb_downward_test_data): Likewise.
17061         (lround_test_data): Likewise.
17062         (llround_test_data): Likewise.
17063         (modf_test_data): Likewise.
17064         (nearbyint_test_data): Likewise.
17065         (nextafter_test_data): Likewise.
17066         (nexttoward_test_data): Likewise.
17067         (pow_test_data): Likewise.
17068         (pow_tonearest_test_data): Likewise.
17069         (pow_towardzero_test_data): Likewise.
17070         (pow_downward_test_data): Likewise.
17071         (pow_upward_test_data): Likewise.
17072         (remainder_test_data): Likewise.
17073         (remainder_tonearest_test_data): Likewise.
17074         (remainder_towardzero_test_data): Likewise.
17075         (remainder_downward_test_data): Likewise.
17076         (remainder_upward_test_data): Likewise.
17077         (remquo_test_data): Likewise.
17078         (rint_test_data): Likewise.
17079         (rint_tonearest_test_data): Likewise.
17080         (rint_towardzero_test_data): Likewise.
17081         (rint_downward_test_data): Likewise.
17082         (rint_upward_test_data): Likewise.
17083         (round_test_data): Likewise.
17084         (scalb_test_data): Likewise.
17085         (scalbn_test_data): Likewise.
17086         (scalbln_test_data): Likewise.
17087         (signbit_test_data): Likewise.
17088         (sin_test_data): Likewise.
17089         (sin_tonearest_test_data): Likewise.
17090         (sin_towardzero_test_data): Likewise.
17091         (sin_downward_test_data): Likewise.
17092         (sin_upward_test_data): Likewise.
17093         (sincos_test_data): Likewise.
17094         (sinh_test_data): Likewise.
17095         (sinh_tonearest_test_data): Likewise.
17096         (sinh_towardzero_test_data): Likewise.
17097         (sinh_downward_test_data): Likewise.
17098         (sinh_upward_test_data): Likewise.
17099         (sqrt_test_data): Likewise.
17100         (tan_test_data): Likewise.
17101         (tan_tonearest_test_data): Likewise.
17102         (tan_towardzero_test_data): Likewise.
17103         (tan_downward_test_data): Likewise.
17104         (tan_upward_test_data): Likewise.
17105         (tanh_test_data): Likewise.
17106         (tgamma_test_data): Likewise.
17107         (trunc_test_data): Likewise.
17108         (y0_test_data): Likewise.
17109         (y1_test_data): Likewise.
17110         (yn_test_data): Likewise.
17111         (significand_test_data): Likewise.
17112
17113         * math/gen-libm-test.pl (@functions): Remove variable.
17114         (generate_testfile): Don't handle START and END lines.
17115         * math/libm-test.inc (START): New macro.
17116         (END): Likewise.
17117         (END_COMPLEX): Likewise.
17118         (acos_test): Use END macro without arguments.
17119         (acos_test_tonearest): Likewise.
17120         (acos_test_towardzero): Likewise.
17121         (acos_test_downward): Likewise.
17122         (acos_test_upward): Likewise.
17123         (acosh_test): Likewise.
17124         (asin_test): Likewise.
17125         (asin_test_tonearest): Likewise.
17126         (asin_test_towardzero): Likewise.
17127         (asin_test_downward): Likewise.
17128         (asin_test_upward): Likewise.
17129         (asinh_test): Likewise.
17130         (atan_test): Likewise.
17131         (atanh_test): Likewise.
17132         (atan2_test): Likewise.
17133         (cabs_test): Likewise.
17134         (cacos_test): Use END_COMPLEX macro without arguments.
17135         (cacosh_test): Likewise.
17136         (carg_test): Use END macro without arguments.
17137         (casin_test): Use END_COMPLEX macro without arguments.
17138         (casinh_test): Likewise.
17139         (catan_test): Likewise.
17140         (catanh_test): Likewise.
17141         (cbrt_test): Use END macro without arguments.
17142         (ccos_test): Use END_COMPLEX macro without arguments.
17143         (ccosh_test): Likewise.
17144         (ceil_test): Use END macro without arguments.
17145         (cexp_test): Use END_COMPLEX macro without arguments.
17146         (cimag_test): Use END macro without arguments.
17147         (clog_test): Use END_COMPLEX macro without arguments.
17148         (clog10_test): Likewise.
17149         (conj_test): Likewise.
17150         (copysign_test): Use END macro without arguments.
17151         (cos_test): Likewise.
17152         (cos_test_tonearest): Likewise.
17153         (cos_test_towardzero): Likewise.
17154         (cos_test_downward): Likewise.
17155         (cos_test_upward): Likewise.
17156         (cosh_test): Likewise.
17157         (cosh_test_tonearest): Likewise.
17158         (cosh_test_towardzero): Likewise.
17159         (cosh_test_downward): Likewise.
17160         (cosh_test_upward): Likewise.
17161         (cpow_test): Use END_COMPLEX macro without arguments.
17162         (cproj_test): Likewise.
17163         (creal_test): Use END macro without arguments.
17164         (csin_test): Use END_COMPLEX macro without arguments.
17165         (csinh_test): Likewise.
17166         (csqrt_test): Likewise.
17167         (ctan_test): Likewise.
17168         (ctan_test_tonearest): Likewise.
17169         (ctan_test_towardzero): Likewise.
17170         (ctan_test_downward): Likewise.
17171         (ctan_test_upward): Likewise.
17172         (ctanh_test): Likewise.
17173         (ctanh_test_tonearest): Likewise.
17174         (ctanh_test_towardzero): Likewise.
17175         (ctanh_test_downward): Likewise.
17176         (ctanh_test_upward): Likewise.
17177         (erf_test): Use END macro without arguments.
17178         (erfc_test): Likewise.
17179         (exp_test): Likewise.
17180         (exp_test_tonearest): Likewise.
17181         (exp_test_towardzero): Likewise.
17182         (exp_test_downward): Likewise.
17183         (exp_test_upward): Likewise.
17184         (exp10_test): Likewise.
17185         (exp2_test): Likewise.
17186         (expm1_test): Likewise.
17187         (fabs_test): Likewise.
17188         (fdim_test): Likewise.
17189         (finite_test): Likewise.
17190         (floor_test): Likewise.
17191         (fma_test): Likewise.
17192         (fma_test_towardzero): Likewise.
17193         (fma_test_downward): Likewise.
17194         (fma_test_upward): Likewise.
17195         (fmax_test): Likewise.
17196         (fmin_test): Likewise.
17197         (fmod_test): Likewise.
17198         (fpclassify_test): Likewise.
17199         (frexp_test): Likewise.
17200         (gamma_test): Likewise.
17201         (hypot_test): Likewise.
17202         (ilogb_test): Likewise.
17203         (isfinite_test): Likewise.
17204         (isgreater_test): Likewise.
17205         (isgreaterequal_test): Likewise.
17206         (isinf_test): Likewise.
17207         (isless_test): Likewise.
17208         (islessequal_test): Likewise.
17209         (islessgreater_test): Likewise.
17210         (isnan_test): Likewise.
17211         (isnormal_test): Likewise.
17212         (issignaling_test): Likewise.
17213         (isunordered_test): Likewise.
17214         (j0_test): Likewise.
17215         (j1_test): Likewise.
17216         (jn_test): Likewise.
17217         (ldexp_test): Likewise.
17218         (lgamma_test): Likewise.
17219         (lrint_test): Likewise.
17220         (lrint_test_tonearest): Likewise.
17221         (lrint_test_towardzero): Likewise.
17222         (lrint_test_downward): Likewise.
17223         (lrint_test_upward): Likewise.
17224         (llrint_test): Likewise.
17225         (llrint_test_tonearest): Likewise.
17226         (llrint_test_towardzero): Likewise.
17227         (llrint_test_downward): Likewise.
17228         (llrint_test_upward): Likewise.
17229         (log_test): Likewise.
17230         (log10_test): Likewise.
17231         (log1p_test): Likewise.
17232         (log2_test): Likewise.
17233         (logb_test): Likewise.
17234         (logb_test_downward): Likewise.
17235         (lround_test): Likewise.
17236         (llround_test): Likewise.
17237         (modf_test): Likewise.
17238         (nearbyint_test): Likewise.
17239         (nextafter_test): Likewise.
17240         (nexttoward_test): Likewise.
17241         (pow_test): Likewise.
17242         (pow_test_tonearest): Likewise.
17243         (pow_test_towardzero): Likewise.
17244         (pow_test_downward): Likewise.
17245         (pow_test_upward): Likewise.
17246         (remainder_test): Likewise.
17247         (remainder_test_tonearest): Likewise.
17248         (remainder_test_towardzero): Likewise.
17249         (remainder_test_downward): Likewise.
17250         (remainder_test_upward): Likewise.
17251         (remquo_test): Likewise.
17252         (rint_test): Likewise.
17253         (rint_test_tonearest): Likewise.
17254         (rint_test_towardzero): Likewise.
17255         (rint_test_downward): Likewise.
17256         (rint_test_upward): Likewise.
17257         (round_test): Likewise.
17258         (scalb_test): Likewise.
17259         (scalbn_test): Likewise.
17260         (scalbln_test): Likewise.
17261         (signbit_test): Likewise.
17262         (sin_test): Likewise.
17263         (sin_test_tonearest): Likewise.
17264         (sin_test_towardzero): Likewise.
17265         (sin_test_downward): Likewise.
17266         (sin_test_upward): Likewise.
17267         (sincos_test): Likewise.
17268         (sinh_test): Likewise.
17269         (sinh_test_tonearest): Likewise.
17270         (sinh_test_towardzero): Likewise.
17271         (sinh_test_downward): Likewise.
17272         (sinh_test_upward): Likewise.
17273         (sqrt_test): Likewise.
17274         (tan_test): Likewise.
17275         (tan_test_tonearest): Likewise.
17276         (tan_test_towardzero): Likewise.
17277         (tan_test_downward): Likewise.
17278         (tan_test_upward): Likewise.
17279         (tanh_test): Likewise.
17280         (tgamma_test): Likewise.
17281         (trunc_test): Likewise.
17282         (y0_test): Likewise.
17283         (y1_test): Likewise.
17284         (yn_test): Likewise.
17285         (significand_test): Likewise.
17286
17287 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17288
17289         [BZ #15381]
17290         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17291
17292 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17293
17294         [BZ #14894]
17295         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17296         __ppc_mdoio and __ppc_mdoom.
17297         * manual/platform.texi: Document new functions __ppc_yield,
17298         __ppc_mdoio and __ppc_mdoom.
17299
17300 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17301
17302         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17303         (main): Mention "tls" pseudo-hwcap is legacy.
17304         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17305
17306 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17307
17308         * math/gen-libm-test.pl (parse_args): Output only string of
17309         arguments as text for test name, not full call or descriptions of
17310         tests for extra outputs.
17311         (generate_testfile): Do not pass function name to parse_args.
17312         Generate this_func variable from START.
17313         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17314         field to arg_str.
17315         (struct test_ff_f_data): Likewise.
17316         (test_ff_f_data_nexttoward): Likewise.
17317         (struct test_fi_f_data): Likewise.
17318         (struct test_fl_f_data): Likewise.
17319         (struct test_if_f_data): Likewise.
17320         (struct test_fff_f_data): Likewise.
17321         (struct test_c_f_data): Likewise.
17322         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17323         (struct test_fF_f1_data): Likewise.
17324         (struct test_ffI_f1_data): Likewise.
17325         (struct test_c_c_data): Rename test_name field to arg_str.
17326         (struct test_cc_c_data): Likewise.
17327         (struct test_f_i_data): Likewise.
17328         (struct test_ff_i_data): Likewise.
17329         (struct test_f_l_data): Likewise.
17330         (struct test_f_L_data): Likewise.
17331         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17332         and extra2_name.
17333         (COMMON_TEST_SETUP): New macro.
17334         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17335         (COMMON_TEST_CLEANUP): Likewise.
17336         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17337         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17338         macros.
17339         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17340         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17341         macros.
17342         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17343         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17344         cleanup macros.
17345         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17346         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17347         macros.
17348         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17349         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17350         macros.
17351         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17352         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17353         cleanup macros.
17354         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17355         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17356         cleanup macros.
17357         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17358         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17359         cleanup macros.
17360         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17361         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17362         macros.
17363         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17364         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17365         macros.
17366         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17367         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17368         macros.
17369         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17370         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17371         cleanup macros.
17372         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17373         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17374         cleanup macros.
17375         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17376         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
17377         macros.
17378         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17379         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
17380         cleanup macros.
17381         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17382         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
17383         macros.
17384         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17385         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
17386         macros.
17387         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17388         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
17389         cleanup macros.
17390         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17391
17392 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
17393
17394         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17395         to _sifields.sigfault.
17396         (si_addr_lsb): Define new macro.
17397         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17398         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17399         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17400
17401 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
17402
17403         [BZ #15441]
17404         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17405         returns -1.
17406         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17407         null return -1.
17408         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17409         loading the domain.
17410
17411 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17412
17413         * math/gen-libm-test.pl (parse_args): Do not include expected
17414         result in test name.
17415         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17416         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17417         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17418         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17419         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17421
17422 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17423
17424         * benchtests/Makefile: Sort function entries.
17425
17426         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17427         tanh, asinh, acosh, atanh.
17428         * benchtests/acos-inputs: New file.
17429         * benchtests/acosh-inputs: New file.
17430         * benchtests/asin-inputs: New file.
17431         * benchtests/asinh-inputs: New file.
17432         * benchtests/atanh-inputs: New file.
17433         * benchtests/cosh-inputs: New file.
17434         * benchtests/log-inputs: New file.
17435         * benchtests/sinh-inputs: New file.
17436         * benchtests/tanh-inputs: New file.
17437
17438 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
17439
17440         [BZ #15339]
17441         * posix/tst-getaddrinfo4.c: New test.
17442         * posix/Makefile (tests): Add it.
17443
17444 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17445
17446         [BZ #15339]
17447         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17448         when no services were used.
17449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17450         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17451
17452 2013-05-21  Andreas Schwab  <schwab@suse.de>
17453
17454         [BZ #15014]
17455         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17456         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17457         successful.
17458         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17459         redundant variable declarations and reallocation of buffer when
17460         parsing as IPv6 address.  Always set NSS status when called from
17461         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
17462         buffer too small.  Correct computation of needed size.
17463         * nss/Makefile (tests): Add test-digits-dots.
17464         * nss/test-digits-dots.c: New test.
17465
17466 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17467
17468         * benchtests/Makefile: Remove instructions for adding
17469         benchmark tests.
17470         * benchtests/README: New file to explain how to execute and
17471         enhance the benchmark tests.
17472
17473 2013-05-21  Andreas Schwab  <schwab@suse.de>
17474
17475         [BZ #15493]
17476         * setjmp/Makefile (tests): Add tst-sigsetjmp.
17477         * setjmp/tst-sigsetjmp.c: New test.
17478
17479 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17480
17481         * sysdeps/x86_64/memset.S (memset): New implementation.
17482         (__bzero): Likewise.
17483         (__memset_tail): New function.
17484
17485 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17486
17487         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17488         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17489         __memcpy_sse2_unaligned ifunc selection.
17490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17491         Add memcpy-sse2-unaligned.S.
17492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17493         Add: __memcpy_sse2_unaligned.
17494
17495 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
17496
17497         [BZ #15490]
17498         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17499         math_force_eval before restoring floating-point envrionment.
17500         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17501         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17502         Likewise.
17503         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17504         <math_private.h>.
17505         (__nearbyintl): Use math_force_eval before restoring
17506         floating-point environment.
17507         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17508
17509         * math/gen-libm-test.pl (special_functions): Remove.
17510         (parse_args): Don't handle TEST_extra.  Handle functions with no
17511         return value.
17512         * math/libm-test.inc (struct test_sincos_data): Replace with
17513         struct test_fFF_11_data.
17514         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17515         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17516         (sincos_test_data): Change element type to struct
17517         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
17518         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17519         RUN_TEST_LOOP_sincos.
17520         * math/README.libm-test: Don't mention special handling of
17521         individual functions.
17522         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17523         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17524         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17525         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17526         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17528
17529         * math/gen-libm-test.pl (get_variable): Remove function.
17530         (parse_args): Don't show pointer parameters to call in test
17531         names.  Use "extra output N" in test names for extra outputs
17532         rather than naming variables.
17533
17534 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
17535
17536         [BZ #15488]
17537         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17538         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17539         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17540         double tests.
17541         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17542         disable.
17543         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17544         check_long_double.
17545
17546         * math/gen-libm-test.pl (@tests): Remove variable.
17547         ($count): Likewise.
17548         (new_test): Remove function.
17549         (show_exceptions): New function.
17550         (special_functions): Use show_exceptions instead of new_test.
17551         (parse_args): Likewise.
17552         (generate_testfile): Pass only function name in generated call to
17553         print_max_error or print_complex_max_error.
17554         (get_ulps): Do not handle complex tests specially.
17555         (output_test): Rename to ...
17556         (get_all_ulps_for_test): ... this.  Return a string rather than
17557         printing to a file.  Require ulps to be present.
17558         (output_ulps): Generate arrays rather than #defines.
17559         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17560         (struct ulp_data): New type.
17561         (BUILD_COMPLEX_ULP): Remove macro.
17562         (compare_ulp_data): New function.
17563         (find_ulps): Likewise.
17564         (find_test_ulps): Likewise.
17565         (find_function_ulps): Likewise.
17566         (find_complex_function_ulps): Likewise.
17567         (print_max_error): Determine allowed ulps using
17568         find_function_ulps.
17569         (print_complex_max_error): Determine allowed ulps using
17570         find_complex_function_ulps.
17571         (check_float_internal): Determine max ulps using find_test_ulps.
17572         (check_float): Do not take max_ulp parameter.  Update call to
17573         check_float_internal.
17574         (check_complex): Likewise.
17575         (check_int): Do not take max_ulp parameter.
17576         (check_long): Likewise.
17577         (check_bool): Likewise.
17578         (check_longlong): Likewise.
17579         (struct test_f_f_data): Remove max_ulp field.
17580         (struct test_ff_f_data): Likewise.
17581         (struct test_ff_f_data_nexttoward): Likewise.
17582         (struct test_fi_f_data): Likewise.
17583         (struct test_fl_f_data): Likewise.
17584         (struct test_if_f_data): Likewise.
17585         (struct test_fff_f_data): Likewise.
17586         (struct test_c_f_data): Likewise.
17587         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17588         (struct test_fF_f1_data): Likewise.
17589         (struct test_ffI_f1_data): Likewise.
17590         (struct test_c_c_data): Remove max_ulp field.
17591         (struct test_cc_c_data): Likewise.
17592         (struct test_f_i_data): Likewise.
17593         (struct test_ff_i_data): Likewise.
17594         (struct test_f_l_data): Likewise.
17595         (struct test_f_L_data): Likewise.
17596         (struct test_sincos_data): Likewise.
17597         (RUN_TEST_f_f): Do not handle ulps.
17598         (RUN_TEST_LOOP_f_f): Likewise.
17599         (RUN_TEST_2_f): Likewise.
17600         (RUN_TEST_LOOP_2_f): Likewise.
17601         (RUN_TEST_fff_f): Likewise.
17602         (RUN_TEST_LOOP_fff_f): Likewise.
17603         (RUN_TEST_c_f): Likewise.
17604         (RUN_TEST_LOOP_c_f): Likewise.
17605         (RUN_TEST_f_f1): Likewise.
17606         (RUN_TEST_LOOP_f_f1): Likewise.
17607         (RUN_TEST_fF_f1): Likewise.
17608         (RUN_TEST_LOOP_fF_f1): Likewise.
17609         (RUN_TEST_fI_f1): Likewise.
17610         (RUN_TEST_LOOP_fI_f1): Likewise.
17611         (RUN_TEST_ffI_f1): Likewise.
17612         (RUN_TEST_LOOP_ffI_f1): Likewise.
17613         (RUN_TEST_c_c): Likewise.
17614         (RUN_TEST_LOOP_c_c): Likewise.
17615         (RUN_TEST_cc_c): Likewise.
17616         (RUN_TEST_LOOP_cc_c): Likewise.
17617         (RUN_TEST_f_i): Likewise.
17618         (RUN_TEST_LOOP_f_i): Likewise.
17619         (RUN_TEST_f_i_tg): Likewise.
17620         (RUN_TEST_LOOP_f_i_tg): Likewise.
17621         (RUN_TEST_ff_i_tg): Likewise.
17622         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17623         (RUN_TEST_f_b): Likewise.
17624         (RUN_TEST_LOOP_f_b): Likewise.
17625         (RUN_TEST_f_b_tg): Likewise.
17626         (RUN_TEST_LOOP_f_b_tg): Likewise.
17627         (RUN_TEST_f_l): Likewise.
17628         (RUN_TEST_LOOP_f_l): Likewise.
17629         (RUN_TEST_f_L): Likewise.
17630         (RUN_TEST_LOOP_f_L): Likewise.
17631         (RUN_TEST_sincos): Likewise.
17632         (RUN_TEST_LOOP_sincos): Likewise.
17633
17634 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
17635
17636         [BZ #15480]
17637         [BZ #15485]
17638         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17639         main case of finite arguments, set rounding mode to FE_TONEAREST
17640         and discard exceptions.
17641         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17642         exceptions.
17643         (remainder_tonearest_test_data): New variable.
17644         (remainder_test_tonearest): New function.
17645         (remainder_towardzero_test_data): New variable.
17646         (remainder_test_towardzero): New function.
17647         (remainder_downward_test_data): New variable.
17648         (remainder_test_downward): New function.
17649         (remainder_upward_test_data): New variable.
17650         (remainder_test_upward): New function.
17651         (main): Call the new test functions.
17652
17653         * math/libm-test.inc (struct test_f_f1_data): Remove field
17654         extra_init.
17655         (struct test_fF_f1_data): Likewise.
17656         (struct test_ffI_f1_data): Likewise.
17657         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
17658         based on value of EXTRA_EXPECTED.
17659         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17660         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
17661         EXTRA_VAR based on value of EXTRA_EXPECTED.
17662         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17663         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
17664         EXTRA_VAR based on value of EXTRA_EXPECTED.
17665         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17666         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
17667         EXTRA_VAR based on value of EXTRA_EXPECTED.
17668         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17669         * math/gen-libm-test.pl (parse_args): Don't output initializers
17670         for extra output values.
17671
17672         * math/libm-test.inc (check_int): Expect result to be exactly
17673         equal to expected value and do not handle ulps.
17674         (check_long): Likewise.
17675         (check_longlong): Likewise.
17676
17677         * math/libm-test.inc (ceil_test_data): Test for "inexact"
17678         exceptions.
17679         (cimag_test_data): Likewise.
17680         (conj_test_data): Likewise.
17681         (copysign_test_data): Likewise.
17682         (cproj_test_data): Likewise.
17683         (creal_test_data): Likewise.
17684         (fabs_test_data): Likewise.
17685         (fdim_test_data): Likewise.
17686         (finite_test_data): Likewise.
17687         (floor_test_data): Likewise.
17688         (fmax_test_data): Likewise.
17689         (fmin_test_data): Likewise.
17690         (fmod_test_data): Likewise.
17691         (fpclassify_test_data): Likewise.
17692         (frexp_test_data): Likewise.
17693         (ilogb_test_data): Likewise.
17694         (isfinite_test_data): Likewise.
17695         (isgreater_test_data): Likewise.
17696         (isgreaterequal_test_data): Likewise.
17697         (isinf_test_data): Likewise.
17698         (isless_test_data): Likewise.
17699         (islessequal_test_data): Likewise.
17700         (islessgreater_test_data): Likewise.
17701         (isnan_test_data): Likewise.
17702         (isnormal_test_data): Likewise.
17703         (issignaling_test_data): Likewise.
17704         (isunordered_test_data): Likewise.
17705         (ldexp_test_data): Likewise.
17706         (lrint_test_data): Likewise.
17707         (lrint_test_data) [TEST_FLOAT]: Disable one test.
17708         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17709         (lrint_tonearest_test_data): Test for "inexact" exceptions.
17710         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17711         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17712         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17713         test input.
17714         (lrint_towardzero_test_data): Test for "inexact" exceptions.
17715         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17716         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17717         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17718         that test input.
17719         (lrint_downward_test_data): Test for "inexact" exceptions.
17720         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17721         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17722         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17723         test input.
17724         (lrint_upward_test_data): Test for "inexact" exceptions.
17725         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17726         test input.
17727         (llrint_test_data): Test for "inexact" exceptions.
17728         (llrint_test_data) [TEST_FLOAT]: Disable one test.
17729         (llrint_tonearest_test_data): Test for "inexact" exceptions.
17730         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17731         (llrint_towardzero_test_data): Test for "inexact" exceptions.
17732         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17733         (llrint_downward_test_data): Test for "inexact" exceptions.
17734         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17735         (llrint_upward_test_data): Test for "inexact" exceptions.
17736         (logb_test_data): Likewise.
17737         (logb_downward_test_data): Likewise.
17738         (nextafter_test_data): Likewise.
17739         (nexttoward_test_data): Likewise.
17740         (remainder_test_data): Likewise.
17741         (remquo_test_data): Likewise.
17742         (scalbn_test_data): Likewise.
17743         (scalbln_test_data): Likewise.
17744         (signbit_test_data): Likewise.
17745         (sqrt_test_data): Likewise.
17746         (significand_test_data): Likewise.
17747
17748 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17749
17750         [BZ #15424]
17751         * benchtests/bench-modf.c (struct args): Mark arg0 as
17752         volatile.
17753         * scripts/bench.pl: Mark members of struct args as volatile.
17754
17755 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17756
17757         [BZ # 15497]
17758         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17759         negative infinity on POWER6 or lower.
17760         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17761
17762 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17763
17764         [BZ #15442]
17765         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17766         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17767         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17768         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17769         (_FP_SETQNAN): New macro.
17770         (_FP_SETQNAN_SEMIRAW): Likewise.
17771         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17772         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17773         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17774         (FP_EXTEND): Use _FP_FRAC_SNANP.
17775         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17776         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17777         into account.
17778         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17779         New macro.
17780         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17781         Likewise.
17782
17783 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17784
17785         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17786         with DIVIDE_BY_ZERO_EXCEPTION.
17787         (gamma_test_data): Likewise.
17788         (lgamma_test_data): Likewise.
17789         (log_test_data): Likewise.
17790         (log10_test_data): Likewise.
17791         (log2_test_data): Likewise.
17792         (tgamma_test_data): Likewise.
17793
17794         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17795         (acos_test_tonearest): Likewise.
17796         (acos_test_towardzero): Likewise.
17797         (acos_test_downward): Likewise.
17798         (acos_test_upward): Likewise.
17799         (acosh_test): Likewise.
17800         (asin_test): Likewise.
17801         (asin_test_tonearest): Likewise.
17802         (asin_test_towardzero): Likewise.
17803         (asin_test_downward): Likewise.
17804         (asin_test_upward): Likewise.
17805         (asinh_test): Likewise.
17806         (atan_test): Likewise.
17807         (atanh_test): Likewise.
17808         (atan2_test): Likewise.
17809         (cabs_test): Likewise.
17810         (cacos_test): Likewise.
17811         (cacosh_test): Likewise.
17812         (casin_test): Likewise.
17813         (casinh_test): Likewise.
17814         (catan_test): Likewise.
17815         (catanh_test): Likewise.
17816         (cbrt_test): Likewise.
17817         (ccos_test): Likewise.
17818         (ccosh_test): Likewise.
17819         (cexp_test): Likewise.
17820         (clog_test): Likewise.
17821         (clog10_test): Likewise.
17822         (cos_test): Likewise.
17823         (cos_test_tonearest): Likewise.
17824         (cos_test_towardzero): Likewise.
17825         (cos_test_downward): Likewise.
17826         (cos_test_upward): Likewise.
17827         (cosh_test): Likewise.
17828         (cosh_test_tonearest): Likewise.
17829         (cosh_test_towardzero): Likewise.
17830         (cosh_test_downward): Likewise.
17831         (cosh_test_upward): Likewise.
17832         (cpow_test): Likewise.
17833         (csin_test): Likewise.
17834         (csinh_test): Likewise.
17835         (csqrt_test): Likewise.
17836         (ctan_test): Likewise.
17837         (ctan_test_tonearest): Likewise.
17838         (ctan_test_towardzero): Likewise.
17839         (ctan_test_downward): Likewise.
17840         (ctan_test_upward): Likewise.
17841         (ctanh_test): Likewise.
17842         (ctanh_test_tonearest): Likewise.
17843         (ctanh_test_towardzero): Likewise.
17844         (ctanh_test_downward): Likewise.
17845         (ctanh_test_upward): Likewise.
17846         (erf_test): Likewise.
17847         (erfc_test): Likewise.
17848         (exp_test): Likewise.
17849         (exp_test_tonearest): Likewise.
17850         (exp_test_towardzero): Likewise.
17851         (exp_test_downward): Likewise.
17852         (exp_test_upward): Likewise.
17853         (exp10_test): Likewise.
17854         (exp2_test): Likewise.
17855         (expm1_test): Likewise.
17856         (fmod_test): Likewise.
17857         (gamma_test): Likewise.
17858         (hypot_test): Likewise.
17859         (j0_test): Likewise.
17860         (j1_test): Likewise.
17861         (jn_test): Likewise.
17862         (lgamma_test): Likewise.
17863         (log_test): Likewise.
17864         (log10_test): Likewise.
17865         (log1p_test): Likewise.
17866         (log2_test): Likewise.
17867         (logb_test_downward): Likewise.
17868         (pow_test): Likewise.
17869         (pow_test_tonearest): Likewise.
17870         (pow_test_towardzero): Likewise.
17871         (pow_test_downward): Likewise.
17872         (pow_test_upward): Likewise.
17873         (remainder_test): Likewise.
17874         (remquo_test): Likewise.
17875         (sin_test): Likewise.
17876         (sin_test_tonearest): Likewise.
17877         (sin_test_towardzero): Likewise.
17878         (sin_test_downward): Likewise.
17879         (sin_test_upward): Likewise.
17880         (sincos_test): Likewise.
17881         (sinh_test): Likewise.
17882         (sinh_test_tonearest): Likewise.
17883         (sinh_test_towardzero): Likewise.
17884         (sinh_test_downward): Likewise.
17885         (sinh_test_upward): Likewise.
17886         (sqrt_test): Likewise.
17887         (tan_test): Likewise.
17888         (tan_test_tonearest): Likewise.
17889         (tan_test_towardzero): Likewise.
17890         (tan_test_downward): Likewise.
17891         (tan_test_upward): Likewise.
17892         (tanh_test): Likewise.
17893         (tgamma_test): Likewise.
17894         (y0_test): Likewise.
17895         (y1_test): Likewise.
17896         (yn_test): Likewise.
17897
17898         * math/gen-libm-test.pl (adjust_arg): Remove function.
17899         (special_function): Remove argument $in_func.  Only handle
17900         generating output for tables of tests, not inside functions.
17901         (parse_args): Likewise.
17902         (generate_testfile): Remove variable $in_func.  Update call to
17903         parse_args.
17904         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17905         (MINUS_ZERO_INIT): Rename macro to minus_zero.
17906         (PLUS_INFTY_INIT): Rename macro to plus_infty.
17907         (MINUS_INFTY_INIT): Rename macro to minus_infty.
17908         (QNAN_VALUE_INIT): Rename macro to qnan_value.
17909         (MAX_VALUE_INIT): Rename macro to max_value.
17910         (MIN_VALUE_INIT): Rename macro to min_value.
17911         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17912         (plus_zero): Remove variable.
17913         (minus_zero): Likewise.
17914         (plus_infty): Likewise.
17915         (minus_infty): Likewise.
17916         (qnan_value): Likewise.
17917         (max_value): Likewise.
17918         (min_value): Likewise.
17919         (min_subnorm_value): Likewise.
17920
17921 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17922
17923         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17924         uint64_t or uint32_t usage.
17925         * crypt/sha256-block.c: Likewise.
17926         * crypt/sha256-crypt.c: Likewise.
17927         * crypt/sha256.c: Likewise.
17928         * crypt/sha512-block.c: Likewise.
17929         * crypt/sha512-crypt.c: Likewise.
17930         * crypt/sha512.c: Likewise.
17931         * debug/backtrace-tst.c: Likewise.
17932         * debug/pcprofiledump.c: Likewise.
17933         * elf/cache.c: Likewise.
17934         * elf/dl-cache.c: Likewise.
17935         * elf/dl-misc.c: Likewise.
17936         * elf/dl-profile.c: Likewise.
17937         * elf/dl-support.c: Likewise.
17938         * elf/ldconfig.c: Likewise.
17939         * elf/sprof.c: Likewise.
17940         * iconv/dummy-repertoire.c: Likewise.
17941         * iconv/iconv_charmap.c: Likewise.
17942         * iconv/skeleton.c: Likewise.
17943         * iconvdata/8bit-generic.c: Likewise.
17944         * iconvdata/cp737.h: Likewise.
17945         * iconvdata/cp775.h: Likewise.
17946         * iconvdata/ibm1008.h: Likewise.
17947         * iconvdata/ibm1025.h: Likewise.
17948         * iconvdata/ibm1046.h: Likewise.
17949         * iconvdata/ibm1097.h: Likewise.
17950         * iconvdata/ibm1112.h: Likewise.
17951         * iconvdata/ibm1122.h: Likewise.
17952         * iconvdata/ibm1123.h: Likewise.
17953         * iconvdata/ibm1124.h: Likewise.
17954         * iconvdata/ibm1129.h: Likewise.
17955         * iconvdata/ibm1130.h: Likewise.
17956         * iconvdata/ibm1132.h: Likewise.
17957         * iconvdata/ibm1133.h: Likewise.
17958         * iconvdata/ibm1137.h: Likewise.
17959         * iconvdata/ibm1140.h: Likewise.
17960         * iconvdata/ibm1141.h: Likewise.
17961         * iconvdata/ibm1142.h: Likewise.
17962         * iconvdata/ibm1143.h: Likewise.
17963         * iconvdata/ibm1144.h: Likewise.
17964         * iconvdata/ibm1145.h: Likewise.
17965         * iconvdata/ibm1146.h: Likewise.
17966         * iconvdata/ibm1147.h: Likewise.
17967         * iconvdata/ibm1148.h: Likewise.
17968         * iconvdata/ibm1149.h: Likewise.
17969         * iconvdata/ibm1153.h: Likewise.
17970         * iconvdata/ibm1154.h: Likewise.
17971         * iconvdata/ibm1155.h: Likewise.
17972         * iconvdata/ibm1156.h: Likewise.
17973         * iconvdata/ibm1157.h: Likewise.
17974         * iconvdata/ibm1158.h: Likewise.
17975         * iconvdata/ibm1160.h: Likewise.
17976         * iconvdata/ibm1161.h: Likewise.
17977         * iconvdata/ibm1162.h: Likewise.
17978         * iconvdata/ibm1163.h: Likewise.
17979         * iconvdata/ibm1164.h: Likewise.
17980         * iconvdata/ibm1166.h: Likewise.
17981         * iconvdata/ibm1167.h: Likewise.
17982         * iconvdata/ibm12712.h: Likewise.
17983         * iconvdata/ibm1390.h: Likewise.
17984         * iconvdata/ibm1399.h: Likewise.
17985         * iconvdata/ibm16804.h: Likewise.
17986         * iconvdata/ibm4517.h: Likewise.
17987         * iconvdata/ibm4899.h: Likewise.
17988         * iconvdata/ibm4909.h: Likewise.
17989         * iconvdata/ibm4971.h: Likewise.
17990         * iconvdata/ibm5347.h: Likewise.
17991         * iconvdata/ibm803.h: Likewise.
17992         * iconvdata/ibm856.h: Likewise.
17993         * iconvdata/ibm901.h: Likewise.
17994         * iconvdata/ibm902.h: Likewise.
17995         * iconvdata/ibm9030.h: Likewise.
17996         * iconvdata/ibm9066.h: Likewise.
17997         * iconvdata/ibm921.h: Likewise.
17998         * iconvdata/ibm922.h: Likewise.
17999         * iconvdata/ibm9448.h: Likewise.
18000         * iconvdata/isiri-3342.h: Likewise.
18001         * iconvdata/jis0201.h: Likewise.
18002         * include/link.h: Likewise.
18003         * include/netdb.h: Likewise.
18004         * inet/check_native.c: Likewise.
18005         * inet/check_pf.c: Likewise.
18006         * inet/getipv4sourcefilter.c: Likewise.
18007         * inet/getnameinfo.c: Likewise.
18008         * inet/getsourcefilter.c: Likewise.
18009         * inet/htonl.c: Likewise.
18010         * inet/setipv4sourcefilter.c: Likewise.
18011         * inet/setsourcefilter.c: Likewise.
18012         * inet/test-inet6_opt.c: Likewise.
18013         * inet/tst-network.c: Likewise.
18014         * locale/C-collate.c: Likewise.
18015         * locale/C-ctype.c: Likewise.
18016         * locale/C-time.c: Likewise.
18017         * locale/C-translit.h: Likewise.
18018         * locale/loadarchive.c: Likewise.
18019         * locale/programs/3level.h: Likewise.
18020         * locale/programs/charmap.c: Likewise.
18021         * locale/programs/charmap.h: Likewise.
18022         * locale/programs/ld-address.c: Likewise.
18023         * locale/programs/ld-collate.c: Likewise.
18024         * locale/programs/ld-ctype.c: Likewise.
18025         * locale/programs/ld-identification.c: Likewise.
18026         * locale/programs/ld-measurement.c: Likewise.
18027         * locale/programs/ld-messages.c: Likewise.
18028         * locale/programs/ld-monetary.c: Likewise.
18029         * locale/programs/ld-name.c: Likewise.
18030         * locale/programs/ld-numeric.c: Likewise.
18031         * locale/programs/ld-paper.c: Likewise.
18032         * locale/programs/ld-telephone.c: Likewise.
18033         * locale/programs/ld-time.c: Likewise.
18034         * locale/programs/linereader.c: Likewise.
18035         * locale/programs/locale.c: Likewise.
18036         * locale/programs/locarchive.c: Likewise.
18037         * locale/programs/locfile.h: Likewise.
18038         * locale/programs/repertoire.c: Likewise.
18039         * locale/programs/simple-hash.c: Likewise.
18040         * locale/programs/simple-hash.h: Likewise.
18041         * malloc/memusage.c: Likewise.
18042         * malloc/memusagestat.c: Likewise.
18043         * nis/nis_defaults.c: Likewise.
18044         * nis/nis_hash.c: Likewise.
18045         * nis/nis_print.c: Likewise.
18046         * nis/nis_xdr.c: Likewise.
18047         * nscd/connections.c: Likewise.
18048         * nscd/hstcache.c: Likewise.
18049         * nscd/nscd_gethst_r.c: Likewise.
18050         * nscd/nscd_getserv_r.c: Likewise.
18051         * nscd/nscd_helper.c: Likewise.
18052         * nscd/servicescache.c: Likewise.
18053         * nss/makedb.c: Likewise.
18054         * nss/nss_db/db-XXX.c: Likewise.
18055         * nss/nss_db/db-initgroups.c: Likewise.
18056         * nss/nss_db/db-netgrp.c: Likewise.
18057         * nss/nss_files/files-network.c: Likewise.
18058         * nss/nss_files/files-parse.c: Likewise.
18059         * posix/bug-regex5.c: Likewise.
18060         * posix/fnmatch_loop.c: Likewise.
18061         * posix/regcomp.c: Likewise.
18062         * posix/regexec.c: Likewise.
18063         * posix/tst-rfc3484-2.c: Likewise.
18064         * posix/tst-rfc3484-3.c: Likewise.
18065         * posix/tst-rfc3484.c: Likewise.
18066         * resolv/nss_dns/dns-canon.c: Likewise.
18067         * resolv/nss_dns/dns-network.c: Likewise.
18068         * resolv/res_init.c: Likewise.
18069         * resolv/res_mkquery.c: Likewise.
18070         * resolv/tst-aton.c: Likewise.
18071         * stdlib/cxa_atexit.c: Likewise.
18072         * stdlib/cxa_finalize.c: Likewise.
18073         * stdlib/gen-fpioconst.c: Likewise.
18074         * stdlib/strtol_l.c: Likewise.
18075         * string/tst-endian.c: Likewise.
18076         * sunrpc/auth_des.c: Likewise.
18077         * sunrpc/clnt_udp.c: Likewise.
18078         * sunrpc/rtime.c: Likewise.
18079         * sunrpc/svcauth_des.c: Likewise.
18080         * sunrpc/xdr.c: Likewise.
18081         * sunrpc/xdr_intXX_t.c: Likewise.
18082         * sunrpc/xdr_rec.c: Likewise.
18083         * sysdeps/generic/ldconfig.h: Likewise.
18084         * sysdeps/generic/ldsodefs.h: Likewise.
18085         * sysdeps/generic/memusage.h: Likewise.
18086         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18087         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18088         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18089         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18090         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18091         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18092         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18093         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18094         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18095         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18096         * sysdeps/posix/getaddrinfo.c: Likewise.
18097         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18098         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18099         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18100         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18101         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18102         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18103         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18104         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18105         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18106         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18107         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18108         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18109         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18110         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18111         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18112         * sysdeps/x86_64/dl-tls.h: Likewise.
18113         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18114         * time/alt_digit.c: Likewise.
18115         * time/era.c: Likewise.
18116         * wcsmbs/tst-c16c32-1.c: Likewise.
18117
18118 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18119
18120         * math/libm-test.inc (struct test_sincos_data): New type.
18121         (RUN_TEST_LOOP_sincos): New macro.
18122         (sincos_test_data): New variable.
18123         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18124
18125 2013-05-16  Richard Henderson  <rth@redhat.com>
18126
18127         * math/atest-exp2.c (LIMB64): New macro.
18128         (CONSTSZ): New macro.
18129         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18130         (hexdig): Move ...
18131         (print_mpn_fp): ... to function scope.
18132         (read_mpn_hex): Remove.
18133         (get_log2): Remove.
18134         (exp2_mpn): Use mp_log2.
18135         (main): Use mp_exp1.
18136
18137 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18138
18139         * math/libm-test.inc: Remove comment about not testing "inexact"
18140         exceptions.
18141         (INEXACT_EXCEPTION): New macro.
18142         (NO_INEXACT_EXCEPTION): Likewise.
18143         (INVALID_EXCEPTION_OK): Update value.
18144         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18145         (OVERFLOW_EXCEPTION_OK): Likewise.
18146         (UNDERFLOW_EXCEPTION_OK): Likewise.
18147         (IGNORE_ZERO_INF_SIGN): Likewise.
18148         (ERRNO_UNCHANGED): Likewise.
18149         (ERRNO_EDOM): Likewise.
18150         (ERRNO_ERANGE): Likewise.
18151         (test_exceptions): Handle testing "inexact" exceptions.
18152         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18153         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18154         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18155         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18156         INEXACT_EXCEPTION.
18157         (rint_towardzero_test_data): Likewise.
18158         (rint_downward_test_data): Likewise.
18159         (rint_upward_test_data): Likewise.
18160
18161         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18162         with OVERFLOW_EXCEPTION.
18163         (exp10_test_data): Likewise.
18164         (exp2_test_data): Likewise.
18165         (expm1_test_data): Likewise.
18166         (lgamma_test_data): Likewise.
18167         (pow_test_data): Likewise.
18168         (tgamma_test_data): Likewise.
18169         (yn_test_data): Remove duplicate test of overflow.
18170
18171         * math/libm-test.inc (struct test_cc_c_data): New type.
18172         (RUN_TEST_LOOP_cc_c): New macro.
18173         (cpow_test_data): New variable.
18174         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18175
18176         * math/libm-test.inc (struct test_f_L_data): New type.
18177         (RUN_TEST_LOOP_f_L): New macro.
18178         (llrint_test_data): New variable.
18179         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18180         (llrint_tonearest_test_data): New variable.
18181         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18182         (llrint_towardzero_test_data): New variable.
18183         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18184         (llrint_downward_test_data): New variable.
18185         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18186         (llrint_upward_test_data): New variable.
18187         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18188         (llround_test_data): New variable.
18189         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18190
18191 2013-05-13  Peter Collingbourne  <pcc@google.com>
18192
18193         * math/atest-exp2.c (get_log2): Remove const attribute.
18194
18195 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18196
18197         * math/libm-test.inc (struct test_f_l_data): New type.
18198         (RUN_TEST_LOOP_f_l): New macro.
18199         (lrint_test_data): New variable.
18200         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18201         (lrint_tonearest_test_data): New variable.
18202         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18203         (lrint_towardzero_test_data): New variable.
18204         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18205         (lrint_downward_test_data): New variable.
18206         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18207         (lrint_upward_test_data): New variable.
18208         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18209         (lround_test_data): New variable.
18210         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18211
18212 2013-05-15  Peter Collingbourne  <pcc@google.com>
18213
18214         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18215         (EXTRACT_WORDS64) Use where appropriate.
18216         (INSERT_WORDS64) Likewise.
18217
18218         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18219         constraints with x constraints.
18220         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18221
18222         * malloc/obstack.c (_obstack_compat): Add initializer.
18223
18224 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18225
18226         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18227         si_trapno and add si_addr_lsb to _sifields.sigfault.
18228         (si_trapno): Remove macro.
18229         (si_addr_lsb): Define new macro.
18230         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18231
18232 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18233
18234         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18235         instead of TEST_f_l.
18236         (llrint_test_tonearest): Likewise.
18237         (llrint_test_towardzero): Likewise.
18238         (llrint_test_downward): Likewise.
18239         (llrint_test_upward): Likewise.
18240         (llround_test): Likewise.
18241
18242         * math/libm-test.inc (struct test_f_i_data): Add comment.
18243         (RUN_TEST_LOOP_f_b): New macro.
18244         (RUN_TEST_LOOP_f_b_tg): Likewise.
18245         (finite_test_data): New variable.
18246         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18247         (isfinite_test_data): New variable.
18248         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18249         (isinf_test_data): New variable.
18250         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18251         (isnan_test_data): New variable.
18252         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18253         (isnormal_test_data): New variable.
18254         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18255         (issignaling_test_data): New variable.
18256         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18257         (signbit_test_data): New variable.
18258         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18259
18260         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18261         with INVALID_EXCEPTION.
18262         (acosh_test_data): Likewise.
18263         (asin_test_data): Likewise.
18264         (atanh_test_data): Likewise.
18265         (fmod_test_data): Likewise.
18266         (log_test_data): Likewise.
18267         (log10_test_data): Likewise.
18268         (log2_test_data): Likewise.
18269         (pow_test_data): Likewise.
18270         (sqrt_test_data): Likewise.
18271         (y0_test_data): Likewise.
18272         (y1_test_data): Likewise.
18273         (yn_test_data): Likewise.
18274
18275         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18276         function contents.
18277
18278         * math/libm-test.inc (struct test_ff_i_data): New type.
18279         (RUN_TEST_LOOP_ff_i_tg): New macro.
18280         (isgreater_test_data): New variable.
18281         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18282         (isgreaterequal_test_data): New variable.
18283         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18284         (isless_test_data): New variable.
18285         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18286         (islessequal_test_data): New variable.
18287         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18288         (islessgreater_test_data): New variable.
18289         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18290         (isunordered_test_data): New variable.
18291         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18292
18293 2013-05-14  David S. Miller  <davem@davemloft.net>
18294
18295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18296
18297 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18298
18299         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18300
18301         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18302         extra_test to int.
18303         (struct test_f_i_data): Change type of max_ulp to int.
18304
18305         * math/libm-test.inc (test_ffI_f1_data): New type.
18306         (RUN_TEST_LOOP_ffI_f1): New macro.
18307         (remquo_test_data): New variable.
18308         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18309
18310         * setjmp/tst-setjmp-fp.c: New file.
18311         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18312         (link-libm): New variable.
18313         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18314
18315         * math/libm-test.inc (struct test_f_i_data): New type.
18316         (RUN_TEST_LOOP_f_i): New macro.
18317         (RUN_TEST_LOOP_f_i_tg): Likewise.
18318         (fpclassify_test_data): New variable.
18319         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18320         (ilogb_test_data): New variable.
18321         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18322
18323         * math/libm-test.inc (scalbln_test): Correct function name in END
18324         call.
18325
18326         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18327         (RUN_TEST_LOOP_fI_f1): New macro.
18328         (frexp_test_data): New variable.
18329         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18330
18331         * math/libm-test.inc (struct test_fF_f1_data): New type.
18332         (RUN_TEST_LOOP_fF_f1): New macro.
18333         (modf_test_data): New variable.
18334         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18335
18336         * math/libm-test.inc (struct test_f_f1_data): New type.
18337         (RUN_TEST_LOOP_f_f1): New macro.
18338         (gamma_test_data): New variable.
18339         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18340         (lgamma_test_data): New variable.
18341         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18342
18343 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18344
18345         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18346         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18347         (main): Comment "tls" pseudo-hwcap.
18348
18349 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18350
18351         * math/libm-test.inc (struct test_fl_f_data): New type.
18352         (RUN_TEST_LOOP_fl_f): New variable.
18353         (scalbln_test_data): New variable.
18354         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18355
18356         * math/libm-test.inc (struct test_fi_f_data): New type.
18357         (RUN_TEST_LOOP_fi_f): New macro.
18358         (ldexp_test_data): New variable.
18359         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18360         (scalbn_test_data): New variable.
18361         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18362
18363         * math/libm-test.inc (struct test_c_f_data): New type.
18364         (RUN_TEST_LOOP_c_f): New macro.
18365         (cabs_test_data): New variable.
18366         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18367         (carg_test_data): New variable.
18368         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18369         (cimag_test_data): New variable.
18370         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18371         (creal_test_data): New variable.
18372         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18373
18374         * math/libm-test.inc (struct test_if_f_data): New type.
18375         (RUN_TEST_LOOP_if_f): New macro.
18376         (jn_test_data): New variable.
18377         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18378         (yn_test_data): New variable.
18379         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18380
18381         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18382
18383 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18384
18385         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18386         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18387
18388 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18389
18390         * benchtests/Makefile (CPPFLAGS-nonlib): Add
18391         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18392         (bench-deps): Add bench-timing.h.
18393         * benchtests-bench-skeleton.c: Include bench-timing.h.
18394         (main): Use TIMING_* macros instead of clock_gettime.
18395         * benchtests/bench-timing.h: New file.
18396
18397         [BZ #14582]
18398         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18399         Renamed from _LIB_VERSION.
18400         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18401
18402 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
18403
18404         * math/libm-test.inc (struct test_fff_f_data): New type.
18405         (RUN_TEST_LOOP_fff_f): New macro.
18406         (fma_test_data): New variable.
18407         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18408         (fma_towardzero_test_data): New variable.
18409         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18410         (fma_downward_test_data): New variable.
18411         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18412         (fma_upward_test_data): New variable.
18413         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18414
18415         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18416         (struct test_c_c_data): New type.
18417         (RUN_TEST_LOOP_c_c): New macro.
18418         (cacos_test_data): New variable.
18419         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18420         (cacosh_test_data): New variable.
18421         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18422         (casin_test_data): New variable.
18423         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18424         (casinh_test_data): New variable.
18425         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18426         (catan_test_data): New variable.
18427         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18428         (catanh_test_data): New variable.
18429         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18430         (ccos_test_data): New variable.
18431         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18432         (ccosh_test_data): New variable.
18433         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18434         (cexp_test_data): New variable.
18435         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18436         (clog_test_data): New variable.
18437         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18438         (clog10_test_data): New variable.
18439         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18440         (conj_test_data): New variable.
18441         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18442         (cproj_test_data): New variable.
18443         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18444         (csin_test_data): New variable.
18445         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18446         (csinh_test_data): New variable.
18447         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18448         (csqrt_test_data): New variable.
18449         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18450         (ctan_test_data): New variable.
18451         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18452         (ctan_tonearest_test_data): New variable.
18453         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18454         (ctan_towardzero_test_data): New variable.
18455         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18456         (ctan_downward_test_data): New variable.
18457         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18458         (ctan_upward_test_data): New variable.
18459         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18460         (ctanh_test_data): New variable.
18461         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18462         (ctanh_tonearest_test_data): New variable.
18463         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18464         (ctanh_towardzero_test_data): New variable.
18465         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18466         (ctanh_downward_test_data): New variable.
18467         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18468         (ctanh_upward_test_data): New variable.
18469         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18470         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18471         of BUILD_COMPLEX.
18472
18473         * math/libm-test.inc (struct test_ff_f_data): New type.
18474         (struct test_ff_f_data_nexttoward): Likewise.
18475         (RUN_TEST_LOOP_2_f): New macro.
18476         (RUN_TEST_LOOP_ff_f): Likewise.
18477         (atan2_test_data): New variable.
18478         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18479         (copysign_test_data): New variable.
18480         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18481         (fdim_test_data): New variable.
18482         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18483         (fmax_test_data): New variable.
18484         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18485         (fmin_test_data): New variable.
18486         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18487         (fmod_test_data): New variable.
18488         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18489         (hypot_test_data): New variable.
18490         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18491         (nextafter_test_data): New variable.
18492         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18493         (nexttoward_test_data): New variable.
18494         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18495         (pow_test_data): New variable.
18496         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18497         (pow_tonearest_test_data): New variable.
18498         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18499         (pow_towardzero_test_data): New variable.
18500         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18501         (pow_downward_test_data): New variable.
18502         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18503         (pow_upward_test_data): New variable.
18504         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18505         (remainder_test_data): New variable.
18506         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18507         (scalb_test_data): New variable.
18508         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18509         * sysdeps/i386/fpu/libm-test-ulps: Update.
18510
18511 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
18512
18513         * math/libm-test.inc (fma_test): Use max_value instead of local
18514         variable fltmax.
18515         (nextafter_test): Likewise.
18516
18517         * math/libm-test.inc (acos_towardzero_test_data): New variable.
18518         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18519         (acos_downward_test_data): New variable.
18520         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18521         (acos_upward_test_data): New variable.
18522         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18523         (acosh_test_data): New variable.
18524         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18525         (asin_test_data): New variable.
18526         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18527         (asin_tonearest_test_data): New variable.
18528         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18529         (asin_towardzero_test_data): New variable.
18530         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18531         (asin_downward_test_data): New variable.
18532         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18533         (asin_upward_test_data): New variable.
18534         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18535         (asinh_test_data): New variable.
18536         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18537         (atan_test_data): New variable.
18538         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18539         (atanh_test_data): New variable.
18540         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18541         (cbrt_test_data): New variable.
18542         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18543         (ceil_test_data): New variable.
18544         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18545         (cos_test_data): New variable.
18546         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18547         (cos_tonearest_test_data): New variable.
18548         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18549         (cos_towardzero_test_data): New variable.
18550         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18551         (cos_downward_test_data): New variable.
18552         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18553         (cos_upward_test_data): New variable.
18554         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18555         (cosh_test_data): New variable.
18556         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18557         (cosh_tonearest_test_data): New variable.
18558         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18559         (cosh_towardzero_test_data): New variable.
18560         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18561         (cosh_downward_test_data): New variable.
18562         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18563         (cosh_upward_test_data): New variable.
18564         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18565         (erf_test_data): New variable.
18566         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18567         (erfc_test_data): New variable.
18568         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18569         (exp_test_data): New variable.
18570         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18571         (exp_tonearest_test_data): New variable.
18572         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18573         (exp_towardzero_test_data): New variable.
18574         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18575         (exp_downward_test_data): New variable.
18576         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18577         (exp_upward_test_data): New variable.
18578         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18579         (exp10_test_data): New variable.
18580         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18581         (exp2_test_data): New variable.
18582         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18583         (expm1_test_data): New variable.
18584         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18585         (fabs_test_data): New variable.
18586         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18587         (floor_test_data): New variable.
18588         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18589         (j0_test_data): New variable.
18590         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18591         (j1_test_data): New variable.
18592         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18593         (log_test_data): New variable.
18594         (log_test): Run tests with RUN_TEST_LOOP_f_f.
18595         (log10_test_data): New variable.
18596         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18597         (log1p_test_data): New variable.
18598         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18599         (log2_test_data): New variable.
18600         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18601         (logb_test_data): New variable.
18602         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18603         (logb_downward_test_data): New variable.
18604         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18605         (nearbyint_test_data): New variable.
18606         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18607         (rint_test_data): New variable.
18608         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18609         (rint_tonearest_test_data): New variable.
18610         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18611         (rint_towardzero_test_data): New variable.
18612         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18613         (rint_downward_test_data): New variable.
18614         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18615         (rint_upward_test_data): New variable.
18616         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18617         (round_test_data): New variable.
18618         (round_test): Run tests with RUN_TEST_LOOP_f_f.
18619         (sin_test_data): New variable.
18620         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18621         (sin_tonearest_test_data): New variable.
18622         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18623         (sin_towardzero_test_data): New variable.
18624         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18625         (sin_downward_test_data): New variable.
18626         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18627         (sin_upward_test_data): New variable.
18628         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18629         (sinh_test_data): New variable.
18630         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18631         (sinh_tonearest_test_data): New variable.
18632         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18633         (sinh_towardzero_test_data): New variable.
18634         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18635         (sinh_downward_test_data): New variable.
18636         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18637         (sinh_upward_test_data): New variable.
18638         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18639         (sqrt_test_data): New variable.
18640         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18641         (tan_test_data): New variable.
18642         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18643         (tan_tonearest_test_data): New variable.
18644         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18645         (tan_towardzero_test_data): New variable.
18646         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18647         (tan_downward_test_data): New variable.
18648         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18649         (tan_upward_test_data): New variable.
18650         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18651         (tanh_test_data): New variable.
18652         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18653         (tgamma_test_data): New variable.
18654         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18655         (trunc_test_data): New variable.
18656         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18657         (y0_test_data): New variable.
18658         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18659         (y1_test_data): New variable.
18660         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18661         (significand_test_data): New variable.
18662         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18663
18664 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
18665
18666         [BZ #12387]
18667         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18668
18669 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18670
18671         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18672
18673 2013-05-10  Andreas Jaeger  <aj@suse.de>
18674
18675         [BZ #15448]
18676         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18677         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18678
18679 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18680
18681         * math/gen-libm-test.pl (adjust_arg): New function.
18682         (special_functions): Handle generating output in both functions
18683         and arrays.
18684         (parse_args): Likewise.
18685         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
18686         $in_func argument to parse_args.
18687         * math/libm-test.inc (struct test_f_f_data): New type.
18688         (IF_ROUND_INIT_): New macro.
18689         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18690         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18691         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18692         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18693         (ROUND_RESTORE_): Likewise.
18694         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18695         (ROUND_RESTORE_FE_TONEAREST): Likewise.
18696         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18697         (ROUND_RESTORE_FE_UPWARD): Likewise.
18698         (RUN_TEST_LOOP_f_f): New macro.
18699         (acos_test_data): New variable.
18700         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18701         (acos_tonearest_test_data): New variable.
18702         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18703
18704 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18705
18706         * benchtests/bench-skeleton.c (startup): Fix coding style.
18707
18708 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18709
18710         [BZ #6809]
18711         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18712         negative infinity argument.
18713         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18714         negative infinity argument.
18715         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18716         negative infinity argument.
18717         * math/libm-test.inc (tgamma_test): Expect errno to be set for
18718         domain errors.
18719
18720 2013-05-10  Florian Weimer  <fweimer@redhat.com>
18721
18722         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18723         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18724         * iconv/iconv_prog.c (main): Likewise.
18725         * locale/programs/charmap-dir.c (charmap_readdir)
18726         (fopen_uncompressed): Likewise.
18727         * locale/programs/locfile.c (siblings_uncached)
18728         (write_locale_data): Use lstat64 instead of lstat.
18729         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18730         stat.
18731
18732 2013-05-10  Andreas Jaeger  <aj@suse.de>
18733
18734         [BZ #15395]
18735         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18736         localization.
18737         Include <locale.h>.
18738
18739 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
18740
18741         * elf/dl-close.c (_dl_close_worker): Add comments.
18742
18743 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
18744
18745         [BZ #15359]
18746         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18747         high part of pi/2.
18748         (__ieee754_rem_pio2l): Update comments.
18749
18750         [BZ #15429]
18751         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18752         high part of pi/2.
18753         (__ieee754_rem_pio2l): Update comments.
18754
18755         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18756         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18757
18758         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18759         M_PI_4l.
18760
18761         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18762         (M_PI_34_LOG10El): Likewise.
18763         (M_PI2_LOG10El): Likewise.
18764         (M_PI4_LOG10El): Likewise.
18765         (M_PI_LOG10El): Likewise.
18766
18767 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18768
18769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18770
18771 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
18772
18773         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18774         (MINUS_ZERO_INIT): Likewise.
18775         (PLUS_INFTY_INIT): Likewise.
18776         (MINUS_INFTY_INIT): Likewise.
18777         (QNAN_VALUE_INIT): Likewise.
18778         (MAX_VALUE_INIT): Likewise.
18779         (MIN_VALUE_INIT): Likewise.
18780         (MIN_SUBNORM_VALUE_INIT): Likewise.
18781         (plus_zero): Initialize with PLUS_ZERO_INIT.
18782         (minus_zero): Initialize with MINUS_ZERO_INIT.
18783         (plus_infty): Initialize with PLUS_INFTY_INIT.
18784         (minus_infty): Initialize with MINUS_INFTY_INIT.
18785         (qnan_value): Initialize with QNAN_VALUE_INIT.
18786         (max_value): Initialize with MAX_VALUE_INIT.
18787         (min_value): Initialize with MIN_VALUE_INIT.
18788         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18789
18790         * math/libm-test.inc (RUN_TEST_if_f): New macro.
18791         (jn_test): Use TEST_if_f instead of TEST_ff_f.
18792         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18793         (yn_test): Use TEST_if_f instead of TEST_ff_f.
18794
18795         * math/libm-test.inc (RUN_TEST_f_f): New macro.
18796         (RUN_TEST_2_f): Likewise.
18797         (RUN_TEST_ff_f): Likewise.
18798         (RUN_TEST_fi_f): Likewise.
18799         (RUN_TEST_fl_f): Likewise.
18800         (RUN_TEST_fff_f): Likewise.
18801         (RUN_TEST_c_f): Likewise.
18802         (RUN_TEST_f_f1): Likewise.
18803         (RUN_TEST_fF_f1): Likewise.
18804         (RUN_TEST_fI_f1): Likewise.
18805         (RUN_TEST_ffI_f1): Likewise.
18806         (RUN_TEST_c_c): Likewise.
18807         (RUN_TEST_cc_c): Likewise.
18808         (RUN_TEST_f_i): Likewise.
18809         (RUN_TEST_f_i_tg): Likewise.
18810         (RUN_TEST_ff_i_tg): Likewise.
18811         (RUN_TEST_f_b): Likewise.
18812         (RUN_TEST_f_b_tg): Likewise.
18813         (RUN_TEST_f_l): Likewise.
18814         (RUN_TEST_f_L): Likewise.
18815         (RUN_TEST_sincos): Likewise.
18816         * math/gen-libm-test.pl (new_test): Take new argument to indicate
18817         whether to show exceptions.  Do not include ");\n" in return
18818         value.
18819         (special_functions): Output call to RUN_TEST_sincos instead of
18820         check_float calls.  Update calls to new_test.
18821         (parse_args): Output call to single RUN_TEST_* macro instead of
18822         check_* calls and other assignments.  Update calls to new_test.
18823
18824         [BZ #2546]
18825         [BZ #2560]
18826         [BZ #5159]
18827         [BZ #15426]
18828         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18829         input to result for tgamma overflow.
18830         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18831         (gamma_coeff): New variable.
18832         (NCOEFF): New macro.
18833         (gamma_positive): New function.
18834         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18835         underflow here.  Use gamma_positive instead of exp (lgamma) for
18836         other arguments.
18837         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18838         (gamma_coeff): New variable.
18839         (NCOEFF): New macro.
18840         (gammaf_positive): New function.
18841         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18842         underflow here.  Use gamma_positive instead of exp (lgamma) for
18843         other arguments.
18844         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18845         (gamma_coeff): New variable.
18846         (NCOEFF): New macro.
18847         (gammal_positive): New function.
18848         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18849         underflow here.  Use gamma_positive instead of exp (lgamma) for
18850         other arguments.
18851         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18852         (gamma_coeff): New variable.
18853         (NCOEFF): New macro.
18854         (gammal_positive): New function.
18855         (__ieee754_gammal_r): Handle positive infinity, overflow and
18856         underflow here.  Handle NaN the same as positive infinity.  Remove
18857         check x < 0xffffffff for negative integers.  Use gamma_positive
18858         instead of exp (lgamma) for other arguments.
18859         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18860         (gamma_coeff): New variable.
18861         (NCOEFF): New macro.
18862         (gammal_positive): New function.
18863         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18864         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18865         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18866         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18867         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18868         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18869         * sysdeps/generic/math_private.h (__gamma_productf): New
18870         prototype.
18871         (__gamma_product): Likewise.
18872         (__gamma_productl): Likewise.
18873         * math/Makefile (libm-calls): Add gamma_product.
18874         * math/libm-test.inc (tgamma_test): Add more tests.
18875         * sysdeps/i386/fpu/libm-test-ulps: Update.
18876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18877
18878 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
18879
18880         * benchtests/bench-skeleton.c (main): Preheat CPU.
18881
18882 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
18883
18884         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18885
18886 2013-05-07  Roland McGrath  <roland@hack.frob.com>
18887
18888         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18889         and _dl_skip_args_internal.
18890
18891 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
18892
18893         * manual/message.texi (Message Translation): Talk about users.
18894         Message to key mapping impacts design.
18895
18896 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18897
18898         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18899
18900         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18901
18902         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18903         * sysdeps/wordsize-64/glob64.c: ... here.
18904
18905         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18906         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18907         New macros.
18908
18909         * debug/getlogin_r_chk.c: Moved to ...
18910         * login/getlogin_r_chk.c: ... here.
18911         * debug/Makefile (routines): Move getlogin_r_chk to ...
18912         * login/Makefile (routines): ... here.
18913         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18914         * login/Versions (libc: GLIBC_2.4): ... here.
18915
18916         * io/poll.c (__poll): Renamed from poll.
18917         Add libc_hidden_def.
18918         (poll): Define as weak alias.
18919
18920         * debug/ptsname_r_chk.c: Moved to ...
18921         * login/ptsname_r_chk.c: ... here.
18922         * debug/Makefile (routines): Move ptsname_r_chk to ...
18923         * login/Makefile (routines): ... here.
18924         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18925         * login/Versions (libc: GLIBC_2.4): ... here.
18926
18927         * posix/getlogin.c: Moved to ...
18928         * login/getlogin.c: ... here.
18929         * posix/getlogin_r.c: Moved to ...
18930         * login/getlogin_r.c: ... here.
18931         * posix/getlogin_r.c: Moved to ...
18932         * login/getlogin_r.c: ... here.
18933         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18934         * login/Makefile (routines): ... here.
18935         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18936         * login/Versions (libc: GLIBC_2.0): ... here.
18937
18938         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18939         (setrlimit): Define as weak alias.
18940
18941         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18942         Call __ names for open, ftruncate, and close.
18943         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18944         (truncate): Define as weak alias.
18945
18946 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
18947
18948         * math/gen-libm-test.pl (parse_args): Initialize x before each
18949         test of frexp, modf and remquo.
18950
18951         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18952         test signgam value.
18953
18954 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18955
18956         [BZ #15418]
18957         [BZ #15419]
18958         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18959         internal tests.
18960         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18961
18962 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18963
18964         * elf/dl-writev.h: New file.
18965         * elf/dl-misc.c: Include it.
18966         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18967         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18968
18969 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
18970
18971         * math/libm-test.inc (noXFails): Remove variable.
18972         (noXPasses): Likewise.
18973         (BUILD_COMPLEX_INT): Remove macro.
18974         (print_screen): Remove xfail argument.
18975         (print_screen_max_error): Likewise.
18976         (update_stats): Likewise.
18977         (print_max_error): Likewise.  Update calls to other affected
18978         functions.
18979         (print_complex_max_error): Likewise.
18980         (test_single_exception): Update calls to print_screen.
18981         (test_single_errno): Likewise.
18982         (check_float_internal): Remove xfail argument.  Update calls to
18983         other affected functions.
18984         (check_float): Likewise.
18985         (check_complex): Likewise.
18986         (check_int): Likewise.
18987         (check_long): Likewise.
18988         (check_bool): Likewise.
18989         (check_longlong): Likewise.
18990         (main): Don't print noXFails and noXPasses.
18991         * math/gen-libm-test.pl (top level): Don't mention expected
18992         failure handling in comment.
18993         (new_test): Don't handle expected failures.
18994         (parse_args): Don't mention expected failure handling in comment.
18995         (generate_testfile): Don't handle expected failures.
18996         (parse_ulps): Likewise.
18997         (print_ulps_file): Likewise.
18998         (get_failure): Remove function.
18999         (output_test): Don't handle expected failures.
19000         * make/README.libm-test: Don't mention expected failure handling.
19001
19002         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19003         (minus_zero): Likewise.
19004         (plus_infty): Likewise.
19005         (minus_infty): Likewise.
19006         (qnan_value): Likewise.
19007         (max_value): Likewise.
19008         (min_value): Likewise.
19009         (min_subnorm_value): Likewise.
19010         (initialize): Do not initialize those variables dynamically.
19011
19012 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19013
19014         * io/open.c (__open_2): Moved to ...
19015         * io/open_2.c: ... this new file.
19016         * io/open64.c (__open64_2): Moved to ...
19017         * io/open64_2.c: ... this new file.
19018         * io/openat.c (__openat_2): Moved to ...
19019         * io/openat_2.c: ... this new file.
19020         * io/openat64.c (__openat64_2): Moved to ...
19021         * io/openat64_2.c: ... this new file.
19022         * io/Makefile (routines): Add them.
19023         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19024         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19025         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19026         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19027         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19028         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19029         (__openat64): Add hidden_ver.
19030         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19031         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19032
19033         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19034         Separately conditionalize setting of GLRO(dl_sysinfo) so
19035         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19036         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19037
19038 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19039
19040         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19041         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19042         definition.
19043         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19044         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19045         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19046         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19047         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19048
19049 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19050
19051         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19052         test signgam value.
19053
19054         * math/libm-test.inc (hypot_test): Do not use
19055         IGNORE_ZERO_INF_SIGN.
19056
19057 2013-05-03  Andreas Jaeger  <aj@suse.de>
19058
19059         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19060         Linux 3.9.
19061         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19062         (PF_MAX): Adjust for VSOCK change.
19063
19064 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19065
19066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19067
19068 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19069
19070         [BZ #15264]
19071         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19072         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19073         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19074
19075 2013-05-02  David S. Miller  <davem@davemloft.net>
19076
19077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19078
19079 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19080
19081         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19082
19083 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19084
19085         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19086
19087 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19088
19089         [BZ #14952]
19090         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19091         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19092         Use __attribute__ ((__gnu_inline__)).
19093         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19094         Don't use __attribute__ ((__gnu_inline__)).
19095
19096 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19097
19098         [BZ #15423]
19099         * math/s_catan.c (__catan): Handle small real or imaginary part of
19100         input specially to avoid spurious underflow.
19101         * math/s_catanf.c (__catanf): Likewise.
19102         * math/s_catanh.c (__catanh): Likewise.
19103         * math/s_catanhf.c (__catanhf): Likewise.
19104         * math/s_catanhl.c (__catanhl): Likewise.
19105         * math/s_catanl.c (__catanl): Likewise.
19106         * math/libm-test.inc (catan_test): Add more tests.
19107         (catanh_test): Likewise.
19108         * sysdeps/i386/fpu/libm-test-ulps: Update.
19109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19110
19111 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19112
19113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19114
19115 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19116
19117         [BZ #15416]
19118         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19119         accurately for denominator in atan2.
19120         * math/s_catanf.c (__catanf): Likewise.
19121         * math/s_catanh.c (__catanh): Likewise.
19122         * math/s_catanhf.c (__catanhf): Likewise.
19123         * math/s_catanhl.c (__catanhl): Likewise.
19124         * math/s_catanl.c (__catanl): Likewise.
19125         * math/libm-test.inc (catan_test): Add more tests.
19126         (catanh_test): Likewise.
19127         * sysdeps/i386/fpu/libm-test-ulps: Update.
19128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19129
19130 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19131
19132         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19133
19134         * benchtests/Makefile (bench): Remove slow benchmarks.
19135         * benchtests/atan-inputs: Add slow benchmark inputs.
19136         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19137         (BENCH_FUNC): Accept variant offset.
19138         (VARIANT): Define.
19139         * benchtests/bench-skeleton.c (main): Run benchmark for each
19140         variant.
19141         * benchtests/cos-inputs: Add slow benchmark inputs.
19142         * benchtests/exp-inputs: Likewise.
19143         * benchtests/pow-inputs: Likewise.
19144         * benchtests/sin-inputs: Likewise.
19145         * benchtests/slowatan-inputs: Remove.
19146         * benchtests/slowatan.c: Remove.
19147         * benchtests/slowcos-inputs: Remove.
19148         * benchtests/slowcos.c: Remove.
19149         * benchtests/slowexp-inputs: Remove.
19150         * benchtests/slowexp.c: Remove.
19151         * benchtests/slowpow-inputs: Remove.
19152         * benchtests/slowpow.c: Remove.
19153         * benchtests/slowsin-inputs: Remove.
19154         * benchtests/slowsin.c: Remove.
19155         * benchtests/slowtan-inputs: Remove.
19156         * benchtests/slowtan.c: Remove.
19157         * benchtests/tan-inputs: Add slow benchmark inputs.
19158         * scripts/bench.pl: Parse comments and directives.
19159
19160         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19161         in CPPFLAGS.
19162         ($(objpfx)bench-%.c): Remove *-ITER.
19163         * benchtests/bench-modf.c: Remove definition of ITER.
19164         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19165         (main): Loop for DURATION seconds instead of fixed number of
19166         iterations.
19167         * scripts/bench.pl: Don't expect iterations in parameters.
19168
19169 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19170
19171         * io/fchdir.c (__fchdir): Renamed from fchdir.
19172         (fchdir): Define as weak alias.
19173
19174 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19175
19176         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19177         (ERRNO_EDOM): Likewise.
19178         (ERRNO_ERANGE): Likewise.
19179         (noErrnoTests): New variable.
19180         (init_max_error): Set errno to 0.
19181         (test_single_errno): New function.
19182         (test_errno): Likewise.
19183         (check_float_internal): Call test_errno.  Set errno to 0.
19184         (check_complex): Refer to errno tests in comment.
19185         (check_int): Call test_errno.  Set errno to 0.
19186         (check_long): Likewise.
19187         (check_bool): Likewise.
19188         (check_longlong): Likewise.
19189         (cos_test): Use ERRNO_* flags for errno tests instead of
19190         check_int.
19191         (expm1_test): Likewise.
19192         (fmod_test): Likewise.
19193         (ilogb_test): Likewise.
19194         (lgamma_test): Likewise.
19195         (pow_test): Likewise.
19196         (remainder_test): Likewise.
19197         (sin_test): Likewise.
19198         (tan_test): Likewise.
19199         (yn_test): Likewise.
19200         (initialize): Set errno to 0.
19201         (main): Print number of errno tests.
19202         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19203
19204 2013-04-29  Andreas Jaeger  <aj@suse.de>
19205
19206         [BZ #15084]
19207         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19208         and RES_USEVC.
19209
19210         [BZ #15085]
19211         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19212         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19213         unimplemented.
19214
19215         [BZ #15380]
19216         * stdlib/random.c (__initstate): Return NULL if
19217         __initstate fails.
19218
19219         [BZ #15086]
19220         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19221         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19222         RES_SNGLKUPREOP.
19223
19224 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19225
19226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19227
19228 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19229
19230         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19231         of individual tests.
19232         (casin_test): Likewise.
19233         (casinh_test): Likewise.
19234
19235 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19236
19237         [BZ #15409]
19238         * math/s_catan.c (__catan): Handle arguments with large real or
19239         imaginary part separately without squaring.
19240         * math/s_catanf.c (__catanf): Likewise.
19241         * math/s_catanh.c (__catanh): Likewise.
19242         * math/s_catanhf.c (__catanhf): Likewise.
19243         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19244         and redefine.
19245         (__catanhl): Handle arguments with large real or imaginary part
19246         separately without squaring.
19247         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19248         and redefine.
19249         (__catanl): Handle arguments with large real or imaginary part
19250         separately without squaring.
19251         * math/libm-test.inc (catan_test): Add more tests.
19252         (catanh_test): Likewise.
19253         * sysdeps/i386/fpu/libm-test-ulps: Update.
19254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19255
19256 2013-04-27  Andreas Jaeger  <aj@suse.de>
19257
19258         [BZ #15007]
19259         * stdlib/stdlib.h: Update guards for qecvt.
19260         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19261         <stdlib.h>.
19262
19263 2013-04-27  Allan McRae  <allan@archlinux.org>
19264
19265         * sysdeps/i386/fpu/libm-test-ulps: Update.
19266
19267 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19268
19269         [BZ #15406]
19270         * math/s_catan.c: Include <float.h>.
19271         (__catan): Ensure underflow exception occurs for underflowed
19272         result.
19273         * math/s_catanf.c: Include <float.h>.
19274         (__catanf): Ensure underflow exception occurs for underflowed
19275         result.
19276         * math/s_catanh.c: Include <float.h>.
19277         (__catanh): Ensure underflow exception occurs for underflowed
19278         result.
19279         * math/s_catanhf.c: Include <float.h>.
19280         (__catanhf): Ensure underflow exception occurs for underflowed
19281         result.
19282         * math/s_catanhl.c: Include <float.h>.
19283         (__catanhl): Ensure underflow exception occurs for underflowed
19284         result.
19285         * math/s_catanl.c: Include <float.h>.
19286         (__catanl): Ensure underflow exception occurs for underflowed
19287         result.
19288         * math/libm-test.inc (catan_test): Add more tests.
19289         (catanh_test): Likewise.
19290
19291         [BZ #15405]
19292         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19293         underflowed result.
19294         * math/s_ccoshf.c (__ccoshf): Likewise.
19295         * math/s_ccoshl.c (__ccoshl): Likewise.
19296         * math/s_csin.c (__csin): Likewise.
19297         * math/s_csinf.c (__csinf): Likewise.
19298         * math/s_csinh.c (__csinh): Likewise.
19299         * math/s_csinhf.c (__csinhf): Likewise.
19300         * math/s_csinhl.c (__csinhl): Likewise.
19301         * math/s_csinl.c (__csinl): Likewise.
19302         * math/libm-test.inc (ccos_test): Add more tests.
19303         (ccosh_test): Likewise.
19304         (csin_test): Likewise.
19305         (csinh_test): Likewise.
19306
19307 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19308
19309         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19310         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19311         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19312         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19313         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19314         powerpc/power5+/fpu folders.
19315         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19316
19317
19318 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19319
19320         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19321
19322 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19323
19324         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19325         additions to variable.
19326         [$(config-machine) = x86_64] (modules-names): Likewise.
19327         ($(objpfx)tst-audit3): Remove dependency.
19328         ($(objpfx)tst-audit3.out): Likewise.
19329         ($(objpfx)tst-audit4): Likewise.
19330         ($(objpfx)tst-audit4.out): Likewise.
19331         ($(objpfx)tst-audit5): Likewise.
19332         ($(objpfx)tst-audit5.out): Likewise.
19333         ($(objpfx)tst-audit6): Likewise.
19334         ($(objpfx)tst-audit6.out): Likewise.
19335         ($(objpfx)tst-audit7): Likewise.
19336         ($(objpfx)tst-audit7.out): Likewise.
19337         (tst-audit3-ENV): Remove variable.
19338         (tst-audit4-ENV): Likewise.
19339         (tst-audit5-ENV): Likewise.
19340         (tst-audit6-ENV): Likewise.
19341         (tst-audit7-ENV): Likewise.
19342         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19343         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19344         addition to variable.
19345         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19346         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19347         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19348         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19349         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19350         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19351         tst-audit3, tst-audit4 and tst-audit5.
19352         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19353         tst-audit6 and tst-audit7.
19354         [$(subdir) = elf] (modules-names): Add audit modules for those
19355         tests.
19356         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19357         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19358         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19359         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19360         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19361         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19362         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19363         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19364         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19365         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19366         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19367         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19368         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19369         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19370         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19371         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19372         Likewise.
19373         [$(subdir) = elf && $(config-cflags-avx) = yes]
19374         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19375         [$(subdir) = elf && $(config-cflags-avx) = yes]
19376         (CFLAGS-tst-auditmod4a.c): Likewise.
19377         [$(subdir) = elf && $(config-cflags-avx) = yes]
19378         (CFLAGS-tst-auditmod4b.c): Likewise.
19379         [$(subdir) = elf && $(config-cflags-avx) = yes]
19380         (CFLAGS-tst-auditmod6b.c): Likewise.
19381         [$(subdir) = elf && $(config-cflags-avx) = yes]
19382         (CFLAGS-tst-auditmod6c.c): Likewise.
19383         [$(subdir) = elf && $(config-cflags-avx) = yes]
19384         (CFLAGS-tst-auditmod7b.c): Likewise.
19385         * elf/tst-audit3.c: Move to ...
19386         * sysdeps/x86_64/tst-audit3.c: ... here.
19387         * elf/tst-audit4.c: Move to ...
19388         * sysdeps/x86_64/tst-audit4.c: ... here.
19389         * elf/tst-audit5.c: Move to ...
19390         * sysdeps/x86_64/tst-audit5.c: ... here.
19391         * elf/tst-audit6.c: Move to ...
19392         * sysdeps/x86_64/tst-audit6.c: ... here.
19393         * elf/tst-audit7.c: Move to ...
19394         * sysdeps/x86_64/tst-audit7.c: ... here.
19395         * elf/tst-auditmod3a.c: Move to ...
19396         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19397         * elf/tst-auditmod3b.c: Move to ...
19398         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19399         * elf/tst-auditmod4a.c: Move to ...
19400         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19401         * elf/tst-auditmod4b.c: Move to ...
19402         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19403         * elf/tst-auditmod5a.c: Move to ...
19404         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19405         * elf/tst-auditmod5b.c: Move to ...
19406         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19407         * elf/tst-auditmod6a.c: Move to ...
19408         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19409         * elf/tst-auditmod6b.c: Move to ...
19410         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19411         * elf/tst-auditmod6c.c: Move to ...
19412         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19413         * elf/tst-auditmod7a.c: Move to ...
19414         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19415         * elf/tst-auditmod7b.c: Move to ...
19416         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19417
19418 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
19419
19420         [BZ #15366]
19421         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19422         define unconditionally.
19423         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19424         define unconditionally.
19425         (INT8_C, INT16_C, etc.): Likewise.
19426
19427 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
19428
19429         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19430         __ehdr_start with hidden visibility.
19431
19432         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19433
19434 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
19435
19436         * math/libm-test.inc (cos_test): Use accurate hex constants.
19437         (sincost_test): Likewise.
19438
19439 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
19440
19441         * math/libm-test.inc (catan_test): Add more tests.
19442         (catanh_test): Likewise.
19443
19444         * math/s_catanf.c (__catanf): Use suffixed floating-point
19445         constants.
19446         * math/s_catanhf.c (__catanhf): Likewise.
19447         * math/s_catanhl.c (__catanhl): Likewise.
19448         * math/s_catanl.c (__catanl): Likewise.
19449
19450         [BZ #15394]
19451         * math/s_catan.c (__catan): Calculate imaginary part of result
19452         with log1p not log unless computing log of number close to 0.
19453         * math/s_catanf.c (__catanf): Likewise.
19454         * math/s_catanl.c (__catanl): Likewise.
19455         * math/s_catanh.c (__catanh): Calculate real part of result with
19456         log1p not log unless computing log of number close to 0.
19457         * math/s_catanhf.c (__catanhf): Likewise.
19458         * math/s_catanhl.c (__catanhl): Likewise.
19459         * math/libm-test.inc (catan_test): Add more tests.
19460         (catanh_test): Likewise.
19461         * sysdeps/i386/fpu/libm-test-ulps: Update.
19462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19463
19464 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19465
19466         * benchtests/Makefile: Mention files in which fast and slow
19467         paths of math functions are implemented.
19468
19469 2013-04-23  Roland McGrath  <roland@hack.frob.com>
19470
19471         * sysdeps/posix/timespec_get.c: New file.
19472
19473 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19474
19475         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19476         POWER.
19477         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19478         for POWER.
19479         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19480         powerpc/power5/fpu folders.
19481         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19482         * benchtests/Makefile: Add modf testcase.
19483         * benchtests/bench-modf.c: New file: Benchmark test for mo
19484
19485 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19486
19487         [BZ #14888]
19488         * time/Makefile (tests): Add tst-strptime-whitespace.
19489         * time/strptime_l.c (get_number): Use ISSPACE.
19490         (__strptime_internal): Likewise.
19491         * time/tst-strptime-whitespace.c: New test case.
19492
19493 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
19494
19495         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19496         member.
19497         (_nss_files_init): Set it here.
19498
19499 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
19500
19501         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19502         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19503         unsigned.
19504
19505 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
19506
19507         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19508
19509 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19510
19511         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19512         size just once.
19513
19514 2013-04-21  David S. Miller  <davem@davemloft.net>
19515
19516         * po/ru.po: Update Russion translation from translation project.
19517
19518 2013-04-17  Adam Conrad  <adconrad@0c3.net>
19519
19520         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19521         and setfsgid.
19522
19523 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
19524
19525         * configure.in: Remove i386 configure warning. Remove i386 case.
19526         * configure: Regenerate.
19527         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19528         Add example to error message.
19529         * sysdeps/i386/configure: Regenerate.
19530
19531 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19532
19533         * benchtests/Makefile (bench): Add cos, tan, slowcos and
19534         slowtan.
19535         * benchtests/cos-inputs: New file.
19536         * benchtests/slowcos-inputs: New file.
19537         * benchtests/slowcos.c: New file.
19538         * benchtests/slowtan-inputs: New file.
19539         * benchtests/slowtan.c: New file.
19540         * benchtests/tan-inputs: New file.
19541
19542 2013-04-16  Roland McGrath  <roland@hack.frob.com>
19543
19544         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19545         considered kosher.
19546
19547 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19548
19549         * benchtests/Makefile: Include cppflags-iterator.mk to add
19550         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19551
19552         * Makefile.in (bench-clean): New target.
19553         * benchtests/Makefile (bench-clean): Likewise.
19554
19555 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
19556
19557         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19558
19559 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
19560
19561         * stdio-common/tstdiomisc.c: Fix coding-style violation.
19562
19563 2013-04-15  Andreas Schwab  <schwab@suse.de>
19564
19565         * nscd/grpcache.c (cache_addgr): Properly check for short write.
19566         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19567         * nscd/pwdcache.c (cache_addpw): Likewise.
19568         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
19569         more than recsize.
19570
19571 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19572
19573         * benchtests/Makefile (bench): Write all output to
19574         bench-out.tmp together.
19575
19576 2013-04-15  Andreas Schwab  <schwab@suse.de>
19577
19578         * nscd/nscd.c (main): Don't fork again after closing files.
19579
19580 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19581
19582         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19583
19584         * benchtests/Rules (bench-deps): Collect dependencies into a
19585         single variable.  Add Makefile to dependencies.
19586         ($(objpfx)bench-%.c): Depend on bench-deps.
19587
19588 2013-04-12  Roland McGrath  <roland@hack.frob.com>
19589             Xavier Roche  <roche+kml2@exalead.com>
19590
19591         [BZ #15361]
19592         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19593         just that it's a file descriptor.
19594         * manual/llio.texi (Synchronizing AIO Operations): Update description
19595         for EBADF error from aio_fsync.
19596
19597 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19598
19599         * Rules (bench): Move target definition...
19600         * benchtests/Makefile: ... here.
19601
19602 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
19603
19604         * math/libm-test.inc (cos_test): Fix PI/2 test.
19605         (sincos_test): Likewise.
19606         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19607         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19608
19609 2013-04-11  Andreas Schwab  <schwab@suse.de>
19610
19611         [BZ #13988]
19612         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19613         accept exponent character only when digits were seen.
19614         * stdio-common/Makefile (tests): Add bug26.
19615         * stdio-common/bug26.c: New file.
19616
19617         [BZ #14293]
19618         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19619         non-freeable.
19620
19621 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19622
19623         * Makeconfig (rtld-prefix): Define built linker prefix.
19624         * Rules (run-bench): Use it.
19625         * math/Makefile (run-regen-ulps): Likewise.
19626
19627         * Rules (bench): Remove eval.
19628
19629 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19630             Roland McGrath  <roland@hack.frob.com>
19631             Ondrej Bilka  <neleai@seznam.cz>
19632
19633         [BZ #15346]
19634         * time/getdate.c: Include ctype.h and alloca.h.
19635         (__getdate_r): Trim leading and trailing spaces of input.
19636         * time/tst-getdate.c (tests): Add tests with leading and
19637         trailing spaces.
19638
19639 2013-04-08  Roland McGrath  <roland@hack.frob.com>
19640
19641         [BZ #14280]
19642         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19643         when computing value.
19644
19645 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19646
19647         * math/README.libm-test (How can I generate "libm-test-ulps"?):
19648         Use testrun.sh to run libm tests.
19649
19650         [BZ #15309]
19651         * elf/dl-open.c (dl_open_worker): memset all of seen array.
19652
19653 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
19654
19655         [BZ #15264]
19656         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19657
19658 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19659
19660         * Makefile.in (regen-ulps): New target.
19661         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19662         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19663         [ifneq (no,$(PERL)] (regen-ulps): New target.
19664         [ifeq (no,$(PERL)] (regen-ulps): New target.
19665         * math/libm-test.inc (ulps_file_name): Define.
19666         (output_dir): New variable.
19667         (options): Add "output-dir" option.
19668         (parse_opt): Handle 'o' case.
19669         (main): If output_dir is non-NULL use it as a prefix
19670         otherwise use "".
19671         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19672
19673 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19674
19675         [BZ #10060, #10062]
19676         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19677         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19678         fail configure if __sync_val_compare_and_swap is not inlined.
19679         * sysdeps/i386/configure: Regenerate.
19680         * configure.in: Build for i686 when configured for i386.
19681         * configure: Regenerate.
19682         * README: Remove i386 reference.
19683
19684 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19685
19686         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19687         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19688
19689 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19690
19691         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19692         (lmsnanval): New variables.
19693         (F): Add conversion tests.
19694         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19695         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19696
19697         * stdio-common/tstdiomisc.c (F): Properly collect individual
19698         tests' results.
19699
19700         [BZ #14686, #15336]
19701         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19702         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19703         Instead, use input NaN values or generate a qNaN by arithmetic
19704         operation.  Also fix bugs to comply with the standard.
19705         * math/libm-test.inc (remainder_test): Add more tests.
19706
19707         [BZ #15335, #15342]
19708         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19709         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19710         input NaN values or generate a qNaN by arithmetic operation.
19711
19712         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19713         unreachable code.
19714
19715         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19716         definitions.
19717
19718 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
19719
19720         [BZ #14478]
19721         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19722         underflowed result.
19723         * math/s_cexpf.c (__cexpf): Likewise.
19724         * math/s_cexpl.c (__cexpl): Likewise.
19725         * math/libm-test.inc (cexp_test): Add more tests.
19726
19727 2013-04-03  Andreas Schwab  <schwab@suse.de>
19728
19729         [BZ #15330]
19730         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19731         order arrays from heap if bigger than alloca cutoff.
19732
19733 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
19734
19735         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19736         (SNAN_TESTS_double): Refer to GCC PR56831.
19737         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19738         GCC PR56828.
19739
19740 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19741
19742         * Rules (bench): Move bench.out after the run is complete.
19743
19744         * Rules (bench): Echo currently running benchmark.
19745
19746         * benchtests/Makefile (bench): Add atan and slowatan.
19747         * benchtests/atan-inputs: New file.
19748         * benchtests/slowatan-inputs: New file.
19749         * benchtests/slowatan.c: New file.
19750
19751         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19752         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19753         its value.
19754
19755         [BZ #15305]
19756         * sysdeps/unix/sysv/linux/kernel-features.h
19757         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19758         __ASSUME_XFS_RESTRICTED_CHOWN.
19759         * sysdeps/unix/sysv/linux/pathconf.c
19760         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19761         Save and restore errno.
19762
19763 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
19764
19765         [BZ #15327]
19766         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19767         arguments using __kernel_casinh.
19768         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19769         arguments using __kernel_casinhf.
19770         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19771         arguments using __kernel_casinhl.
19772         * math/libm-test.inc (cacosh_test): Add more tests.
19773         * sysdeps/i386/fpu/libm-test-ulps: Update.
19774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19775
19776 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19777
19778         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19779         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19780
19781         * bench/Makefile (bench): Add sin and slowsin.
19782         * benchtests/sin-inputs: New file.
19783         * benchtests/slowsin-inputs: New file.
19784         * benchtests/slowsin.c: New file.
19785
19786         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19787         (bench): Add slowexp and slowpow.
19788         (exp-ITER): Increase iterations.
19789         (pow-ITER): Likewise.
19790         * benchtests/exp-inputs: Change input.
19791         * benchtests/pow-inputs: Likewise.
19792         * benchtests/slowexp-inputs: New file.
19793         * benchtests/slowexp.c: New file.
19794         * benchtests/slowpow-inputs: New file.
19795         * benchtests/slowpow.c: New file.
19796
19797 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19798
19799         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19800         instructions.
19801         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19802         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19803         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19804         * benchtests/Makefile: Add rint benchtest.
19805         * benchtests/rint-inputs: Input for rint benchtest.
19806
19807 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19808
19809         * Versions.def (libm): Add GLIBC_2.18.
19810         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19811         hidden libm prototypes.
19812         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19813         * math/Makefile (libm-calls): Add s_issignaling.
19814         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19815         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
19816         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19817         declaration.
19818         * math/math.h [__USE_GNU] (issignaling): New macro.
19819         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19820         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19821         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19822         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19823         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19824         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19825         * manual/arith.texi (issignaling): New section.
19826         * manual/libm-err-tab.pl (@all_functions): Update comment.
19827         * math/gen-libm-test.pl (parse_args): Apply special handling for
19828         issignaling.
19829         * math/libm-test.inc (print_float, issignaling_test): New
19830         functions.
19831         (check_float_internal): Add issignaling checks.
19832         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19833         default definition.
19834         * sysdeps/powerpc/math-tests.h: New file.
19835         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19836         tests.
19837         * math/test-snan.c (TEST_FUNC): Likewise.
19838
19839 2013-03-30  David S. Miller  <davem@davemloft.net>
19840
19841         * po/de.po: Update from translation team.
19842
19843 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
19844
19845         [BZ #10357]
19846         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19847         imaginary part less than 1.0 and real part less than 0.5
19848         specially.
19849         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19850         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19851         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19852         (cacos_test): Add more tests.
19853         (casin_test): Likewise.
19854         (casinh_test): Likewise.
19855         * sysdeps/i386/fpu/libm-test-ulps: Update.
19856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19857
19858 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19859
19860         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19861         ONE with its value.
19862
19863         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19864         (__pow_mp): Replace ONE and MONE with their values.
19865         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19866         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19867         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19868         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19869         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19870         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19871
19872         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19873
19874         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19875         (__pow_mp): Replace ZERO and MZERO with their values.
19876         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19877         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19878         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19880         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19881         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19882         (__sqr): Likewise.
19883
19884         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19885
19886         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19887
19888 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19889
19890         * include/stdlib.h [!SHARED] (__call_tls_dtors):
19891         Declare with __attribute__ ((weak)).
19892         * stdlib/exit.c (__libc_atexit) [!SHARED]:
19893         Call __call_tls_dtors only if it's not NULL.
19894
19895 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19896
19897         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19898         didn't do it already, then set _dl_phdr and _dl_phnum based on the
19899         magic __ehdr_start linker symbol if it's defined.
19900         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19901         them up here if it was already done.
19902
19903         * elf/dl-support.c (_dl_phdr): Make pointer to const.
19904         (_dl_aux_init): Use const in cast when setting it.
19905         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19906         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19907         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19908
19909         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19910         Declare them here.
19911         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19912         * csu/libc-tls.c: Nor here.
19913         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19914
19915         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19916         (__libc_message): Never call vsyslog.
19917
19918 2013-03-28  Alan Modra  <amodra@gmail.com>
19919
19920         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19921         Define as empty.
19922         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19923         Likewise.
19924
19925 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19926
19927         [BZ #15214]
19928         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19929         underflow.
19930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19931
19932 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19933
19934         [BZ #15304]
19935         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19936         Don't add gid passed as argument.
19937
19938         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19939
19940 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
19941
19942         [BZ #15307]
19943         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19944         imaginary part between 1.0 and 1.5 and real part less than 0.5
19945         specially.
19946         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19947         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19948         * math/libm-test.inc (cacos_test): Add more tests.
19949         (casin_test): Likewise.
19950         (casinh_test): Likewise.
19951         * sysdeps/i386/fpu/libm-test-ulps: Update.
19952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19953
19954 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19955
19956         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19957         constants.
19958         (norm): Likewise.
19959         (denorm): Likewise.
19960         (__dbl_mp): Likewise.
19961         (add_magnitudes): Likewise.
19962         (sub_magnitudes): Likewise.
19963         (__add): Likewise.
19964         (__sub): Likewise.
19965         (__mul): Likewise.
19966         (__sqr): Likewise.
19967         (__inv): Likewise.
19968         (__dvd): Likewise.
19969
19970         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19971         commented code.
19972         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19973         (__dubcos): Likewise.
19974         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19975         (__ieee754_acos): Likewise.
19976         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19977         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19978         (__exp1): Likewise.
19979         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19980         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19981         (log1): Likewise.
19982         (my_log2): Likewise.
19983         (checkint): Likewise.
19984         * sysdeps/ieee754/dbl-64/e_remainder.c
19985         (__ieee754_remainder): Likewise.
19986         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19987         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19988         (bsloww): Likewise.
19989         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19990
19991         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19992         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19993         MANTISSA_STORE_T to store computations on mantissa.  Use
19994         macros for rounding and division.
19995         (denorm): Likewise.
19996         (__dbl_mp): Likewise.
19997         (add_magnitudes): Likewise.
19998         (sub_magnitudes): Likewise.
19999         (__mul): Likewise.
20000         (__sqr): Likewise.
20001         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20002         powers of two in terms of TWOPOW macro.
20003         (mp_no): Make type of mantissa as MANTISSA_T.
20004         [!RADIXI]: Define RADIXI.
20005         [!TWO52]: Define TWO52.
20006         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20007
20008 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20009
20010         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20011         llroundl symbol when building for PPC32.
20012
20013 2013-03-24  Mark H Weaver  <mhw@netris.org>
20014
20015         * manual/arith.texi (Normalization Functions): Fix prototypes for
20016         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20017
20018 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20019
20020         [BZ #13889]
20021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20022         high value to check if expl overflow.
20023         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20024         to check for underflow and overflow.
20025         * math/libm-test.inc: Add exp test.
20026
20027 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20028
20029         [BZ #11120]
20030         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20031         with NOT_IN_libc.
20032
20033 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20034
20035         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20036         symbol.
20037
20038 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20039
20040         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20041         wrap blocks consisting of several statements.
20042
20043         * sysdeps/generic/math-tests.h: New file.
20044         * sysdeps/i386/fpu/math-tests.h: Likewise.
20045         * math/test-snan.c: Include it.
20046         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20047
20048 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20049
20050         [BZ #15285]
20051         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20052         (__ieee754_j0l): Do not improve calculations using cos of twice
20053         input for inputs above LDBL_MAX / 2.0L.
20054         (__ieee754_y0l): Likewise.
20055         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20056         (__ieee754_j1l): Do not improve calculations using cos of twice
20057         input for inputs above LDBL_MAX / 2.0L.
20058         (__ieee754_y1l): Likewise.
20059         * math/libm-test.inc (j0_test): Add another test.
20060         (j1_test): Likewise.
20061         (y0_test): Likewise.
20062         (y1_test): Likewise.
20063         * sysdeps/i386/fpu/libm-test-ulps: Update.
20064
20065 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20066
20067         * Rules ($(objpfx)bench-%.c): Include code from a C source
20068         file.
20069
20070 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20071
20072         [BZ #15287]
20073         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20074         imaginary part 1.0 and real part less than 0.5 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-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20084
20085         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20086         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20087
20088 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20089
20090         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20091         * config.make.in (config-cflags-sse4): Remove variable.
20092         (config-cflags-avx): Likewise.
20093         (config-cflags-sse2avx): Likewise.
20094         (config-cflags-novzeroupper): Likewise.
20095         (config-asflags-i686): Likewise.
20096         (have-mfma4): Likewise.
20097         (have-as-vis3): Likewise.
20098         (MIG): Likewise.
20099         * configure.in (MIG): Do not AC_SUBST.
20100         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20101         (libc_cv_cc_sse4): Do not AC_SUBST.
20102         (libc_cv_cc_avx): Likewise.
20103         (libc_cv_cc_sse2avx): Likewise.
20104         (libc_cv_cc_novzeroupper): Likewise.
20105         (libc_cv_cc_fma4): Likewise.
20106         (libc_cv_as_i686): Likewise.
20107         (libc_cv_sparc_as_vis3): Likewise.
20108         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20109         LIBC_CONFIG_VAR.
20110         (config-asflags-i686): Likewise.
20111         (config-cflags-avx): Likewise.
20112         (config-cflags-sse2avx): Likewise.
20113         (have-mfma4): Likewise.
20114         (config-cflags-novzeroupper): Likewise.
20115         * sysdeps/mach/configure.in (MIG): Likewise.
20116         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20117         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20118         LIBC_CONFIG_VAR.
20119         (config-cflags-avx): Likewise.
20120         (config-cflags-sse2avx): Likewise.
20121         (have-mfma4): Likewise.
20122         (config-cflags-novzeroupper): Likewise.
20123         * configure: Regenerated.
20124         * sysdeps/i386/configure: Likewise.
20125         * sysdeps/mach/configure: Likewise.
20126         * sysdeps/sparc/configure: Likewise.
20127         * sysdeps/x86_64/configure: Likewise.
20128
20129 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20130
20131         [BZ #14812]
20132         * locale/programs/localedef.c (options): Put N_ translation marker
20133         on argument names, not just descriptions.
20134
20135 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20136
20137         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20138
20139 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20140
20141         [BZ #14176]
20142         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20143
20144 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20145
20146         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20147         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20148         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20149         [!BEFORE_ABORT] (before_abort): New function.
20150         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20151         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20152         (writev_for_fatal): New function.
20153         (WRITEV_FOR_FATAL): New macro; call that.
20154         (backtrace_and_maps): New function.
20155         (BEFORE_ABORT): New macro; call that.
20156         (struct str_list): Type removed.
20157         (__libc_message, __libc_fatal): Functions removed.
20158         Include <sysdeps/posix/libc_fatal.c> instead.
20159
20160 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20161
20162         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20163         constants.
20164         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20165         double constants.
20166
20167 2013-03-19  Andreas Schwab  <schwab@suse.de>
20168
20169         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20170         * sysdeps/gnu/configure: Regenerate.
20171
20172         * configure.in: Substitute libc_cv_rtlddir.
20173         * configure: Regenerate.
20174         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20175         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20176         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20177         * elf/Makefile (install-others, CFLAGS-interp.c)
20178         (ldso_install, common-ldd-rewrite): Likewise.
20179         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20180         $(inst_slibdir)/$(rtld-installed-name).
20181         * scripts/rellns-sh: Add -p option.
20182         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20183         for source.
20184
20185 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20186
20187         * manual/nptl.texi: Renamed to ...
20188         * manual/threads.texi: ... this.
20189         * manual/Makefile (chapters): Update.
20190
20191 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20192
20193         [BZ #14812]
20194         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20195         on argument names, not just descriptions.
20196         * malloc/memusagestat.c (options): Likewise.
20197         * nss/getent.c (options): Likewise.
20198
20199 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20200
20201         [BZ #14812]
20202         * iconv/iconv_prog.c (options): Put N_ translation marker
20203         on argument names, not just descriptions.
20204         * iconv/iconvconfig.c (options): Likewise.
20205
20206 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20207
20208         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20209         implementation which is faster on all x86_64 architectures.
20210         Tested on AMD, Intel Nehalem, SNB, IVB.
20211         * sysdeps/x86_64/strnlen.S: Likewise.
20212
20213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20214         Remove all multiarch strlen and strnlen versions.
20215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20216         Remove strlen and strnlen related parts.
20217
20218         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20219         Inline strlen part.
20220         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20221
20222         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20223         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20224         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20225         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20226         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20227         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20228
20229 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20230
20231         * manual/memory.texi (Malloc Tunable Parameters):
20232         Sort parameters alphabetically. Add comments for missing entries.
20233
20234 2013-03-17  David S. Miller  <davem@davemloft.net>
20235
20236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20237
20238 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20239
20240         [BZ #15283]
20241         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20242         for arguments at most half maximum finite value.
20243         * math/libm-test.inc (j0_test): Add more tests.
20244         (j1_test): Likewise.
20245         (y0_test): Likewise.
20246         (y1_test): Likewise.
20247         * sysdeps/i386/fpu/libm-test-ulps: Update.
20248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20249
20250         [BZ #14155]
20251         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20252         1 / x and functions P and Q for arguments above 0x1p256L.
20253         (__ieee754_y0l): Likewise.
20254         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20255         (__ieee754_y1l): Likewise.
20256         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20257         (j1_test): Likewise.
20258         (y0_test): Likewise.
20259         (y1_test): Likewise.
20260
20261 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20262
20263         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20264         variable.
20265
20266 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20267
20268         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20269         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20270         zero since it's initialized to EXEC_PAGESIZE.
20271
20272         * sysdeps/unix/sysv/linux/ldsodefs.h
20273         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20274         * sysdeps/generic/ldsodefs.h: ... here.
20275
20276 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20277
20278         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20279
20280         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20281         math/test-snan.c.
20282         * math/test-snan.c: Renamed from
20283         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20284         * math/Makefile (tests): Add test-snan.
20285         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20286         test-powerpc-snan.
20287
20288         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20289         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20290         functions.
20291         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20292         __builtin_nan family of functions.
20293         * math/libm-test.inc (initialize): Initialize qnan_value with
20294         __builtin_nan family of functions.
20295         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20296         Remove variables.
20297         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20298         Remove functions.
20299         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20300         storage class.  Initialize qNaN_var and sNaN_var with
20301         __builtin_nan and __builtin_nans families of functions,
20302         respectively.
20303
20304         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20305         (sqrt_test): Remove duplicate test with qNaN input.
20306         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20307         (round_test, signbit_test, significand_test): Note missing +/-Inf
20308         as well as qNaN tests.
20309
20310         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20311         qNaN_var.  Fix a few strings, too.
20312         * math/libm-test.inc (nan_value): Rename to qnan_value.
20313         * math/gen-libm-test.pl (%beautify): Adjust to that.
20314         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20315         * math/test-misc.c (main): Likewise.
20316         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20317         to __qnan_bytes, and __qnan_union, respectively.
20318         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20319         Likewise.
20320         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20321         and lqnanval, respectively.
20322         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20323         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20324         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20325         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20326
20327         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20328         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20329         doubles.
20330
20331         * math/test-misc.c (main): Fix copy'n'pastos.
20332         * misc/tst-efgcvt.c (special): Likewise.
20333
20334         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20335         Remove declarations.
20336
20337 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20338
20339         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20340         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20341         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20342         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20343
20344 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20345
20346         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20347         macro to return vdso values correctly in IFUNC implementations.
20348         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20349         Optimization by using IFUNC.
20350
20351 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20352             Richard Henderson  <rth@redhat.com>
20353             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20354
20355         * Makefile.in (bench): New target.
20356         * NEWS: Mention the benchmark framework.
20357         * Rules (bench): Likewise.
20358         (binaries-bench): Generate binaries for functions to
20359         benchmark.
20360         * benchtests/Makefile: New makefile for benchmark tests.
20361         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20362         programs.
20363         * benchtests/exp-inputs: New input file for EXP function.
20364         * benchtests/pow-inputs: New input file for POW function.
20365         * scripts/bench.pl: New script to generate source files for
20366         benchmark programs.
20367
20368 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20369
20370         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20371         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20372         computations on mantissa.  Use macros for rounding and
20373         division.
20374         (denorm): Likewise.
20375         (__dbl_mp): Likewise.
20376         (add_magnitudes): Likewise.
20377         (sub_magnitudes): Likewise.
20378         (__mul): Likewise.
20379         (__sqr): Likewise.
20380         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20381         powers of two in terms of TWOPOW macro.
20382         (mp_no): Make type of mantissa as MANTISSA_T.
20383         [!RADIXI]: Define RADIXI.
20384         [!TWO52]: Define TWO52.
20385         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20386
20387         * manual/nptl.texi (cindex): Modify threads to pthreads.
20388
20389 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
20390
20391         * sysdeps/x86_64/preconfigure: Regenerated.
20392
20393 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
20394
20395         [BZ #14155]
20396         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20397         0x1p28 and above.
20398         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20399         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20400         0x1p28 and above.
20401         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20402         * math/libm-test.inc (j0_test): Do not allow one spurious
20403         underflow exception.
20404         (y1_test): Likewise.
20405
20406 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20407
20408         * manual/Makefile (chapters): Add nptl.
20409         * manual/debug.texi (Debugging Support): Add link to Threads
20410         chapter.
20411         * manual/nptl.texi: New file.
20412
20413         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20414
20415 2013-03-14  Petr Baudis  <pasky@ucw.cz>
20416
20417         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20418         for non-NULL pointer before the memory validity test. Pointed
20419         out by Holger Brunck <holger.brunck@keymile.com>.
20420
20421 2013-03-13  Andreas Schwab  <schwab@suse.de>
20422
20423         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20424         instead of .os.
20425
20426 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
20427
20428         * timezone/zic.c: Update from tzcode 2013b.
20429
20430 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
20431
20432         * manual/install.texi (Configuring and compiling):
20433         Mention i686 and i586.
20434         * INSTALL: Regenerate.
20435
20436 2013-03-12  Roland McGrath  <roland@hack.frob.com>
20437
20438         * sysdeps/init_array/elf-init.c: New file.
20439         * csu/elf-init.c
20440         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20441         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20442
20443         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20444         __gmon_start__ as global, but as static with a .preinit_array pointer.
20445         * sysdeps/init_array/gmon-start.c: New file.  Use that.
20446         * sysdeps/init_array/crti.S: New file, empty except for comments.
20447         * sysdeps/init_array/crtn.S: Likewise.
20448
20449 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
20450
20451         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20452         definining bcopy.
20453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20454         Remove Prefer_SSE_for_memop.
20455         * sysdeps/x86_64/multiarch/init-arch.h: Remove
20456         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20457         HAS_PREFER_SSE_FOR_MEMOP.
20458         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20459         memset-x86-64.
20460         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20461         Remove bzero, memset ifunc support.
20462         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20463         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20464         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20465         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20466
20467 2013-03-11  Andreas Schwab  <schwab@suse.de>
20468
20469         [BZ #15234]
20470         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20471         by SHLIB_COMPAT.
20472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20473         (GLIBC_2.16): Remove pthread_atfork.
20474
20475 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20476
20477         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20478         (ptestcases.h): Likewise.
20479
20480 2013-03-08  Roland McGrath  <roland@hack.frob.com>
20481
20482         * Makeconfig ($(common-objpfx)config.status): Depend on
20483         sysdeps/*/preconfigure{,.in} too.
20484
20485 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
20486
20487         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20488         (__free_hook): Use void * instead of __malloc_ptr_t.
20489         (__malloc_hook): Likewise.
20490         (__realloc_hook): Likewise.
20491         (__memalign_hook): Likewise.
20492         (__after_morecore_hook): Likewise.
20493         * malloc/arena.c (save_malloc_hook): Likewise.
20494         (save_free_hook): Likewise.
20495         * malloc/hooks.c (malloc_hook_ini): Likewise.
20496         (realloc_hook_ini): Likewise.
20497         (memalign_hook_ini): Likewise.
20498         * malloc/malloc.c (malloc_hook_ini): Likewise.
20499         (realloc_hook_ini): Likewise.
20500         (memalign_hook_ini): Likewise.
20501         (__free_hook): Likewise.
20502         (__malloc_hook): Likewise.
20503         (__realloc_hook): Likewise.
20504         (__memalign_hook): Likewise.
20505         (__libc_malloc): Likewise.
20506         (__libc_free): Likewise.
20507         (__libc_realloc): Likewise.
20508         (__libc_memalign): Likewise.
20509         (__libc_valloc): Likewise.
20510         (__libc_pvalloc): Likewise.
20511         (__libc_calloc): Likewise.
20512         (__posix_memalign): Likewise.
20513         * malloc/morecore.c (__sbrk): Likewise.
20514         (__default_morecore): Likewise.
20515
20516         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20517
20518         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20519         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20520         __malloc_ptrdiff_t.
20521
20522         * malloc/malloc.h (__malloc_size_t): Remove macro.
20523         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20524         __malloc_size_t.
20525         (old_memalign_hook): Likewise.
20526         (old_realloc_hook): Likewise.
20527         (struct hdr): Likewise.
20528         (flood): Likewise.
20529         (mallochook): Likewise.
20530         (memalignhook): Likewise.
20531         (reallochook): Likewise.
20532         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20533         (tr_old_realloc_hook): Likewise.
20534         (tr_old_memalign_hook): Likewise.
20535         (tr_mallochook): Likewise.
20536         (tr_reallochook): Likewise.
20537         (tr_memalignhook): Likewise.
20538
20539 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20540
20541         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20542         default_ldbl_pack and using as default implementation.
20543         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20544         implementation.
20545         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20546         redundant definition.
20547         (ldbl_insert_mantissa): Likewise.
20548         (ldbl_canonicalize): Likewise.
20549         (ldbl_nearbyint): Likewise.
20550         (ldbl_pack): Rename to ldbl_pack_ppc.
20551         (ldbl_unpack): Rename to ldbl_unpack_ppc.
20552         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20553         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20554
20555 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20556
20557         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20558         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20559         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20560         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20562         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20563         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20564         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20565
20566 2013-03-07  Andreas Jaeger  <aj@suse.de>
20567
20568         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20569         bits/mman-linux.h.
20570
20571 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20572
20573         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20574         Include mpa.h and declare __MPEXP.
20575         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20576         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20577         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20578         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20579         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20580         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20581         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20582
20583         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20584         (__slowpow): Use long double EXPL and LOGL functions to
20585         compute POW.
20586         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20587         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20588         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20589         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20590         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20591         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20592
20593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20594         intermediate variable to calculate exponent.
20595         (__sqr): Likewise.
20596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20597         Likewise.
20598         (__sqr): Likewise.
20599
20600         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20601         [!NO__SQR]: Define __sqr.
20602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20603         and NO__SQR.  Remove all code except __mul and __sqr.  Include
20604         sysdeps/ieee754/dbl-64/mpa.c.
20605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20606
20607         [BZ #12723]
20608         * posix/Makefile (tests): Add tst-pathconf.
20609         * posix/tst-pathconf.c: New test case.
20610         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20611         _PC_PIPE_BUF.
20612         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20613
20614 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
20615
20616         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20617
20618 2013-03-06  Andreas Jaeger  <aj@suse.de>
20619
20620         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20621         definition via __MAP_ANONYMOUS.
20622
20623         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20624         it's not part of Linux headers.
20625
20626         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20627         (MAP_HUGE_MASK): Define.
20628
20629         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20630         Define.
20631         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20632         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20633         Define.
20634         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20635         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20636         Define.
20637         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20638         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20639         Define.
20640         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20641
20642         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20643         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20644         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20645         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20646         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20647         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20648
20649         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20650         Handle f2fs.
20651
20652         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20653         Handle f2fs and efivarfs.
20654
20655         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20656         f2fs.
20657
20658         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20659         (EFIVARFS_MAGIC): Add.
20660         (F2FS_LINK_MAX): Add.
20661
20662 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20663
20664         * stdio-common/vfprintf.c: Replace __builtin_expect with
20665         __glibc_unlikely.
20666
20667 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
20668
20669         [BZ #13550]
20670         * sysdeps/generic/bp-sym.h: Remove file.
20671         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20672         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20673         <bp-sym.h> and <bp-asm.h>.
20674         (__longjmp): Don't use BP_SYM.
20675         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20676         and <bp-asm.h>.
20677         (memcpy): Don't use BP_SYM.
20678         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20679         <bp-sym.h> and <bp-asm.h>.
20680         (memcpy): Don't use BP_SYM.
20681         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20682         <bp-asm.h>.
20683         (memcpy): Don't use BP_SYM.
20684         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20685         <bp-asm.h>.
20686         (memset): Don't use BP_SYM.
20687         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20688         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20689         (__bzero): Don't use BP_SYM.
20690         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20691         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20692         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20693         <bp-sym.h> and <bp-asm.h>.
20694         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20695         pointers.
20696         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20697         <bp-sym.h> and <bp-asm.h>.
20698         (memcpy): Don't use BP_SYM.
20699         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20700         <bp-sym.h> and <bp-asm.h>.
20701         (memset): Don't use BP_SYM.
20702         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20703         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20704         (__bzero): Don't use BP_SYM.
20705         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20706         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20707         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20708         <bp-sym.h> and <bp-asm.h>.
20709         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20710         pointers.
20711         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20712         <bp-sym.h> and <bp-asm.h>.
20713         (memcpy): Don't use BP_SYM.
20714         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20715         <bp-sym.h> and <bp-asm.h>.
20716         (memset): Don't use BP_SYM.
20717         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20718         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20719         (__bzero): Don't use BP_SYM.
20720         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20721         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20722         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20723         <bp-sym.h> and <bp-asm.h>.
20724         (__memchr): Don't use BP_SYM.
20725         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20726         <bp-sym.h> and <bp-asm.h>.
20727         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20728         pointers.
20729         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20730         <bp-sym.h> and <bp-asm.h>.
20731         (memcpy): Don't use BP_SYM.
20732         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20733         <bp-sym.h> and <bp-asm.h>.
20734         (__mempcpy): Don't use BP_SYM.
20735         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20736         <bp-sym.h> and <bp-asm.h>.
20737         (__memrchr): Don't use BP_SYM.
20738         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20739         <bp-sym.h> and <bp-asm.h>.
20740         (memset): Don't use BP_SYM.
20741         (__bzero): Likewise.
20742         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20743         <bp-sym.h> and <bp-asm.h>.
20744         (__rawmemchr): Don't use BP_SYM.
20745         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20746         <bp-sym.h> and <bp-asm.h>.
20747         (__STRCMP): Don't use BP_SYM.
20748         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20749         <bp-sym.h> and <bp-asm.h>.
20750         (strchr): Don't use BP_SYM.
20751         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20752         <bp-sym.h> and <bp-asm.h>.
20753         (__strchrnul): Don't use BP_SYM.
20754         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20755         <bp-sym.h> and <bp-asm.h>.
20756         (strlen): Don't use BP_SYM.
20757         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20758         <bp-sym.h> and <bp-asm.h>.
20759         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20760         pointers.
20761         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20762         <bp-sym.h> and <bp-asm.h>.
20763         (__strnlen): Don't use BP_SYM.
20764         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20765         <bp-sym.h> and <bp-asm.h>.
20766         (__GI__setjmp): Don't use BP_SYM.
20767         (_setjmp): Likewise.
20768         (__sigsetjmp): Likewise.
20769         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20770         (L(start_addresses)): Don't use BP_SYM.
20771         (_start): Likewise.
20772         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20773         <bp-asm.h>.
20774         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20775         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20776         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20777         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20778         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20779         <bp-asm.h>.
20780         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20781         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
20782         about bounded pointers.
20783         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20784         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20785         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20786         <bp-asm.h>.
20787         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20788         about bounded pointers.  Remove GKM FIXME comments.
20789         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20790         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20791         <bp-asm.h>.
20792         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20793         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
20794         Remove GKM FIXME comments.
20795         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20796         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20797         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20798         <bp-asm.h>.
20799         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20800         about bounded pointers.  Remove GKM FIXME comment.
20801         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20802         and <bp-asm.h>.
20803         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20804         pointers.
20805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20806         <bp-sym.h> and <bp-asm.h>.
20807         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20809         <bp-sym.h> and <bp-asm.h>.
20810         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20811         comment.
20812
20813 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20814
20815         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20816         call free(NULL).
20817
20818 2013-03-05  David S. Miller  <davem@davemloft.net>
20819
20820         * po/es.po: Update from translation team.
20821
20822 2013-03-05  Andreas Jaeger  <aj@suse.de>
20823
20824         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20825         <bits/mman-linux.h>.
20826         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20827         is fine.
20828         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20829         <bits/mman-linux.h> to end of file.
20830         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20831         is fine.
20832         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20833         <bits/mman-linux.h> to end of file.
20834         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20835         is fine.
20836         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20837         <bits/mman-linux.h> to end of file.
20838
20839         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20840         (MCL_CURRENT, MCL_FUTURE): Define here.
20841
20842 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20843
20844         [BZ #15232]
20845         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20846         attribute_hidden.
20847         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20848
20849 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20850
20851         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20852         fourth parameter needed for rt_sigprocmask syscall.
20853         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20854         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20855         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20856         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20857         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20858         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20859
20860 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
20861
20862         [BZ #13550]
20863         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20864         comment about bounded pointers.
20865         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20866         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20867
20868 2013-03-04  Andreas Jaeger  <aj@suse.de>
20869
20870         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20871         common definitions.
20872
20873         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20874         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20875         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20876         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20877         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20878         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20879
20880 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20881
20882         [BZ #15055]
20883         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20884         __ieee754_sqrl instead of __sqrl.
20885
20886 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
20887
20888         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20889         * sysdeps/powerpc/fpu_control.h: ... here.
20890         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20891         * sysdeps/powerpc/bits/fenvinline.h: ... here.
20892         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20893         * sysdeps/powerpc/bits/mathinline.h: ... here.
20894
20895 2013-03-01  Roland McGrath  <roland@hack.frob.com>
20896
20897         * elf/dl-hwcaps.c (_dl_important_hwcaps):
20898         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20899         to just [NEED_DL_SYSINFO_DSO].
20900         * elf/dl-support.c: Likewise.
20901         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20902         * elf/rtld.c (dl_main): Likewise.
20903         * elf/setup-vdso.h (setup_vdso): Likewise.
20904         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20905         * sysdeps/unix/sysv/linux/dl-sysdep.c
20906         (_dl_discover_osversion): Likewise.
20907
20908 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
20909
20910         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20911         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20912
20913 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20914
20915         * NEWS: Mention libm performance improvements and non-x86 PI
20916         futex support.
20917
20918         * csu/libc-start.c (__pthread_initialize_minimal): Change
20919         function arguments.
20920         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20921
20922 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
20923
20924         [BZ #13550]
20925         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20926         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20927         <bp-sym.h> and <bp-asm.h>.
20928         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20929         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20930         and <bp-asm.h>.
20931         (memcpy): Don't use BP_SYM.
20932         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20933         <bp-asm.h>.
20934         (__mpn_add_n): Don't use BP_SYM.
20935         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20936         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20937         and <bp-asm.h>.
20938         (__mpn_addmul_1): Don't use BP_SYM.
20939         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20940         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20941         <bp-sym.h>.
20942         (_setjmp): Don't use BP_SYM.
20943         (__novmx_setjmp): Likewise.
20944         (__GI__setjmp): Likewise.
20945         (__vmx_setjmp): Likewise.
20946         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20947         <bp-sym.h>.
20948         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20949         (__bzero): Don't use BP_SYM.
20950         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20951         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20952         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20953         <bp-sym.h> and <bp-asm.h>.
20954         (memcpy): Don't use BP_SYM.
20955         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20956         <bp-sym.h> and <bp-asm.h>.
20957         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20958         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20959         <bp-sym.h> and <bp-asm.h>.
20960         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20961         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20962         <bp-asm.h>.
20963         (__mpn_lshift): Don't use BP_SYM.
20964         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20965         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20966         <bp-asm.h>.
20967         (memset): Don't use BP_SYM.
20968         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20969         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20970         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20971         <bp-asm.h>.
20972         (__mpn_mul_1): Don't use BP_SYM.
20973         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20974         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20975         <bp-sym.h> and <bp-asm.h>.
20976         (memcmp): Don't use BP_SYM.
20977         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20978         <bp-sym.h> and <bp-asm.h>.
20979         (memcpy): Don't use BP_SYM.
20980         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20981         <bp-sym.h> and <bp-asm.h>.
20982         (memset): Don't use BP_SYM.
20983         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20984         <bp-sym.h> and <bp-asm.h>.
20985         (strncmp): Don't use BP_SYM.
20986         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20987         <bp-sym.h> and <bp-asm.h>.
20988         (memcpy): Don't use BP_SYM.
20989         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20990         <bp-sym.h> and <bp-asm.h>.
20991         (memset): Don't use BP_SYM.
20992         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20993         <bp-sym.h> and <bp-asm.h>.
20994         (__memchr): Don't use BP_SYM.
20995         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20996         <bp-sym.h> and <bp-asm.h>.
20997         (memcmp): Don't use BP_SYM.
20998         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20999         <bp-sym.h> and <bp-asm.h>.
21000         (memcpy): Don't use BP_SYM.
21001         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21002         <bp-sym.h> and <bp-asm.h>.
21003         (__mempcpy): Don't use BP_SYM.
21004         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21005         <bp-sym.h> and <bp-asm.h>.
21006         (__memrchr): Don't use BP_SYM.
21007         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21008         <bp-sym.h> and <bp-asm.h>.
21009         (memset): Don't use BP_SYM.
21010         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21011         <bp-sym.h> and <bp-asm.h>.
21012         (__rawmemchr): Don't use BP_SYM.
21013         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21014         <bp-sym.h> and <bp-asm.h>.
21015         (__STRCMP): Don't use BP_SYM.
21016         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21017         <bp-sym.h> and <bp-asm.h>.
21018         (strchr): Don't use BP_SYM.
21019         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21020         <bp-sym.h> and <bp-asm.h>.
21021         (__strchrnul): Don't use BP_SYM.
21022         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21023         <bp-sym.h> and <bp-asm.h>.
21024         (strlen): Don't use BP_SYM.
21025         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21026         <bp-sym.h> and <bp-asm.h>.
21027         (strncmp): Don't use BP_SYM.
21028         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21029         <bp-sym.h> and <bp-asm.h>.
21030         (__strnlen): Don't use BP_SYM.
21031         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21032         <bp-asm.h>.
21033         (__mpn_rshift): Don't use BP_SYM.
21034         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21035         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21036         <bp-sym.h> and <bp-asm.h>.
21037         (__sigsetjmp): Don't use BP_SYM.
21038         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21039         (L(start_addresses)): Don't use BP_SYM.
21040         (_start): Likewise.
21041         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21042         <bp-asm.h>.
21043         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21044         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21045         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21046         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21047         <bp-asm.h>.
21048         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21049         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21050         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21051         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21052         <bp-asm.h>.
21053         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21054         comments.
21055         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21056         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21057         <bp-asm.h>.
21058         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21059         FIXME comments.
21060         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21061         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21062         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21063         <bp-asm.h>.
21064         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21065         comment.
21066         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21067         and <bp-asm.h>.
21068         (strncmp): Don't use BP_SYM,
21069         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21070         <bp-asm.h>.
21071         (__mpn_sub_n): Don't use BP_SYM.
21072         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21073         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21074         and <bp-asm.h>.
21075         (__mpn_submul_1): Don't use BP_SYM.
21076         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21078         <bp-sym.h> and <bp-asm.h>.
21079         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21081         <bp-sym.h> and <bp-asm.h>.
21082         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21083         comment.
21084
21085 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21086
21087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21088         Use ZK to minimize writes to Z.
21089         (sub_magnitudes): Simplify code a bit.
21090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21091         Use ZK to minimize writes to Z.
21092         (sub_magnitudes): Simplify code a bit.
21093
21094 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21095
21096         * csu/gmon-start.c: Add special exception to license text.
21097
21098 2013-02-27  Richard Henderson  <rth@redhat.com>
21099
21100         * scripts/config.guess: Update from config.git.
21101         * scripts/config.sub: Likewise.
21102
21103 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21104
21105         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21106
21107         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21108
21109         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21110
21111         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21112
21113         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21114
21115 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21116
21117         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21118         [$(build-shared = yes].
21119
21120 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21121
21122         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21123         (__mul): Reduce iterations for calculating mantissa.
21124
21125         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21126         MPTWO.
21127         (__mpranred): Likewise.
21128
21129         [BZ #15160]
21130         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21131         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21132
21133 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21134
21135         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21136         Define __attribute__.
21137
21138 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21139
21140         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21141         unused.
21142         * posix/regex_internal.h (__attribute): Remove.
21143         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21144         (re_string_context_at): Likewise.
21145         (bitset_not): Use __attribute__ and mark function as possibly
21146         unused.
21147         (bitset_merge): Likewise.
21148         (bitset_mask): Likewise.
21149         (re_string_char_size_at): Likewise.
21150         (re_string_wchar_at): Likewise.
21151         (re_string_elem_size_at): Likewise.
21152
21153 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21154
21155         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21156         code.
21157         (cc32): Likewise.
21158
21159         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21160         (__acr): Likewise.
21161         (__cpy): Likewise.
21162         (norm): Likewise.
21163         (denorm): Likewise.
21164         (__dbl_mp): Likewise.
21165         (add_magnitudes): Likewise.
21166         (sub_magnitudes): Likewise.
21167         (__mul): Likewise.
21168         (__inv): Likewise.
21169
21170         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21171         style.
21172
21173         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21174         style.
21175
21176         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21177         code.
21178
21179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21180         up changes with default code.
21181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21182         Likewise.
21183
21184 2013-02-24  Allan McRae  <allan@archlinux.org>
21185
21186         * manual/socket.texi (The Internet Namespace): Order menu items
21187         to match that in the file.
21188
21189         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21190         node listing of the info page menu.
21191
21192 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21193
21194         [BZ #13550]
21195         * sysdeps/i386/bp-asm.h: Remove file.
21196         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21197         (PARMS): Do not use macros from bp-asm.h.
21198         (S1): Likewise.
21199         (S2): Likewise.
21200         (SIZE): Likewise.
21201         (__mpn_add_n): Do not use BP_SYM
21202         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21203         "bp-asm.h".
21204         (PARMS): Do not use macros from bp-asm.h.
21205         (S1): Likewise.
21206         (SIZE): Likewise.
21207         (__mpn_addmul_1): Do not use BP_SYM
21208         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21209         "bp-asm.h".
21210         (PARMS): Do not use macros from bp-asm.h.
21211         (SIGMSK): Likewise.
21212         (_setjmp): Likewise.  Do not use BP_SYM.
21213         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21214         "bp-asm.h".
21215         (PARMS): Do not use macros from bp-asm.h.
21216         (SIGMSK): Likewise.
21217         (setjmp): Likewise.  Do not use BP_SYM.
21218         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21219         "bp-asm.h".
21220         (PARMS): Do not use macros from bp-asm.h.
21221         (__frexp): Do not use BP_SYM.
21222         (frexp): Likewise.
21223         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21224         "bp-asm.h".
21225         (PARMS): Do not use macros from bp-asm.h.
21226         (__frexpf): Do not use BP_SYM.
21227         (frexpf): Likewise.
21228         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21229         "bp-asm.h".
21230         (PARMS): Do not use macros from bp-asm.h.
21231         (__frexpl): Do not use BP_SYM.
21232         (frexpl): Likewise.
21233         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21234         "bp-asm.h".
21235         (PARMS): Do not use macros from bp-asm.h.
21236         (__remquo): Do not use BP_SYM.
21237         (remquo): Likewise.
21238         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21239         "bp-asm.h".
21240         (PARMS): Do not use macros from bp-asm.h.
21241         (__remquof): Do not use BP_SYM.
21242         (remquof): Likewise.
21243         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21244         "bp-asm.h".
21245         (PARMS): Do not use macros from bp-asm.h.
21246         (__remquol): Do not use BP_SYM.
21247         (remquol): Likewise.
21248         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21249         "bp-asm.h".
21250         (PARMS): Do not use macros from bp-asm.h.
21251         (DEST): Likewise.
21252         (SRC): Likewise.
21253         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21254         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21255         "bp-asm.h".
21256         (PARMS): Do not use macros from bp-asm.h.
21257         (strlen): Do not use BP_SYM.
21258         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21259         "bp-asm.h".
21260         (PARMS): Do not use macros from bp-asm.h.
21261         (S1): Likewise.
21262         (S2): Likewise.
21263         (SIZE): Likewise.
21264         (__mpn_add_n): Do not use BP_SYM.
21265         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21266         "bp-asm.h".
21267         (PARMS): Do not use macros from bp-asm.h.
21268         (S1): Likewise.
21269         (SIZE): Likewise.
21270         (__mpn_addmul_1): Do not use BP_SYM.
21271         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21272         weak_alias.
21273         (bzero): Likewise.
21274         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21275         "bp-asm.h".
21276         (PARMS): Do not use macros from bp-asm.h.
21277         (S): Likewise.
21278         (SIZE): Likewise.
21279         (__mpn_lshift): Do not use BP_SYM.
21280         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21281         "bp-asm.h".
21282         (PARMS): Do not use macros from bp-asm.h.
21283         (DEST): Likewise.
21284         (SRC): Likewise.
21285         (LEN): Likewise.
21286         (memcpy): Likewise.  Do not use BP_SYM.
21287         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21288         libc_hidden_def and weak_alias.
21289         (mempcpy): Do not use BP_SYM in weak_alias.
21290         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21291         "bp-asm.h".
21292         (PARMS): Do not use macros from bp-asm.h.
21293         (DEST): Likewise.
21294         (LEN): Likewise.
21295         [!BZERO_P] (CHR): Likewise.
21296         (memset): Likewise.  Do not use BP_SYM.
21297         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21298         "bp-asm.h".
21299         (PARMS): Do not use macros from bp-asm.h.
21300         (S1): Likewise.
21301         (SIZE): Likewise.
21302         (__mpn_mul_1): Do not use BP_SYM.
21303         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21304         "bp-asm.h".
21305         (PARMS): Do not use macros from bp-asm.h.
21306         (S): Likewise.
21307         (SIZE): Likewise.
21308         (__mpn_rshift): Do not use BP_SYM.
21309         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21310         "bp-asm.h".
21311         (PARMS): Do not use macros from bp-asm.h.
21312         (STR): Likewise.
21313         (CHR): Likewise.
21314         (strchr): Likewise.  Do not use BP_SYM.
21315         (index): Do not use BP_SYM in weak_alias.
21316         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21317         "bp-asm.h".
21318         (PARMS): Do not use macros from bp-asm.h.
21319         (DEST): Likewise.
21320         (SRC): Likewise.
21321         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21322         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21323         "bp-asm.h".
21324         (PARMS): Do not use macros from bp-asm.h.
21325         (strlen): Do not use BP_SYM.
21326         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21327         "bp-asm.h".
21328         (PARMS): Do not use macros from bp-asm.h.
21329         (S1): Likewise.
21330         (S2): Likewise.
21331         (SIZE): Likewise.
21332         (__mpn_sub_n): Do not use BP_SYM.
21333         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21334         "bp-asm.h".
21335         (PARMS): Do not use macros from bp-asm.h.
21336         (S1): Likewise.
21337         (SIZE): Likewise.
21338         (__mpn_submul_1): Do not use BP_SYM.
21339         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21340         "bp-asm.h".
21341         (PARMS): Do not use macros from bp-asm.h.
21342         (S1): Likewise.
21343         (S2): Likewise.
21344         (SIZE): Likewise.
21345         (__mpn_add_n): Do not use BP_SYM.
21346         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21347         weak_alias.
21348         (bzero): Likewise.
21349         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21350         "bp-asm.h".
21351         (PARMS): Do not use macros from bp-asm.h.
21352         (BLK2): Likewise.
21353         (LEN): Likewise.
21354         (memcmp): Do not use BP_SYM.
21355         (bcmp): Do not use BP_SYM in weak_alias.
21356         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21357         "bp-asm.h".
21358         (PARMS): Do not use macros from bp-asm.h.
21359         (DEST): Likewise.
21360         (SRC): Likewise.
21361         (LEN): Likewise.
21362         (memcpy): Likewise.  Do not use BP_SYM.
21363         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21364         "bp-asm.h".
21365         (PARMS): Do not use macros from bp-asm.h.
21366         (DEST): Likewise.
21367         (SRC): Likewise.
21368         (LEN): Likewise.
21369         (memmove): Likewise.  Do not use BP_SYM.
21370         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21371         "bp-asm.h".
21372         (PARMS): Do not use macros from bp-asm.h.
21373         (DEST): Likewise.
21374         (SRC): Likewise.
21375         (LEN): Likewise.
21376         (__mempcpy): Likewise.  Do not use BP_SYM.
21377         (mempcpy): Do not use BP_SYM in weak_alias.
21378         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21379         "bp-asm.h".
21380         (PARMS): Do not use macros from bp-asm.h.
21381         (DEST): Likewise.
21382         (LEN): Likewise.
21383         [!BZERO_P] (CHR): Likewise.
21384         (memset): Likewise.  Do not use BP_SYM.
21385         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21386         "bp-asm.h".
21387         (PARMS): Do not use macros from bp-asm.h.
21388         (STR2): Likewise.
21389         (strcmp): Do not use BP_SYM.
21390         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21391         "bp-asm.h".
21392         (PARMS): Do not use macros from bp-asm.h.
21393         (STR): Likewise.
21394         (DELIM): Likewise.
21395         [USE_AS_STRTOK_R] (SAVE): Likewise.
21396         (FUNCTION): Likewise.  Do not use BP_SYM.
21397         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21398         aliases.
21399         (strtok_r): Likewise.
21400         (__GI___strtok_r): Likewise.
21401         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21402         (PARMS): Do not use macros from bp-asm.h.
21403         (S): Likewise.
21404         (SIZE): Likewise.
21405         (__mpn_lshift): Do not use BP_SYM.
21406         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21407         (PARMS): Do not use macros from bp-asm.h.
21408         (STR): Likewise.
21409         (CHR): Likewise.
21410         (__memchr): Do not use BP_SYM.
21411         (memchr): Do not use BP_SYM in weak_alias.
21412         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21413         (PARMS): Do not use macros from bp-asm.h.
21414         (BLK2): Likewise.
21415         (LEN): Likewise.
21416         (memcmp): Do not use BP_SYM.
21417         (bcmp): Do not use BP_SYM in weak_alias.
21418         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21419         (PARMS): Do not use macros from bp-asm.h.
21420         (S1): Likewise.
21421         (SIZE): Likewise.
21422         (__mpn_mul_1): Do not use BP_SYM.
21423         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21424         "bp-asm.h".
21425         (PARMS): Do not use macros from bp-asm.h.
21426         (STR): Likewise.
21427         (CHR): Likewise.
21428         (__rawmemchr): Do not use BP_SYM.
21429         (rawmemchr): Do not use BP_SYM in weak_alias.
21430         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21431         (PARMS): Do not use macros from bp-asm.h.
21432         (S): Likewise.
21433         (SIZE): Likewise.
21434         (__mpn_rshift): Do not use BP_SYM.
21435         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21436         (PARMS): Do not use macros from bp-asm.h.
21437         (SIGMSK): Likewise.
21438         (__sigsetjmp): Likewise.  Do not use BP_SYM.
21439         * sysdeps/i386/start.S: Do not include "bp-sym.h".
21440         (_start): Do not use BP_SYM.
21441         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21442         (PARMS): Do not use macros from bp-asm.h.
21443         (DEST): Likewise.
21444         (SRC): Likewise.
21445         (__stpcpy): Likewise.  Do not use BP_SYM.
21446         (stpcpy): Do not use BP_SYM in weak_alias.
21447         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21448         "bp-asm.h".
21449         (PARMS): Do not use macros from bp-asm.h.
21450         (DEST): Likewise.
21451         (SRC): Likewise.
21452         (LEN): Likewise.
21453         (__stpncpy): Likewise.  Do not use BP_SYM.
21454         (stpncpy): Do not use BP_SYM in weak_alias.
21455         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21456         (PARMS): Do not use macros from bp-asm.h.
21457         (STR): Likewise.
21458         (CHR): Likewise.
21459         (strchr): Likewise.  Do not use BP_SYM.
21460         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21461         "bp-asm.h".
21462         (PARMS): Do not use macros from bp-asm.h.
21463         (STR): Likewise.
21464         (CHR): Likewise.
21465         (__strchrnul): Likewise.  Do not use BP_SYM.
21466         (strchrnul): Do not use BP_SYM in weak_alias.
21467         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21468         "bp-asm.h".
21469         (PARMS): Do not use macros from bp-asm.h.
21470         (STOP): Likewise.
21471         (strcspn): Do not use BP_SYM.
21472         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21473         "bp-asm.h".
21474         (PARMS): Do not use macros from bp-asm.h.
21475         (STR): Likewise.
21476         (STOP): Likewise.
21477         (strpbrk): Likewise.  Do not use BP_SYM.
21478         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21479         "bp-asm.h".
21480         (PARMS): Do not use macros from bp-asm.h.
21481         (STR): Likewise.
21482         (CHR): Likewise.
21483         (strrchr): Likewise.  Do not use BP_SYM.
21484         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21485         (PARMS): Do not use macros from bp-asm.h.
21486         (SKIP): Likewise.
21487         (strspn): Do not use BP_SYM.
21488         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21489         (PARMS): Do not use macros from bp-asm.h.
21490         (STR): Likewise.
21491         (DELIM): Likewise.
21492         (SAVE): Likewise.
21493         (FUNCTION): Likewise.  Do not use BP_SYM.
21494         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21495         aliases.
21496         (strtok_r): Likewise.
21497         (__GI___strtok_r): Likewise.
21498         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21499         (PARMS): Do not use macros from bp-asm.h.
21500         (S1): Likewise.
21501         (S2): Likewise.
21502         (SIZE): Likewise.
21503         (__mpn_sub_n): Do not use BP_SYM.
21504         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21505         "bp-asm.h".
21506         (PARMS): Do not use macros from bp-asm.h.
21507         (S1): Likewise.
21508         (SIZE): Likewise.
21509         (__mpn_submul_1): Do not use BP_SYM.
21510         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21511         <bp-sym.h>.
21512         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21513         and <bp-asm.h>.
21514         (PARMS): Do not use macros from bp-asm.h.
21515         (FLAGS): Likewise.
21516         (PTID): Likewise.
21517         (TLS): Likewise.
21518         (CTID): Likewise.
21519         (__clone): Do not use BP_SYM.
21520         (clone): Do not use BP_SYM in weak_alias.
21521         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21522         and <bp-asm.h>.
21523         (PARMS): Do not use macros from bp-asm.h.
21524         (LEN): Likewise.
21525         (__mmap64): Do not use BP_SYM.
21526         (mmap64): Do not use BP_SYM in weak_alias.
21527         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21528         <bp-sym.h> and <bp-asm.h>.
21529         (PARMS): Do not use macros from bp-asm.h.
21530         (__posix_fadvise64_l64): Do not use BP_SYM.
21531         * sysdeps/unix/sysv/linux/i386/semtimedop.S
21532         (PARMS): Do not use macros from bp-asm.h.
21533         (NSOPS): Likewise.
21534         (semtimedop): Do not use BP_SYM.
21535         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21536         and <bp-asm.h>.
21537
21538 2013-02-21  Allan McRae  <allan@archlinux.org>
21539
21540         * manual/message.texi (Charset conversion in gettext):
21541         Move @end statement to beginning of line.
21542
21543 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21544
21545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21546         static.
21547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21548         Likewise.
21549
21550         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21551         (denorm): Likewise.
21552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21553         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21554
21555 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21556
21557         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21558         tail-call to the resolved function if pltexit isn't needed.
21559
21560 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21561
21562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21563         or Y being zero as being unlikely.
21564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21565         Likewise.
21566
21567 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
21568
21569         * manual/nss.texi (System Databases and Name Service Switch):
21570         Remove frobnicate @pxref.
21571
21572 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21573
21574         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21575         __attribute__ ((unused)) to __attribute__ ((__unused__)).
21576
21577 2013-02-20  Petr Machata  <pmachata@redhat.com>
21578
21579         * elf/elf.h (R_ARM_TARGET1): New macro.
21580         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21581         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21582         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21583         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21584         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21585         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21586         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21587         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21588         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21589         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21590         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21591         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21592         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21593         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21594         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21595         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21596         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21597         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21598         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21599         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21600         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21601         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21602         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21603         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21604         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21605         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21606         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21607         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21608         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21609         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21610         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21611         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21612         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21613         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21614         (R_ARM_THM_GOT_BREL12): Likewise.
21615         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21616         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21617         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21618         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21619         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21620         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21621         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21622         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21623         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21624
21625 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21626
21627         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21628         __attribute_used__ to __attribute__ ((unused)).
21629
21630 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21631
21632         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21633         powerpc mpa.c.
21634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21635         comment formatting.
21636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21637
21638 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
21639
21640         [BZ #13550]
21641         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21642         Remove macro.
21643         (ENTER): Remove both macro definitions.
21644         (LEAVE): Likewise.
21645         (CHECK_BOUNDS_LOW): Likewise.
21646         (CHECK_BOUNDS_HIGH): Likewise.
21647         (CHECK_BOUNDS_BOTH): Likewise.
21648         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21649         (RETURN_BOUNDED_POINTER): Likewise.
21650         (RETURN_NULL_BOUNDED_POINTER): Likewise.
21651         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21652         (POP_ERRNO_LOCATION_RETURN): Likewise.
21653         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21654         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21655         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21656         macros.
21657         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21658         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21659         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21660         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21661         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21662         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21663         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21664         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21665         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21666         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21667         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21668         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21669         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21670         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21671         removed macros.
21672         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21673         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21674         macros.
21675         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21676         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21677         * sysdeps/i386/i586/memset.S (memset): Likewise.
21678         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21679         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21680         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21681         macros.
21682         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21683         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21684         Change uses of L(2) to L(out).
21685         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21686         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21687         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21688         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21689         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21690         removed macros.
21691         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21692         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21693         macros.
21694         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21695         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21696         (RETURN): Do not use macro LEAVE.
21697         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21698         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21699         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21700         * sysdeps/i386/i686/memset.S (memset): Likewise.
21701         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21702         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21703         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21704         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21705         Likewise.
21706         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21707         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
21708         L(1_2) and L(1_3) into L(1).
21709         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21710         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21711         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21712         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21713         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21714         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21715         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21716         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21717         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21718         macros.
21719         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21720         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21721         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21722         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21723         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21724         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21725         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21726         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21727         * sysdeps/i386/strcspn.S (strcspn): Likewise.
21728         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21729         * sysdeps/i386/strrchr.S (strrchr): Likewise.
21730         * sysdeps/i386/strspn.S (strspn): Likewise.
21731         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21732         conditional code.
21733         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21734         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21735         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21736         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
21737         L(1_3) into L(1_1).
21738         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21739         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21740         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21741         macros.
21742         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21743
21744 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
21745
21746         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21747         macro.
21748
21749 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21750
21751         * math/atest-exp.c (exp_mpn): Remove ROUND.
21752         * math/atest-exp2.c (exp_mpn): Likewise.
21753         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21754
21755         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21756         * stdlib/tst-tls-atexit-lib.c: Likewise.
21757         * stdlib/tst-tls-atexit.c: Likewise.
21758
21759 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21760
21761         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21762         and __attribute_alloc_size__.
21763
21764 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21765
21766         * include/programs/xmalloc.h: Change __attribute_alloc_size to
21767         __attribute_alloc_size__.
21768         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21769         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21770
21771 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21772
21773         * include/programs/xmalloc.h: New file.
21774         * catgets/gencat.c: Include it.
21775         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21776         * elf/pldd.c: Likewise.
21777         * iconv/iconv_charmap.c: Likewise.
21778         * iconv/iconvconfig.c: Likewise.
21779         * iconv/strtab.c: Likewise.
21780         * locale/programs/locale.c: Likewise.
21781         * locale/programs/localedef.h: Likewise.
21782         * locale/programs/simple-hash.c: Likewise.
21783         * nscd/nscd.h: Likewise.
21784         * nss/makedb.c: Likewise.
21785         * sysdeps/generic/ldconfig.h: Likewise.
21786
21787 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21788
21789         * Versions.def: Add GLIBC_2.18.
21790         * include/link.h (struct link_map): New member l_tls_dtor_count.
21791         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21792         (__call_tls_dtors): Likewise.
21793         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21794         __cxa_thread_atexit_impl.
21795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21796         Likewise.
21797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21798         Likewise.
21799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21800         Likewise.
21801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21802         Likewise.
21803         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21805         Likewise.
21806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21807         Likewise.
21808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21810         Likewise.
21811         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21812         (tests): Add test case tst-tls-atexit.
21813         (modules-names): Add shared library for tst-tls-atexit.
21814         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21815         (GLIBC_PRIVATE): Add __call_tls_dtors.
21816         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21817         for libstdc++.
21818         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21819         * stdlib/tst-tls-atexit.c: New test case.
21820         * stdlib/tst-tls-atexit-lib.c: New test case.
21821
21822         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21823
21824         * elf/Versions (ld): Add _dl_find_dso_for_object.
21825         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21826         * elf/dl-open.c (_dl_find_dso_for_object): New function.
21827         (dl_open_worker): Use _dl_find_dso_for_object.
21828         * elf/dl-sym.c (do_sym): Likewise.
21829         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21830
21831 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21832
21833         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21834         Syntactic changes only.
21835         (_dl_runtime_profile): Do a tail-call to the resolved function.
21836
21837 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
21838
21839         [BZ #13550]
21840         * sysdeps/x86_64/bp-asm.h: Remove file.
21841         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21842         <bp-sym.h> and <bp-asm.h>.
21843         (__clone): Do not use BP_SYM.
21844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21845         <bp-sym.h> and <bp-asm.h>.
21846         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21847         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21848         "bp-asm.h".
21849         (_setjmp): Do not use BP_SYM.
21850         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21851         "bp-asm.h".
21852         (setjmp): Do not use BP_SYM.
21853         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21854         libc_hidden_def.
21855         (mempcpy): Do not use BP_SYM in weak_alias.
21856         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21857         "bp-asm.h".
21858         (strchr): Do not use BP_SYM.
21859         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21860         "bp-asm.h".
21861         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21862         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21863         (_start): Do not use BP_SYM.
21864         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21865         "bp-asm.h".
21866         (strcat): Do not use BP_SYM.
21867         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21868         "bp-asm.h".
21869         (STRCMP): Do not use BP_SYM.
21870         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21871         "bp-asm.h".
21872         (STRCPY): Do not use BP_SYM.
21873         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21874         "bp-asm.h".
21875         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21876         "bp-asm.h".
21877         (FUNCTION): Do not use BP_SYM.
21878         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21879         weak_alias.
21880         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21881
21882 2013-02-17  Andreas Jaeger  <aj@suse.de>
21883
21884         * time/Versions: Sort entries.
21885         * string/Versions: Likewise.
21886         * resolv/Versions: Likewise.
21887         * posix/Versions: Likewise.
21888         * iconv/Versions: Likewise.
21889         * elf/Versions: Likewise.
21890         * wcsmbs/Versions: Likewise.
21891
21892 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21893
21894         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21895         loop termination condition.
21896
21897         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21898         variable to calculate EZ.
21899         (__sqr): Likewise.
21900
21901         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21902         the lower precision input.
21903
21904 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
21905
21906         [BZ #13550]
21907         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21908         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21909         (run-via-rtld-prefix): Do not handle %-bp tests.
21910         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21911         (all-object-suffixes): Remove .ob.
21912         (bppfx): Remove variable.
21913         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21914         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21915         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21916         [$(build-bounded) = yes] (libtype.ob): Likewise.
21917         * Makerules (elide-routines.ob): Remove variable.
21918         (do-tests-clean): Do not handle *-bp.out.
21919         (common-mostlyclean): Do not handle *-bp and *-bp.out.
21920         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21921         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21922         (tests): Do not include $(tests-bp.out).
21923         (xtests): Do not include $(xtests-bp.out).
21924         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21925         [$(build-bounded) = yes] ($(addprefix
21926         $(objpfx),$(binaries-bounded))): Remove rule.
21927         ($(objpfx)%-bp.out): Remove rule.
21928         * config.make.in (build-bounded): Remove variable.
21929         * crypt/Makefile [$(build-bounded) = yes]
21930         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21931         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21932         append to variable.
21933         [$(build-bounded) = yes] (install-lib): Likewise.
21934         [$(build-bounded) = yes] (generated): Likewise.
21935         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21936         Remove rule.
21937         * intl/Makefile [$(build-bounded) = yes]
21938         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21939         * math/Makefile [$(build-bounded) = yes]
21940         ($(tests:%=$(objpfx)%-bp): Likewise.
21941         * misc/Makefile [$(build-bounded) = yes]
21942         ($(objpfx)tst-tsearch-bp): Likewise.
21943         * nptl/Makeconfig (bounded-thread-library): Remove variable.
21944         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21945         Remove dependency.
21946         * string/Makefile (o-objects.ob): Remove variable.
21947         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21948         (CFLAGS-.ob): Remove variable.
21949         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21950         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21951         both definitions of variable.
21952         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21953         (ASFLAGS-.ob): Remove variable.
21954
21955 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
21956
21957         [BZ #13550]
21958         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21959         Remove __BOUNDED_POINTERS__ from condition.
21960         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21961         * string/bits/string2.h [!__NO_STRING_INLINES &&
21962         !__BOUNDED_POINTERS__]: Likewise.
21963         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21964         Likewise.
21965         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21966         Remove conditional code.
21967         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21968         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21969         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21970         condition.
21971
21972         [BZ #13550]
21973         * csu/libc-start.c: Do not include <bp-sym.h>.
21974         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21975         * elf/dl-open.c: Do not include <bp-sym.h>.
21976         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21977         * math/fegetenv.c: Do not include <bp-sym.h>.
21978         (fegetenv): Do not use BP_SYM in versioned symbols.
21979         * nptl/sysdeps/pthread/bits/libc-lockP.h
21980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21981         <bp-sym.h>.
21982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21983         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21985         (__pthread_mutex_destroy): Likewise.
21986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21987         (__pthread_mutex_lock): Likewise.
21988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21989         (__pthread_mutex_trylock): Likewise.
21990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21991         (__pthread_mutex_unlock): Likewise.
21992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21993         (__pthread_mutexattr_init): Likewise.
21994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21995         (__pthread_mutexattr_destroy): Likewise.
21996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21997         (__pthread_mutexattr_settype): Likewise.
21998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21999         (__pthread_rwlock_init): Likewise.
22000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22001         (__pthread_rwlock_destroy): Likewise.
22002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22003         (__pthread_rwlock_rdlock): Likewise.
22004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22005         (__pthread_rwlock_tryrdlock): Likewise.
22006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22007         (__pthread_rwlock_wrlock): Likewise.
22008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22009         (__pthread_rwlock_trywrlock): Likewise.
22010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22011         (__pthread_rwlock_unlock): Likewise.
22012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22013         (__pthread_key_create): Likewise.
22014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22015         (__pthread_setspecific): Likewise.
22016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22017         (__pthread_getspecific): Likewise.
22018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22019         Likewise.
22020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22021         (_pthread_cleanup_push_defer): Likewise.
22022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22023         (_pthread_cleanup_pop_restore): Likewise.
22024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22025         (pthread_setcancelstate): Likewise.
22026         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22027         <bp-sym.h>.
22028         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22029         (memchr): Do not use BP_SYM in weak_alias.
22030         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22031         (fegetenv): Do not use BP_SYM in versioned symbols.
22032         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22033         (fesetenv): Do not use BP_SYM in versioned symbols.
22034         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22035         (feupdateenv): Do not use BP_SYM in versioned symbols.
22036         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22037         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22038         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22039         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22040         (open64): Do not use BP_SYM in weak_alias.
22041         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22042         (fegetenv): Do not use BP_SYM in versioned symbols.
22043         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22044         (fesetenv): Do not use BP_SYM in versioned symbols.
22045         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22046         (feupdateenv): Do not use BP_SYM in versioned symbols.
22047         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22048         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22049         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22050         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22051         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22052         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22053         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22054         <bp-sym.h>.
22055         (__libc_start_main): Do not use BP_SYM.
22056
22057 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22058
22059         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22060         redundant return line.
22061         (norm): Likewise.
22062         (denorm): Likewise.
22063         (dbl_mp): Likewise.
22064         (sub_magnitudes): Likewise.
22065         (__add): Likewise.
22066         (__sub): Likewise.
22067         (__mul): Likewise.
22068         (__inv): Likewise.
22069         (__dvd): Likewise.
22070         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22071         (norm): Likewise.
22072         (denorm): Likewise.
22073         (dbl_mp): Likewise.
22074         (sub_magnitudes): Likewise.
22075         (__add): Likewise.
22076         (__sub): Likewise.
22077         (__mul): Likewise.
22078         (__inv): Likewise.
22079         (__dvd): Likewise.
22080
22081         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22082         instead of __mul.
22083         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22084         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22085         (cc32): Likewise.
22086
22087         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22088         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22089         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22090         of __mul for squares.
22091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22092         function
22093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22094         Likewise.
22095         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22096         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22097
22098 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22099
22100         [BZ #13550]
22101         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22102         code.
22103         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22104         prototype or function definition.  Rename ubp_* variables and
22105         parameters.  Remove argv definitions conditional on
22106         [__BOUNDED_POINTERS__].
22107         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22108         * elf/dl-runtime.c (_dl_fixup): Likewise.
22109         * include/set-hooks.h (RUN_HOOK): Likewise.
22110         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22111         definition.
22112         * string/strcpy.c (strcpy): Do not use __unbounded.
22113         * sysdeps/generic/frame.h (struct layout): Likewise.
22114         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22115         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22116         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22117         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22118         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22119         (__backtrace): Likewise.
22120         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22121         use __ptrvalue.
22122         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22123         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22124         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22125         Likewise.
22126         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22127         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22128         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22129         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22130         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22131         Do not use __unbounded.
22132         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22133         Rename __unboundedrlimits parameter to rlimits in prototype.
22134         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22135         Do not use __unbounded.
22136         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22137         not use __ptrvalue.
22138         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22139         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22140         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22141         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22142         __ptrvalue or __unbounded.
22143         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22144         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22145         use __unbounded.
22146         (__new_msgctl): Do not use __ptrvalue.
22147         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22148         __unbounded.
22149         (__libc_msgrcv): Do not use __ptrvalue.
22150         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22151         startup_info): Do not use __unbounded.
22152         (__libc_start_main): Likewise.  Rename ubp_* variables and
22153         parameters.  Remove argv definitions conditional on
22154         [__BOUNDED_POINTERS__].
22155         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22156         __ptrvalue.
22157         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22158         use __unbounded.
22159         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22160         or __ptrvalue.
22161         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22162         use __unbounded.
22163         (__new_shmctl): Do not use __ptrvalue.
22164         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22165         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22166         Likewise.
22167         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22168         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22169         (__libc_sigaction): Likewise.
22170         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22171         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22172         Likewise.
22173         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22174
22175 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22176
22177         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22178
22179         * string/mempcpy.c: Implement by calling memcpy.
22180
22181 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22182
22183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22184
22185         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22186         evaluation.
22187
22188         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22189         values in the mantissa.
22190
22191         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22192         minimize writes to Z.
22193         (sub_magnitudes): Simplify code a bit.
22194
22195 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22196
22197         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22198         from the message.  The linker prefixes all warnings with that already.
22199
22200 2013-02-12  Andreas Schwab  <schwab@suse.de>
22201
22202         [BZ #15078]
22203         * posix/regexec.c (extend_buffers): Add parameter min_len.
22204         (check_matching): Pass minimum needed length.
22205         (clean_state_log_if_needed): Likewise.
22206         (get_subexp): Likewise.
22207         * posix/Makefile (tests): Add bug-regex34.
22208         (bug-regex34-ENV): Define.
22209         * posix/bug-regex34.c: New file.
22210
22211         [BZ #11561]
22212         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22213         elements compare against the byte sequence of it, not its name.
22214         * posix/Makefile (tests): Add bug-regex35.
22215         (bug-regex35-ENV): Define.
22216         * posix/bug-regex35.c: New file.
22217
22218 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22219
22220         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22221         comment.
22222         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22223         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22224         (CHECK_EOL): Add undef.
22225
22226 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22227
22228         * bits/stdlib-bsearch.h: New file.
22229         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22230         * stdlib/stdlib.h: Likewise.
22231
22232 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22233
22234         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22235         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22236         declaration.
22237         * manual/search.texi (Array Search Function): Add missing const in
22238         lfind prototype.
22239         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22240         declaration to use rlim_t.
22241         (Basic Scheduling Functions): Remove erroneous const from
22242         sched_getparam prototype.  Remove erroneous * from
22243         sched_get_priority_max and sched_get_priority_min prototypes.
22244         (Resource Usage): Fix summary @comment on vtimes to refer to
22245         sys/vtimes.h rather than vtimes.h.
22246         Add missing *s in vtimes prototype.
22247         (Limits on Resources): Fix ulimit prototype to return long int.
22248         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22249         prototypes to use long int rather than double.
22250         (BSD Random): Fix initstate and setstate to use char *, not void *.
22251         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22252         prototype to make second argument 'struct aiocb64 *const[]'.
22253         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22254         (Status of AIO Operations): Remove erroneous const in aio_return and
22255         aio_return64 prototypes.
22256         (Synchronizing I/O): Fix sync prototype to return void.
22257         * manual/startup.texi (Suboptions): Remove an erroneous const in
22258         getsubopt prototype.
22259         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22260         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22261         use size_t rather than int.
22262         (Scanning All Users): Likewise for getpwent_r.
22263         (Setting Groups): Add missing const to setgroups prototype.
22264         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22265         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22266         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22267         'const void *' rather than 'const char *'.
22268         (Host Address Functions): Likewise for inet_ntop.
22269         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22270         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22271         ssize_t for return value.
22272         (Sending Data): Likewise for send, sendto, sendmsg.
22273         (Socket Option Functions): Add a missing const in setsockopt prototype.
22274         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22275         use wchar_t for the argument.
22276         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22277         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22278         take no arguments.
22279         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22280         double/float/long double for second argument.
22281         Fix return types of significand, significandf, significandl.
22282         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22283         argument in fchmod prototype.
22284         (File Owner): Use uid_t and gid_t in fchown prototype.
22285         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22286         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22287         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22288         use 'const struct dirent **' as argument types to CMP function pointer
22289         argument.
22290         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22291         (File Times): Fix summary magic @comment for struct utimbuf and utime
22292         to refer to utime.h, not time.h.
22293         * manual/string.texi (Argz Functions): Add missing const in
22294         argz_extract and argz_next prototypes.
22295         (Finding Tokens in a String): Likewise for basename.
22296         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22297         (Copying and Concatenation): Fix typo in wmemmove prototype.
22298         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22299         (Signal Stack): Remove erroneous const in sigstack prototype.
22300         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22301         prototype.
22302         (Simple Calendar Time): Likewise for stime.
22303         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22304         prototype.
22305         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22306         say sys/sysctl.h instead.
22307         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22308         and vsyslog prototypes.
22309
22310 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22311
22312         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22313         Remove.
22314
22315 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22316
22317         * misc/sys/mman.h: Fix typo in mremap comment.
22318
22319 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22320
22321         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22322         the '\0' terminator.
22323
22324 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22325
22326         [BZ #13550]
22327         * debug/segfault.c: Don't include <bp-checks.h>.
22328         * sysdeps/generic/bp-checks.h: Remove file.
22329         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22330         (__GETDENTS): Don't use CHECK_N.
22331         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22332         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22333         (__getgroups): Don't use CHECK_N.
22334         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22335         (setgroups): Don't use CHECK_N.
22336         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22337         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22338         (__libc_msgrcv): Don't use CHECK_N.
22339         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22340         (__libc_msgsnd): Don't use CHECK_N.
22341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22342         <bp-checks.h>.
22343         (__libc_pread): Don't use CHECK_N.
22344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22345         include <bp-checks.h>.
22346         (__libc_pread64): Don't use CHECK_N.
22347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22348         include <bp-checks.h>.
22349         (__libc_pwrite): Don't use CHECK_N.
22350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22351         include <bp-checks.h>.
22352         (__libc_pwrite64): Don't use CHECK_N.
22353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22354         <bp-checks.h>.
22355         (__libc_pread): Don't use CHECK_N.
22356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22357         include <bp-checks.h>.
22358         (__libc_pread64): Don't use CHECK_N.
22359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22360         include <bp-checks.h>.
22361         (__libc_pwrite): Don't use CHECK_N.
22362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22363         include <bp-checks.h>.
22364         (__libc_pwrite64): Don't use CHECK_N.
22365         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22366         (do_pread): Don't use CHECK_N.
22367         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22368         (do_pread64): Don't use CHECK_N.
22369         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22370         (do_pwrite): Don't use CHECK_N.
22371         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22372         (do_pwrite64): Don't use CHECK_N.
22373         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22374         (__libc_readv): Don't use CHECK_N.
22375         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22376         (semop): Don't use CHECK_N.
22377         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22378         <bp-checks.h>.
22379         (semtimedop): Don't use CHECK_N.
22380         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22381         (__libc_pread): Don't use CHECK_N.
22382         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22383         <bp-checks.h>.
22384         (__libc_pread64): Don't use CHECK_N.
22385         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22386         <bp-checks.h>.
22387         (__libc_pwrite): Don't use CHECK_N.
22388         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22389         <bp-checks.h>.
22390         (__libc_pwrite64): Don't use CHECK_N.
22391         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22392         <bp-checks.h>.
22393         (__libc_msgrcv): Don't use CHECK_N.
22394         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22395         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
22396         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22397         (__libc_writev): Don't use CHECK_N.
22398
22399 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22400
22401         * string/strcpy.c: Removed unused variable.
22402
22403         * Makeconfig (+sysdep-includes): Define with := rather than =.
22404         Use an existing include/ subdir of each sysdeps dir before it.
22405
22406 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22407
22408         * nscd/connection.c (register_traced_file): Comment function.
22409         [HAVE_INOTIFY] (union __inev): Define.
22410         [HAVE_INOTIFY] (inotify_check_files): New function.
22411         [HAVE_INOTIFY] (clear_db_cache): Likewise.
22412         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22413         clear_db_cache.
22414         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22415
22416 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22417
22418         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22419         loaded if not already and that a failure is permanent.
22420
22421 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22422
22423         [BZ #15006]
22424         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22425         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22426
22427 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22428
22429         [BZ #13550]
22430         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22431         (CHECK_1_NULL_OK): Likewise.
22432         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22433         (__fxstat): Do not use CHECK_1.
22434         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22435         <bp-checks.h>.
22436         (___fxstat64): Do not use CHECK_1.
22437         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22438         <bp-checks.h>.
22439         (__fxstatat): Do not use CHECK_1.
22440         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22441         <bp-checks.h>.
22442         (__fxstatat64): Do not use CHECK_1.
22443         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22444         <bp-checks.h>.
22445         (__fxstat): Do not use CHECK_1.
22446         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22447         <bp-checks.h>.
22448         (__fxstatat): Do not use CHECK_1.
22449         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22450         <bp-checks.h>.
22451         (__getresgid): Do not use CHECK_1.
22452         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22453         <bp-checks.h>.
22454         (__getresuid): Do not use CHECK_1.
22455         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22456         <bp-checks.h>.
22457         (__lxstat): Do not use CHECK_1.
22458         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22459         <bp-checks.h>.
22460         (__old_msgctl): Do not use CHECK_1.
22461         (__new_msgctl): Likewise.
22462         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22463         <bp-checks.h>.
22464         (__new_setrlimit): Do not use CHECK_1.
22465         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22466         <bp-checks.h>.
22467         (__old_shmctl): Do not use CHECK_1.
22468         (__new_shmctl): Likewise.
22469         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22470         <bp-checks.h>.
22471         (__xstat): Do not use CHECK_1.
22472         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22473         (__lxstat): Do not use CHECK_1.
22474         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22475         <bp-checks.h>.
22476         (___lxstat64): Do not use CHECK_1.
22477         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22478         (__old_msgctl): Do not use CHECK_1.
22479         (__new_msgctl): Likewise.
22480         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22481         <bp-checks.h>.
22482         (__gettimeofday): Do not use CHECK_1.
22483         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22484         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22485         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22486         <bp-checks.h>.
22487         (__gettimeofday): Do not use CHECK_1.
22488         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22489         (__old_shmctl): Do not use CHECK_1_NULL_OK.
22490         (__new_shmctl): Do not use CHECK_1.
22491         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22492         <bp-checks.h>.
22493         (do_sigtimedwait): Do not use CHECK_1.
22494         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22495         <bp-checks.h>.
22496         (do_sigwaitinfo): Do not use CHECK_1.
22497         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22498         <bp-checks.h>.
22499         (msgctl): Do not use CHECK_1.
22500         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22501         <bp-checks.h>.
22502         (shmctl): Do not use CHECK_1.
22503         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22504         (ustat): Do not use CHECK_1.
22505         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22506         <bp-checks.h>.
22507         (__fxstat): Do not use CHECK_1.
22508         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22509         <bp-checks.h>.
22510         (__fxstatat): Do not use CHECK_1.
22511         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22512         <bp-checks.h>.
22513         (__lxstat): Do not use CHECK_1.
22514         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22515         <bp-checks.h>.
22516         (__xstat): Do not use CHECK_1.
22517         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22518         (__xstat): Do not use CHECK_1.
22519         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22520         (___xstat64): Do not use CHECK_1.
22521
22522         [BZ #13550]
22523         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22524         definitions.
22525         (CHECK_BOUNDS_HIGH): Likewise.
22526         * string/strcpy.c: Do not include <bp-checks.h>.
22527         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22528
22529 2013-02-07  Roland McGrath  <roland@hack.frob.com>
22530
22531         * nscd/nscd-client.h (__nscd_drop_map_ref):
22532         Add __attribute__ ((unused)).
22533         * nis/nss-nisplus.h (niserr2nss): Likewise.
22534
22535         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22536         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22537
22538         * csu/libc-tls.c (init_static_tls, init_slotinfo):
22539         Remove inline keyword.
22540         * include/rounding-mode.h (round_away): Likewise.
22541         * libio/wfileops.c (adjust_wide_data): Likewise.
22542         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22543         (__m128i_strloadu_tolower): Likewise.
22544         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22545         (__m128i_strloadu_tolower): Likewise.
22546         * time/mktime.c (ydhms_diff): Likewise.
22547         * locale/elem-hash.h (elem_hash): Likewise.
22548         * locale/setlocale.c (setdata): Likewise.
22549         * posix/regex_internal.h (re_string_char_size_at): Likewise.
22550         (re_string_wchar_at): Likewise.
22551         (bitset_not, bitset_merge, bitset_mask): Likewise.
22552         [!(__GNUC__ > 3)] (inline): Remove macro.
22553         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22554         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22555         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22556         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22557         * string/memcmp.c (memcmp_bytes): Likewise.
22558         * locale/programs/locarchive.c (compute_hashval): Likewise.
22559         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22560         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22561         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22562         * nss/getent.c (print_rpc, print_protocols): Likewise.
22563         (print_passwd, print_group, print_aliases): Likewise.
22564         * nis/nss-nisplus.h (niserr2nss): Likewise.
22565         * nscd/connections.c (restart_p): Likewise.
22566         Change return type to bool.
22567
22568 2013-02-05  Roland McGrath  <roland@hack.frob.com>
22569
22570         * Makeconfig (all-Depend-files): Add existing
22571         $(sorted-subdirs:=/Depend) files.
22572         (all-subdirs): Remove nss.
22573         * sysdeps/unix/inet/Subdirs: Add it here instead.
22574         * hesiod/Depend: New file.
22575
22576         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22577         instead of calling alloca.
22578
22579         * io/lseek.c (__lseek): Rename to __libc_lseek.
22580         Define __lseek as an alias.
22581
22582         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22583
22584 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
22585
22586         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22587         else clause and remove check for non-standard endianness.
22588
22589 2013-02-04  David S. Miller  <davem@davemloft.net>
22590
22591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22592
22593 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
22594
22595         [BZ #13550]
22596         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22597         (__ubp_memchr): Remove prototype.
22598         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22599         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22600         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22601         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22602         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22603         Remove alias.
22604         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22605         (__ubp_memchr): Likewise.
22606         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22607         (__ubp_memchr): Likewise.
22608         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22609         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22610         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22611         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22612         CHECK_STRING.
22613         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22614         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22615         (__getcwd): Do not use CHECK_STRING.
22616         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22617         <bp-checks.h>.
22618         (__real_chown): Do not use CHECK_STRING.
22619         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22620         <bp-checks.h>.
22621         (fchownat): Do not use CHECK_STRING.
22622         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22623         CHECK_STRING.
22624         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22625         <bp-checks.h>.
22626         (__lchown): Do not use CHECK_STRING.
22627         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22628         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22629         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22630         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22632         include <bp-checks.h>.
22633         (truncate64): Do not use CHECK_STRING.
22634         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22635         <bp-checks.h>.
22636         (__real_chown): Do not use CHECK_STRING.
22637         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22638         <bp-checks.h>.
22639         (__lchown): Do not use CHECK_STRING.
22640         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22641         <bp-checks.h>.
22642         (__chown): Do not use CHECK_STRING.
22643         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22644         <bp-checks.h>.
22645         (truncate64): Do not use CHECK_STRING.
22646         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22647         Likewise.
22648         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22649         (__xmknod): Do not use CHECK_STRING.
22650         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22651         <bp-checks.h>.
22652         (__xmknodat): Do not use CHECK_STRING.
22653         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22654         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22655
22656 2013-02-04  Andreas Schwab  <schwab@suse.de>
22657
22658         [BZ #14142]
22659         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22660         * include/netdb.h: Likewise for h_errno.
22661         * elf/tst-stackguard1.c: Include <tls.h>.
22662
22663 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
22664
22665         * elf/link.h (struct link_map): Extend the l_addr comment.
22666         * include/link.h (struct link_map): Likewise.
22667
22668 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
22669
22670         [BZ #13550]
22671         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22672         (BOUNDED_1): Remove macro.
22673         * debug/backtrace.c: Don't include <bp-checks.h>.
22674         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22675         (__backtrace): Likewise.
22676         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22677         <bp-checks.h>.
22678         (__backtrace): Don't use BOUNDED_1.
22679         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22680         <bp-checks.h>.
22681         (__backtrace): Don't use BOUNDED_1.
22682         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22683         (__backtrace): Don't use BOUNDED_1.
22684         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22685         (shmat): Don't use BOUNDED_N.
22686
22687 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
22688
22689         [BZ #13550]
22690         * sysdeps/generic/bp-start.h: Remove file.
22691         * csu/libc-start.c: Don't include <bp-start.h>.
22692         (LIBC_START_MAIN): Set up __environ directly instead of using
22693         INIT_ARGV_and_ENVIRON.
22694         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22695         <bp-start.h>.
22696
22697         [BZ #13550]
22698         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22699         definitions.
22700         (CHECK_FCNTL): Likewise.
22701         (CHECK_N_PAGES): Likewise.
22702
22703         [BZ #13550]
22704         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22705         definitions.
22706         (CHECK_SIGSET_NULL_OK): Likewise.
22707         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22708         <bp-checks.h>.
22709         (sigpending): Don't use CHECK_SIGSET.
22710         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22711         <bp-checks.h>.
22712         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22713         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22714         <bp-checks.h>.
22715         (do_sigsuspend): Don't use CHECK_SIGSET.
22716         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22717         use CHECK_SIGSET.
22718         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22719         (do_sigwait): Don't use CHECK_SIGSET.
22720         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22721         use CHECK_SIGSET.
22722         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22723         include <bp-checks.h>.
22724         (sigpending): Don't use CHECK_SIGSET.
22725         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22726         include <bp-checks.h>.
22727         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22728         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22729         <bp-checks.h>.
22730         (sigpending): Don't use CHECK_SIGSET.
22731         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22732         <bp-checks.h>.
22733         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22734
22735         [BZ #13550]
22736         * sysdeps/generic/bp-semctl.h: Remove file.
22737         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22738         <bp-checks.h> and <bp-semctl.h>.
22739         (__old_semctl): Don't use CHECK_SEMCTL.
22740         (__new_semctl): Likewise.
22741         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22742         and <bp-semctl.h>.
22743         (__old_semctl): Don't use CHECK_SEMCTL.
22744         (__new_semctl): Likewise.
22745         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22746         <bp-checks.h> and <bp-semctl.h>.
22747         (__old_semctl): Don't use CHECK_SEMCTL.
22748         (__new_semctl): Likewise.
22749         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22750         <bp-checks.h> and <bp-semctl.h>.
22751         (semctl): Don't use CHECK_SEMCTL.
22752
22753         [BZ #13550]
22754         * Makerules (elide-bp-thunks): Remove variable.
22755         (elide-routines.oS): Don't use $(elide-bp-thunks).
22756         (elide-routines.os): Likewise.
22757         (elide-routines.o): Likewise.
22758         (elide-routines.op): Likewise.
22759         (elide-routines.og): Likewise.
22760         (objects): Don't use $(bp-thunks).
22761         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22762         include.
22763         (common-generated): Do not add s-proto-bp.d.
22764         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22765         (int): Likewise.
22766         (typ): Likewise.
22767         Do not generate makefile rules for bounded-pointer thunks.
22768         * sysdeps/generic/bp-thunks.h: Remove file.
22769         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22770         * sysdeps/unix/s-proto-bp.S: Likewise.
22771
22772         [BZ #15062]
22773         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22774         parts of result separately when argument is not close to line from
22775         -i to i and one part of argument is small.
22776         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22777         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22778         * math/libm-test.inc (cacos_test): Add more tests.
22779         (casin_test): Likewise.
22780         (casinh_test): Likewise.
22781         * sysdeps/i386/fpu/libm-test-ulps: Update.
22782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22783
22784 2013-01-31  David S. Miller  <davem@davemloft.net>
22785
22786         * po/de.po: Update from translation team.
22787
22788 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
22789
22790         * time/tzfile.c: Include stdint.h for SIZE_MAX.
22791
22792 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
22793
22794         * configure.in (_AC_PROG_CC_C89): New definition.
22795         * configure: Regenerate.
22796
22797         * configure.in (AC_PROG_CPP): New definition.
22798         * configure: Regenerate.
22799
22800 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22801
22802         * debug/tst-backtrace.h: New file.
22803         * debug/tst-backtrace2.c: Include tst-backtrace.h.
22804         (ret): Remove variable.
22805         (x): Likewise.
22806         (FAIL): Remove macro.
22807         (NO_INLINE): Likewise.
22808         (fn1): Use match function instead of strstr.
22809         * debug/tst-backtrace3.c: Include tst-backtrace.h.
22810         (ret): Remove variable.
22811         (x): Likewise.
22812         (FAIL): Remove macro.
22813         (NO_INLINE): Likewise.
22814         (fn): Use match function instead of strstr.
22815         * debug/tst-backtrace4.c: Include tst-backtrace.h.
22816         (ret): Remove variable.
22817         (x): Likewise.
22818         (FAIL): Remove macro.
22819         (NO_INLINE): Likewise.
22820         (handle_signal): Use match function instead of strstr.
22821         * debug/tst-backtrace5.c: Include tst-backtrace.h.
22822         (ret): Remove variable.
22823         (x): Likewise.
22824         (FAIL): Remove macro.
22825         (NO_INLINE): Likewise.
22826         (handle_signal): Use match function instead of strstr.
22827
22828 2013-01-23  Roland McGrath  <roland@hack.frob.com>
22829
22830         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22831
22832 2013-01-23  David S. Miller  <davem@davemloft.net>
22833
22834         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22835         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22836         argument of CAS if possible.
22837         * sysdeps/sparc/sparc64/bits/atomic.h
22838         (__arch_compare_and_exchange_val_32_acq): Likewise.
22839         (__arch_compare_and_exchange_val_64_acq): Likewise.
22840
22841 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
22842
22843         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22844         * sysdeps/posix/ulimit.c: ... this.
22845         Include <limits.h>.
22846         * sysdeps/unix/bsd/ulimit.c: Remove file.
22847
22848 2013-01-23  Adam Conrad  <adconrad@0c3.net>
22849
22850         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22851         (LDFLAGS-tst-array5): Likewise.
22852
22853 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22854
22855         [BZ #15036]
22856         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22857         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22858         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22859         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22860
22861 2013-01-21  David S. Miller  <davem@davemloft.net>
22862
22863         * sysdeps/sparc/backtrace.c: New file.
22864         * sysdeps/sparc/sparc32/backtrace.h: New file.
22865         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22866         * sysdeps/sparc/sparc64/backtrace.h: New file.
22867         * sysdeps/sparc/sparc64/backtrace.c: Delete.
22868         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22869         -funwind-tables.
22870
22871 2013-01-21  Andreas Schwab  <schwab@suse.de>
22872
22873         [BZ #15020]
22874         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22875         closed its stdout.
22876
22877 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
22878
22879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22880         "mpa2.h".
22881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22882
22883 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
22884             Mark Mitchell  <mark@codesourcery.com>
22885             Tom de Vries  <tom@codesourcery.com>
22886             Paul Pluzhnikov  <ppluzhnikov@google.com>
22887
22888         * debug/tst-backtrace2.c: New file.
22889         * debug/tst-backtrace3.c: Likewise.
22890         * debug/tst-backtrace4.c: Likewise.
22891         * debug/tst-backtrace5.c: Likewise.
22892         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22893         (CFLAGS-tst-backtrace3.c): Likewise.
22894         (CFLAGS-tst-backtrace4.c): Likewise.
22895         (CFLAGS-tst-backtrace5.c): Likewise.
22896         (LDFLAGS-tst-backtrace2): Likewise.
22897         (LDFLAGS-tst-backtrace3): Likewise.
22898         (LDFLAGS-tst-backtrace4): Likewise.
22899         (LDFLAGS-tst-backtrace5): Likewise.
22900         (tests): Add new tests tst-backtrace2, tst-backtrace3,
22901         tst-backtrace4 and tst-backtrace5.
22902
22903 2013-01-18  Anton Blanchard  <anton@samba.org>
22904             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22905
22906         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22907         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22908         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22909         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22911         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22912         "+r" and remove output regs list as redundant.  Add explicit inline
22913         asm to specify register of return val to work around compiler codegen
22914         bug.  Remove (int) cast on return value.  Add return type parameter to
22915         use in macro so that this macro does not truncate return value for
22916         64-bit values.
22917         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22918         pass to INTERNAL_VSYSCALL_NCS.
22919         (INLINE_VSYSCALL): Add 'long int' as return type to
22920         INTERNAL_VSYSCALL_NCS macro invocation.
22921         (INTERNAL_VSYSCALL): Add 'long int' as return type to
22922         INTERNAL_VSYSCALL_NCS macro invocation.
22923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22924
22925 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22926
22927         [BZ #14496]
22928         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22929         Fix application of SIMD FP exception mask.
22930
22931         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22932         mp_no from a power of two.
22933         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22934         __mpexp_twomm1.  Use __pow_mp.
22935
22936         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22937         multiplication.
22938
22939 2013-01-17  David S. Miller  <davem@davemloft.net>
22940
22941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22942
22943 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22944
22945         [BZ #15023]
22946         * include/complex.h: Condition contents on [!_COMPLEX_H].
22947         (__kernel_casinhf): New prototype.
22948         (__kernel_casinh): Likewise.
22949         (__kernel_casinhl): Likewise.
22950         * math/Makefile (libm_calls): Add k_casinh.
22951         * math/k_casinh.c: New file.
22952         * math/k_casinhf.c: Likewise.
22953         * math/k_casinhl.c: Likewise.
22954         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22955         finite nonzero arguments.
22956         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22957         finite nonzero arguments.
22958         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22959         finite nonzero arguments.
22960         * math/s_casinh.c: Do not include <float.h>.
22961         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22962         * math/s_casinhf.c: Do not include <float.h>.
22963         (__casinhf): Move code for finite nonzero arguments to
22964         k_casinhf.c.
22965         * math/s_casinhl.c: Do not include <float.h>.
22966         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22967         redefine.
22968         (__casinhl): Move code for finite nonzero arguments to
22969         k_casinhl.c.
22970         * math/libm-test.inc (cacos_test): Add more tests.
22971         * sysdeps/i386/fpu/libm-test-ulps: Update.
22972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22973
22974 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
22975
22976         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22977         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22978         [!HAVE_MREMAP]: Remove [defined linux] case.
22979         * malloc/arena.c: Do not include <malloc-sysdep.h>.
22980
22981 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22982
22983         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22984
22985 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
22986
22987         * elf/elf.h (R_386_SIZE32): New relocation.
22988         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22989         R_386_SIZE32.
22990         (elf_machine_rela): Likewise.
22991         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22992         R_X86_64_SIZE64 and R_X86_64_SIZE32.
22993
22994 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22995
22996         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22997         (FP_FAST_FMA): Do not define.
22998         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22999         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23000         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23001         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23002         !_SOFT_FLOAT]: Likewise.
23003         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23004         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23005         value.
23006         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23007         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23008         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23009         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23010         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23011         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23012         file.
23013
23014 2013-01-16  Andreas Schwab  <schwab@suse.de>
23015
23016         [BZ #14327]
23017         * include/stdlib.h (__mktemp): Add declaration.
23018         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23019         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23020
23021 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23022
23023         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23024         definitions.
23025         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23026         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23027         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23028         definitions here.
23029         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23030         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23031         definitions.
23032         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23033         and ONE.
23034         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23035         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23036         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23037         definitions.
23038         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23039         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23040         definitions.
23041         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23042
23043         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23044
23045 2013-01-15  David S. Miller  <davem@davemloft.net>
23046
23047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23048         trunc{,f} to libm-sysdep_routes.
23049         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23051         file.
23052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23054         file.
23055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23056         file.
23057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23059         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23060         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23061         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23062         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23063         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23064         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23065
23066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23067         nearbyint{,f} to libm-sysdep_routes.
23068         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23070         New file.
23071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23072         file.
23073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23074         New file.
23075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23076         file.
23077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23079         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23080         file.
23081         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23082         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23083         file.
23084         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23085         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23086         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23087
23088         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23089         libc_feholdexcept and libc_fesetenv.
23090
23091 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23092
23093         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23094
23095 2013-01-14  David S. Miller  <davem@davemloft.net>
23096
23097         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23098         (SPARC_ASM_VIS2_IFUNC): Likewise.
23099         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23101         use of 'siam' instruction.
23102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23103         Likewise.
23104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23105         Likewise.
23106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23107         Likewise.
23108         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23109         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23110         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23111         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23113         file.
23114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23115         file.
23116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23117         file.
23118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23119         file.
23120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23122         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23125         new VIS2 routines.
23126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23129         Likewise.
23130         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23131         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23132         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23133         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23135         routines to libm-sysdep_routines.
23136         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23137
23138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23139         fdim/fdimf to libm-sysdep_routines.
23140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23141         file.
23142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23144         file.
23145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23148         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23149         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23150         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23151         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23152
23153 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23154
23155         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23156         to optimize copies.
23157
23158         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23160         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23161
23162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23163         local variable MPTWO.
23164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23165         Likewise.
23166
23167 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23168
23169         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23170         GLOB_NOESCAPE.
23171
23172 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23173
23174         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23175
23176 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23177
23178         * manual/pattern.texi (glob_t): Document gl_flags.
23179         (glob64_t): Likewise.
23180
23181 2013-01-11  David S. Miller  <davem@davemloft.net>
23182
23183         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23184         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23185         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23186         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23187         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23188         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23189         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23190         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23191         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23192         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23193         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23194         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23195         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23196
23197         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23198         sparc V9 rather than using V8 code.
23199         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23200         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23201
23202         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23203         Move to...
23204         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23205         Here.
23206
23207 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23208
23209         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23210         not in the main loop.
23211         * configure: Regenerated.
23212
23213 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23214
23215         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23216         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23217         to just #else.
23218         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23219         [!__GLIBC_HAVE_LONG_LONG] case.
23220         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23221         condition to just #else.
23222         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23223         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23224         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23225         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23226         unconditional.
23227         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23228         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23229         #elif condition to just #else.
23230         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23231         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23232         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23233         #elif condition to just #else.
23234
23235 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23236
23237         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23238         (EF_MIPS_ARCH_64): Fix value.
23239         (EF_MIPS_ARCH_32R2): New.
23240         (EF_MIPS_ARCH_64R2): New.
23241
23242 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23243
23244         * Makeconfig (+link-pie-before-libc): New.
23245         (+link-pie-after-libc): Likewise.
23246         (+link-pie-tests): Likewise.
23247         (+link-pie): Rewritten.
23248         (link-before-libc): Remove $(config-LDFLAGS).
23249         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23250         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23251         (config-LDFLAGS): Renamed to ...
23252         (rtld-LDFLAGS): This.
23253         (rtld-tests-LDFLAGS): New macro.
23254         (link-libc-rpath-link): Likewise.
23255         (link-libc-tests-rpath-link): Likewise.
23256         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23257         (link-libc): Prepand $(link-libc-rpath-link).
23258         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23259         (test-program-prefix): New macro.
23260         (test-via-rtld-prefix): Likewise.
23261         (test-program-cmd): Likewise.
23262         (host-test-program-cmd): Likewise.
23263         * Makefile ($(common-objpfx)testrun.sh): Replace
23264         $(run-program-prefix) with $(test-program-prefix).
23265         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23266         $(rtld-LDFLAGS).
23267         ($(common-objpfx)shlib.lds): Likewise.
23268         (build-module-helper): Likewise.
23269         ($(common-objpfx)format.lds): Likewise.
23270         * Rules (binaries-pie-tests): New.
23271         (binaries-pie-notests): Likewise.
23272         (binaries-pie): Rewritten.
23273         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23274         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23275         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23276         (make-test-out): Replace $(host-built-program-cmd) with
23277         $(host-test-program-cmd).
23278         * config.make.in (build-hardcoded-path-in-tests): New variable.
23279         * configure.in (--enable-hardcoded-path-in-tests): New configure
23280         option.
23281         (hardcoded_path_in_tests): New AC_SUBST.
23282         * configure: Regenerated.
23283         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23284         $(built-program-cmd) with $(test-program-cmd).
23285         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23286         (test_program_cmd): This.
23287         * elf/Makefile ($(objpfx)order.out): Run test with
23288         $(test-program-prefix).
23289         ($(objpfx)order2.out): Likewise.
23290         ($(objpfx)tst-initorder.out): Likewise.
23291         ($(objpfx)tst-initorder2.out): Likewise.
23292         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23293         $(test-program-cmd).
23294         ($(objpfx)tst-array1-static.out): Likewise.
23295         ($(objpfx)tst-array2.out): Likewise.
23296         ($(objpfx)tst-array3.out): Likewise.
23297         ($(objpfx)tst-array4.out): Likewise.
23298         ($(objpfx)tst-array5.out): Likewise.
23299         ($(objpfx)tst-array5-static.out): Likewise.
23300         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23301         $(test-program-cmd).
23302         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23303         $(run-program-prefix) with $(test-program-prefix).
23304         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23305         (test_program_prefix): This.
23306         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23307         $(run-program-prefix) with $(test-program-prefix).
23308         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23309         (test_program_prefix): This.
23310         * iconvdata/tst-tables.sh: Likewise.
23311         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23312         $(run-program-prefix) with $(test-program-prefix).
23313         ($(objpfx)tst-translit.out): Likewise.
23314         ($(objpfx)tst-gettext2.out): Likewise.
23315         ($(objpfx)tst-gettext4.out): Likewise.
23316         ($(objpfx)tst-gettext6.out): Likewise.
23317         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23318         (test_program_prefix): This.
23319         * intl/tst-gettext2.sh: Likewise.
23320         * intl/tst-gettext4.sh  Likewise.
23321         * intl/tst-gettext6.sh: Likewise.
23322         * intl/tst-translit.sh: Likewise.
23323         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23324         with $(test-program-cmd).
23325         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23326         $(run-program-prefix) with $(test-program-prefix).
23327         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23328         (test_program_prefix): This.
23329         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23330         $(run-program-prefix) with $(test-program-prefix).
23331         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23332         (test_program_prefix): This.
23333         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23334         * posix/Makefile ($(objpfx)globtest.out): Replace
23335         $(run-via-rtld-prefix) and $(test-wrapper) with
23336         $(test-program-prefix) and $(test-via-rtld-prefix).
23337         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23338         $(test-program-prefix).
23339         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23340         $(host-test-program-cmd).
23341         (tst-spawn-ARGS): Likewise.
23342         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23343         $(test-program-prefix).
23344         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23345         (test_via_rtld_prefix): This.
23346         (test_wrapper): Renamed to ...
23347         (test_program_prefix): This.
23348         (run_program_prefix): Replaced by test_program_prefix.
23349         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23350         (test_program_prefix): This.
23351         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23352         with $(host-test-program-cmd).
23353         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23354         $(run-program-prefix) with $(test-program-prefix).
23355         ($(objpfx)tst-printf.out): Likewise.
23356         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23357         $(test-program-cmd).
23358         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23359         (test_program_prefix): This.
23360         * stdio-common/tst-unbputc.sh: Likewise.
23361         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23362         $(run-program-prefix) with $(test-program-prefix).
23363         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23364         (test_program_prefix): This.
23365         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23366         $(built-program-cmd) with $(test-program-cmd).
23367
23368 2013-01-11  Andreas Jaeger  <aj@suse.de>
23369
23370         [BZ #15003]
23371         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23372         value. Sync with Linux 3.7.
23373
23374 2013-01-10  David S. Miller  <davem@davemloft.net>
23375
23376         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23377         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23378         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23379
23380 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23381
23382         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23383         never set.
23384         * configure: Regenerated.
23385
23386 2013-01-10  David S. Miller  <davem@davemloft.net>
23387
23388         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23389         sparc V9 rather than using V8 code.
23390         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23391         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23392
23393 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23394
23395         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23396         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23397         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23398         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23399         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23400         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23401         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23402         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23403         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23404         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23405         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23406         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23407         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23408         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23409         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23410         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23411         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23412         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23413         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23414         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23415         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23416         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23417         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23418         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23419         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23420         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23421         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23422
23423 2013-01-10  David S. Miller  <davem@davemloft.net>
23424
23425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23426
23427 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23428
23429         * posix/Makefile (tests-static): New variable.
23430         (tests): Add $(tests-static).
23431         (tst-exec-static-ARGS): New variable.
23432         (tst-spawn-static-ARGS): Likewise.
23433         * posix/tst-exec-static.c: New file.
23434         * posix/tst-spawn-static.c: Likewise.
23435         * posix/tst-exec.c: Support run directly.
23436         * posix/tst-spawn.c: Likewise.
23437
23438 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
23439
23440         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23441         long.
23442         * math/bits/mathcalls.h (llrint): Likewise.
23443         (llround): Likewise.
23444         * stdlib/stdlib.h (struct drand48_data): Likewise.
23445         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23446         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23447         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23448         Likewise.
23449         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23450         Likewise.
23451         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23452         (elf_greg_t): Likewise.
23453         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23454         (__jmp_buf): Likewise.
23455         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23456         definitions.
23457         (llrint): Likewise, for all definitions.
23458         (llrintl): Likewise.
23459
23460         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23461         Remove [__GNUC__] condition.
23462         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23463         condition to just [__USE_ISOC99].
23464         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23465
23466 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23467
23468         [BZ #14200]
23469         * sysdeps/unix/sysv/linux/x86/bits/environments.h
23470         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23471         defined.
23472         (_POSIX_V6_ILP32_OFF32): Likewise.
23473         (_XBS5_ILP32_OFF32): Likewise.
23474         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23475         (__ILP32_OFFBIG_LDFLAGS): Likewise.
23476
23477 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23478
23479         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23480
23481         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23482         doubles __mpexp_twomm1.  Adjust usage.
23483         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23484         Remove.
23485
23486 2013-01-10  Andreas Schwab  <schwab@suse.de>
23487
23488         [BZ #14964]
23489         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23490         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23491
23492 2013-01-09  David S. Miller  <davem@davemloft.net>
23493
23494         [BZ #15003]
23495         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23496         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23497         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23498         (TCP_FASTOPEN): Define.
23499         (tcp_repair_opt): New structure.
23500         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23501         enum values.
23502         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23503         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23504         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23505         (tcp_cookie_transactions): New structure.
23506
23507 2013-01-09  Anton Blanchard  <anton@samba.org>
23508
23509         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23510         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23511         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23512         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23513
23514 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
23515
23516         * include/features.h (__USE_ANSI): Remove.
23517
23518 2013-01-09  Roland McGrath  <roland@hack.frob.com>
23519
23520         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23521
23522         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23523
23524 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23525
23526         * sysdeps/s390/fpu/libm-test-ulps: Update.
23527
23528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23529
23530         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23531         (__acr): Likewise.
23532         (__cpy): Likewise.
23533         (norm): Likewise.
23534         (denorm): Likewise.
23535         (__mp_dbl): Likewise.
23536         (__dbl_mp): Likewise.
23537         (add_magnitudes): Likewise.
23538         (sub_magnitudes): Likewise.
23539         (__add): Likewise.
23540         (__sub): Likewise.
23541         (__mul): Likewise.
23542         (__inv): Likewise.
23543         (__dvd): Likewise.
23544         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23545         (__acr): Likewise.
23546         (__cpy): Likewise.
23547         (norm): Likewise.
23548         (denorm): Likewise.
23549         (__mp_dbl): Likewise.
23550         (__dbl_mp): Likewise.
23551         (add_magnitudes): Likewise.
23552         (sub_magnitudes): Likewise.
23553         (__add): Likewise.
23554         (__sub): Likewise.
23555         (__mul): Likewise.
23556         (__inv): Likewise.
23557         (__dvd): Likewise.
23558         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23559         (__acr): Likewise.
23560         (__cpy): Likewise.
23561         (norm): Likewise.
23562         (denorm): Likewise.
23563         (__mp_dbl): Likewise.
23564         (__dbl_mp): Likewise.
23565         (add_magnitudes): Likewise.
23566         (sub_magnitudes): Likewise.
23567         (__add): Likewise.
23568         (__sub): Likewise.
23569         (__mul): Likewise.
23570         (__inv): Likewise.
23571         (__dvd): Likewise.
23572
23573 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
23574
23575         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23576         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23577         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23578         2 && __USE_EXTERN_INLINES]: Likewise.
23579
23580 2013-01-08  Andreas Jaeger  <aj@suse.de>
23581
23582         [BZ# 14985]
23583         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23584         Remove.
23585         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23586         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23587
23588 2013-01-07  Anton Blanchard  <anton@samba.org>
23589
23590         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23591         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23592         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23593         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23594         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23595         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23596         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23597         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23599         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23600         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23601         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23602         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23603         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23604         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23605         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23606         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23607         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23608         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23609         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23610         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23611         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23612         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23613         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23614         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23615         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23616         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23617         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23618         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23619         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23620         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23621         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23622         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23623         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23624         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23625         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23626         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23627         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23628         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23629         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23630         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23631         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23632         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23633
23634 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
23635
23636         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23637         (__MALLOC_PMT): Likewise.
23638         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23639         [__GNUC__], only on [_LIBC].
23640         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23641         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23642         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23643         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23644         forward declaration.
23645         (realloc_hook_ini): Likewise.
23646         (memalign_hook_ini): Likewise.
23647         (__libc_memalign): Do not use __MALLOC_PMT in variable
23648         declaration.
23649         (__libc_valloc): Likewise.
23650         (__libc_pvalloc): Likewise.
23651         (__libc_calloc): Likewise.
23652         (__posix_memalign): Likewise.
23653
23654         [BZ #14996]
23655         * math/s_casinh.c: Include <float.h>.
23656         (__casinh): Do not do computation with squaring and square root
23657         for large arguments.
23658         * math/s_casinhf.c: Include <float.h>.
23659         (__casinhf): Do not do computation with squaring and square root
23660         for large arguments.
23661         * math/s_casinhl.c: Include <float.h>.
23662         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23663         (__casinhl): Do not do computation with squaring and square root
23664         for large arguments.
23665         * math/libm-test.inc (casin_test): Add more tests.
23666         (casinh_test): Likewise.
23667         * sysdeps/i386/fpu/libm-test-ulps: Update.
23668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23669
23670 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
23671
23672         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23673         (__x86_64_raw_data_cache_size): Likewise.
23674         (__x86_64_data_cache_size_half): Likewise.
23675         (__x86_64_raw_data_cache_size_half): Likewise.
23676         (__x86_64_shared_cache_size): Likewise.
23677         (__x86_64_raw_shared_cache_size): Likewise.
23678         (__x86_64_shared_cache_size_half): Likewise.
23679         (__x86_64_raw_shared_cache_size_half): Likewise.
23680         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23681         to ...
23682         (__x86_data_cache_size): This.
23683         (__x86_64_raw_data_cache_size): Renamed to ...
23684         (__x86_raw_data_cache_size): This.
23685         (__x86_64_data_cache_size_half): Renamed to ...
23686         (__x86_data_cache_size_half): This.
23687         (__x86_64_raw_data_cache_size_half): Renamed to ...
23688         (__x86_raw_data_cache_size_half): This.
23689         (__x86_64_shared_cache_size): Renamed to ...
23690         (__x86_shared_cache_size): This.
23691         (__x86_64_raw_shared_cache_size): Renamed to ...
23692         (__x86_raw_shared_cache_size): This.
23693         (__x86_64_shared_cache_size_half): Renamed to ...
23694         (__x86_shared_cache_size_half): This.
23695         (__x86_64_raw_shared_cache_size_half): Renamed to ...
23696         (__x86_raw_shared_cache_size_half): This.
23697         * sysdeps/x86_64/memcpy.S: Updated.
23698         * sysdeps/x86_64/memset.S: Likewise.
23699         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23700         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23701         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23702
23703 2013-01-04  David S. Miller  <davem@davemloft.net>
23704
23705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23706
23707 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
23708
23709         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23710         1 to avoid redefinition warning.
23711         (__USE_GNU): Don't define.
23712         (init_signaling_nan): Protoize.
23713
23714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23715
23716 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23717
23718         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23719         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23720         (__cpymn): Likewise.
23721         (norm): Remove commented code.
23722         (denorm): Likewise.
23723         (__mp_dbl): Likewise.
23724         (__inv): Likewise.
23725         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23726         (__cpymn): Likewise.
23727         (norm): Remove commented code.
23728         (denorm): Likewise.
23729         (__mp_dbl): Likewise.
23730         (__inv): Likewise.
23731
23732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23733         mp_no value for 1.0 and 2.0.
23734         (norm): Use RADIXI instead of radixi.d.
23735         (denorm): Likewise.
23736         (__mul): Use 0.0 instead of zero.d.
23737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23738         mp_no value for 1.0 and 2.0.
23739         (norm): Use RADIXI instead of radixi.d.
23740         (denorm): Likewise.
23741         (__mul): Use 0.0 instead of zero.d.
23742
23743 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
23744
23745         [BZ #14994]
23746         * math/s_casinh.c (__casinh): Reduce finite argument to first
23747         quadrant then set signs of results at the end.
23748         * math/s_casinhf.c (__casinhf): Likewise.
23749         * math/s_casinhl.c (__casinhl): Likewise.
23750         * math/libm-test.inc (casin_test): Add more tests.
23751         (casinh_test): Likewise.
23752         * sysdeps/i386/fpu/libm-test-ulps: Update.
23753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23754
23755 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23756
23757         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23758
23759         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23760
23761         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23762         declarations.
23763         (denorm): Likewise.
23764         (__mp_dbl): Likewise.
23765         (__inv): Likewise.
23766
23767         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23768         and adjust the header comment.
23769
23770         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23771         variable name from declaration.
23772
23773 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
23774
23775         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23776         Initialize COMMON_CPUID_INDEX_7 element.
23777         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23778         (CPUID_RTM): Likewise.
23779         (HAS_RTM): Likewise.
23780         (COMMON_CPUID_INDEX_7): New enum.
23781
23782 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
23783
23784         [BZ #14981]
23785         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23786         size is zero, record memory as freed.
23787
23788 2013-01-03  Andreas Jaeger  <aj@suse.de>
23789
23790         * po/ia.po: Add new Interlingua translation.
23791
23792 2012-01-03  Allan McRae  <allan@archlinux.org>
23793
23794         * locale/programs/localedef.c: Fix description of '--posix' flag.
23795
23796 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
23797
23798         * NEWS: Update dates in second copyright notice.
23799         * README: Update copyright dates in example.
23800         * manual/libc.texinfo: Update copyright dates.
23801         * scripts/test-installation.pl: Update copyright date in --version
23802         output.
23803
23804         * hurd/ctty-input.c: Fix copyright notice formatting.
23805         * hurd/ctty-output.c: Likewise.
23806         * hurd/dtable.c: Likewise.
23807         * hurd/hurd-raise.c: Likewise.
23808         * hurd/hurdprio.c: Likewise.
23809         * hurd/msgportdemux.c: Likewise.
23810         * misc/sys/file.h: Likewise.
23811         * misc/sys/ioctl.h: Likewise.
23812         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23813         * sysdeps/mach/hurd/chdir.c: Likewise.
23814         * sysdeps/mach/hurd/fchdir.c: Likewise.
23815         * sysdeps/mach/hurd/rename.c: Likewise.
23816         * sysdeps/mach/hurd/rmdir.c: Likewise.
23817         * sysdeps/mach/hurd/seekdir.c: Likewise.
23818         * sysdeps/mach/hurd/setsid.c: Likewise.
23819         * sysdeps/posix/wait3.c: Likewise.
23820
23821         * All files with FSF copyright notices: Update copyright dates
23822         using scripts/update-copyrights.
23823         * intl/plural.c: Regenerated.
23824         * locale/programs/charmap-kw.h: Likewise.
23825         * locale/programs/locfile-kw.h: Likewise.
23826
23827 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23828
23829         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23830         four values.
23831
23832         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23833         calculation loop and add branch prediction.
23834
23835         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23836         check access beyond bounds of m1np.
23837
23838         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23839         MPTWO.
23840         (__inv): Remove local variable MPTWO to use the global
23841         constant.
23842         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23843         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23844         variable MPTWO.
23845         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23846         MP3HALFS static const.
23847
23848 2013-01-01  David S. Miller  <davem@davemloft.net>
23849
23850         * po/ca.po: Update from translation team.
23851
23852 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
23853
23854         * scripts/update-copyrights: New file.
23855         * Makeconfig: Reformat copyright notice.
23856         * ctype/ctype.h: Likewise.
23857         * debug/swprintf_chk.c: Likewise.
23858         * elf/dl-cache.c: Likewise.
23859         * elf/dl-debug.c: Likewise.
23860         * elf/dl-object.c: Likewise.
23861         * grp/initgroups.c: Likewise.
23862         * hurd/Makefile: Likewise.
23863         * hurd/hurd/signal.h: Likewise.
23864         * hurd/hurdfault.c: Likewise.
23865         * hurd/hurdioctl.c: Likewise.
23866         * hurd/hurdlookup.c: Likewise.
23867         * hurd/intr-msg.c: Likewise.
23868         * iconv/gconv_open.c: Likewise.
23869         * libio/swprintf.c: Likewise.
23870         * locale/lc-ctype.c: Likewise.
23871         * locale/nl_langinfo.c: Likewise.
23872         * mach/Machrules: Likewise.
23873         * mach/Makefile: Likewise.
23874         * malloc/obstack.h: Likewise.
23875         * manual/Makefile: Likewise.
23876         * manual/tsort.awk: Likewise.
23877         * misc/bits/stab.def: Likewise.
23878         * nis/nis_print_group_entry.c: Likewise.
23879         * nis/nis_table.c: Likewise.
23880         * nis/nss_compat/compat-pwd.c: Likewise.
23881         * nis/nss_compat/compat-spwd.c: Likewise.
23882         * po/Makefile: Likewise.
23883         * posix/fnmatch.c: Likewise.
23884         * posix/regex.h: Likewise.
23885         * resolv/Makefile: Likewise.
23886         * resolv/nss_dns/dns-network.c: Likewise.
23887         * resolv/res_hconf.c: Likewise.
23888         * scripts/gen-sorted.awk: Likewise.
23889         * soft-fp/soft-fp.h: Likewise.
23890         * stdio-common/printf.h: Likewise.
23891         * stdlib/monetary.h: Likewise.
23892         * stdlib/random.c: Likewise.
23893         * stdlib/random_r.c: Likewise.
23894         * sysdeps/generic/Makefile: Likewise.
23895         * sysdeps/gnu/Makefile: Likewise.
23896         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23897         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23898         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23899         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23900         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23901         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23902         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23903         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23904         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23905         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23906         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23907         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23908         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23909         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23910         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23911         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23912         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23913         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23914         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23915         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23916         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23917         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23918         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23919         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23920         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23921         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23922         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23923         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23924         * sysdeps/mach/hurd/errnos.awk: Likewise.
23925         * sysdeps/mach/hurd/fork.c: Likewise.
23926         * sysdeps/mach/hurd/getcwd.c: Likewise.
23927         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23928         * sysdeps/mach/hurd/mmap.c: Likewise.
23929         * sysdeps/mach/hurd/utimes.c: Likewise.
23930         * sysdeps/mach/hurd/xmknod.c: Likewise.
23931         * sysdeps/posix/profil.c: Likewise.
23932         * sysdeps/posix/readdir_r.c: Likewise.
23933         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23934         * sysdeps/powerpc/bits/setjmp.h: Likewise.
23935         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23936         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23937         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23938         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23939         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23940         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23941         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23942         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23943         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23944         * sysdeps/pthread/lio_listio.c: Likewise.
23945         * sysdeps/sparc/dl-procinfo.h: Likewise.
23946         * sysdeps/unix/i386/sysdep.S: Likewise.
23947         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23948         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23949         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23950         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23952         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23953         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23954         * sysdeps/unix/sysv/linux/speed.c: Likewise.
23955         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23956         * sysdeps/wordsize-32/divdi3.c: Likewise.
23957         * time/sys/time.h: Likewise.
23958         * wcsmbs/Makefile: Likewise.
23959
23960 2013-01-01  David S. Miller  <davem@davemloft.net>
23961
23962         * po/fr.po: Update from translation team.
23963
23964         * catgets/gencat.c: Update copyright year.
23965         * csu/version.c: Likewise.
23966         * debug/catchsegv.sh: Likewise.
23967         * debug/pcprofiledump.c: Likewise.
23968         * debug/xtrace.sh: Likewise.
23969         * elf/ldconfig.c: Likewise.
23970         * elf/ldd.bash.in: Likewise.
23971         * elf/pldd.c: Likewise.
23972         * elf/sotruss.ksh: Likewise.
23973         * elf/sprof.c: Likewise.
23974         * iconv/iconv_prog.c: Likewise.
23975         * iconv/iconvconfig.c: Likewise.
23976         * locale/programs/locale.c: Likewise.
23977         * locale/programs/localedef.c: Likewise.
23978         * login/programs/pt_chown.c: Likewise.
23979         * malloc/memusage.sh: Likewise.
23980         * malloc/memusagestat.c: Likewise.
23981         * malloc/mtrace.pl: Likewise.
23982         * nscd/nscd.c: Likewise.
23983         * nss/getent.c: Likewise.
23984         * nss/makedb.c: Likewise.
23985         * posix/getconf.c: Likewise.
23986
23987 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23988
23989         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23990         numbers.
23991
23992 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
23993
23994         * math/bits/mathcalls.h (modf): Use __nonnull.
23995
23996 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23997
23998         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23999         (split): Use macro CN instead of the bare value.
24000         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24001         could be used.
24002         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24003         instead of the bare value.
24004         (power1): Likewise.
24005
24006 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24007
24008         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24009         __ATAN_TWOM.
24010         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24011
24012         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24013         their values.
24014         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24015         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24016         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24017         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24018
24019 2012-12-28  Andreas Jaeger  <aj@suse.de>
24020
24021         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24022         values are from Linux 3.7.
24023
24024         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24025         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24026
24027 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24028
24029         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24030         TRUE case.
24031
24032         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24033         (norm): Likewise.
24034         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24035         variables with preprocessor constants.
24036         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24037         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24038         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24039
24040 2012-12-27  Bruno Haible  <bruno@clisp.org>
24041
24042         [BZ #14317]
24043         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24044         only if needed.
24045
24046 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24047
24048         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24049         and use variable directly.
24050         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24051
24052         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24053         MPONE.
24054         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24055         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24056         variable MPONE.
24057         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24058         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24059         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24060         include directive.  Remove local variable MPONE.
24061         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24062         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24063         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24064
24065 2012-12-25  David S. Miller  <davem@davemloft.net>
24066
24067         * version.h (RELEASE): Set to "development".
24068         (VERSION): Set to "2.17.90".
24069         * NEWS: Add 2.18 section.
24070
24071 2012-12-21  David S. Miller  <davem@davemloft.net>
24072
24073         * po/hr.po: Update from translation team.
24074
24075 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24076
24077         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24078
24079 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24080
24081         * NEWS:  Mention new memcpy for MIPS.
24082
24083 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24084
24085         * manual/contrib.texi (Contributors): Spelling correction.
24086
24087 2012-12-15  David S. Miller  <davem@davemloft.net>
24088
24089         * po/ru.po: Update from translation team.
24090
24091 2012-12-13  David S. Miller  <davem@davemloft.net>
24092
24093         * NEWS: Mention IFUNC testsuite enhancements.
24094
24095         * po/pl.po: Update from translation team.
24096         * po/bg.po: Likewise.
24097
24098         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24099         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24100
24101 2012-12-11  David S. Miller  <davem@davemloft.net>
24102
24103         * po/sv.po: Update from translation team.
24104
24105         * po/vi.po: Update from translation team.
24106
24107         * po/cs.po: Update from translation team.
24108
24109         * po/de.po: Update from translation team.
24110         * po/eo.po: Likewise.
24111         * po/nl.po: Likewise.
24112
24113 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24114
24115         [BZ #14246]
24116         * manual/argp.texi (Argp Helper Functions): Move node to follow
24117         Argp Parsing State.
24118
24119         [BZ #14872]
24120         * manual/conf.texi (Limits on File System Capacity): Mention if
24121         terminating null is included in the max size.
24122
24123 2012-12-10  Andreas Jaeger  <aj@suse.de>
24124
24125         * po/cs.po: Update from translation team.
24126
24127 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24128
24129         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24130         void pointer and cast to uintptr_t.
24131         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24132         path.
24133         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24134         * sysdeps/s390/s390-64/memset.S: Likewise.
24135
24136 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24137
24138         [BZ #14833]
24139         * menual/message.texi (Message Translation): Fix typos.
24140         (Helper programs for gettext): Likewise.
24141
24142 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24143
24144         [BZ #14898]
24145         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24146         Change to -1.
24147
24148 2012-12-07  David S. Miller  <davem@davemloft.net>
24149
24150         * po/libc.pot: Update.
24151
24152 2012-12-07  Richard Henderson  <rth@redhat.com>
24153
24154         [BZ #10114]
24155         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24156         normal/normal case to before the switch.
24157         (_FP_DIV): Likewise.
24158
24159 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24160             Mike Frysinger  <vapier@gentoo.org>
24161
24162         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24163         check for __NR_fadvise64_64.
24164
24165 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24166
24167         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24168         0, not just to plain "0" as a statement.
24169         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24170         with cw.
24171
24172 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24173
24174         * NEWS: Use sourceware.org in Bugzilla URL.
24175
24176 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24177
24178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24179         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24180
24181         * stdio-common/tst-put-error.c (do_test): Add newline to the
24182         padded test to ensure flush.
24183
24184 2012-12-05  Jeff Law  <law@redhat.com>
24185
24186         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24187
24188 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24189
24190         * README: Don't refer to ports add-on as distributed separately.
24191         Mention AArch64 in list of systems supported in the ports add-on.
24192
24193         * LICENSES: Add more non-FSF copyright and license notices.
24194
24195         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24196         ((unused)).
24197
24198         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24199
24200         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24201         10000 as width of padded output.
24202
24203 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24204
24205         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24206
24207         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24208         variable LX with __attribute__ ((unused)).
24209         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24210         Likewise.
24211         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24212         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24213         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24214         with __attribute__ ((unused)).
24215
24216 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24217
24218         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24219
24220 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24221
24222         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24223         (CFLAGS-nldbl-acos.c): New variable.
24224         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24225         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24226         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24227         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24228         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24229         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24230         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24231         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24232         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24233         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24234         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24235         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24236         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24237         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24238         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24239         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24240         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24241         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24242         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24243         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24244         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24245         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24246         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24247         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24248         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24249         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24250         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24251         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24252         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24253         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24254         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24255         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24256         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24257         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24258         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24259         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24260         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24261         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24262         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24263         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24264         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24265         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24266         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24267         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24268         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24269         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24270         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24271         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24272         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24273         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24274         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24275         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24276         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24277         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24278         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24279         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24280         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24281         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24282         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24283         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24284         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24285         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24286         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24287         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24288         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24289         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24290         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24291         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24292         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24293         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24294         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24295         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24296         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24297         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24298         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24299         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24300         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24301         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24302         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24303         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24304         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24305         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24306         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24307         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24308         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24309         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24310         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24311         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24312         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24313         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24314         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24315         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24316         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24317         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24318         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24319         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24320         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24321
24322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24323         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24324
24325         [BZ #14914]
24326         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24327         whole low double instead of just low 47 bits when splitting values
24328         into two parts.
24329
24330 2012-12-03  Allan McRae  <allan@archlinux.org>
24331
24332         * manual/stdio.texi (Predefined Printf Handlers): Remove
24333         @hsep and @vsep usage.
24334
24335 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24336
24337         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24338         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24339
24340 2012-12-03  Jeff Law  <law@redhat.com>
24341
24342         * time/sys/time.h (settimeofday): Do not mark TV argument
24343         as __nonnull.
24344
24345 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24346
24347         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24348         when currently writing and seek to current position when not.
24349         * libio/Makefile (tests): Remove bug-fclose1.
24350         * libio/bug-fclose1.c: Delete.
24351
24352 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24353
24354         * manual/arith.texi (feenableexcept): Fix typo.
24355         (fedisableexcept): Likewise.
24356
24357 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24358
24359         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24360         second, differently-typed declaration, rather than a cast.
24361
24362 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24363
24364         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24365         * include/rpc/svc.h: ... here.
24366
24367 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24368
24369         [BZ #13013]
24370         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24371         depending n and resplen2 to catch cases where answer
24372         equals answerp2.
24373
24374 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24375
24376         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24377         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24378
24379 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
24380
24381         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24382
24383 2012-11-29  Roland McGrath  <roland@hack.frob.com>
24384
24385         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24386
24387 2012-11-28  Jeff Law  <law@redhat.com>
24388
24389         [BZ #13761]
24390         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24391         dataset_temporary.  Track alloca usage into alloca_used.
24392         If dataset is large allocate and release it via malloc/free.
24393
24394 2012-06-04  Florian Weimer  <fweimer@redhat.com>
24395
24396         [BZ #14197]
24397         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24398
24399 2012-11-28  David S. Miller  <davem@davemloft.net>
24400
24401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24402
24403 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24404
24405         [BZ #14803]
24406         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24407         of pi/2 rounded to nearest to 64 bits.
24408         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24409         nearest to 64 bits.
24410         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24411         bits.
24412
24413 2012-11-28  Jeff Law <law@redhat.com>
24414             Martin Osvald <mosvald@redhat.com>
24415
24416         [BZ #14889]
24417         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24418         * sunrpc/svc.c: Include time.h.
24419         (__svc_accept_failed): New function.
24420         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24421         any reason other than EINTR, call __svc_accept_failed.
24422         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24423         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24424
24425 2012-11-28  Andreas Schwab  <schwab@suse.de>
24426
24427         * scripts/abilist.awk: Also handle indirect functions in .opd
24428         section.
24429
24430 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24431
24432         [BZ #13881]
24433         * sysdeps/x86/fpu/powl_helper.c: New file.
24434         * sysdeps/x86/fpu/Makefile: Likewise.
24435         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24436         (p3): New object.
24437         (__ieee754_powl): Use __powl_helper for finite arguments except
24438         integer exponents below 8.
24439         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24440         (p3): New object.
24441         (__ieee754_powl): Use __powl_helper for finite arguments except
24442         integer exponents below 8.
24443         * math/libm-test.inc (pow_test): Add more tests and enable some
24444         previously disabled tests.
24445         * sysdeps/i386/fpu/libm-test-ulps: Update.
24446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24447
24448 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24449             Carlos O'Donell  <carlos_odonell@mentor.com>
24450
24451         * nss/makedb.c (is_prime): Assert that input is odd and greater
24452         than 4.  Note that fact in a comment too.
24453         (next_prime): Add 4 to input.
24454
24455 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24456
24457         [BZ #11741]
24458         * libio/Makefile (tests): Add test case tst-fwrite-error.
24459         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24460         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24461         * libio/tst-fwrite-error.c: New test case.
24462
24463 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
24464
24465         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24466         before casting to void *.
24467         * include/libc-internal.h (__pointer_type): New macro.
24468         (__integer_if_pointer_type_sub): Likewise.
24469         (__integer_if_pointer_type): Likewise.
24470         (cast_to_integer): Likewise.
24471         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24472         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24473         before casting to atomic64_t.
24474         (atomic_exchange_acq): Likewise.
24475         (__arch_exchange_and_add_body): Likewise.
24476         (__arch_add_body): Likewise.
24477         (atomic_add_negative): Likewise.
24478         (atomic_add_zero): Likewise.
24479
24480 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
24481
24482         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24483         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24484         (add_fdes): Likewise.
24485         (linear_search_fdes): Likewise.
24486         (binary_search_unencoded_fdes): Likewise.
24487
24488 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
24489
24490         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24491
24492 2012-11-24  Adam Conrad  <adconrad@0c3.net>
24493
24494         * configure.in: Autodetect C++ header directories.
24495         * configure: Regenerated.
24496
24497 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
24498
24499         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24500
24501 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
24502
24503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24504
24505 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
24506
24507         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24508         LDBL_MANT_DIG == 106]: Disable some tests.
24509         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24510         Likewise.
24511         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24512         Likewise.
24513
24514         [BZ #14871]
24515         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24516         input for small inputs.  Return +/- pi/2 for large inputs.
24517         * math/libm-test.inc (atan_test): Add more tests.
24518
24519         * sysdeps/generic/unwind-dw2-fde-glibc.c
24520         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24521         __attribute__ ((unused)).
24522
24523         [BZ #14645]
24524         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24525         x * y if x and y are nonzero and z is zero.
24526
24527         [BZ #14811]
24528         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24529         nonzero exponents with absolute value below 0x1p-117 to +/-
24530         0x1p-117.
24531
24532         [BZ #14869]
24533         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24534         up arguments below 2**-450, not just those below 2**-500.
24535         * math/libm-test.inc (hypot_test): Add another test.
24536
24537         [BZ #14868]
24538         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24539         Return a+b for ratio over 2**120, not 2**60.
24540         * math/libm-test.inc (hypot_test): Add another test.
24541
24542         * math/libm-test.inc (clog_test): Use
24543         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24544         (clog10_test): Likewise.
24545
24546         [BZ #6778]
24547         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24548
24549 2012-11-22  Andreas Schwab  <schwab@suse.de>
24550
24551         * sysdeps/i386/fpu/libm-test-ulps: Update.
24552
24553 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
24554
24555         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24556         printf output with newline.
24557
24558 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
24559
24560         [BZ #14865]
24561         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24562         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24563         -z nodlopen, -z initfirst and -z execstack support.
24564         * configure: Regenerated.
24565
24566         * elf/elf.h (DF_1_NODIRECT): New macro.
24567         (DF_1_IGNMULDEF): Likewise.
24568         (DF_1_NOKSYMS): Likewise.
24569         (DF_1_NOHDR): Likewise.
24570         (DF_1_EDITED): Likewise.
24571         (DF_1_NORELOC): Likewise.
24572         (DF_1_SYMINTPOSE): Likewise.
24573         (DF_1_GLOBAUDIT): Likewise.
24574         (DF_1_SINGLETON): Likewise.
24575         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24576         DT_1_SUPPORTED_MASK bits.
24577         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24578
24579 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
24580
24581         * sysdeps/unix/make-syscalls.sh: Document prefixes.
24582
24583 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
24584
24585         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24586         macro.
24587
24588         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24589         (sendmmsg): Move declarations...
24590         * socket/sys/socket.h: ... here.
24591         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24592         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24593         include it from...
24594         * socket/recvmmsg.c: ... this new file.
24595         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24596         (sendmmsg): Rename to __sendmmsg, create weak alias and make
24597         definition of __sendmmsg hidden.
24598         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24599         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24600         Move ENOSYS stub into and include it from...
24601         * socket/sendmmsg.c: ... this new file.
24602         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24603         (sysdep_routines): Move recvmmsg and sendmmsg...
24604         * socket/Makefile (routines): ... here.
24605         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24606         (GLIBC_PRIVATE): Add __sendmmsg.
24607         * include/sys/socket.h (__sendmmsg): Add declarations.
24608         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24609         sendmmsg.
24610
24611 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
24612
24613         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24614         variable I1 with __attribute__ ((unused)).
24615         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24616
24617 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24618
24619         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24620         DUMMY variables with __attribute__ ((unused)).
24621
24622         * bits/byteswap.h: Include <bits/types.h>.
24623         (__bswap_64): Use __uint64_t instead of unsigned long long int.
24624
24625 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24626
24627         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24628         string_t.  Do not manually set errno.
24629         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24630         length with __strnlen.  Make sure to both set errno and return it on
24631         failure.
24632
24633 2012-11-19  David S. Miller  <davem@davemloft.net>
24634
24635         With help from Joseph Myers.
24636         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24637         very large arguments properly.
24638         * math/libm-test.inc (atan_test): New tests.
24639         (atan2_test): New tests.
24640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24642
24643 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24644
24645         [BZ #14856]
24646         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24647         Define to 3.
24648
24649         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24650         [POSIX] (EADDRNOTAVAIL): Likewise.
24651         [POSIX] (EAFNOSUPPORT): Likewise.
24652         [POSIX] (EALREADY): Likewise.
24653         [POSIX] (ECONNABORTED): Likewise.
24654         [POSIX] (ECONNREFUSED): Likewise.
24655         [POSIX] (ECONNRESET): Likewise.
24656         [POSIX] (EDESTADDRREQ): Likewise.
24657         [POSIX] (EDQUOT): Likewise.
24658         [POSIX] (EHOSTUNREACH): Likewise.
24659         [POSIX] (EIDRM): Likewise.
24660         [POSIX] (EISCONN): Likewise.
24661         [POSIX] (ELOOP): Likewise.
24662         [POSIX] (EMULTIHOP): Likewise.
24663         [POSIX] (ENETDOWN): Likewise.
24664         [POSIX] (ENETUNREACH): Likewise.
24665         [POSIX] (ENOBUFS): Likewise.
24666         [POSIX] (ENODATA): Likewise.
24667         [POSIX] (ENOLINK): Likewise.
24668         [POSIX] (ENOMSG): Likewise.
24669         [POSIX] (ENOPROTOOPT): Likewise.
24670         [POSIX] (ENOSR): Likewise.
24671         [POSIX] (ENOSTR): Likewise.
24672         [POSIX] (ENOTCONN): Likewise.
24673         [POSIX] (ENOTSOCK): Likewise.
24674         [POSIX] (EOPNOTSUPP): Likewise.
24675         [POSIX] (EOVERFLOW): Likewise.
24676         [POSIX] (EPROTO): Likewise.
24677         [POSIX] (EPROTONOSUPPORT): Likewise.
24678         [POSIX] (EPROTOTYPE): Likewise.
24679         [POSIX] (ESTALE): Likewise.
24680         [POSIX] (ETIME): Likewise.
24681         [POSIX] (ETXTBSY): Likewise.
24682         [POSIX] (EWOULDBLOCK): Likewise.
24683         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24684         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24685         [POSIX] (SEEK_CUR): Likewise.
24686         [POSIX] (SEEK_END): Likewise.
24687         [POSIX || UNIX98] (mode_t): Do not require.
24688         [POSIX] (off_t): Likewise.
24689         [POSIX] (pid_t): Likewise.
24690         [POSIX] (sys/stat.h): Do not allow header.
24691         [POSIX] (unistd.h): Likewise.
24692         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24693         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24694         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24695         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24696         require.
24697         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24698         sigevent): Specify elements.
24699         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24700         entry.
24701         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24702         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24703
24704         * conform/data/cpio.h-data [POSIX]: Disable whole file.
24705         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24706         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24707         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24708         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24709         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24710         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24711         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24712         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24713         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24714         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24715         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24716         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24717         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24718         Likewise.
24719         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24720         Likewise.
24721         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24722         Likewise.
24723         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24724         Likewise.
24725         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24726         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24727         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24728         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24729         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24730         Specify lower bound on value.
24731         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24732         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24733         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24734         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24735         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24736         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24737         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24738         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24739         value.
24740         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24741         as optional.
24742         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24743         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24744         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24745         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24746         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24747         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24748         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24749         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24750         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24751         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24752         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24753         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24754         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24755         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24756         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24757         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24758         entry.
24759         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24760         optional.
24761         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24762         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24763         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24764         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24765         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24766         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24767         Likewise.
24768         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24769         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24770         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24771         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24772         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
24773         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24774         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24775         as optional.
24776         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24777         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24778         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24779         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24780         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24781         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24782         specify as optional.
24783         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24784         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24785         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24786         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24787         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24788         [XPG3] (NL_LANGMAX): Likewise.
24789         [POSIX || XPG3] (NL_MSGMAX): Likewise.
24790         [POSIX || XPG3] (NL_NMAX): Likewise.
24791         [POSIX || XPG3] (NL_SETMAX): Likewise.
24792         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24793         [XPG3] (NZERO): Likewise.
24794         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24795         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24796         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24797         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24798         (REG_ERANGE): Expect.
24799         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24800         optional-constant.
24801         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24802         Use (void) in prototype.
24803         [POSIX] (*_t): Allow.
24804         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24805         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24806         (WRDE_BADVAL): Expect.
24807
24808         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24809         expect.
24810         [XPG3 || XPG4] (O_RSYNC): Likewise.
24811         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24812         Likewise.
24813         [XPG3 || XPG4] (pthread_sigmask): Likewise.
24814         [XPG3 || XPG4] (sigqueue): Likewise.
24815         [XPG3 || XPG4] (sigtimedwait): Likewise.
24816         [XPG3 || XPG4] (sigwaitinfo): Likewise.
24817         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24818         [XPG3 || XPG4] (vsnprintf): Likewise.
24819         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24820         Likewise.
24821         [XPG3 || XPG4] (blksize_t): Likewise.
24822         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24823         Likewise.
24824         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24825         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24826         [XPG3 || XPG4] (struct itimerspec): Likewise.
24827         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24828         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24829         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24830         [XPG3 || XPG4] (clockid_t): Likewise.
24831         [XPG3 || XPG4] (timer_t): Likewise.
24832         [XPG3 || XPG4] (clock_getres): Likewise.
24833         [XPG3 || XPG4] (clock_gettime): Likewise.
24834         [XPG3 || XPG4] (clock_settime): Likewise.
24835         [XPG3 || XPG4] (nanosleep): Likewise.
24836         [XPG3 || XPG4] (timer_create): Likewise.
24837         [XPG3 || XPG4] (timer_delete): Likewise.
24838         [XPG3 || XPG4] (timer_gettime): Likewise.
24839         [XPG3 || XPG4] (timer_getoverrun): Likewise.
24840         [XPG3 || XPG4] (timer_settime): Likewise.
24841         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24842         [XPG3 || XPG4] (getlogin_r): Likewise.
24843         [XPG3 || XPG4] (pread): Likewise.
24844         [XPG3 || XPG4] (pthread_atfork): Likewise.
24845         [XPG3 || XPG4] (pwrite): Likewise.
24846
24847         [BZ #14835]
24848         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24849         <bits/siginfo.h>.
24850
24851 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24852
24853         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24854         finalizing MALLSTREAM.
24855
24856         * sysdeps/mach/hurd/syncfs.c: New file.
24857
24858 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24859
24860         [BZ #14719]
24861         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24862         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24863         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24864         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24865         (_nss_dns_gethostbyname4_r): Likewise.
24866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24867         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24868
24869 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
24870
24871         [BZ #13763]
24872         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24873
24874 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
24875
24876         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24877         * elf/cache.c (print_entry): Print ",AArch64" for
24878         FLAG_AARCH64_LIB64
24879
24880         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24881         * elf/cache.c (print_entry): Print ",hard-float" for
24882         FLAG_ARM_LIBHF.
24883
24884 2012-11-18  David S. Miller  <davem@davemloft.net>
24885
24886         With help from Joseph Myers.
24887         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24888         cutoff to 2**-13.
24889         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24890         cutoff to 2**-25.
24891         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24892         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24893         small.
24894         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24895         * math/libm-test.inc (y0_test): New tests.
24896         (y1_test): New tests.
24897         * sysdeps/i386/fpu/libm-test-ulps: Update.
24898         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24900
24901 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
24902
24903         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24904         64-bit targets.
24905         * configure: Regenerated.
24906
24907 2012-11-17  David S. Miller  <davem@davemloft.net>
24908
24909         [BZ #14811]
24910         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24911         nonzero exponents with absolute value below 0x1p-128 to +/-
24912         0x1p-128.
24913
24914 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
24915
24916         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24917
24918         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24919
24920         * posix/getconf-speclist.c: New file.
24921         * posix/posix-envs.def: Likewise.
24922         * posix/confstr.c (START_ENV_GROUP): New macro.
24923         (END_ENV_GROUP): Likewise.
24924         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24925         (KNOWN_PRESENT_ENV_STRING): Likewise.
24926         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24927         (UNKNOWN_ENVIRONMENT): Likewise.
24928         (confstr): Include posix-envs.def instead of handling
24929         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24930         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24931         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24932         (END_ENV_GROUP): Likewise.
24933         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24934         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24935         (UNKNOWN_ENVIRONMENT): Likewise.
24936         (__sysconf): Include posix-envs.def instead of handling associated
24937         cases directly here.
24938         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24939         preprocessing getconf-speclist.c rather than running getconf or
24940         generating empty file.
24941
24942 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
24943
24944         * scripts/check-local-headers.sh: Ignore 'mach' headers.
24945
24946 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
24947
24948         [BZ #14672]
24949         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24950
24951 2012-11-16  David S. Miller  <davem@davemloft.net>
24952
24953         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24954         smaller than LDBL_EPSILON/2.0L, just return xm1.
24955
24956 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
24957
24958         * elf/tst-array1.c (init): Set constructor priority to 1000.
24959         (fini): Set destructor priority to 1000.
24960         * elf/tst-array2dep.c: Likewise.
24961
24962 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24963
24964         [BZ #11741]
24965         * libio/fileops.c (_IO_new_file_write): Correctly return error.
24966         (_IO_new_file_xsputn): Also return EOF if none of the input
24967         data was written when overflow failed.
24968         * libio/iopadn.c (_IO_padn): Likewise.
24969         * libio/iowpadn.c (_IO_wpadn): Likewise.
24970         * stdio-common/tst-put-error.c: Add copyright notice.
24971         (do_test): Add case for printing padded string.
24972         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24973         _IO_padn returned error.
24974         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24975         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24976         return EOF.
24977
24978 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24979
24980         * libio/libioP.h: Add comment note that the references to C++
24981         bits are now obsolete.
24982
24983 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24984
24985         * math/libm-test.inc (check_complex): Use asprintf.
24986
24987 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
24988
24989         * debug/pcprofiledump.c (print_version): Update copyright year.
24990         * malloc/memusagestat.c (print_version): Likewise.
24991
24992 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24993
24994         [BZ #14831]
24995         * elf/Makefile (tests): Add tst-audit8.
24996         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24997         ($(objpfx)tst-audit8.out): New target.
24998         (tst-audit8-ENV): New variable.
24999         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25000         audit if l_reloc_result is NULL.
25001         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25002         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25003         * elf/tst-audit8.c: New file.
25004
25005 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25006
25007         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25008         * misc/Makefile (CFLAGS-select.c): Define.
25009         * posix/Makefile (CFLAGS-pause.c): Define.
25010
25011 2012-11-13  David S. Miller  <davem@davemloft.net>
25012
25013         * crypt/Makefile: Move test targets after toplevel Rules
25014         inclusion.  Grab any necessary sysdep routines when linking.
25015         * crypt/md5.c (md5_process_block): Remove define, we will always
25016         name it __md5_process_block.
25017         (md5_finish_ctx): Update md5_process_block call.
25018         (md5_stream): Likewise.
25019         (md5_process_bytes): Likewise.
25020         (md5_process_block): Rename to __md5_process_block and move to ...
25021         * crypt/md5-block.c: ... here.
25022         * crypt/sha256.c (sha256_process_block): Move to ...
25023         * crypt/sha256-block.c: ... here.
25024         * crypt/sha512.c (sha512_process_block): Move to ...
25025         * crypt/sha512-block.c: ... here.
25026         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25027         path.
25028         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25029         * sysdeps/sparc/sparc64/multiarch/Makefile
25030         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25031         crypt subdir.
25032         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25033         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25034         multiarch changes.
25035         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25036         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25037         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25038         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25039         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25040         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25041         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25042         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25043         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25044         file.
25045         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25046         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25047         file.
25048         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25049
25050 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25051
25052         * timezone/tzselect.ksh: Update from tzcode git revision
25053         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25054         * timezone/zdump.c: Likewise.
25055         * timezone/zic.c: Likewise.
25056         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25057         in TZVERSION setting, not $(PKGVERSION).
25058         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25059         REPORT_BUGS_TO settings.
25060
25061         [BZ #14838]
25062         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25063         macro.
25064
25065 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25066
25067         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25068         detection to immediately after _FP_ROUND().
25069         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25070         bits are 0.
25071
25072 2012-11-11  David S. Miller  <davem@davemloft.net>
25073
25074         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25075         inttypes.h
25076         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25077         __close rather than their public counterparts.
25078
25079 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25080
25081         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25082         file.
25083         [UNIX98] (sem_timedwait): Do not expect.
25084         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25085         [XPG4 || UNIX98] (sockatmark): Do not expect.
25086         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25087         (clock_getcpuclockid): Do not expect.
25088         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25089         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25090         Do not expect.
25091         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25092         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25093         [UNIX98] (vwscanf): Likewise.
25094         [UNIX98] (vswscanf): Likewise.
25095
25096 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25097
25098         * timezone/version.h: Remove file.
25099         * timezone/README: Do not refer to version.h.
25100         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25101         $(objpfx)version.h.
25102         ($(objpfx)zdump.o): Likewise.
25103         ($(objpfx)version.h): New target.
25104
25105         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25106         2012i.
25107         * timezone/README: Don't mention modification to tzselect.ksh.
25108         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25109         work on unmodified tzselect.ksh.  Substitute version numbers in
25110         tzselect.ksh.
25111
25112         * Makefile (format-me): Remove.
25113         (INSTALL): Adjust indentation.  Use commands directly instead of
25114         using $(format-me).
25115
25116         * aclocal.m4 (ACX_PKGVERSION): New macro.
25117         (ACX_BUGURL): Likewise.
25118         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25119         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25120         (REPORT_BUGS_TO): Likewise.
25121         * configure: Regenerated.
25122         * config.h.in (PKGVERSION): New macro.
25123         (REPORT_BUGS_TO): Likewise.
25124         * config.make.in (PKGVERSION): New variable.
25125         (PKGVERSION_TEXI): Likewise.
25126         (REPORT_BUGS_TO): Likewise.
25127         (REPORT_BUGS_TEXI): Likewise.
25128         * Makefile (format-me): Use -I$(common-objpfx)manual.
25129         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25130         ($(common-objpfx)manual/%): New target.
25131         (manual/%): Remove target.
25132         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25133         (print_version): Use PKGVERSION.
25134         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25135         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25136         and REPORT_BUGS_TO.
25137         ($(objpfx)xtrace): Likewise.
25138         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25139         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25140         (print_version): Use PKGVERSION.
25141         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25142         (do_version): Use PKGVERSION.
25143         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25144         REPORT_BUGS_TO.
25145         (common-ldd-rewrite): Likewise.
25146         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25147         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25148         (print_version): Use PKGVERSION.
25149         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25150         * elf/pldd.c (argp_program_bug_address): Remove variable.
25151         (more_help): New function.
25152         (argp): Use more_help.
25153         (print_version): Use PKGVERSION.
25154         * elf/sln.c (main): Use PKGVERSION.
25155         (usage): Use REPORT_BUGS_TO.
25156         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25157         (top level): Use PKGVERSION.
25158         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25159         (print_version): Use PKGVERSION.
25160         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25161         (print_version): Use PKGVERSION.
25162         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25163         (print_version): Use PKGVERSION.
25164         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25165         (print_version): Use PKGVERSION.
25166         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25167         (print_version): Use PKGVERSION.
25168         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25169         (print_version): Use PKGVERSION.
25170         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25171         and BUGURL.
25172         ($(objpfx)memusage): Likewise.
25173         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25174         (do_version): Use PKGVERSION.
25175         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25176         (print_version): Use PKGVERSION.
25177         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25178         ($PKGVERSION): New variable.
25179         ($REPORT_BUGS_TO): Likewise.
25180         (usage): Use $REPORT_BUGS_TO.
25181         (top level): Use $PKGVERSION.
25182         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25183         ($(objpfx)pkgvers.texi): New rule.
25184         ($(objpfx)stamp-pkgvers): Likewise.
25185         * manual/install.texi: Include pkgvers.texi.
25186         (--with-pkgversion): Document new configure option.
25187         (--with-bugurl): Likewise.
25188         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25189         than necessarily for this particular distribution.  Use
25190         REPORT_BUGS_TO for where to report bugs.
25191         * INSTALL: Regenerated.
25192         * manual/libc.texinfo: Include pkgvers.texi.
25193         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25194         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25195         (print_version): Use PKGVERSION.
25196         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25197         (print_version): Use PKGVERSION.
25198         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25199         (print_version): Use PKGVERSION.
25200         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25201         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25202         macro.
25203         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25204         (print_version): Use PKGVERSION.
25205         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25206         (print_version): Use PKGVERSION.
25207         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25208         and PKGVERSION.
25209
25210         * timezone/checktab.awk: Update from tzcode 2012i.
25211         * timezone/ialloc.c: Likewise.
25212         * timezone/private.h: Likewise.
25213         * timezone/scheck.c: Likewise.
25214         * timezone/tzfile.h: Likewise.
25215         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25216         (TZVERSION): Hardcode tzcode version number.
25217         * timezone/zdump.c: Update from tzcode 2012i.
25218         * timezone/zic.c: Likewise.
25219         * timezone/version.h: New file.
25220         * timezone/README: Describe version.h.  Update upstream location.
25221
25222         [BZ #14824]
25223         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25224         (mktemp): Enable declaration.
25225         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25226         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25227         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25228         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25229         Likewise.
25230         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25231         Likewise.
25232         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25233         Likewise.
25234         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25235         Likewise.
25236         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25237         Likewise.
25238         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25239         Likewise.
25240
25241         [BZ #14821]
25242         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25243         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25244         for copies of such integer values.
25245         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25246         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25247
25248 2012-11-09  Andreas Jaeger  <aj@suse.de>
25249
25250         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25251         definitions and declarations that are provided by
25252         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25253
25254 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25255
25256         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25257         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25258         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25259         definition.
25260
25261 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25262
25263         * elf/elf.h: Update comment before AArch64 relocations.
25264
25265 2012-11-07  David S. Miller  <davem@davemloft.net>
25266
25267         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25268         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25269         (__start_context): Declare.
25270         (__makecontext_ret): Delete.
25271         (__makecontext): Hook up __start_context instead of
25272         __makecontext_ret.
25273         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25274         (sysdep_routines): Add __start_context when in stdlib.
25275
25276 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25277
25278         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25279         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25280         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25281         hardcoded "nm".
25282         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25283         (READELF): New variable.  Use it instead of hardcoded "readelf".
25284
25285 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25286
25287         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25288         * sysdeps/x86/Makefile: Here.
25289         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25290         * sysdeps/x86/tst-xmmymm.sh: This.
25291
25292 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25293
25294         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25295         expectations.
25296         [UNIX98] (pthread_barrier_t): Do not expect.
25297         [UNIX98] (pthread_barrierattr_t): Likewise.
25298         [UNIX98] (pthread_spinlock_t): Likewise.
25299         [UNIX98] (pthread_barrier_destroy): Likewise.
25300         [UNIX98] (pthread_barrier_init): Likewise.
25301         [UNIX98] (pthread_barrier_wait): Likewise.
25302         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25303         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25304         [UNIX98] (pthread_barrierattr_init): Likewise.
25305         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25306         [UNIX98] (pthread_getcpuclockid): Likewise.
25307         [UNIX98] (pthread_mutex_timedlock): Likewise.
25308         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25309         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25310         [UNIX98] (pthread_sigmask): Likewise.
25311         [UNIX98] (pthread_spin_destroy): Likewise.
25312         [UNIX98] (pthread_spin_init): Likewise.
25313         [UNIX98] (pthread_spin_lock): Likewise.
25314         [UNIX98] (pthread_spin_trylock): Likewise.
25315         [UNIX98] (pthread_spin_unlock): Likewise.
25316         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25317         Do not expect.
25318         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25319         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25320         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25321         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25322         [XPG3 || XPG4] (pthread_key_t): Likewise.
25323         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25324         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25325         [XPG3 || XPG4] (pthread_once_t): Likewise.
25326         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25327         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25328         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25329         [XPG3 || XPG4] (pthread_t): Likewise.
25330
25331         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25332         not expect.
25333         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25334
25335         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25336         Change function return type to int.
25337
25338         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25339         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25340         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25341         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25342         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25343         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25344         [!POSIX] (posix_madvise): Likewise.
25345         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25346         && !UNIX98].
25347         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25348         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25349         (mode_t): Likewise.
25350         (posix_mem_offset): Likewise.
25351         (posix_typed_mem_get_info): Likewise.
25352         (posix_typed_mem_open): Likewise.
25353
25354         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25355         Change condition to [XOPEN2K8].
25356
25357         * conform/conformtest.pl: Preprocess allow-header data with -x c
25358         instead of from stdin.
25359         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25360         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25361         [C99-based standards] (cerfc): Likewise.
25362         [C99-based standards] (cexp2): Likewise.
25363         [C99-based standards] (cexpm1): Likewise.
25364         [C99-based standards] (clog10): Likewise.
25365         [C99-based standards] (clog1p): Likewise.
25366         [C99-based standards] (clog2): Likewise.
25367         [C99-based standards] (clgamma): Likewise.
25368         [C99-based standards] (ctgamma): Likewise.
25369         [C99-based standards] (cerff): Likewise.
25370         [C99-based standards] (cerfcf): Likewise.
25371         [C99-based standards] (cexp2f): Likewise.
25372         [C99-based standards] (cexpm1f): Likewise.
25373         [C99-based standards] (clog10f): Likewise.
25374         [C99-based standards] (clog1pf): Likewise.
25375         [C99-based standards] (clog2f): Likewise.
25376         [C99-based standards] (clgammaf): Likewise.
25377         [C99-based standards] (ctgammaf): Likewise.
25378         [C99-based standards] (cerfl): Likewise.
25379         [C99-based standards] (cerfcl): Likewise.
25380         [C99-based standards] (cexp2l): Likewise.
25381         [C99-based standards] (cexpm1l): Likewise.
25382         [C99-based standards] (clog10l): Likewise.
25383         [C99-based standards] (clog1pl): Likewise.
25384         [C99-based standards] (clog2l): Likewise.
25385         [C99-based standards] (clgammal): Likewise.
25386         [C99-based standards] (ctgammal): Likewise.
25387         * conform/data/inttypes.h-data [C99-based standards]: Include
25388         stdint.h-data.  Remove all expectations for stdint.h contents.
25389         [C99-based standards] (PRI*): Do not allow.
25390         [C99-based standards] (SCN*): Likewise.
25391         [C99-based standards] (*_t): Likewise.
25392         [C99-based-standards] (PRId8): Expect macro.
25393         [C99-based-standards] (PRIi8): Likewise.
25394         [C99-based-standards] (PRIo8): Likewise.
25395         [C99-based-standards] (PRIu8): Likewise.
25396         [C99-based-standards] (PRIx8): Likewise.
25397         [C99-based-standards] (PRIX8): Likewise.
25398         [C99-based-standards] (SCNd8): Likewise.
25399         [C99-based-standards] (SCNi8): Likewise.
25400         [C99-based-standards] (SCNo8): Likewise.
25401         [C99-based-standards] (SCNu8): Likewise.
25402         [C99-based-standards] (SCNx8): Likewise.
25403         [C99-based-standards] (PRIdLEAST8): Likewise.
25404         [C99-based-standards] (PRIiLEAST8): Likewise.
25405         [C99-based-standards] (PRIoLEAST8): Likewise.
25406         [C99-based-standards] (PRIuLEAST8): Likewise.
25407         [C99-based-standards] (PRIxLEAST8): Likewise.
25408         [C99-based-standards] (PRIXLEAST8): Likewise.
25409         [C99-based-standards] (SCNdLEAST8): Likewise.
25410         [C99-based-standards] (SCNiLEAST8): Likewise.
25411         [C99-based-standards] (SCNoLEAST8): Likewise.
25412         [C99-based-standards] (SCNuLEAST8): Likewise.
25413         [C99-based-standards] (SCNxLEAST8): Likewise.
25414         [C99-based-standards] (PRIdFAST8): Likewise.
25415         [C99-based-standards] (PRIiFAST8): Likewise.
25416         [C99-based-standards] (PRIoFAST8): Likewise.
25417         [C99-based-standards] (PRIuFAST8): Likewise.
25418         [C99-based-standards] (PRIxFAST8): Likewise.
25419         [C99-based-standards] (PRIXFAST8): Likewise.
25420         [C99-based-standards] (SCNdFAST8): Likewise.
25421         [C99-based-standards] (SCNiFAST8): Likewise.
25422         [C99-based-standards] (SCNoFAST8): Likewise.
25423         [C99-based-standards] (SCNuFAST8): Likewise.
25424         [C99-based-standards] (SCNxFAST8): Likewise.
25425         [C99-based-standards] (PRId16): Likewise.
25426         [C99-based-standards] (PRIi16): Likewise.
25427         [C99-based-standards] (PRIo16): Likewise.
25428         [C99-based-standards] (PRIu16): Likewise.
25429         [C99-based-standards] (PRIx16): Likewise.
25430         [C99-based-standards] (PRIX16): Likewise.
25431         [C99-based-standards] (SCNd16): Likewise.
25432         [C99-based-standards] (SCNi16): Likewise.
25433         [C99-based-standards] (SCNo16): Likewise.
25434         [C99-based-standards] (SCNu16): Likewise.
25435         [C99-based-standards] (SCNx16): Likewise.
25436         [C99-based-standards] (PRIdLEAST16): Likewise.
25437         [C99-based-standards] (PRIiLEAST16): Likewise.
25438         [C99-based-standards] (PRIoLEAST16): Likewise.
25439         [C99-based-standards] (PRIuLEAST16): Likewise.
25440         [C99-based-standards] (PRIxLEAST16): Likewise.
25441         [C99-based-standards] (PRIXLEAST16): Likewise.
25442         [C99-based-standards] (SCNdLEAST16): Likewise.
25443         [C99-based-standards] (SCNiLEAST16): Likewise.
25444         [C99-based-standards] (SCNoLEAST16): Likewise.
25445         [C99-based-standards] (SCNuLEAST16): Likewise.
25446         [C99-based-standards] (SCNxLEAST16): Likewise.
25447         [C99-based-standards] (PRIdFAST16): Likewise.
25448         [C99-based-standards] (PRIiFAST16): Likewise.
25449         [C99-based-standards] (PRIoFAST16): Likewise.
25450         [C99-based-standards] (PRIuFAST16): Likewise.
25451         [C99-based-standards] (PRIxFAST16): Likewise.
25452         [C99-based-standards] (PRIXFAST16): Likewise.
25453         [C99-based-standards] (SCNdFAST16): Likewise.
25454         [C99-based-standards] (SCNiFAST16): Likewise.
25455         [C99-based-standards] (SCNoFAST16): Likewise.
25456         [C99-based-standards] (SCNuFAST16): Likewise.
25457         [C99-based-standards] (SCNxFAST16): Likewise.
25458         [C99-based-standards] (PRId32): Likewise.
25459         [C99-based-standards] (PRIi32): Likewise.
25460         [C99-based-standards] (PRIo32): Likewise.
25461         [C99-based-standards] (PRIu32): Likewise.
25462         [C99-based-standards] (PRIx32): Likewise.
25463         [C99-based-standards] (PRIX32): Likewise.
25464         [C99-based-standards] (SCNd32): Likewise.
25465         [C99-based-standards] (SCNi32): Likewise.
25466         [C99-based-standards] (SCNo32): Likewise.
25467         [C99-based-standards] (SCNu32): Likewise.
25468         [C99-based-standards] (SCNx32): Likewise.
25469         [C99-based-standards] (PRIdLEAST32): Likewise.
25470         [C99-based-standards] (PRIiLEAST32): Likewise.
25471         [C99-based-standards] (PRIoLEAST32): Likewise.
25472         [C99-based-standards] (PRIuLEAST32): Likewise.
25473         [C99-based-standards] (PRIxLEAST32): Likewise.
25474         [C99-based-standards] (PRIXLEAST32): Likewise.
25475         [C99-based-standards] (SCNdLEAST32): Likewise.
25476         [C99-based-standards] (SCNiLEAST32): Likewise.
25477         [C99-based-standards] (SCNoLEAST32): Likewise.
25478         [C99-based-standards] (SCNuLEAST32): Likewise.
25479         [C99-based-standards] (SCNxLEAST32): Likewise.
25480         [C99-based-standards] (PRIdFAST32): Likewise.
25481         [C99-based-standards] (PRIiFAST32): Likewise.
25482         [C99-based-standards] (PRIoFAST32): Likewise.
25483         [C99-based-standards] (PRIuFAST32): Likewise.
25484         [C99-based-standards] (PRIxFAST32): Likewise.
25485         [C99-based-standards] (PRIXFAST32): Likewise.
25486         [C99-based-standards] (SCNdFAST32): Likewise.
25487         [C99-based-standards] (SCNiFAST32): Likewise.
25488         [C99-based-standards] (SCNoFAST32): Likewise.
25489         [C99-based-standards] (SCNuFAST32): Likewise.
25490         [C99-based-standards] (SCNxFAST32): Likewise.
25491         [C99-based-standards] (PRId64): Likewise.
25492         [C99-based-standards] (PRIi64): Likewise.
25493         [C99-based-standards] (PRIo64): Likewise.
25494         [C99-based-standards] (PRIu64): Likewise.
25495         [C99-based-standards] (PRIx64): Likewise.
25496         [C99-based-standards] (PRIX64): Likewise.
25497         [C99-based-standards] (SCNd64): Likewise.
25498         [C99-based-standards] (SCNi64): Likewise.
25499         [C99-based-standards] (SCNo64): Likewise.
25500         [C99-based-standards] (SCNu64): Likewise.
25501         [C99-based-standards] (SCNx64): Likewise.
25502         [C99-based-standards] (PRIdLEAST64): Likewise.
25503         [C99-based-standards] (PRIiLEAST64): Likewise.
25504         [C99-based-standards] (PRIoLEAST64): Likewise.
25505         [C99-based-standards] (PRIuLEAST64): Likewise.
25506         [C99-based-standards] (PRIxLEAST64): Likewise.
25507         [C99-based-standards] (PRIXLEAST64): Likewise.
25508         [C99-based-standards] (SCNdLEAST64): Likewise.
25509         [C99-based-standards] (SCNiLEAST64): Likewise.
25510         [C99-based-standards] (SCNoLEAST64): Likewise.
25511         [C99-based-standards] (SCNuLEAST64): Likewise.
25512         [C99-based-standards] (SCNxLEAST64): Likewise.
25513         [C99-based-standards] (PRIdFAST64): Likewise.
25514         [C99-based-standards] (PRIiFAST64): Likewise.
25515         [C99-based-standards] (PRIoFAST64): Likewise.
25516         [C99-based-standards] (PRIuFAST64): Likewise.
25517         [C99-based-standards] (PRIxFAST64): Likewise.
25518         [C99-based-standards] (PRIXFAST64): Likewise.
25519         [C99-based-standards] (SCNdFAST64): Likewise.
25520         [C99-based-standards] (SCNiFAST64): Likewise.
25521         [C99-based-standards] (SCNoFAST64): Likewise.
25522         [C99-based-standards] (SCNuFAST64): Likewise.
25523         [C99-based-standards] (SCNxFAST64): Likewise.
25524         [C99-based-standards] (PRIdMAX): Likewise.
25525         [C99-based-standards] (PRIiMAX): Likewise.
25526         [C99-based-standards] (PRIoMAX): Likewise.
25527         [C99-based-standards] (PRIuMAX): Likewise.
25528         [C99-based-standards] (PRIxMAX): Likewise.
25529         [C99-based-standards] (PRIXMAX): Likewise.
25530         [C99-based-standards] (SCNdMAX): Likewise.
25531         [C99-based-standards] (SCNiMAX): Likewise.
25532         [C99-based-standards] (SCNoMAX): Likewise.
25533         [C99-based-standards] (SCNuMAX): Likewise.
25534         [C99-based-standards] (SCNxMAX): Likewise.
25535         [C99-based-standards] (PRIdPTR): Likewise.
25536         [C99-based-standards] (PRIiPTR): Likewise.
25537         [C99-based-standards] (PRIoPTR): Likewise.
25538         [C99-based-standards] (PRIuPTR): Likewise.
25539         [C99-based-standards] (PRIxPTR): Likewise.
25540         [C99-based-standards] (PRIXPTR): Likewise.
25541         [C99-based-standards] (SCNdPTR): Likewise.
25542         [C99-based-standards] (SCNiPTR): Likewise.
25543         [C99-based-standards] (SCNoPTR): Likewise.
25544         [C99-based-standards] (SCNuPTR): Likewise.
25545         [C99-based-standards] (SCNxPTR): Likewise.
25546         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25547         allow.
25548         * conform/data/stdint.h-data: Update comments to clarify
25549         requirements.
25550         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
25551         type.
25552         [C99-based standards] (INT8_MAX): Likewise.
25553         [C99-based standards] (INT16_MIN): Likewise.
25554         [C99-based standards] (INT16_MAX): Likewise.
25555         [C99-based standards] (INT32_MIN): Likewise.
25556         [C99-based standards] (INT32_MAX): Likewise.
25557         [C99-based standards] (INT64_MIN): Likewise.
25558         [C99-based standards] (INT64_MAX): Likewise.
25559         [C99-based standards] (UINT8_MAX): Likewise.
25560         [C99-based standards] (UINT16_MAX): Likewise.
25561         [C99-based standards] (UINT32_MAX): Likewise.
25562         [C99-based standards] (UINT64_MAX): Likewise.
25563         [C99-based standards] (INT_LEAST8_MIN): Likewise.
25564         [C99-based standards] (INT_LEAST8_MAX): Likewise.
25565         [C99-based standards] (INT_LEAST16_MIN): Likewise.
25566         [C99-based standards] (INT_LEAST16_MAX): Likewise.
25567         [C99-based standards] (INT_LEAST32_MIN): Likewise.
25568         [C99-based standards] (INT_LEAST32_MAX): Likewise.
25569         [C99-based standards] (INT_LEAST64_MIN): Likewise.
25570         [C99-based standards] (INT_LEAST64_MAX): Likewise.
25571         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25572         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25573         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25574         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25575         [C99-based standards] (INT_FAST8_MIN): Likewise.
25576         [C99-based standards] (INT_FAST8_MAX): Likewise.
25577         [C99-based standards] (INT_FAST16_MIN): Likewise.
25578         [C99-based standards] (INT_FAST16_MAX): Likewise.
25579         [C99-based standards] (INT_FAST32_MIN): Likewise.
25580         [C99-based standards] (INT_FAST32_MAX): Likewise.
25581         [C99-based standards] (INT_FAST64_MIN): Likewise.
25582         [C99-based standards] (INT_FAST64_MAX): Likewise.
25583         [C99-based standards] (UINT_FAST8_MAX): Likewise.
25584         [C99-based standards] (UINT_FAST16_MAX): Likewise.
25585         [C99-based standards] (UINT_FAST32_MAX): Likewise.
25586         [C99-based standards] (UINT_FAST64_MAX): Likewise.
25587         [C99-based standards] (INTPTR_MIN): Likewise.
25588         [C99-based standards] (INTPTR_MAX): Likewise.
25589         [C99-based standards] (UINTPTR_MAX): Likewise.
25590         [C99-based standards] (INTMAX_MIN): Likewise.
25591         [C99-based standards] (INTMAX_MAX): Likewise.
25592         [C99-based standards] (UINTMAX_MAX): Likewise.
25593         [C99-based standards] (PTRDIFF_MIN): Likewise.
25594         [C99-based standards] (PTRDIFF_MAX): Likewise.
25595         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25596         [C99-based standards] (SIZE_MAX): Likewise.
25597         [C99-based standards] (WCHAR_MAX): Likewise.
25598         [C99-based standards] (WINT_MAX): Likewise.
25599         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
25600         constraint on value.
25601         [C99-based standards] (WCHAR_MIN): Likewise.
25602         [C99-based standards] (WINT_MIN): Likewise.
25603         [C99-based standards] (*_t): Allow.
25604         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25605         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25606         Include math.h-data and complex.h-data.  Remove all expectations
25607         of math.h and complex.h contents.
25608         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25609         at end of line.
25610         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25611         (struct tm): Expect tag.
25612         [C99-based-standards] (wcstof): Expect function.
25613         [C99-based-standards] (wcstold): Likewise.
25614         [C99-based-standards] (wcstoll): Likewise.
25615         [C99-based-standards] (wcstoull): Likewise.
25616         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25617         macro-int-constant.  Specify type.
25618         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
25619         constraint on value.
25620         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25621         Specify type.
25622         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25623         Specify value.
25624         [ISO C standards]: Do not allow headers.
25625         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25626         wcs[abcdefghijklmnopqrstuvwxyz]*.
25627         [ISO C standards] (*_t): Do not allow.
25628         * conform/data/wctype.h-data [C99-based standards] (iswblank):
25629         Expect function.
25630         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25631         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25632         Specify type.
25633         [ISO C standards]: Do not allow headers.
25634         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25635         is[abcdefghijklmnopqrstuvwxyz]*.
25636         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25637         to[abcdefghijklmnopqrstuvwxyz]*.
25638         [ISO C standards] (*_t): Do not allow.
25639         * conform/data/stdalign.h-data: New file.
25640         * conform/data/stdbool.h-data: Likewise.
25641         * conform/data/stdnoreturn.h-data: Likewise.
25642
25643 2012-11-07  Roland McGrath  <roland@hack.frob.com>
25644
25645         [BZ #14815]
25646         * manual/filesys.texi (Directory Entries): Typo fix.
25647         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25648
25649 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25650
25651         * elf/elf.h (EM_AARCH64): New macro.
25652         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25653         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25654         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25655         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25656         (R_AARCH64_TLSDESC): Likewise.
25657         (NT_ARM_TLS): Likewise.
25658         (NT_ARM_HW_BREAK): Likewise.
25659         (NT_ARM_HW_WATCH): Likewise.
25660
25661 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25662
25663         [BZ #14811]
25664         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25665         (__ieee754_powl): Saturate nonzero exponents with absolute value
25666         below 0x1p-79 to +/- 0x1p-79.
25667         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25668         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25669         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25670         nonzero exponents with absolute value below 0x1p-32 to +/-
25671         0x1p-32.
25672         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25673         (__ieee754_powl): Saturate nonzero exponents with absolute value
25674         below 0x1p-79 to +/- 0x1p-79.
25675         * math/libm-test.inc (pow_test): Add more tests.
25676
25677 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25678
25679         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25680         _dl_s390_cap_flags with kernel. Increase string length.
25681         (_dl_s390_platforms): Add z196 and zEC12.
25682
25683 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25684
25685         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25686         Change XOPEN21K to XOPEN2K.
25687
25688 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
25689
25690         * string/memmove.c: Use memcpy when possible.
25691
25692 2012-11-06  Andreas Jaeger  <aj@suse.de>
25693
25694         * po/eo.po: Update from translation team.
25695
25696 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
25697
25698         [BZ #14793]
25699         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25700         exponent and small x and y exponents, scale x or y up.  Increase
25701         by 2 the exponent used in scaling up.
25702         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25703         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25704         * math/libm-test.inc (fma_test): Add more tests.
25705         (fma_test_towardzero): Likewise.
25706         (fma_test_downward): Likewise.
25707         (fma_test_upward): Likewise.
25708
25709 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
25710
25711         [BZ #14805]
25712         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25713         fenv_t *.
25714
25715         [BZ #14801]
25716         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25717         namespace for names of struct fields.
25718         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25719         fenv_t fields.
25720         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25721         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25722
25723 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25724
25725         [BZ #3665]
25726         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25727
25728 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25729
25730         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25731         PTR_DEMANGLE.
25732
25733         [BZ #5246]
25734         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25735         PTR_DEMANGLE.
25736
25737 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
25738
25739         [BZ #14797]
25740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25741         definitely overflow as x * y not x * y + z.
25742         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25743         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25744         * math/libm-test.inc (fma_test): Add more tests.
25745         (fma_test_towardzero): Likewise.
25746         (fma_test_downward): Likewise.
25747         (fma_test_upward): Likewise.
25748
25749 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25750
25751         [BZ #157]
25752
25753         * include/stub-tag.h: Remove file.
25754         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25755         '#include' of it.
25756         * manual/maint.texi (Porting): Don't reference it.
25757         * Makerules ($(objpfx)stubs): Likewise.
25758         * dirent/closedir.c: Don't include <stub-tag.h>.
25759         * dirent/dirfd.c: Likewise.
25760         * dirent/fdopendir.c: Likewise.
25761         * dirent/getdents.c: Likewise.
25762         * dirent/getdents64.c: Likewise.
25763         * dirent/opendir.c: Likewise.
25764         * dirent/readdir.c: Likewise.
25765         * dirent/readdir64.c: Likewise.
25766         * dirent/readdir64_r.c: Likewise.
25767         * dirent/readdir_r.c: Likewise.
25768         * dirent/rewinddir.c: Likewise.
25769         * dirent/seekdir.c: Likewise.
25770         * dirent/telldir.c: Likewise.
25771         * gmon/profil.c: Likewise.
25772         * grp/setgroups.c: Likewise.
25773         * inet/if_index.c: Likewise.
25774         * io/access.c: Likewise.
25775         * io/chdir.c: Likewise.
25776         * io/chmod.c: Likewise.
25777         * io/chown.c: Likewise.
25778         * io/close.c: Likewise.
25779         * io/dup.c: Likewise.
25780         * io/dup2.c: Likewise.
25781         * io/dup3.c: Likewise.
25782         * io/euidaccess.c: Likewise.
25783         * io/faccessat.c: Likewise.
25784         * io/fchdir.c: Likewise.
25785         * io/fchmod.c: Likewise.
25786         * io/fchmodat.c: Likewise.
25787         * io/fchown.c: Likewise.
25788         * io/fchownat.c: Likewise.
25789         * io/fcntl.c: Likewise.
25790         * io/flock.c: Likewise.
25791         * io/fstatfs.c: Likewise.
25792         * io/fstatfs64.c: Likewise.
25793         * io/fstatvfs.c: Likewise.
25794         * io/fstatvfs64.c: Likewise.
25795         * io/futimens.c: Likewise.
25796         * io/fxstat.c: Likewise.
25797         * io/fxstat64.c: Likewise.
25798         * io/fxstatat.c: Likewise.
25799         * io/fxstatat64.c: Likewise.
25800         * io/getcwd.c: Likewise.
25801         * io/isatty.c: Likewise.
25802         * io/lchmod.c: Likewise.
25803         * io/lchown.c: Likewise.
25804         * io/link.c: Likewise.
25805         * io/linkat.c: Likewise.
25806         * io/lseek.c: Likewise.
25807         * io/lseek64.c: Likewise.
25808         * io/lxstat64.c: Likewise.
25809         * io/mkdir.c: Likewise.
25810         * io/mkdirat.c: Likewise.
25811         * io/mkfifo.c: Likewise.
25812         * io/mkfifoat.c: Likewise.
25813         * io/open.c: Likewise.
25814         * io/open64.c: Likewise.
25815         * io/openat.c: Likewise.
25816         * io/openat64.c: Likewise.
25817         * io/pipe.c: Likewise.
25818         * io/pipe2.c: Likewise.
25819         * io/poll.c: Likewise.
25820         * io/posix_fadvise.c: Likewise.
25821         * io/posix_fadvise64.c: Likewise.
25822         * io/posix_fallocate.c: Likewise.
25823         * io/posix_fallocate64.c: Likewise.
25824         * io/read.c: Likewise.
25825         * io/readlink.c: Likewise.
25826         * io/readlinkat.c: Likewise.
25827         * io/rmdir.c: Likewise.
25828         * io/sendfile.c: Likewise.
25829         * io/sendfile64.c: Likewise.
25830         * io/statfs.c: Likewise.
25831         * io/statfs64.c: Likewise.
25832         * io/statvfs.c: Likewise.
25833         * io/statvfs64.c: Likewise.
25834         * io/symlink.c: Likewise.
25835         * io/symlinkat.c: Likewise.
25836         * io/ttyname.c: Likewise.
25837         * io/ttyname_r.c: Likewise.
25838         * io/umask.c: Likewise.
25839         * io/unlink.c: Likewise.
25840         * io/unlinkat.c: Likewise.
25841         * io/utime.c: Likewise.
25842         * io/utimensat.c: Likewise.
25843         * io/write.c: Likewise.
25844         * io/xmknod.c: Likewise.
25845         * io/xmknodat.c: Likewise.
25846         * io/xstat.c: Likewise.
25847         * io/xstat64.c: Likewise.
25848         * login/getpt.c: Likewise.
25849         * login/grantpt.c: Likewise.
25850         * login/unlockpt.c: Likewise.
25851         * math/e_acoshl.c: Likewise.
25852         * math/e_acosl.c: Likewise.
25853         * math/e_asinl.c: Likewise.
25854         * math/e_atan2l.c: Likewise.
25855         * math/e_atanhl.c: Likewise.
25856         * math/e_coshl.c: Likewise.
25857         * math/e_expl.c: Likewise.
25858         * math/e_fmodl.c: Likewise.
25859         * math/e_gammal_r.c: Likewise.
25860         * math/e_hypotl.c: Likewise.
25861         * math/e_j0l.c: Likewise.
25862         * math/e_j1l.c: Likewise.
25863         * math/e_jnl.c: Likewise.
25864         * math/e_lgammal_r.c: Likewise.
25865         * math/e_log10l.c: Likewise.
25866         * math/e_log2l.c: Likewise.
25867         * math/e_logl.c: Likewise.
25868         * math/e_powl.c: Likewise.
25869         * math/e_rem_pio2l.c: Likewise.
25870         * math/e_sinhl.c: Likewise.
25871         * math/e_sqrtl.c: Likewise.
25872         * math/fclrexcpt.c: Likewise.
25873         * math/fedisblxcpt.c: Likewise.
25874         * math/feenablxcpt.c: Likewise.
25875         * math/fegetenv.c: Likewise.
25876         * math/fegetexcept.c: Likewise.
25877         * math/fegetround.c: Likewise.
25878         * math/feholdexcpt.c: Likewise.
25879         * math/fesetenv.c: Likewise.
25880         * math/fesetround.c: Likewise.
25881         * math/feupdateenv.c: Likewise.
25882         * math/fgetexcptflg.c: Likewise.
25883         * math/fraiseexcpt.c: Likewise.
25884         * math/fsetexcptflg.c: Likewise.
25885         * math/ftestexcept.c: Likewise.
25886         * math/k_cosl.c: Likewise.
25887         * math/k_rem_pio2l.c: Likewise.
25888         * math/k_sinl.c: Likewise.
25889         * math/k_tanl.c: Likewise.
25890         * math/s_asinhl.c: Likewise.
25891         * math/s_atanl.c: Likewise.
25892         * math/s_cbrtl.c: Likewise.
25893         * math/s_erfl.c: Likewise.
25894         * math/s_expm1l.c: Likewise.
25895         * math/s_log1pl.c: Likewise.
25896         * math/s_tanhl.c: Likewise.
25897         * misc/acct.c: Likewise.
25898         * misc/brk.c: Likewise.
25899         * misc/chflags.c: Likewise.
25900         * misc/chroot.c: Likewise.
25901         * misc/fchflags.c: Likewise.
25902         * misc/fgetxattr.c: Likewise.
25903         * misc/flistxattr.c: Likewise.
25904         * misc/fremovexattr.c: Likewise.
25905         * misc/fsetxattr.c: Likewise.
25906         * misc/fsync.c: Likewise.
25907         * misc/ftruncate.c: Likewise.
25908         * misc/futimes.c: Likewise.
25909         * misc/futimesat.c: Likewise.
25910         * misc/getdomain.c: Likewise.
25911         * misc/getdtsz.c: Likewise.
25912         * misc/gethostid.c: Likewise.
25913         * misc/gethostname.c: Likewise.
25914         * misc/getloadavg.c: Likewise.
25915         * misc/getpagesize.c: Likewise.
25916         * misc/getsysstats.c: Likewise.
25917         * misc/getxattr.c: Likewise.
25918         * misc/gtty.c: Likewise.
25919         * misc/ioctl.c: Likewise.
25920         * misc/lgetxattr.c: Likewise.
25921         * misc/listxattr.c: Likewise.
25922         * misc/llistxattr.c: Likewise.
25923         * misc/lremovexattr.c: Likewise.
25924         * misc/lsetxattr.c: Likewise.
25925         * misc/lutimes.c: Likewise.
25926         * misc/madvise.c: Likewise.
25927         * misc/mincore.c: Likewise.
25928         * misc/mlock.c: Likewise.
25929         * misc/mlockall.c: Likewise.
25930         * misc/mmap.c: Likewise.
25931         * misc/mprotect.c: Likewise.
25932         * misc/msync.c: Likewise.
25933         * misc/munlock.c: Likewise.
25934         * misc/munlockall.c: Likewise.
25935         * misc/munmap.c: Likewise.
25936         * misc/preadv.c: Likewise.
25937         * misc/preadv64.c: Likewise.
25938         * misc/ptrace.c: Likewise.
25939         * misc/pwritev.c: Likewise.
25940         * misc/pwritev64.c: Likewise.
25941         * misc/readv.c: Likewise.
25942         * misc/reboot.c: Likewise.
25943         * misc/remap_file_pages.c: Likewise.
25944         * misc/removexattr.c: Likewise.
25945         * misc/revoke.c: Likewise.
25946         * misc/select.c: Likewise.
25947         * misc/setdomain.c: Likewise.
25948         * misc/setegid.c: Likewise.
25949         * misc/seteuid.c: Likewise.
25950         * misc/sethostid.c: Likewise.
25951         * misc/sethostname.c: Likewise.
25952         * misc/setregid.c: Likewise.
25953         * misc/setreuid.c: Likewise.
25954         * misc/setxattr.c: Likewise.
25955         * misc/sstk.c: Likewise.
25956         * misc/stty.c: Likewise.
25957         * misc/swapoff.c: Likewise.
25958         * misc/swapon.c: Likewise.
25959         * misc/sync.c: Likewise.
25960         * misc/syncfs.c: Likewise.
25961         * misc/syscall.c: Likewise.
25962         * misc/truncate.c: Likewise.
25963         * misc/ualarm.c: Likewise.
25964         * misc/usleep.c: Likewise.
25965         * misc/ustat.c: Likewise.
25966         * misc/utimes.c: Likewise.
25967         * misc/vhangup.c: Likewise.
25968         * misc/writev.c: Likewise.
25969         * posix/_exit.c: Likewise.
25970         * posix/alarm.c: Likewise.
25971         * posix/execve.c: Likewise.
25972         * posix/fexecve.c: Likewise.
25973         * posix/fork.c: Likewise.
25974         * posix/fpathconf.c: Likewise.
25975         * posix/getaddrinfo.c: Likewise.
25976         * posix/getegid.c: Likewise.
25977         * posix/geteuid.c: Likewise.
25978         * posix/getgid.c: Likewise.
25979         * posix/getgroups.c: Likewise.
25980         * posix/getlogin.c: Likewise.
25981         * posix/getlogin_r.c: Likewise.
25982         * posix/getpgid.c: Likewise.
25983         * posix/getpid.c: Likewise.
25984         * posix/getppid.c: Likewise.
25985         * posix/getresgid.c: Likewise.
25986         * posix/getresuid.c: Likewise.
25987         * posix/getsid.c: Likewise.
25988         * posix/getuid.c: Likewise.
25989         * posix/glob64.c: Likewise.
25990         * posix/nanosleep.c: Likewise.
25991         * posix/pathconf.c: Likewise.
25992         * posix/pause.c: Likewise.
25993         * posix/posix_madvise.c: Likewise.
25994         * posix/pread.c: Likewise.
25995         * posix/pread64.c: Likewise.
25996         * posix/pwrite.c: Likewise.
25997         * posix/pwrite64.c: Likewise.
25998         * posix/sched_getaffinity.c: Likewise.
25999         * posix/sched_getp.c: Likewise.
26000         * posix/sched_gets.c: Likewise.
26001         * posix/sched_primax.c: Likewise.
26002         * posix/sched_primin.c: Likewise.
26003         * posix/sched_rr_gi.c: Likewise.
26004         * posix/sched_setaffinity.c: Likewise.
26005         * posix/sched_setp.c: Likewise.
26006         * posix/sched_sets.c: Likewise.
26007         * posix/sched_yield.c: Likewise.
26008         * posix/setgid.c: Likewise.
26009         * posix/setlogin.c: Likewise.
26010         * posix/setpgid.c: Likewise.
26011         * posix/setresgid.c: Likewise.
26012         * posix/setresuid.c: Likewise.
26013         * posix/setsid.c: Likewise.
26014         * posix/setuid.c: Likewise.
26015         * posix/sleep.c: Likewise.
26016         * posix/spawni.c: Likewise.
26017         * posix/sysconf.c: Likewise.
26018         * posix/times.c: Likewise.
26019         * posix/wait.c: Likewise.
26020         * posix/wait3.c: Likewise.
26021         * posix/wait4.c: Likewise.
26022         * posix/waitpid.c: Likewise.
26023         * resolv/gai_sigqueue.c: Likewise.
26024         * resource/getpriority.c: Likewise.
26025         * resource/getrlimit.c: Likewise.
26026         * resource/getrusage.c: Likewise.
26027         * resource/nice.c: Likewise.
26028         * resource/setpriority.c: Likewise.
26029         * resource/setrlimit.c: Likewise.
26030         * resource/ulimit.c: Likewise.
26031         * rt/aio_cancel.c: Likewise.
26032         * rt/aio_fsync.c: Likewise.
26033         * rt/aio_read.c: Likewise.
26034         * rt/aio_sigqueue.c: Likewise.
26035         * rt/aio_suspend.c: Likewise.
26036         * rt/aio_write.c: Likewise.
26037         * rt/clock_getres.c: Likewise.
26038         * rt/clock_gettime.c: Likewise.
26039         * rt/clock_nanosleep.c: Likewise.
26040         * rt/clock_settime.c: Likewise.
26041         * rt/lio_listio.c: Likewise.
26042         * rt/mq_close.c: Likewise.
26043         * rt/mq_getattr.c: Likewise.
26044         * rt/mq_notify.c: Likewise.
26045         * rt/mq_open.c: Likewise.
26046         * rt/mq_receive.c: Likewise.
26047         * rt/mq_send.c: Likewise.
26048         * rt/mq_setattr.c: Likewise.
26049         * rt/mq_timedreceive.c: Likewise.
26050         * rt/mq_timedsend.c: Likewise.
26051         * rt/mq_unlink.c: Likewise.
26052         * rt/shm_open.c: Likewise.
26053         * rt/shm_unlink.c: Likewise.
26054         * rt/timer_create.c: Likewise.
26055         * rt/timer_delete.c: Likewise.
26056         * rt/timer_getoverr.c: Likewise.
26057         * rt/timer_gettime.c: Likewise.
26058         * rt/timer_settime.c: Likewise.
26059         * setjmp/__longjmp.c: Likewise.
26060         * setjmp/setjmp.c: Likewise.
26061         * signal/kill.c: Likewise.
26062         * signal/killpg.c: Likewise.
26063         * signal/raise.c: Likewise.
26064         * signal/sigaction.c: Likewise.
26065         * signal/sigaltstack.c: Likewise.
26066         * signal/sigblock.c: Likewise.
26067         * signal/sigignore.c: Likewise.
26068         * signal/sigintr.c: Likewise.
26069         * signal/signal.c: Likewise.
26070         * signal/sigpause.c: Likewise.
26071         * signal/sigpending.c: Likewise.
26072         * signal/sigqueue.c: Likewise.
26073         * signal/sigreturn.c: Likewise.
26074         * signal/sigset.c: Likewise.
26075         * signal/sigsetmask.c: Likewise.
26076         * signal/sigstack.c: Likewise.
26077         * signal/sigsuspend.c: Likewise.
26078         * signal/sigtimedwait.c: Likewise.
26079         * signal/sigvec.c: Likewise.
26080         * signal/sigwait.c: Likewise.
26081         * signal/sigwaitinfo.c: Likewise.
26082         * signal/sysv_signal.c: Likewise.
26083         * socket/accept.c: Likewise.
26084         * socket/accept4.c: Likewise.
26085         * socket/bind.c: Likewise.
26086         * socket/connect.c: Likewise.
26087         * socket/getpeername.c: Likewise.
26088         * socket/getsockname.c: Likewise.
26089         * socket/getsockopt.c: Likewise.
26090         * socket/isfdtype.c: Likewise.
26091         * socket/listen.c: Likewise.
26092         * socket/recv.c: Likewise.
26093         * socket/recvfrom.c: Likewise.
26094         * socket/recvmsg.c: Likewise.
26095         * socket/send.c: Likewise.
26096         * socket/sendmsg.c: Likewise.
26097         * socket/sendto.c: Likewise.
26098         * socket/setsockopt.c: Likewise.
26099         * socket/shutdown.c: Likewise.
26100         * socket/sockatmark.c: Likewise.
26101         * socket/socket.c: Likewise.
26102         * socket/socketpair.c: Likewise.
26103         * stdio-common/ctermid.c: Likewise.
26104         * stdio-common/cuserid.c: Likewise.
26105         * stdio-common/remove.c: Likewise.
26106         * stdio-common/rename.c: Likewise.
26107         * stdio-common/renameat.c: Likewise.
26108         * stdio-common/tempname.c: Likewise.
26109         * stdlib/getcontext.c: Likewise.
26110         * stdlib/makecontext.c: Likewise.
26111         * stdlib/setcontext.c: Likewise.
26112         * stdlib/swapcontext.c: Likewise.
26113         * stdlib/system.c: Likewise.
26114         * streams/fattach.c: Likewise.
26115         * streams/fdetach.c: Likewise.
26116         * streams/getmsg.c: Likewise.
26117         * streams/getpmsg.c: Likewise.
26118         * streams/putmsg.c: Likewise.
26119         * streams/putpmsg.c: Likewise.
26120         * sysdeps/unix/bsd/getpt.c: Likewise.
26121         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26122         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26123         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26125         Likewise.
26126         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26127         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26128         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26129         * sysvipc/msgctl.c: Likewise.
26130         * sysvipc/msgget.c: Likewise.
26131         * sysvipc/msgrcv.c: Likewise.
26132         * sysvipc/msgsnd.c: Likewise.
26133         * sysvipc/semctl.c: Likewise.
26134         * sysvipc/semget.c: Likewise.
26135         * sysvipc/semop.c: Likewise.
26136         * sysvipc/semtimedop.c: Likewise.
26137         * sysvipc/shmat.c: Likewise.
26138         * sysvipc/shmctl.c: Likewise.
26139         * sysvipc/shmdt.c: Likewise.
26140         * sysvipc/shmget.c: Likewise.
26141         * termios/tcdrain.c: Likewise.
26142         * termios/tcflow.c: Likewise.
26143         * termios/tcflush.c: Likewise.
26144         * termios/tcgetattr.c: Likewise.
26145         * termios/tcgetpgrp.c: Likewise.
26146         * termios/tcsendbrk.c: Likewise.
26147         * termios/tcsetattr.c: Likewise.
26148         * termios/tcsetpgrp.c: Likewise.
26149         * time/adjtime.c: Likewise.
26150         * time/clock.c: Likewise.
26151         * time/getitimer.c: Likewise.
26152         * time/gettimeofday.c: Likewise.
26153         * time/setitimer.c: Likewise.
26154         * time/settimeofday.c: Likewise.
26155         * time/stime.c: Likewise.
26156         * time/time.c: Likewise.
26157
26158 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26159
26160         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26161         /usr/old/bin.
26162
26163         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26164         instead of spaces.
26165         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26166
26167 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26168
26169         [BZ #14796]
26170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26171         FE_TONEAREST before applying Dekker multiplication and Knuth
26172         addition.  Clear inexact exceptions and check for exact zero
26173         results afterwards.
26174         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26175         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26176         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26177         * math/libm-test.inc (fma_test): Add more tests.
26178         (fma_test_towardzero): Likewise.
26179         (fma_test_downward): Likewise.
26180         (fma_test_upward): Likewise.
26181         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26182         function.
26183         (libc_fesetround): New macro.
26184         (libc_fesetroundf): Likewise.
26185         (libc_fesetroundl): Likewise.
26186         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26187         function.
26188         (libc_fesetround_387): Likewise.
26189         (libc_fesetroundf): New macro.
26190         (libc_fesetround): Likewise.
26191         (libc_fesetroundl): Likewise.
26192         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26193         function.
26194         (libc_fesetroundf): New macro.
26195         (libc_fesetround): Likewise.
26196         (libc_fesetroundl): Likewise.
26197         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26198         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26199         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26200         libm_hidden_ver.
26201         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26202         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26203         libm_hidden_def.
26204         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26205         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26206         libm_hidden_ver.
26207         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26208         libm_hidden_def.
26209
26210         [BZ #3439]
26211         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26212         integer constant usable in #if and use that to give value to enum
26213         constant.
26214         (FE_DIVBYZERO): Likewise.
26215         (FE_UNDERFLOW): Likewise.
26216         (FE_OVERFLOW): Likewise.
26217         (FE_INVALID): Likewise.
26218         (FE_INVALID_SNAN): Likewise.
26219         (FE_INVALID_ISI): Likewise.
26220         (FE_INVALID_IDI): Likewise.
26221         (FE_INVALID_ZDZ): Likewise.
26222         (FE_INVALID_IMZ): Likewise.
26223         (FE_INVALID_COMPARE): Likewise.
26224         (FE_INVALID_SOFTWARE): Likewise.
26225         (FE_INVALID_SQRT): Likewise.
26226         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26227         (FE_TONEAREST): Likewise.
26228         (FE_TOWARDZERO): Likewise.
26229         (FE_UPWARD): Likewise.
26230         (FE_DOWNWARD): Likewise.
26231         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26232         (FE_DIVBYZERO): Likewise.
26233         (FE_OVERFLOW): Likewise.
26234         (FE_UNDERFLOW): Likewise.
26235         (FE_INEXACT): Likewise.
26236         (FE_TONEAREST): Likewise.
26237         (FE_DOWNWARD): Likewise.
26238         (FE_UPWARD): Likewise.
26239         (FE_TOWARDZERO): Likewise.
26240         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26241         (FE_UNDERFLOW): Likewise.
26242         (FE_OVERFLOW): Likewise.
26243         (FE_DIVBYZERO): Likewise.
26244         (FE_INVALID): Likewise.
26245         (FE_TONEAREST): Likewise.
26246         (FE_TOWARDZERO): Likewise.
26247         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26248         (FE_OVERFLOW): Likewise.
26249         (FE_UNDERFLOW): Likewise.
26250         (FE_DIVBYZERO): Likewise.
26251         (FE_INEXACT): Likewise.
26252         (FE_TONEAREST): Likewise.
26253         (FE_TOWARDZERO): Likewise.
26254         (FE_UPWARD): Likewise.
26255         (FE_DOWNWARD): Likewise.
26256         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26257         (FE_DIVBYZERO): Likewise.
26258         (FE_OVERFLOW): Likewise.
26259         (FE_UNDERFLOW): Likewise.
26260         (FE_INEXACT): Likewise.
26261         (FE_TONEAREST): Likewise.
26262         (FE_DOWNWARD): Likewise.
26263         (FE_UPWARD): Likewise.
26264         (FE_TOWARDZERO): Likewise.
26265
26266 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26267
26268         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26269
26270 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26271
26272         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26273         commands.  Quote $PWD.
26274         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26275         -x" by "export".
26276         (remove_newlines): Remove.
26277
26278 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26279
26280         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26281         * stdlib/stdlib.h (atof): Moved to ...
26282         * include/bits/stdlib-float.h: Here.  New file.
26283         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26284         * stdlib/bits/stdlib-float.h: New file.
26285         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26286         -mno-sse -mno-mmx.
26287         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26288         <xmmintrin.h>.
26289
26290 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26291
26292         * conform/conformtest.pl (@headers): Add fenv.h.
26293         * conform/data/fenv.h-data: New file.
26294         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26295         include of <math/fenv.h>.
26296
26297         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26298         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26299         && !UNIX98].  Enables tests for XOPEN2K8.
26300         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26301         POSIX2008]: Likewise.
26302
26303         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26304         (struct rusage): Do not expect type or its members.
26305
26306         [BZ #3439]
26307         * math/math.h (FP_NAN): Define macro to integer constant usable in
26308         #if and use that to give value to enum constant.
26309         (FP_INFINITE): Likewise.
26310         (FP_ZERO): Likewise.
26311         (FP_SUBNORMAL): Likewise.
26312         (FP_NORMAL): Likewise.
26313
26314 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26315
26316         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26317         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26318         arguments.
26319
26320 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26321
26322         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26323         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26324         autoconf-time if not.
26325         * configure.in: Remove AC_PREREQ.
26326
26327 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26328
26329         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26330         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26331         of the internal implementation.
26332
26333 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26334
26335         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26336         except include of <misc/sys/syslog.h>.
26337
26338 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26339
26340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26341         function returns with a NULL context exit with zero.
26342
26343 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26344
26345         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26346
26347 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26348
26349         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26350         (run_program_cmd): This.
26351         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26352         (tst_langinfo): New variable.  Use it.
26353
26354 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26355
26356         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26357         floating point opcodes.
26358
26359 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26360
26361         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26362         variable.
26363
26364         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26365
26366         * sysdeps/mach/hurd/powerpc: Remove directory.
26367         * sysdeps/mach/powerpc: Likewise.
26368
26369 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26370
26371         * scripts/check-local-headers.sh: Ignore c++ headers.
26372
26373 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26374
26375         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26376         __libc_cleanup_region_start argument.
26377
26378 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
26379
26380         [BZ #14784]
26381         [BZ #14785]
26382         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26383         x * y using scaling, not as x * y + z.
26384         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26385         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26386         * math/libm-test.inc (fma_test): Add more tests.
26387         (fma_test_towardzero): Likewise.
26388         (fma_test_downward): Likewise.
26389         (fma_test_upward): Likewise.
26390
26391 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26392
26393         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26394
26395 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26396
26397         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26398         New variable.
26399
26400 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
26401
26402         * rt/tst-shm.c (worker): Correct checking for mmap failure.
26403
26404 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26405
26406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26407         Fix sort order.
26408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26409         Likewise.
26410
26411 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26412
26413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26414         Fix the order of the list for glibc 2.17.
26415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26416         Likewise.
26417
26418 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26419
26420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26421
26422 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26423
26424         [BZ #14610]
26425         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26426         for low part of x being zero before using __atanl (y).
26427         * math/libm-test.inc (atan2_test): Add another test.
26428
26429         * manual/install.texi (Configuring and compiling): Document
26430         general use of test-wrapper and test-wrapper-env.
26431         * INSTALL: Regenerated.
26432
26433         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26434         (__fma): Do not extract and scale down low bits on after-rounding
26435         systems when result rounded to normal precision would have normal
26436         exponent.
26437         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26438         (__fmal): Do not extract and scale down low bits on after-rounding
26439         systems when result rounded to normal precision would have normal
26440         exponent.
26441         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26442         (__fmal): Do not extract and scale down low bits on after-rounding
26443         systems when result rounded to normal precision would have normal
26444         exponent.
26445         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26446         macro.
26447         (fma_test): Add more tests.
26448         (fma_test_towardzero): Likewise.
26449         (fma_test_downward): Likewise.
26450         (fma_test_upward): Likewise.
26451
26452 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
26453
26454         * sysdeps/i386/tininess.h: Renamed to ...
26455         * sysdeps/x86/tininess.h: This.
26456         * sysdeps/x86_64/tininess.h: Removed.
26457
26458 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26459
26460         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26461         input.  Use $(build-program-cmd).
26462         ($(objpfx)tst-array1-static.out): Likewise.
26463         ($(objpfx)tst-array2.out): Likewise.
26464         ($(objpfx)tst-array3.out): Likewise.
26465         ($(objpfx)tst-array4.out): Likewise.
26466         ($(objpfx)tst-array5.out): Likewise.
26467         ($(objpfx)tst-array5-static.out): Likewise.
26468
26469 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
26470
26471         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26472         if defined.
26473
26474         * nss/nsswitch.h (nss_interface_function): Provide new
26475         macro for use with NSS functions.
26476         * grp/initgroups.c: Use new macro.
26477         * nss/getXXbyYY.c: Likewise.
26478         * nss/getXXbyYY_r.c: Likewise.
26479         * nss/getXXent.c: Likewise.
26480         * nss/getXXent_r.c: Likewise.
26481         * sysdeps/posix/getaddrinfo.c: Likewise.
26482
26483 2012-10-30  Andreas Jaeger  <aj@suse.de>
26484
26485         * po/ru.po: Update Russion translation from translation project.
26486
26487 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26488
26489         [BZ #14152]
26490         [BZ #14783]
26491         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26492         result and shift together with sticky bit instead of replicating
26493         round-to-nearest rounding.
26494         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26495         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26496         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
26497         missing underflow exceptions.
26498         (fma_test_towardzero): Add more tests.
26499         (fma_test_downward): Likewise.
26500         (fma_test_upward): Likewise.
26501
26502         [BZ #14047]
26503         * sysdeps/generic/tininess.h: New file.
26504         * sysdeps/i386/tininess.h: Likewise.
26505         * sysdeps/sh/tininess.h: Likewise.
26506         * sysdeps/x86_64/tininess.h: Likewise.
26507         * stdlib/tst-strtod-underflow.c: Likewise.
26508         * stdlib/tst-tininess.c: Likewise.
26509         * stdlib/strtod_l.c: Include <tininess.h>.
26510         (round_and_return): Do not set errno for exact underflow cases.
26511         Force an underflow exception when setting errno for underflow.
26512         Determine underflow based on rounding to normal precision if
26513         TININESS_AFTER_ROUNDING.
26514         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26515         ERANGE for exact underflow cases.
26516         * stdlib/Makefile (tests): Add tst-tininess and
26517         tst-strtod-underflow.
26518         ($(objpfx)tst-tininess): Use $(link-libm).
26519         ($(objpfx)tst-strtod-underflow): Likewise.
26520
26521 2012-10-30  Andreas Jaeger  <aj@suse.de>
26522
26523         [BZ#14767]
26524         * elf/Makefile (tests): Remove conditional for have-initfini-array
26525         since this is now always required and the variable does not exist
26526         anymore.
26527         (tests-static): Likewise.
26528         (modules-names): Likewise.
26529
26530         * po/eo.po: Add Esperanto translation from translation project.
26531
26532         * elf/tst-array1.c (fini_array): Make writeable so that it can be
26533         merged with constructor/destructor.
26534         (init_array): Likewise.
26535         * elf/tst-array2dep.c (fini_array): Likewise.
26536         (init_array): Likewise.
26537
26538 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
26539
26540         * manual/message.texi: Delete @cartouche tags.
26541
26542 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
26543
26544         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26545         EOPNOTSUPP.
26546         * sysdeps/mach/hurd/fsync.c: Likewise.
26547
26548         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26549         [_POSIX_REALTIME_SIGNALS]: Change condition to
26550         [_POSIX_REALTIME_SIGNALS > 0].
26551
26552 2012-10-27  Andreas Jaeger  <aj@suse.de>
26553
26554         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26555         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26557         [__WORDSIZE != 64]: Likewise.
26558
26559 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
26560
26561         *  iconvdata/tst-table.sh: Remove ${SHELL}.
26562         *  iconvdata/tst-tables.sh: Likewise.
26563
26564 2012-10-25  David S. Miller  <davem@davemloft.net>
26565
26566         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26567         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26568         of strtoull.
26569
26570         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26571         ifunc-impl-list.c
26572         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26573         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26574         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26575         file.
26576
26577 2012-10-25  Roland McGrath  <roland@hack.frob.com>
26578
26579         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26580         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26581         __getdirentries.
26582
26583 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26584             Jim Blandy  <jimb@codesourcery.com>
26585
26586         * scripts/cross-test-ssh.sh: New file.
26587         * manual/install.texi (Configuring and compiling): Document use of
26588         cross-test-ssh.sh.
26589         * INSTALL: Regenerated.
26590
26591 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
26592
26593         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26594         EOPNOTSUPP.
26595
26596 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26597
26598         * Makeconfig (run-program-prefix): Fix comment.
26599
26600 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26601             Jim Blandy  <jimb@codesourcery.com>
26602
26603         * Makeconfig (test-wrapper): New variable,
26604         (test-wrapper-env): Likewise.
26605         [$(cross-compiling) = yes && $(test-wrapper) != ""]
26606         (run-built-tests): Define to yes.
26607         (run-program-prefix): Use $(test-wrapper).
26608         (built-program-cmd): Likewise.
26609         * Rules (make-test-out): Use $(test-wrapper-env) and
26610         $(host-built-program-cmd).
26611         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26612         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26613         tst-pathopt.sh.
26614         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26615         $(test-wrapper-env) to tst-rtld-load-self.sh.
26616         ($(objpfx)order2.out): Use $(test-wrapper).
26617         ($(objpfx)tst-initorder.out): Likewise.
26618         ($(objpfx)tst-initorder2.out): Likewise.
26619         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26620         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26621         (test_wrapper_env): New variable.  Use it to run ld.so.
26622         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26623         Use it to run ld.so.
26624         (test_wrapper_env): Likewise.
26625         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26626         $(test-wrapper) to run-iconv-test.sh.
26627         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26628         (ICONV): Use $test_wrapper.
26629         * posix/Makefile ($(objpfx)globtest.out): Pass
26630         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26631         globtest.sh, not $(run-program-prefix).
26632         * posix/globtest.sh (run_via_rtld_prefix): New variable.
26633         (test_wrapper): Likewise.
26634         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
26635         set together with run_via_rtld_prefix.
26636         (run_program_prefix): Define in terms of test_wrapper and
26637         run_via_rtld_prefix.
26638
26639 2012-10-24  Roland McGrath  <roland@hack.frob.com>
26640
26641         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26642         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26643         Targets removed.
26644
26645         [BZ #14743]
26646         * include/time.h: Remove librt_hidden_proto (clock_gettime).
26647         Declare __clock_getres, __clock_gettime, __clock_settime,
26648         __clock_nanosleep, and __clock_getcpuclockid.
26649         * rt/clock_gettime.c: Define __clock_gettime as an alias.
26650         Remove librt_hidden_def (clock_gettime).
26651         * sysdeps/unix/clock_gettime.c: Likewise.
26652         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26653         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26654         * rt/clock_getres.c: Define __clock_getres as an alias.
26655         * sysdeps/posix/clock_getres.c: Likewise.
26656         * rt/clock_settime.c: Define __clock_settime as an alias.
26657         * sysdeps/unix/clock_settime.c: Likewise.
26658         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26659         * sysdeps/unix/clock_nanosleep.c: Likewise.
26660         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26661         * rt/clock-compat.c: New file.
26662         * rt/Makefile (librt-routines): Add clock-compat and move
26663         $(clock-routines) to ...
26664         (routines): ... here, new variable.
26665         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26666         Don't add get_clockfreq here.
26667         * rt/Versions (libc: GLIBC_2.17): New version set.
26668         Add clock_* symbols here.
26669         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
26670         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26671         (GLIBC_2.17): Add clock_* symbols.
26672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26674         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26676         Likewise.
26677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26678         Likewise.
26679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26683         * NEWS: Mention the move.
26684
26685         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26686         Use __open, __read, __close rather than their public counterparts.
26687         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26688         (__get_clockfreq_via_cpuinfo): Likewise.
26689         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26690         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26691
26692         * config.h.in (HAVE_IFUNC): New #undef.
26693         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26694         was successful.
26695         * configure: Regenerated.
26696
26697 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26698
26699         * configure.in: Move READELF check to start of file.
26700         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26701         libc_cv_asm_gnu_indirect_function in the process.
26702         * configure: Regenerated.
26703
26704 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26705
26706         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26707         send the output to /dev/null.
26708         (libc_cv_cc_with_libunwind): Likewise.
26709         (libc_cv_as_noexecstack): Likewise.
26710         * configure: Regenerate.
26711
26712 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26713
26714         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26715
26716         * posix/globtest.sh (TMPDIR): Do not set.
26717         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26718         (testout): Likewise.
26719
26720 2012-10-24  Andreas Jaeger  <aj@suse.de>
26721
26722         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26723         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26724         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26725         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26726         posix_fadvise64, posix_fallocate64.
26727
26728         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26729         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26730         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26731         Likewise.
26732         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26733         Likewise.
26734         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26735
26736         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26737         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26738         <bits/fcntl-linux.h>.
26739         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26740
26741         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26742         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26743         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26744         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26745         [__WORDSIZE != 64]: Likewise.
26746
26747 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26748
26749         * Makeconfig (run-built-tests): New variable.
26750         * Rules [$(cross-compiling) = yes]: Change condition to
26751         [$(run-built-tests) = no].
26752         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26753         to [$(run-built-tests) = yes].
26754         * elf/Makefile [$(cross-compiling) = no]: Likewise
26755         * grp/Makefile [$(cross-compiling) = no]: Likewise.
26756         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26757         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26758         * intl/Makefile [$(cross-compiling) = no]: Likewise.
26759         * io/Makefile [$(cross-compiling) = no]: Likewise.
26760         * libio/Makefile [$(cross-compiling) = no]: Likewise.
26761         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26762         * misc/Makefile [$(cross-compiling) = no]: Likewise.
26763         * posix/Makefile [$(cross-compiling) = no]: Likewise.
26764         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26765         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26766         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26767         * string/Makefile [$(cross-compiling) = no]: Likewise.
26768
26769         * posix/Makefile ($(objpfx)globtest.out): Pass
26770         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26771         $(rtld-installed-name).
26772         * posix/globtest.sh (elf_objpfx): Remove variable.
26773         (rtld_installed_name): Likewise.
26774         (library_path): Likewise.
26775         (run_program_prefix): New variable.  Use for running globtest
26776         binary.
26777
26778 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
26779             Joseph Myers  <joseph@codesourcery.com>
26780
26781         * Makeconfig (host-built-program-cmd): New variable.
26782         * elf/Makefile (tst-stackguard1-ARGS): Use
26783         $(host-built-program-cmd).
26784         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26785         (tst-spawn-ARGS): Likewise.
26786         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26787
26788 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26789             Jim Blandy  <jimb@codesourcery.com>
26790
26791         * Makeconfig (run-via-rtld-prefix): New variable.
26792         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26793         (built-program-cmd): Likewise.
26794
26795 2012-10-22  Andreas Jaeger  <aj@suse.de>
26796
26797         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26798         __O_RSYNC if it exists, otherwise to O_SYNC.
26799
26800 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
26801             Joseph Myers  <joseph@codesourcery.com>
26802
26803         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26804         /dev/null.
26805         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26806         from /dev/null
26807         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26808         /dev/null.
26809
26810 2012-10-22  Andreas Jaeger  <aj@suse.de>
26811
26812         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26813         Define always.
26814         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26815
26816         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26817         bits/fcntl-linux.h.
26818
26819         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26820         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26821
26822         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26823         to __O_LARGEFILE.
26824         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26825         to __O_LARGEFILE.
26826
26827 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
26828             Joseph Myers  <joseph@codesourcery.com>
26829
26830         * config.make.in (NM): New variable.
26831
26832 2012-10-21  Andreas Jaeger  <aj@suse.de>
26833
26834         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26835         definitions and declarations that are provided by
26836         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26837
26838 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26839
26840         [BZ #14683]
26841         * elf/Makefile (tests-static): Add tst-leaks1-static.
26842         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26843         ($(objpfx)tst-leaks1-static): New rule.
26844         ($(objpfx)tst-leaks1-static-mem): Likewise.
26845         (tst-leaks1-static-ENV): New macro.
26846         * elf/dl-open.c (dl_open_worker): Check the main application
26847         only if SHARED is defined.
26848         * elf/tst-leaks1-static.c: New file.
26849
26850 2012-10-20  Andreas Jaeger  <aj@suse.de>
26851
26852         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26853         generic values for Linux.
26854         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26855         and declarations that are provided by <bits/fcntl-linux.h> and
26856         include <bits/fcntl-linux.h>.
26857         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26858         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26859
26860 2012-10-20  Roland McGrath  <roland@hack.frob.com>
26861
26862         * io/fcntl.h: Move include of <bits/types.h> to the top and
26863         include it unconditionally.
26864
26865 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26866
26867         * wcsmbs/Makefile (tests-ifunc): New variable.
26868         (tests): Add $(tests-ifunc).
26869         * wcsmbs/test-wcschr-ifunc.c: New file.
26870         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26871         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26872         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26873         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26874         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26875
26876         * string/Makefile (tests-ifunc): New variable.
26877         (tests): Add $(tests-ifunc).
26878         * string/test-memccpy.c (TEST_NAME): New macro.
26879         * string/test-memchr.c (TEST_NAME): Likewise.
26880         * string/test-memcmp.c (TEST_NAME): Likewise.
26881         * string/test-memcpy.c (TEST_NAME): Likewise.
26882         * string/test-memmem.c (TEST_NAME): Likewise.
26883         * string/test-memmove.c (TEST_NAME): Likewise.
26884         * string/test-memset.c (TEST_NAME): Likewise.
26885         * string/test-rawmemchr.c (TEST_NAME): Likewise.
26886         * string/test-stpcpy.c (TEST_NAME): Likewise.
26887         * string/test-stpncpy.c (TEST_NAME): Likewise.
26888         * string/test-strcasecmp.c (TEST_NAME): Likewise.
26889         * string/test-strcasestr.c (TEST_NAME): Likewise.
26890         * string/test-strcat.c (TEST_NAME): Likewise.
26891         * string/test-strchr.c (TEST_NAME): Likewise.
26892         * string/test-strcmp.c(TEST_NAME): Likewise.
26893         * string/test-strcpy.c (TEST_NAME): Likewise.
26894         * string/test-strcspn.c (TEST_NAME): Likewise.
26895         * string/test-strlen.c (TEST_NAME): Likewise.
26896         * string/test-strncasecmp.c (TEST_NAME): Likewise.
26897         * string/test-strncmp.c (TEST_NAME): Likewise.
26898         * string/test-strncpy.c (TEST_NAME): Likewise.
26899         * string/test-strnlen.c (TEST_NAME): Likewise.
26900         * string/test-strpbrk.c (TEST_NAME): Likewise.
26901         * string/test-strrchr.c (TEST_NAME): Likewise.
26902         * string/test-strspn.c (TEST_NAME): Likewise.
26903         * string/test-strstr.c (TEST_NAME): Likewise.
26904         * string/test-bcopy-ifunc.c: New file.
26905         * string/test-bzero-ifunc.c: Likewise.
26906         * string/test-memccpy-ifunc.c: Likewise.
26907         * string/test-memchr-ifunc.c: Likewise.
26908         * string/test-memcmp-ifunc.c: Likewise.
26909         * string/test-memcpy-ifunc.c: Likewise.
26910         * string/test-memmem-ifunc.c: Likewise.
26911         * string/test-memmove-ifunc.c: Likewise.
26912         * string/test-mempcpy-ifunc.c: Likewise.
26913         * string/test-memset-ifunc.c: Likewise.
26914         * string/test-rawmemchr-ifunc.c: Likewise.
26915         * string/test-stpcpy-ifunc.c: Likewise.
26916         * string/test-stpncpy-ifunc.c: Likewise.
26917         * string/test-strcasecmp-ifunc.c: Likewise.
26918         * string/test-strcasestr-ifunc.c: Likewise.
26919         * string/test-strcat-ifunc.c: Likewise.
26920         * string/test-strchr-ifunc.c: Likewise.
26921         * string/test-strchrnul-ifunc.c: Likewise.
26922         * string/test-strcmp-ifunc.c: Likewise.
26923         * string/test-strcpy-ifunc.c: Likewise.
26924         * string/test-strcspn-ifunc.c: Likewise.
26925         * string/test-strlen-ifunc.c: Likewise.
26926         * string/test-strncasecmp-ifunc.c: Likewise.
26927         * string/test-strncat-ifunc.c: Likewise.
26928         * string/test-strncmp-ifunc.c: Likewise.
26929         * string/test-strncpy-ifunc.c: Likewise.
26930         * string/test-strnlen-ifunc.c: Likewise.
26931         * string/test-strpbrk-ifunc.c: Likewise.
26932         * string/test-strrchr-ifunc.c: Likewise.
26933         * string/test-strspn-ifunc.c: Likewise.
26934         * string/test-strstr-ifunc.c: Likewise.
26935
26936         * debug/Makefile (tests-ifunc): New variable.
26937         (tests): Add $(tests-ifunc).
26938         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26939         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26940         * debug/test-stpcpy_chk-ifunc.c: New file.
26941         * debug/test-strcpy_chk-ifunc.c: Likewise.
26942
26943 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26944
26945         [BZ #13601]
26946         * elf/dl-load.c (open_verify): Retry read if the entire ELF
26947         header is not read in.
26948
26949 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
26950
26951         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
26952         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
26953         directly.  Pass built executable to script as
26954         $(built-program-cmd).
26955         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
26956         $testprogram without using LD_LIBRARY_PATH and $ldso.
26957
26958         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26959         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26960         $(rtld-installed-name).
26961         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26962         (rtld_installed_name): Likewise.
26963         (library_path): Likewise.
26964         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
26965         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26966         $(run-program-prefix) to tst-tables.sh.
26967         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
26968         it to run tst-table-from and tst-table-to.
26969         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26970         Pass it to tst-table.sh.
26971         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26972         $(run-program-prefix) to tst-gettext.sh.
26973         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26974         tst-translit.sh.
26975         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26976         tst-gettext2.sh.
26977         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
26978         to run tst-gettext.
26979         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
26980         to run tst-gettext2.
26981         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
26982         to run tst-translit.
26983         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26984         $(run-program-prefix) to tst-mtrace.sh.
26985         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
26986         to run tst-mtrace.
26987         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26988         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26989         $(rtld-installed-name).
26990         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26991         (rtld_installed_name): Likewise.
26992         (run_program_prefix): New variable.  Use it to run wordexp-test.
26993
26994         * Makeconfig (ARCH): Remove all definitions.
26995         (machine): Likewise.
26996         [ARCH]: Remove conditional code.
26997         [!objdir]: Give error.
26998         [!objdir] (objpfx): Remove.
26999         [!objdir] (common-objpfx): Likewise.
27000         [!objdir] (common-objdir): Likewise.
27001         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27002         AC_CONFIG_FILES call.
27003         * configure: Regenerated.
27004
27005         [BZ #13888]
27006         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27007         or TMPDIR.
27008         (testout): Likewise.
27009
27010         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27011         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27012         $(rtld-installed-name).
27013         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27014         (rtld_installed_name): Likwise.
27015         (runit): Remove function.
27016         (run_getconf): New variable,  Use it for running getconf binary.
27017
27018 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27019
27020         [BZ #14716]
27021         * string/test-memmem.c (check_result): New function.
27022         (do_one_test): Use it.
27023         (check1): New function.
27024         (test_main): Use it.
27025
27026 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27027
27028         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27029
27030 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27031
27032         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27033         (_G_LSEEK64): Likewise.
27034         (_G_MMAP64): Likewise.
27035         (_G_FSTAT64): Likewise.
27036         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27037         (_G_LSEEK64): Likewise.
27038         (_G_MMAP64): Likewise.
27039         (_G_FSTAT64): Likewise.
27040         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27041         unconditional.  Call __mmap64 directly.
27042         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27043         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27044         __lseek64 directly.
27045         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27046         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27047         __mmap64 directly.
27048         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27049         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27050         __lseek64 directly.
27051         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27052         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27053         __lseek64 directly.
27054         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27055         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27056         __lseek64 directly.
27057         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27058         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27059         __fxstat64 directly.
27060         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27061         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27062         unconditional.
27063         (freopen64) [!_G_OPEN64]: Remove conditional code.
27064         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27065         unconditional.
27066         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27067         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27068         unconditional.
27069         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27070         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27071         unconditional.
27072         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27073         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27074         unconditional.
27075         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27076         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27077         unconditional.
27078         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27079         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27080         unconditional.
27081         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27082         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27083         unconditional.
27084         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27085
27086 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27087
27088         [BZ #12140]
27089         * manual/memory.texi (Malloc Tunable Parameters): Add note
27090         about free list pointers overwriting some perturb bytes.
27091         Wording suggested by Roland McGrath.
27092
27093 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27094
27095         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27096         (lgamma_test): Likewise.
27097         (tgamma_test): Likewise.
27098
27099 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27100
27101         [BZ #14700]
27102         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27103         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27104
27105 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27106
27107         * NEWS: Mention BZ #14716.
27108         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27109         when removing AVAILABLE1_USES_J macro.
27110
27111 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27112
27113         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27114         (__bswap_64): __uint64_t for unsigned 64-bit int.
27115
27116 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27117
27118         * include/string.h (memmem): Declare libc hidden alias.
27119         * string/memmem.c (memmem): Define libc hidden alias.
27120         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27121         __read, __close instead of open, read, close.
27122
27123 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27124
27125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27126         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27127         global and hidden.
27128         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27129         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27130         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27131         Likewise.
27132         (__rawmemchr_sse2): Likewise.
27133         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27134         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27135         (__strchr_sse2): Likewise.
27136         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27137         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27138         (__strcasecmp_sse2): Likewise.
27139         (__strncasecmp_sse2): Likewise.
27140         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27141         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27142         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27143         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27144         (__strrchr_sse2): Likewise.
27145         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27146         ifunc-impl-list.c.
27147         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27148         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27149         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27150         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27151         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27152         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27153         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27154         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27155         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27156         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27157         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27158         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27159         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27160         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27161         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27162         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27163         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27164         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27165         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27166         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27167         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27168         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27169         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27170         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27171         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27172         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27173         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27174         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27175         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27176         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27177
27178         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27179         global and hidden.
27180         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27181         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27182         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27183         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27184         Likewise.
27185         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27186         Likewise.
27187         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27188         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27189         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27190         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27191         ifunc-impl-list.c.
27192         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27193         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27194         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27195         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27196         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27197         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27198         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27199         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27200         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27201         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27202         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27203         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27204         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27205         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27206         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27207         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27208         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27209         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27210         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27211         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27212         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27213         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27214         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27215         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27216         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27217         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27218         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27219         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27220         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27221         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27222         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27223         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27224         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27225         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27226         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27227         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27228         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27229         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27230         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27231         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27232         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27233
27234         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27235         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27236         * include/ifunc-impl-list.h: New file.
27237         * misc/ifunc-impl-list.c: Likewise.
27238         * misc/Makefile (routines): Add ifunc-impl-list.
27239         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27240         * string/test-string.h: Include <ifunc-impl-list.h>.
27241         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27242         TEST_NAME]: New variables.
27243         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27244         are defined.
27245         (test_init): Call __libc_ifunc_impl_list to initialize
27246         func_list if TEST_IFUNC and TEST_NAME are defined.
27247
27248         * string/Makefile (strop-tests): Add bcopy and bzero.
27249         * string/test-bcopy.c: New file.
27250         * string/test-bzero.c: Likewise.
27251         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27252         defined.
27253         * string/test-memset.c: Support bzero test if TEST_BZERO is
27254         defined.
27255         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27256         __libc_memmove.
27257         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27258         __libc_memset.
27259         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27260         of memset.
27261
27262 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27263
27264         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27265         * configure: Regenerated.
27266
27267         * Makeconfig (+link-static-before-libc): Don't include
27268         $(link-static-libc).
27269
27270         * libio/libio.h (_IO_pos_t): Remove.
27271
27272 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27273
27274         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27275         McGrath.
27276
27277 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27278
27279         * crypt/crypt-entry.c: Include fips-private.h.
27280         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27281         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27282         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27283         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27284
27285 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27286
27287         * crypt/crypt-private.h: Include stdbool.h.
27288         (_ufc_setup_salt_r): Return bool.
27289         * crypt/crypt-entry.c: Include errno.h.
27290         (__crypt_r): Return NULL with EINVAL for bad salt.
27291         * crypt/crypt_util.c (bad_for_salt): New.
27292         (_ufc_setup_salt_r): Check that salt is long enough and within
27293         the specified alphabet.
27294         * crypt/badsalttest.c: New file.
27295         * crypt/Makefile (tests): Add it.
27296         ($(objpfx)badsalttest): New.
27297
27298 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27299
27300         * NEWS: Add entry for BZ #14602.
27301
27302 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27303
27304         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27305         type-generic.
27306         * math/libm-test.inc: Update comment listing what functions and
27307         macros are tested.
27308         (isgreater_test): New function.
27309         (isgreaterequal_test): Likewise.
27310         (isless_test): Likewise.
27311         (islessequal_test): Likewise.
27312         (islessgreater_test): Likewise.
27313         (isunordered_test): Likewise.
27314         (main): Call the new functions.
27315
27316 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27317
27318         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27319         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27320         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27321         * sysdeps/i386/configure: Regenerated.
27322         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27323         * sysdeps/mach/configure: Regenerated.
27324         * sysdeps/mach/hurd/configure: Regenerated.
27325         * sysdeps/powerpc/configure: Regenerated.
27326         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27327         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27328         * sysdeps/s390/s390-32/configure: Regenerated.
27329         * sysdeps/s390/s390-64/configure: Regenerated.
27330         * sysdeps/sh/configure: Regenerated.
27331         * sysdeps/sparc/configure: Regenerated.
27332         * sysdeps/unix/sysv/linux/configure: Regenerated.
27333         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27334         * sysdeps/x86_64/configure: Regenerated.
27335
27336         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27337         defined.  Don't check if MAP is NULL.
27338
27339 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27340
27341         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27342         (_G_stat64): Likewise.
27343         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27344         (_G_stat64): Likewise.
27345         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27346         instead of struct _G_stat64.
27347         * libio/fileops.c (mmap_remap_check): Likewise.
27348         (decide_maybe_mmap): Likewise.
27349         (_IO_new_file_seekoff): Likewise.
27350         (_IO_file_stat): Likewise.
27351         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27352         _G_off64_t.
27353         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27354         instead of struct _G_stat64.
27355         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27356
27357 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27358
27359         [BZ #14602]
27360         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27361         Replace with ...
27362         (CHECK_EOL): New macro.
27363         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27364         CHECK_EOL.
27365         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27366         Replace with CHECK_EOL.
27367         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27368         Replace with CHECK_EOL.
27369
27370 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27371
27372         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27373         type-generic.
27374         * math/libm-test.inc: Update comment listing what functions and
27375         macros are tested.
27376         (finite_test): New function.
27377         (isinf_test): Likewise.
27378         (isnan_test): Likewise.
27379         (fpclassify_test): Test subnormal input.
27380         (isfinite_test): Likewise.
27381         (isnormal_test): Likewise.
27382         (main): Call the new functions.
27383
27384 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
27385
27386         [BZ #14660]
27387         * Makerules (%.dynsym): Force C locale when running
27388         $(OBJDUMP) --dynamic-syms.
27389
27390 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
27391
27392         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27393         <stdint.h>.
27394
27395 2012-10-06  David S. Miller  <davem@davemloft.net>
27396
27397         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27398         upper 32-bits of the length value in %o2 since we use branch-on-register
27399         tests which consider the entire 64-bit register.
27400
27401 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
27402
27403         * string/test-strstr.c (check2): Add a test for page boundary.
27404
27405 2012-10-05  David S. Miller  <davem@davemloft.net>
27406
27407         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27408         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27409         file.
27410         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27411         sysdep_routines.
27412         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27413         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27414         and bzero when HWCAP_SPARC_CRYPTO is present.
27415
27416 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
27417
27418         [BZ #14602]
27419         * string/test-strstr.c (check2): New function.
27420         (test_main): Call check2.
27421
27422         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27423         and bug-strchr1.
27424         * string/bug-strcasestr1.c (do_test): Moved to ...
27425         * string/test-strcasestr.c (check1): Here.  New function.
27426         (do_one_test): Break out result checking code into ...
27427         (check_result): This.  New function.
27428         (do_one_test): Call check_result.
27429         (test_main): Call check1.
27430         * string/bug-strchr1.c (do_test): Moved to ...
27431         * string/test-strchr.c (check1): Here.  New function.
27432         (do_one_test): Break out result checking code into ...
27433         (check_result): This.  New function.
27434         (do_one_test): Call check_result.
27435         (test_main): Call check1.
27436         * string/bug-strstr1.c (main): Moved to ...
27437         * string/test-strstr.c (check1): Here.  New function.
27438         (do_one_test): Break out result checking code into ...
27439         (check_result): This.  New function.
27440         (do_one_test): Call check_result.
27441         (test_main): Call check1.
27442         * string/bug-strcasestr1.c: Removed.
27443         * string/bug-strchr1.c: Likewise.
27444         * string/bug-strstr1.c: Likewise.
27445
27446         * elf/Makefile (dl-routines): Add hwcaps.
27447         * elf/dl-support.c (_dl_important_hwcaps): Removed.
27448         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27449         (_dl_important_hwcaps): Moved to ...
27450         * elf/dl-hwcaps.c: Here.  New file.
27451         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27452
27453         [BZ #14557]
27454         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27455         if IS_IN_rtld isn't defined.
27456
27457         * elf/dl-support.c (_dl_sysinfo_map): New.
27458         Include "get-dynamic-info.h" and "setup-vdso.h".
27459         (_dl_non_dynamic_init): Call setup_vdso.
27460         * elf/dynamic-link.h: Don't include <assert.h>.
27461         (elf_get_dynamic_info): Moved to ...
27462         * elf/get-dynamic-info.h: Here.  New file.
27463         * elf/dynamic-link.h: Include "get-dynamic-info.h".
27464         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27465         * elf/setup-vdso.h: Here.  New file.
27466         * elf/rtld.c: Include "setup-vdso.h".
27467         (dl_main): Call setup_vdso.
27468
27469 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
27470
27471         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27472         creal in comment listing functions tested.  List finite, isinf,
27473         isnan, isless, islessequal, isgreater, isgreaterequal,
27474         islessgreater, isunordered, lgamma_r and pow10 as functions and
27475         macros not tested.  Mention which functions not tested are aliases
27476         for other functions.  Fix typo.  Note that signs of NaNs are not
27477         tested.
27478
27479         * scripts/config.guess: Update from config.git.
27480         * scripts/config.sub: Likewise.
27481
27482 2012-10-04  Roland McGrath  <roland@hack.frob.com>
27483
27484         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27485         * misc/madvise.c (madvise): Renamed to __madvise.
27486         Make madvise a weak alias.
27487         * include/sys/mman.h: Declare __madvise.
27488         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27489         * sysdeps/unix/syscalls.list
27490         (madvise): Make __madvise the strong name, and madvise a weak alias.
27491         * sysdeps/unix/sysv/linux/syscalls.list
27492         (madvise, mmap): Remove redundant entries.
27493         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27494         * malloc/malloc.c (mtrim): Likewise.
27495         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27496
27497 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27498
27499         * sysdeps/mach/hurd/dl-cache.c: File removed.
27500         * config.h.in (USE_LDCONFIG): New #undef.
27501         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27502         * configure: Regenerated.
27503         * elf/Makefile (dl-routines): Add dl-cache only under
27504         [$(use-ldconfig) = yes].
27505         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27506         cache on [USE_LDCONFIG].
27507         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27508         [USE_LDCONFIG].
27509         * elf/rtld.c (dl_main): Likewise.
27510
27511 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
27512
27513         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27514         _SC_LEVEL4_CACHE_LINESIZE.
27515
27516 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27517
27518         * sysdeps/unix/bsd/confstr.h: File removed.
27519
27520 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
27521
27522         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27523         sys/sdt-config.h.
27524
27525 2012-10-02  Roland McGrath  <roland@hack.frob.com>
27526
27527         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27528         Make 'mapoff' field ElfW(Off) rather than off_t.
27529
27530 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
27531
27532         * nscd/Makefile: Remove nscd-cflags and all its users.
27533         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27534         (CFLAGS-nonlib): Add compiler flags for nscd modules.
27535
27536         [BZ #10631]
27537         * malloc.c (malloc_printerr): Clarify error message.
27538
27539 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
27540
27541         [BZ #14648]
27542         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27543         Set bit_FMA_Usable if FMA is supported.
27544         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27545         macro.
27546         (bit_FMA4_Usable): Updated.
27547         (index_FMA_Usable): New macro.
27548         (CPUID_FMA): Likewise
27549         (HAS_FMA): Defined with bit_FMA_Usable.
27550
27551 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27552
27553         * bits/types.h (__swblk_t): Type removed.
27554         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27555         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27556         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27557         (__SWBLK_T_TYPE): Likewise.
27558         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27559         (__SWBLK_T_TYPE): Likewise.
27560         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27561         (__SWBLK_T_TYPE): Likewise.
27562         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27563         (__SWBLK_T_TYPE): Likewise.
27564
27565 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
27566             Honza Horak <hhorak@redhat.com>
27567
27568         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27569         (xdr_mapname): Use YPMAXMAP as maxsize.
27570         (xdr_peername): Use YPMAXPEER as maxsize.
27571         (xdr_keydat): Use YPAXRECORD as maxsize.
27572         (xdr_valdat): Use YPMAXRECORD as maxsize.
27573
27574 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27575
27576         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27577
27578         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27579         * csu/init-first.c: ... here.
27580         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27581         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27582         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27583         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27584         * sysdeps/i386/init-first.c: File removed.
27585         * sysdeps/sh/init-first.c: File removed.
27586
27587 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
27588
27589         [BZ #14645]
27590         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27591         if x * y might underflow to zero and z is zero.
27592         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27593         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27594         * math/libm-test.inc (min_subnorm_value): New variable.
27595         (fma_test): Add more tests.
27596         (fma_test_towardzero): Likewise.
27597         (fma_test_downward): Likewise
27598         (fma_test_upward): Likewise.
27599         (initialize): Set min_subnorm_value.
27600
27601 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
27602
27603         [BZ #14638]
27604         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27605         0 + 0.
27606         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27607         mode for addition resulting in exact zero.
27608         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27609         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27610         exact 0 + 0.
27611         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27612         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27613         * math/libm-test.inc (fma_test): Add more tests.
27614         (fma_test_towardzero): New function.
27615         (fma_test_downward): Likewise.
27616         (fma_test_upward): Likewise.
27617         (main): Call the new functions.
27618
27619 2012-09-28  David S. Miller  <davem@davemloft.net>
27620
27621         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27622
27623 2012-09-28  Roland McGrath  <roland@hack.frob.com>
27624
27625         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27626         instead of SIGALRM.
27627
27628         * sysdeps/gnu/_G_config.h: Moved to ...
27629         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27630         * sysdeps/mach/hurd/_G_config.h: Moved to ...
27631         * sysdeps/generic/_G_config.h: ... here.
27632
27633         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
27634
27635         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27636
27637         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27638         Conditionalize target on [libnss_test1.so-version].
27639
27640         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27641
27642         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27643         (elfobjdir): Move out of conditionals.
27644
27645         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27646         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27647         (__nss_lookup_function): Conditionalize label remove_from_tree on
27648         [!DO_STATIC_NSS || SHARED], matching its only use.
27649
27650 2012-09-28  David S. Miller  <davem@davemloft.net>
27651
27652         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27653         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27654         file.
27655         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27656         sysdep_routines.
27657         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27658         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27659         when HWCAP_SPARC_CRYPTO is present.
27660
27661 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27662
27663         * io/tst-mknodat.c: Create a FIFO instead of a socket.
27664
27665 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
27666
27667         [BZ #6530]
27668         * stdio-common/vfprintf.c (process_string_arg): Revert
27669         2000-07-22 change.
27670
27671 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
27672
27673         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27674         for testcase.
27675         * stdio-common/tst-sprintf.c: Include <locale.h>
27676         (main): Test sprintf's handling of incomplete multibyte
27677         characters.
27678
27679 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
27680
27681         * elf/dl-runtime.c (VERSYMIDX): Removed.
27682         * elf/dl-version.c (VERSYMIDX): Likewise.
27683         * elf/do-rel.h (VERSYMIDX): Likewise.
27684         (VALIDX): Likewise.
27685         * elf/dynamic-link.h (VERSYMIDX): Likewise.
27686         * elf/rtld.c (VALIDX): Likewise.
27687         (ADDRIDX): Likewise.
27688         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27689         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27690         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27691         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27692         (VALIDX): Likewise.
27693         (ADDRIDX): Likewise.
27694
27695 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27696
27697         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27698
27699 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
27700
27701         [BZ #11438]
27702         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27703         to global scope.
27704         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27705         addresses are in the same scope as 192.0.2/24.
27706         * posix/gai.conf: Document new scope table defaults.
27707
27708 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27709
27710         [BZ #5298]
27711         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27712         for ftell.  Compute offsets from write pointers instead.
27713         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27714
27715 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27716
27717         [BZ #14543]
27718         * libio/Makefile (tests): New test case tst-fseek.
27719         * libio/tst-fseek.c: New test case to verify that fseek/ftell
27720         combination works in wide mode.
27721         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27722         state when the external buffer state changes.
27723
27724 2012-09-27  David S. Miller  <davem@davemloft.net>
27725
27726         [BZ #14376]
27727         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27728         pass reloc->r_addend in as the 'high' argument to
27729         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27730
27731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27732
27733 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27734
27735         * rt/tst-aio2.c: Include <pthread.h>.
27736         * rt/tst-aio3.c: Likewise.
27737
27738 2012-09-27  Steve Ellcey  <sellcey@mips.com>
27739
27740         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27741
27742 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
27743
27744         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27745         contents on [SHARED].
27746
27747 2012-09-26  Marek Polacek  <polacek@redhat.com>
27748
27749         [BZ #14530]
27750         [BZ #13741]
27751         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27752         for C++ and GCC <4.3 as well as for non GCC compilers.
27753
27754 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27755
27756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27757
27758 2012-09-25  Roland McGrath  <roland@hack.frob.com>
27759
27760         * Makefile.in (all, install): Declare with .PHONY.
27761         Reported by Michael Hope <michael.hope@linaro.org>.
27762
27763 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27764
27765         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27766         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27767         system header.
27768         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27769         Likewise.
27770         (sydep_routines): Add the new and the internal functions.
27771         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27772         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27774         (GLIBC_2.17): Add the new function.
27775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27776         (GLIBC_2.17): Likewise.
27777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27778         (GLIBC_2.17): Likewise.
27779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27780         (GLIBC_2.17): Likewise.
27781         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27782
27783 2012-09-25  Alan Modra  <amodra@gmail.com>
27784
27785         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27786         Add release barrier before setting once_control to say
27787         initialisation is done.  Add hints on lwarx.  Use macro in
27788         place of isync.
27789         (clear_once_control): Add release barrier.
27790
27791 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27792
27793         [BZ #13629]
27794         * math/s_clog.c (__clog): Handle more values close to |z| = 1
27795         specially.
27796         * math/s_clog10.c (__clog10): Likewise.
27797         * math/s_clog10f.c (__clog10f): Likewise.
27798         * math/s_clog10l.c (__clog10l): Likewise.
27799         * math/s_clogf.c (__clogf): Likewise.
27800         * math/s_clogl.c (__clogl): Likewise.
27801         * math/Makefile (libm-calls): Add x2y2m1.
27802         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27803         (__x2y2m1): Likewise.
27804         (__x2y2m1l): Likewise.
27805         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27806         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27807         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27808         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27809         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27810         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27811         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27812         * sysdeps/i386/fpu/libm-test-ulps: Update.
27813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27814
27815         [BZ #14621]
27816         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27817         int as type of variable DEPTH.
27818         (glob): Use size_t instead of int as type of variables NEWCOUNT
27819         and OLD_PATHC.
27820
27821 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27822
27823         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27824         Add s_sincosf-sse2.
27825         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27826         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27827         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27828         macros for using routine as __sincosf_ia32.
27829         Use macro for function declaration and weak_alias.
27830         * sysdeps/i386/fpu/libm-test-ulps: Update.
27831
27832         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27833         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27834
27835         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27836         subnormal argument.
27837         * math/s_cexpf.c (__cexpf): Likewise.
27838         * math/s_csinf.c (__csinf): Likewise.
27839         * math/s_csinhf.c (__csinhf): Likewise.
27840         * math/s_ctanf.c (__ctanf): Likewise.
27841         * math/s_ctanhf.c (__ctanhf): Likewise.
27842         * math/s_ccosh.c (__ccoshf): Likewise.
27843         * math/s_cexp.c (__cexpl): Likewise.
27844         * math/s_csin.c (__csin): Likewise.
27845         * math/s_csinh.c (__csinh): Likewise.
27846         * math/s_ctan.c (__ctan): Likewise.
27847         * math/s_ctanh.c (ctanh): Likewise.
27848         * math/s_ccoshl.c (__ccoshl): Likewise.
27849         * math/s_cexpl.c (__cexpl): Likewise.
27850         * math/s_csinl.c (__csinl): Likewise.
27851         * math/s_csinhl.c (__csinhl): Likewise.
27852         * math/s_ctanl.c (__ctanl): Likewise.
27853         * math/s_ctanhl.c (__ctanhl): Likewise.
27854
27855 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27856
27857         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27858         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27859         (_IO_off_t): Define to __off_t, not _G_off_t.
27860         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27861         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27862         (_IO_wint_t): Define to wint_t, not _G_wint_t.
27863         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27864         type of __dummy and __dummy2 fields.
27865         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27866         (_G_ssize_t): Likewise.
27867         (_G_off_t): Likewise.
27868         (_G_pid_t): Likewise.
27869         (_G_uid_t): Likewise.
27870         (_G_wchar_t): Likewise.
27871         (_G_wint_t): Likewise.
27872         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27873         (_G_ssize_t): Likewise.
27874         (_G_off_t): Likewise.
27875         (_G_pid_t): Likewise.
27876         (_G_uid_t): Likewise.
27877         (_G_wchar_t): Likewise.
27878         (_G_wint_t): Likewise.
27879         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27880         (_G_ssize_t): Likewise.
27881         (_G_off_t): Likewise.
27882         (_G_pid_t): Likewise.
27883         (_G_uid_t): Likewise.
27884         (_G_wchar_t): Likewise.
27885         (_G_wint_t): Likewise.
27886
27887 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27888
27889         * malloc/arena.c: Include malloc-sysdep.h.
27890         (shrink_heap): Use check_may_shrink_heap to decide if madvise
27891         is sufficient to shrink the heap or an unmap is needed.
27892         * sysdeps/generic/malloc-sysdep.h: New file.  Define
27893         new function check_may_shrink_heap.
27894         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
27895         new function check_may_shrink_heap.
27896
27897 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27898
27899         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27900         comments.
27901
27902 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
27903
27904         * catgets/test-gencat.sh: Add "set -e".
27905         * elf/tst-pathopt.sh: Likewise.
27906         * grp/tst_fgetgrent.sh: Likewise.
27907         * iconvdata/run-iconv-test.sh: Likewise.
27908         * intl/tst-gettext.sh: Likewise.
27909         * intl/tst-gettext2.sh: Likewise.
27910         * intl/tst-gettext4.sh: Likewise.
27911         * intl/tst-gettext6.sh: Likewise.
27912         * intl/tst-translit.sh: Likewise.
27913         * io/ftwtest-sh: Likewise.
27914         * libio/test-freopen.sh: Likewise.
27915         * malloc/tst-mtrace.sh: Likewise.
27916         * posix/globtest.sh: Likewise.
27917         * posix/tst-getconf.sh: Likewise.
27918         * posix/wordexp-tst.sh: Likewise.
27919         * stdio-common/tst-printf.sh: Likewise.
27920         * stdio-common/tst-unbputc.sh: Likewise.
27921         * stdlib/tst-fmtmsg.sh: Likewise.
27922         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27923         * catgets/Makefile: Do not specify -e option when running
27924         testsuite shell scripts.
27925         * elf/Makefile: Likewise.
27926         * grp/Makefile: Likewise.
27927         * iconvdata/Makefile: Likewise.
27928         * intl/Makefile: Likewise.
27929         * io/Makefile: Likewise.
27930         * libio/Makefile: Likewise.
27931         * malloc/Makefile: Likewise.
27932         * posix/Makefile: Likewise.
27933         * stdio-common/Makefile: Likewise.
27934         * stdlib/Makefile: Likewise.
27935         * sysdeps/x86_64/Makefile: Likewise.
27936
27937         * io/ftwtest-sh: Add copyright header.
27938         * posix/globtest.sh: Likewise.
27939         * posix/tst-getconf.sh: Likewise.
27940         * posix/wordexp-tst.sh: Likewise.
27941         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27942
27943 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
27944
27945         [BZ #13679]
27946         * Makeconfig (+link): Defined as $(+link-static) if
27947         $(build-shared) isn't yes.
27948         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27949         isn't yes.
27950         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27951
27952         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27953
27954         [BZ #14562]
27955         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27956         new chunk size with MALLOC_ALIGN_MASK.
27957
27958 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
27959
27960         [BZ #5044]
27961         * stdio-common/printf_fphex.c: Include <stdbool.h> and
27962         <rounding-mode.h>.
27963         (__printf_fphex): Determine rounding using get_rounding_mode and
27964         round_away.
27965         * stdio-common/tst-printf-round.c (struct hex_test): New
27966         structure.
27967         (hex_tests): New variable.
27968         (test_hex_in_one_mode): New function.
27969         (do_test): Also run tests for hex float output.
27970
27971 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
27972
27973         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27974         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27975         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27976         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27977         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27978         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27979         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27980         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27981
27982 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
27983
27984         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27985         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27986         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27987         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27988
27989 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
27990
27991         [BZ #14579]
27992         * elf/rtld.c (dl_main): Limit the check for self loading to normal
27993         mode only.
27994         * elf/tst-rtld-load-self.sh: New test.
27995         * elf/Makefile: Run it.
27996
27997 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
27998
27999         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28000         (tst-writev-ENV): Remove.
28001         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28002
28003 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28004
28005         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28006
28007 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28008
28009         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28010         unconditional.
28011         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28012         Likewise.
28013         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28014         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28015         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28016         Likewise.
28017
28018 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28019
28020         [BZ #14587]
28021         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28022         * config.make.in (have-cpp-asm-debuginfo): Removed.
28023         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28024         * configure: Regenerated.
28025
28026 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28027
28028         [BZ #5044]
28029         * stdio-common/printf_fp.c: Include <stdbool.h> and
28030         <rounding-mode.h>.
28031         (___printf_fp): Determine rounding using get_rounding_mode and
28032         round_away.
28033         * stdio-common/tst-printf-round.c: New file.
28034         * stdio-common/Makefile (tests): Add tst-printf-round.
28035         (link-libm): New variable.
28036         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28037
28038 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28039
28040         [BZ #14576]
28041         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28042         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28043         Likewise.
28044         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28045         Likewise.
28046
28047 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28048
28049         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28050         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28051         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28052         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28053
28054 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28055
28056         [BZ #14518]
28057         * include/rounding-mode.h: New file.
28058         * sysdeps/generic/get-rounding-mode.h: Likewise.
28059         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28060         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28061         (MAX_VALUE): New macro.
28062         (MIN_VALUE): Likewise.
28063         (overflow_value): New function.
28064         (underflow_value): Likewise.
28065         (round_and_return): Use overflow_value and underflow_value to
28066         determine return values in overflow and underflow cases.  Use
28067         round_away to determine rounding depending on rounding mode.
28068         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28069         determine return values in overflow and underflow cases.
28070         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28071         (struct test_results): New structure.
28072         (struct test): Use struct test_results to store expected results
28073         for all rounding modes.
28074         (TEST): Include expected results for all rounding modes.
28075         (test_in_one_mode): New function.
28076         (do_test): Use test_in_one_mode to compute and check results.
28077         Check results for all rounding modes.
28078         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28079         $(link-libm).
28080
28081 2012-12-09  Allan McRae  <allan@archlinux.org>
28082
28083         * sysdeps/i386/fpu/libm-test-ulps: Update
28084
28085 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28086
28087         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28088         (_G_int32_t): Likewise.
28089         (_G_uint16_t): Likewise.
28090         (_G_uint32_t): Likewise.
28091         (_G_HAVE_BOOL): Likewise.
28092         (_G_HAVE_ATEXIT): Likewise.
28093         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28094         (_G_HAVE_IO_FILE_OPEN): Likewise.
28095         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28096         (_G_int32_t): Likewise.
28097         (_G_uint16_t): Likewise.
28098         (_G_uint32_t): Likewise.
28099         (_G_HAVE_BOOL): Likewise.
28100         (_G_HAVE_ATEXIT): Likewise.
28101         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28102         (_G_HAVE_IO_FILE_OPEN): Likewise.
28103         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28104         (_G_int32_t): Likewise.
28105         (_G_uint16_t): Likewise.
28106         (_G_uint32_t): Likewise.
28107         (_G_HAVE_BOOL): Likewise.
28108         (_G_HAVE_ATEXIT): Likewise.
28109         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28110         (_G_HAVE_IO_FILE_OPEN): Likewise.
28111
28112 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28113
28114         * csu/libc-tls.c: Update copyright years.
28115
28116 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28117
28118         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28119         [!_G_USING_THUNKS]: Remove conditional code.
28120         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28121         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28122
28123         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28124         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28125         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28126         (_G_VTABLE_LABEL_PREFIX): Likewise.
28127         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28128         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28129         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28130         (_G_VTABLE_LABEL_PREFIX): Likewise.
28131         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28132         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28133         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28134         (_G_VTABLE_LABEL_PREFIX): Likewise.
28135         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28136
28137 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28138
28139         * libio/Makefile: Include ../Makeconfig before tests.
28140         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28141         only if $(build-shared) is yes.
28142
28143         * iconv/gconv_db.c: Update copyright years.
28144
28145 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28146
28147         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28148         unwind info if defined PIC. Fix special cases description.
28149         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28150
28151         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28152         DP_HI_MASK entry.
28153         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28154
28155 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28156
28157         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28158
28159         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28160         is NULL.
28161
28162         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28163         (LDLIBS-tst-chk4): This.
28164         (LDFLAGS-tst-chk5): Renamed to ...
28165         (LDLIBS-tst-chk5): This.
28166         (LDFLAGS-tst-chk6): Renamed to ...
28167         (LDLIBS-tst-chk6): This.
28168         (LDFLAGS-tst-lfschk4): Renamed to ...
28169         (LDLIBS-tst-lfschk4): This.
28170         (LDFLAGS-tst-lfschk5): Renamed to ...
28171         (LDLIBS-tst-lfschk5): This.
28172         (LDFLAGS-tst-lfschk6): Renamed to ...
28173         (LDLIBS-tst-lfschk6): This.
28174
28175         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28176         on $(common-objpfx)soversions.mk.
28177
28178 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28179
28180         [BZ #10014]
28181         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28182         example host name.
28183
28184 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28185
28186         * malloc/arena.c (arena_get_retry): New function that gets
28187         another arena for the caller to try its request on.
28188         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28189         current arena cannot fulfill the request.
28190         (__libc_memalign): Likewise.
28191         (__libc_memalign): Likewise.
28192         (__libc_pvalloc): Likewise.
28193         (__libc_calloc): Likewise.
28194
28195 2012-09-05  John Tobey  <john.tobey@gmail.com>
28196
28197         [BZ #13542]
28198         * manual/arith.texi (Operations on Complex): Fix description
28199         of carg branch cut.
28200
28201 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28202
28203         [BZ #10014]
28204         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28205         host name.
28206
28207         [BZ #10038]
28208         * manual/memory.texi (Memory): Make order of menu items match
28209         order of sections.
28210
28211 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28212
28213         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28214         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28215         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28216
28217 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28218
28219         * csu/libc-tls.c (static_dtv): Renamed to ...
28220         (_dl_static_dtv): This.  Make it global.
28221         (_dl_initial_dtv): Removed.
28222         (__libc_setup_tls): Updated.
28223         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28224         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28225         DL_INITIAL_DTV.
28226
28227 2012-09-06  Petr Machata  <pmachata@redhat.com>
28228
28229         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28230         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28231         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28232         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28233
28234 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28235
28236         [BZ #14545]
28237         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28238         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28239         freeing dtv[-1].
28240
28241 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28242
28243         [BZ #14544]
28244         * Makeconfig (link-static-before-libc): Replace $(+prector)
28245         with $(+prectorT).
28246         (link-static-after-libc): Replace $(+postctor) with
28247         $(+postctorT).
28248         (link-bounded): Replace $(+prector)/$(+postctor) with
28249         $(+prectorT)/$(+postctorT).
28250         (+prectorT): New macro.
28251         (+postctorT): Likewise.
28252
28253 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28254
28255         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28256         (round_str): Handle values above the maximum for IBM long double
28257         as inexact.
28258         * stdlib/tst-strtod-round.c (tests): Regenerated.
28259
28260 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28261
28262         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28263         assembler flag.
28264         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28265         zarch_nohighgprs around the zarch optimized routines.
28266         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28267         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28268         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28269         for zarch.
28270
28271 2012-09-05  David S. Miller  <davem@davemloft.net>
28272
28273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28274
28275         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28276         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28277         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28278         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28279         entries.
28280
28281 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28282
28283         * malloc/arena.c: Fold copyright years.
28284         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28285
28286 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28287
28288         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28289
28290 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28291
28292         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28293
28294 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28295
28296         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28297         change internal state upon failure.
28298
28299 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28300
28301         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28302         * malloc/memusage.c (mmap): Likewise.
28303         (mmap64, mremap): Likewise.  Adjust name in comment.
28304
28305 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28306
28307         * libio/fileops.c: Fix typos in comments.
28308         * libio/oldfileops.c: Likewise.
28309         * libio/wfileops.c: Likewise.
28310
28311 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28312
28313         [BZ #1349]
28314         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28315         (tst-malloc-usable-ENV): Set environment for test case.
28316         * malloc/hooks.c (malloc_check_get_size): New function to get
28317         requested size.
28318         * malloc/malloc.c (musable): Use malloc_check_get_size.
28319         * malloc/tst-malloc-usable.c: New test case.
28320
28321 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28322
28323         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28324
28325 2012-09-05  Allan McRae  <allan@archlinux.org>
28326
28327         [BZ #13966]
28328         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28329         determine header location.
28330         * configure: Regenerated.
28331
28332 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28333
28334         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28335         float format.
28336         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28337         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28338         format.
28339         (test): Regenerate.
28340
28341 2012-09-04  David S. Miller  <davem@davemloft.net>
28342
28343         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28344         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28345         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28346
28347 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28348
28349         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28350         failures.
28351
28352         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28353
28354 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28355
28356         [BZ #9914]
28357         * libio/iogetdelim.c: Include <limits.h>.
28358         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28359         + len + 1 would overflow.
28360
28361 2012-09-03  Andreas Jaeger  <aj@suse.de>
28362
28363         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28364         * sysdeps/i386/fpu/libm-test-ulps: Update.
28365
28366 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28367
28368         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28369         Add s_sinf-sse2, s_conf-sse2.
28370
28371         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28372         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28373         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28374         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28375
28376         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28377         for using routine as __sinf_ia32.
28378         Use macro for function declaration and weak_alias.
28379         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28380         for using routine as __cosf_ia32.
28381         Use macro for function declaration and weak_alias.
28382
28383         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28384         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28385
28386         * sysdeps/x86_64/fpu/s_sinf.S: New file.
28387         * sysdeps/x86_64/fpu/s_cosf.S: New file.
28388         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28389
28390         * math/libm-test.inc (cos_test): Add more test cases.
28391         (sin_test): Likewise.
28392         (sincos_test): Likewise.
28393
28394 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28395
28396         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28397         (IFUNC_RESOLVE): Make pointers to the specialized implementations
28398         hidden.
28399         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28400
28401 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
28402
28403         [BZ #14538]
28404         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28405         first element of the GOT.
28406         (elf_machine_load_address): Return the difference between
28407         the runtime address of _DYNAMIC and elf_machine_dynamic ().
28408
28409 2012-09-01  Allan McRae  <allan@archlinux.org>
28410
28411         [BZ #13412]
28412         * configure.in (AWK): Require gawk version 3.0 or later.
28413         * configure: Regenerated.
28414
28415 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
28416
28417         * sysdeps/unix/sysv/linux/kernel-features.h
28418         (__ASSUME_POSIX_CPU_TIMERS): Remove.
28419         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28420         [__NR_clock_getres]: Make code unconditional.
28421         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28422         (clock_getcpuclockid): Remove code left unreachable by removal of
28423         conditionals.
28424         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28425         code unconditional.
28426         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28427         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28428         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28429         Make code unconditional.
28430         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28431         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28432         * sysdeps/unix/sysv/linux/clock_settime.c
28433         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28434         conditional code.
28435         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28436         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28437
28438 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
28439
28440         [BZ #14476]
28441         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28442         scripts/test-installation.pl.
28443
28444         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28445         and $ld_so_version if it is set.
28446
28447 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28448
28449         [BZ #14516]
28450         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28451         failure if reading from procfs failed.
28452         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28453
28454 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28455
28456         * sysdeps/unix/sysv/linux/kernel-features.h
28457         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28458         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28459         Remove conditional code.
28460         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28461         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28462         Remove conditional code.
28463         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28464         * sysdeps/unix/sysv/linux/i386/fxstat.c
28465         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28466         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28467         * sysdeps/unix/sysv/linux/i386/fxstatat.c
28468         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28469         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28470         * sysdeps/unix/sysv/linux/i386/lxstat.c
28471         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28472         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28473         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28474         Remove conditional code.
28475         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28476         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28477         Remove conditional code.
28478         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28479         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28480         <kernel-features.h>.
28481         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28482         Remove.
28483         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28484         Remove conditional code.
28485         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28486         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28487         Remove conditional.
28488
28489 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
28490
28491         [BZ #5400]
28492         * NEWS: Add fixed bug number.
28493
28494 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28495
28496         [BZ #14519]
28497         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28498         underflowing exponent in case of negative sign.
28499         * stdlib/tst-strtod-round-data: Add more tests.
28500         * stdlib/tst-strtod-round.c (tests): Regenerated.
28501
28502         [BZ #3479]
28503         * stdlib/strtod_l.c (NDIG): Remove.
28504         (HEXNDIG): Likewise.
28505         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28506         smallest representable value.
28507         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28508         lie within an exact representation of 1/2 ulp of the result.
28509         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28510         unconditionally.
28511         (TENS_P9_IDX): Define unconditionally.
28512         (TENS_P9_SIZE): Likewise.
28513         (TENS_P10_IDX): Likewise.
28514         (TENS_P10_SIZE): Likewise.
28515         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28516         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28517         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28518         entries for 10^2^13 and 10^2^14.
28519         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28520         (TENS_P13_IDX): Define.
28521         (TENS_P13_SIZE): Likewise.
28522         (TENS_P14_IDX): Likewise.
28523         (TENS_P14_SIZE): Likewise.
28524         (_fpioconst_pow10): Change array size to
28525         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
28526         unconditional.
28527         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28528         1024]: Add entries for 10^2^13 and 10^2^14.
28529         [LAST_POW10 > _LAST_POW10]: Remove #error.
28530         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28531         (_fpioconst_pow10): Change array size to
28532         FPIOCONST_POW10_ARRAY_SIZE.
28533         * stdlib/gen-fpioconst.c: New file.
28534         * stdlib/gen-tst-strtod-round.c: Likewise.
28535         * stdlib/tst-strtod-round-data: Likewise.
28536         * stdlib/tst-strtod-round.c: Likewise.
28537         * stdlib/Makefile (tests): Add tst-strtod-round.
28538
28539         [BZ #14459]
28540         * stdlib/strtod_l.c: Include <stdint.h>.
28541         (NDEBUG): Do not define.
28542         (round_and_return): Change EXPONENT parameter to type intmax_t.
28543         Rearrange calculations to avoid internal overflow possibilities.
28544         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28545         Rearrange calculations to avoid internal overflow possibilities.
28546         Assert that number fits inside MPNSIZE limbs.
28547         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28548         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
28549         calculations and add assertions to avoid internal overflow
28550         possibilities.  Add casts to avoid signed/unsigned operations.
28551         * stdlib/tst-strtod-overflow.c: New file.
28552         * stdlib/Makefile (tests): Add tst-strtod-overflow.
28553
28554 2012-08-25  Marek Polacek  <polacek@redhat.com>
28555
28556         * time/time.h: Fix some typos in comments.
28557
28558 2012-08-23  Roland McGrath  <roland@hack.frob.com>
28559
28560         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28561         * posix/tst-rfc3484-2.c: Likewise.
28562         * posix/tst-rfc3484-3.c: Likewise.
28563
28564 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
28565
28566         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28567         (EF_ARM_ABI_FLOAT_HARD): Likewise.
28568
28569 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
28570
28571         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28572         #include of fxstatat64.c.
28573
28574 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28575
28576         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28577         * shadow/getspent_r.c: Likewise.
28578         * shadow/getspnam.c: Likewise.
28579         * shadow/getspnam_r.c: Likewise.
28580         * gshadow/getsgent.c: Likewise.
28581         * gshadow/getsgent_r.c: Likewise.
28582         * gshadow/getsgnam.c: Likewise.
28583         * gshadow/getsgnam_r.c: Likewise.
28584         * inet/getnetbyad.c: Likewise.
28585         * inet/getnetbyad_r.c: Likewise.
28586         * inet/getnetbynm.c: Likewise.
28587         * inet/getnetbynm_r.c: Likewise.
28588         * inet/getnetent.c: Likewise.
28589         * inet/getnetent_r.c: Likewise.
28590         * inet/getproto.c: Likewise.
28591         * inet/getproto_r.c: Likewise.
28592         * inet/getprtent.c: Likewise.
28593         * inet/getprtent_r.c: Likewise.
28594         * inet/getprtname.c: Likewise.
28595         * inet/getprtname_r.c: Likewise.
28596         * inet/getrpcbyname.c: Likewise.
28597         * inet/getrpcbyname_r.c: Likewise.
28598         * inet/getrpcbynumber.c: Likewise.
28599         * inet/getrpcbynumber_r.c: Likewise.
28600         * inet/getrpcent.c: Likewise.
28601         * inet/getrpcent_r.c: Likewise.
28602         * inet/getaliasent.c: Likewise.
28603         * inet/getaliasent_r.c: Likewise.
28604         * inet/getaliasname.c: Likewise.
28605         * inet/getaliasname_r.c: Likewise.
28606         * nscd/getgrgid_r.c: Likewise.
28607         * nscd/getgrnam_r.c: Likewise.
28608         * nscd/gethstbyad_r.c: Likewise.
28609         * nscd/gethstbynm3_r.c: Likewise.
28610         * nscd/getpwnam_r.c: Likewise.
28611         * nscd/getpwuid_r.c: Likewise.
28612         * nscd/getsrvbynm_r.c: Likewise.
28613         * nscd/getsrvbypt_r.c: Likewise.
28614         * nscd/gai.c: Likewise.
28615
28616         * configure.in (build_nscd): New substituted variable, set
28617         by --disable-build-nscd and defaults to $use_nscd.
28618         * configure: Regenerated.
28619         * config.make.in (build-nscd): New substituted variable.
28620         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28621         Change conditional to require [$(build-nscd) = yes] as well.
28622         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28623
28624         [BZ# 13696]
28625         * configure.in (use_nscd): New substituted variable, set by
28626         --disable-nscd.  If enabled, define USE_NSCD.
28627         * configure: Regenerated.
28628         * config.h.in: Add USE_NSCD.
28629         * config.make.in (use-nscd): New substituted variable.
28630         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28631         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28632         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28633         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28634         (CFLAGS-getgrnam_r.c): Likewise.
28635         (CFLAGS-initgroups.c): Likewise.
28636         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28637         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28638         Variables removed.
28639         * inet/getnetgrent_r.c
28640         (nscd_setnetgrent): New function, broken out of ...
28641         (setnetgrent): ... here.  Call it.
28642         (innetgr): Conditionalize nscd bits on [USE_NSCD].
28643         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28644         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28645         * nscd/Makefile (routines, aux): Move definitions after include of
28646         Makeconfig.  Conditionalize on [$(use-nscd) != no].
28647         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28648         Conditionalize on [USE_NSCD].
28649         (is_nscd, nscd_init_cb): Likewise.
28650         (nss_load_library): Conditionalize init callback on [USE_NSCD].
28651         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28652         * nss/nss_db/db-init.c: Likewise.
28653         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28654         [USE_NSCD].
28655         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28656         (make_request): Use it.
28657         (cache_valid_p): New function.
28658         (__check_pf): Use it.
28659         * NEWS: Add item for --disable-nscd.
28660
28661 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
28662
28663         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28664         to support sed >= 4.2.1-20-ga9bf076.
28665         * configure: Regenerated.
28666
28667 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28668
28669         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28670         Conditionalize whole body on [IREL].
28671
28672 2012-08-22  Jeff Law <law@redhat.com>
28673
28674         [BZ #14505]
28675         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28676         if the family is PF_UNSPEC.
28677
28678 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
28679
28680         * Makerules (lib-version): Rename from V.
28681         (install-lib-nosubdir): Change V to lib-version.
28682
28683 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
28684
28685         [BZ #14252]
28686         * powerpc32/power6/wcschr.c: New file.
28687         * powerpc32/power6/wcscpy.c: New file.
28688         * powerpc32/power6/wcsrchr.c: New file.
28689         * powerpc64/power6/wcschr.c: New file.
28690         * powerpc64/power6/wcscpy.c: New file.
28691         * powerpc64/power6/wcsrchr.c: New file.
28692
28693 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28694
28695         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28696         (two_way_short_needle): Use it.
28697         * string/strstr.c (AVAILABLE1_USES_J): Define.
28698         * string/strcasestr.c: Likewise.
28699
28700         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28701         array references.
28702         * string/strcasestr.c (TOLOWER): Make side-effect safe.
28703
28704         [BZ #11607]
28705         * NEWS: Add an entry.
28706         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28707         define their defaults.
28708         (two_way_short_needle): Detect end-of-string on-the-fly.
28709         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28710         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28711         * string/bug-strcasestr1.c: New test.
28712         * string/Makefile: Run it.
28713
28714 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28715
28716         [BZ #11607]
28717         * string/str-two-way.h (two_way_short_needle): Optimize matching of
28718         the first character.
28719
28720 2012-08-21  Roland McGrath  <roland@hack.frob.com>
28721
28722         * csu/elf-init.c (__libc_csu_irel): Function removed.
28723         * csu/libc-start.c (apply_irel): New function.
28724         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28725
28726 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
28727
28728         * sysdeps/unix/sysv/linux/kernel-features.h
28729         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28730         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28731         <kernel-features.h>.
28732         [__NR_fadvise64_64]: Make code unconditional.
28733         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28734         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28735         !__NR_fadvise64_64)]: Likewise.
28736         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28737         !__NR_fadvise64_64))]: Likewise.
28738         [__NR_fadvise64]: Make code unconditional.
28739         [!__NR_fadvise64]: Remove conditional code.
28740         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28741         <kernel-features.h>.
28742         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28743         unconditional.
28744         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28745         conditional code.
28746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28747         not include <kernel-features.h>.
28748         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28749         unconditional.
28750         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28751         conditional code.
28752         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28753         include <kernel-features.h>.
28754         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28755         unconditional.
28756         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28757         conditional code.
28758
28759 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28760
28761         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28762         slight instruction rearrangements per scrollpipe analysis.
28763         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28764
28765 2012-08-20  Roland McGrath  <roland@hack.frob.com>
28766
28767         * manual/syslog.texi (syslog; vsyslog, closelog):
28768         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28769         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28770
28771         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28772         DSOCAPS to match condition on defining it.
28773
28774 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
28775
28776         * sysdeps/unix/sysv/linux/kernel-features.h
28777         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28779         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28780         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28782         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28783         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28785         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28786         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28787
28788         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28789         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28790
28791         * sysdeps/unix/sysv/linux/kernel-features.h
28792         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28793         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28794         unconditional.
28795         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28796         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28797         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28798         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28799         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28800         Make code unconditional.
28801         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28802         (__mmap64) [!__NR_mmap2]: Likewise.
28803         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28804         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28805         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28806         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28807         [__NR_mmap2]: Make code unconditional.
28808         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28809         (__mmap64) [!__NR_mmap2]: Likewise.
28810
28811 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28812
28813         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28814
28815 2012-08-18  Andreas Jaeger  <aj@suse.de>
28816
28817         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28818
28819 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28820
28821         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28822         * include/unistd.h (__have_sock_cloexec): Likewise.
28823         (__have_pipe2): Likewise.
28824         (__have_dup3): Likewise.
28825
28826 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28827
28828         [BZ #9685]
28829         * include/unistd.h (__have_pipe2): Change define into an extern int.
28830         (__have_dup3): Likewise.
28831         * socket/have_sock_cloexec.c: Include fcntl.h.
28832         (__have_pipe2): New variable.
28833         (__have_dup3): Likewise.
28834
28835 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
28836
28837         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28838
28839 2012-08-17  Marek Polacek  <polacek@redhat.com>
28840
28841         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28842         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28843
28844 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28845
28846         * configure.in: Add AC_SUBST for sysheaders.
28847         * configure: Regenerated.
28848         * config.make.in (sysheaders): New substituted variable.
28849
28850         * sysdeps/unix/mkfifo.c: Moved ...
28851         * sysdeps/posix/mkfifo.c: ... here.
28852         * sysdeps/unix/mkfifoat.c: Moved ...
28853         * sysdeps/posix/mkfifoat.c: ... here.
28854
28855         * sysdeps/unix/utime.c: Moved ...
28856         * sysdeps/posix/utime.c: ... here.
28857
28858         * sysdeps/unix/time.c: Moved ...
28859         * sysdeps/posix/time.c: ... here.
28860         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28861         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28862
28863         * sysdeps/unix/nice.c: Moved ...
28864         * sysdeps/posix/nice.c: ... here.
28865
28866         * sysdeps/unix/alarm.c: Moved ...
28867         * sysdeps/posix/alarm.c: ... here.
28868
28869         * intl/Makefile ($(codeset_mo)): Depend on the input file.
28870
28871 2012-08-17  Jeff Law <law@redhat.com>
28872
28873         * intl/Makefile (codeset_mo): New variable.
28874         ($(codeset_mo)): New target.
28875         (tst-codeset.out): Depend on that.  Remove explicit rule.
28876         (tst-gettext3.out, tst-gettext5.out): Likewise.
28877         (LOCPATH-ENV, tst-codeset-ENV): New variables.
28878         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28879         * intl/tst-codeset.sh: Remove.
28880         * intl/tst-gettext3.sh: Likewise.
28881         * intl/tst-gettext5.sh: Likewise.
28882
28883 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28884
28885         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
28886         * sysdeps/unix/syscalls.list: ... here.
28887
28888         * sysdeps/posix/getaddrinfo.c
28889         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28890         (gaiconf_init, gaiconf_reload): Use them.
28891         [!_STATBUF_ST_NSEC]
28892         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28893         Define using time_t rather than struct timespec.
28894
28895         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28896         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28897         Macros removed.
28898         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28899         [!NO_THREADS].
28900         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28901         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28902         Likewise.
28903
28904         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28905         __libc_cleanup_push argument.
28906
28907         * bits/param.h: New file.
28908         * misc/sys/param.h: New file.
28909         * include/sys/param.h: New file.
28910         * misc/Makefile (headers): Add bits/param.h.
28911         * sysdeps/generic/sys/param.h: File removed.
28912         * sysdeps/unix/sysv/linux/bits/param.h: New file.
28913         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28914         * sysdeps/mach/hurd/bits/param.h: New file.
28915         * sysdeps/mach/hurd/sys/param.h: File removed.
28916
28917         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28918         last change.
28919
28920         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28921         [_IO_MTSAFE_IO].
28922         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28923         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28924         New macros.
28925
28926         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28927         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28928         rather than -D_IO_MTSAFE_IO conditionally.
28929         * stdio-common/Makefile (CPPFLAGS): Likewise.
28930         * wcsmbs/Makefile (CPPFLAGS): Likewise.
28931         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28932         Use $(libio-mtsafe).
28933         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28934         of -D_IO_MTSAFE_IO.
28935         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28936         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28937         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28938         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28939         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28940         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28941         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28942         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28943         (CFLAGS-fread_u_chk.c): Likewise.
28944         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28945         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28946         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28947         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28948         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28949         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28950         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28951         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28952         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28953
28954         * libio/Makefile: Test [$(libc-reentrant) = yes]
28955         instead of [$(filter %REENTRANT, $(defines)) nonempty].
28956
28957         * Makeconfig
28958         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28959         * sysdeps/pthread/configure: File removed.
28960         * sysdeps/pthread/Makeconfig: New file.
28961         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28962         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28963
28964 2012-08-16  Gary Benson  <gbenson@redhat.com>
28965
28966         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28967         unmapping the first object in a namespace.
28968
28969 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28970
28971         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28972         (__internal_setnetgrent): ... this.  Add internal_function to
28973         definition.  Add libc_hidden_def.
28974         (setnetgrent): Update caller.
28975         (internal_endnetgrent): Renamed to ...
28976         (__internal_endnetgrent): ... this.  Add internal_function to
28977         definition.  Add libc_hidden_def.
28978         (endnetgrent): Update caller.
28979         (internal_getnetgrent_r): Renamed to ...
28980         (__internal_getnetgrent_r): ... this.  Add internal_function to
28981         definition.  Add libc_hidden_def.
28982         (__getnetgrent_r): Update caller.
28983         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
28984
28985 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28986
28987         * stdlib/longlong.h: Update from GCC.
28988
28989 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28990
28991         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28992         on _QL, which is set by umul_ppmm but never used.
28993         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28994         variables, which are set by GMP macros but never used.
28995         * stdio-common/_itowa.c (_itowa): Likewise.
28996         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28997         * stdlib/mod_1.c (mpn_mod_1): Likewise.
28998
28999 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29000
29001         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29002         struct La_sh_regs is not constant.
29003         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29004         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29005         and struct La_sparc64_regs are not constant.
29006
29007 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29008
29009         * sysdeps/unix/sysv/linux/kernel-features.h
29010         (__ASSUME_POSIX_TIMERS): Remove.
29011         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29012         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29013         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29014         Make code unconditional.
29015         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29016         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29017         Make code unconditional.
29018         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29019         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29020         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29021         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29022         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29023         Make code unconditional.
29024         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29025         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29026         (__libc_missing_posix_timers): Remove.
29027
29028 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29029
29030         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29031         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29032
29033         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29034
29035         * elf/dl-sym.c: Include <stdlib.h>.
29036
29037         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29038         constants, which avoids warnings in 32-bit builds.
29039
29040         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29041         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29042
29043         * misc/lseek.c: File moved to ...
29044         * io/lseek.c: ... here.
29045
29046         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29047
29048         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29049         shifting LEN more than 31 bits at once.
29050
29051 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29052
29053         [BZ #14195]
29054         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29055         segmentation fault for a case of two empty input strings.
29056         * string/test-strncasecmp.c (check1): Renamed to...
29057         (bz12205): ...this.
29058         (bz14195): Add new testcase for two empty input strings and N > 0.
29059         (test_main): Call new testcase, adapt for renamed function.
29060
29061 2012-08-15  Andreas Jaeger  <aj@suse.de>
29062
29063         [BZ #14090]
29064         * crypt/md5test2.c: New test, based on test supplied by Serge
29065         Belyshev <belyshev@depni.sinp.msu.ru>.
29066         * crypt/Makefile (xtests): Add md5test-giant..
29067         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29068
29069 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29070
29071         [BZ #14090]
29072         * crypt/md5.c (md5_process_block): Don't assume the buffer
29073         length is less than 2**32.
29074         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29075         length is less than 2**64.
29076
29077 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29078
29079         * string/str-two-way.h: Include <sys/param.h>.
29080         (MAX): Macro removed.
29081
29082         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29083         Move #define and #undef of memmove to just before and after
29084         including <string.h>.
29085
29086         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29087         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29088         and after including <string.h>.  Move declarations of
29089         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29090         to before #include "string/memmove.c".
29091
29092         * include/dirent.h: Declare __getdirentries.
29093
29094         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29095         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29096
29097 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29098
29099         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29100         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29101         * sysdeps/i386/configure: Regenerated.
29102         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29103         STABS_CURRENT_FILE, and STABS_FUN.
29104         (END): Remove call to STABS_FUN_END.
29105         (STABS_CURRENT_FILE1): Delete.
29106         (STABS_CURRENT_FILE): Likewise.
29107         (STABS_FUN): Likewise.
29108         (STABS_FUN_END): Likewise.
29109         (STABS_FUN2): Likewise.
29110         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29111         * sysdeps/x86_64/configure: Regenerated.
29112
29113 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29114
29115         * elf/dl-open.c: Include <atomic.h>.
29116         * elf/dl-lookup.c: Likewise.
29117
29118 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29119
29120         * sysdeps/unix/sysv/linux/kernel-features.h
29121         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29122         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29123         unconditionally.
29124         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29125         unconditionally.
29126         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29127         condition on __ASSUME_CLONE_THREAD_FLAGS.
29128
29129 2012-08-14  Andreas Jaeger  <aj@suse.de>
29130
29131         * sysdeps/i386/fpu/libm-test-ulps: Update.
29132
29133 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29134
29135         * include/atomic.h (atomic_exchange_and_add): Split into ...
29136         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29137         New atomic macros.
29138
29139 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29140
29141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29142
29143 2012-08-13  Jeff Law <law@redhat.com>
29144
29145         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29146         null byte in the output string.
29147
29148 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29149
29150         * sysdeps/unix/sysv/linux/kernel-features.h
29151         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29152         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29153         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29154         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29155         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29156         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29157         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29158
29159 2012-08-09  Jeff Law <law@redhat.com>
29160
29161         [BZ #13939]
29162         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29163         When avoid_arena is set, don't retry in the that arena.  Pick the
29164         next one, whatever it might be.
29165         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29166         (arena_lock): Pass in new parameter to arena_get2.
29167         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29168         arena_get2.
29169         (__libc_malloc): Unify retrying after main arena failure with
29170         __libc_memalign version.
29171         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29172
29173 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29174
29175         [BZ #14166]
29176         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29177         to __redirect_strstr.
29178         (__strstr_sse42): Use typeof __redirect_strstr.
29179         (__strstr_ia32): Likewise.
29180         (__libc_strstr): New prototype.
29181         (strstr): Renamed to ...
29182         (__libc_strstr): This.
29183         (strstr): New strong alias of __libc_strstr.
29184         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29185         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29186         __redirect_time.
29187         Include <time.h>.
29188         (__libc_time): New prototype.
29189         (time_ifunc): Replace time with __libc_time.
29190         (time): New strong alias and hidden definition of __libc_time.
29191         (__GI_time): Remove strong alias.
29192         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29193         Include <stddef.h>.
29194         (memmove): Redefined to __redirect_memmove.
29195         (__memmove_sse2): Use typeof __redirect_memmove.
29196         (__memmove_ssse3): Likewise.
29197         (__memmove_ssse3_back): Likewise.
29198         (__libc_memmove): New prototype.
29199         (memmove): Renamed to ...
29200         (__libc_memmove): This.
29201         (memmove): New strong alias of __libc_memmove.
29202
29203 2012-08-08  Mark Salter  <msalter@redhat.com>
29204
29205         * elf/elf.h
29206         (R_MN10300_TLS_GD): Define.
29207         (R_MN10300_TLS_LD): Likewise.
29208         (R_MN10300_TLS_LDO): Likewise.
29209         (R_MN10300_TLS_GOTIE): Likewise.
29210         (R_MN10300_TLS_IE): Likewise.
29211         (R_MN10300_TLS_LE): Likewise.
29212         (R_MN10300_TLS_DTPMOD): Likewise.
29213         (R_MN10300_TLS_DTPOFF): Likewise.
29214         (R_MN10300_TLS_TPOFF): Likewise.
29215         (R_MN10300_SYM_DIFF): Likewise.
29216         (R_MN10300_ALIGN): Likewise.
29217         (R_MN10300_NUM): Update.
29218
29219 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29220
29221         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29222         Remove.
29223
29224 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29225
29226         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29227
29228         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29229         sysdeps/unix -> sysdeps/posix move.
29230         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29231
29232 2012-08-07      Allan McRae     <allan@archlinux.org>
29233
29234         [BZ #14303]
29235         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29236         (SUNOS_CPP): Likewise.
29237         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29238         not found.
29239         (open_input): Call CPP using execvp.
29240
29241 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29242
29243         * sysdeps/unix/sysv/linux/kernel-features.h
29244         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29245         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29246         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29247         (__ASSUME_WAITID_SYSCALL): Likewise.
29248         * sysdeps/unix/sysv/linux/dl-execstack.c
29249         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29250         code unconditional.
29251         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29252         conditional code.
29253         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29254         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29255         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29256         code.
29257         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29258         unconditional.
29259         [__ASSUME_WAITID_SYSCALL]: Likewise.
29260         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29261
29262 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29263
29264         * sysdeps/unix/closedir.c: Renamed to ...
29265         * sysdeps/posix/closedir.c: ... here.
29266         * sysdeps/unix/dirfd.c: Renamed to ...
29267         * sysdeps/posix/dirfd.c: ... here.
29268         * sysdeps/unix/dirstream.h: Renamed to ...
29269         * sysdeps/posix/dirstream.h: ... here.
29270         * sysdeps/unix/fdopendir.c: Renamed to ...
29271         * sysdeps/posix/fdopendir.c: ... here.
29272         * sysdeps/unix/opendir.c: Renamed to ...
29273         * sysdeps/posix/opendir.c: ... here.
29274         * sysdeps/unix/readdir.c: Renamed to ...
29275         * sysdeps/posix/readdir.c: ... here.
29276         * sysdeps/unix/readdir_r.c: Renamed to ...
29277         * sysdeps/posix/readdir_r.c: ... here.
29278         * sysdeps/unix/rewinddir.c: Renamed to ...
29279         * sysdeps/posix/rewinddir.c: ... here.
29280         * sysdeps/unix/seekdir.c: Renamed to ...
29281         * sysdeps/posix/seekdir.c: ... here.
29282         * sysdeps/unix/telldir.c: Renamed to ...
29283         * sysdeps/posix/telldir.c: ... here.
29284         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29285         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29286         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29287         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29288
29289         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29290         * bits/fcntl.h: ... here.
29291
29292         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29293         not 0.
29294         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29295         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29296         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29297         (struct flock): Move l_start, l_len to the beginning.
29298         Use __pid_t for l_pid.
29299         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29300         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29301         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29302         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29303         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29304         [__USE_LARGEFILE64] (struct flock64): New type.
29305         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29306
29307         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29308         * bits/dirent.h: ... here.
29309
29310         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29311         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29312
29313 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29314
29315         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29316         Change from 2.6.0 to 2.6.16.
29317         * sysdeps/unix/sysv/linux/configure: Regenerated.
29318         * sysdeps/unix/sysv/linux/kernel-features.h
29319         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29320         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29321         version.
29322         (__ASSUME_UTIMES): Likewise.
29323         (__ASSUME_CLONE_STOPPED): Remove.
29324         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29325         architectures, not kernel version.
29326         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29327         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29328         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29329         (__ASSUME_WAITID_SYSCALL): Likewise.
29330         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29331         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29332         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29333         refer to older versions.
29334
29335 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29336
29337         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29338         Define alphasort64 as an alias.
29339         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29340         Define versionsort64 as an alias.
29341         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29342         Define scandir64 as an alias.
29343         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29344         Define scandirat64 as an alias.
29345         * dirent/alphasort64.c (alphasort64):
29346         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29347         * dirent/versionsort64.c: Likewise.
29348         * dirent/scandir64.c: Likewise.
29349         * dirent/scandirat64.c: Likewise.
29350         * sysdeps/wordsize-64/alphasort.c: File removed.
29351         * sysdeps/wordsize-64/alphasort64.c: File removed.
29352         * sysdeps/wordsize-64/scandir.c: File removed.
29353         * sysdeps/wordsize-64/scandir64.c: File removed.
29354         * sysdeps/wordsize-64/scandirat.c: File removed.
29355         * sysdeps/wordsize-64/scandirat64.c: File removed.
29356         * sysdeps/wordsize-64/versionsort.c: File removed.
29357         * sysdeps/wordsize-64/versionsort64.c: File removed.
29358         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29359         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29360         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29361         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29362         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29363         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29364         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29365         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29366
29367         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29368         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29369         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29370         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29371         [defined __arch64__ || defined __sparcv9]
29372         (__INO_T_MATCHES_INO64_T): New macro.
29373         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29374         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29375         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29376         * sysdeps/unix/sysv/linux/bits/dirent.h
29377         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29378         (_DIRENT_MATCHES_DIRENT64): New macro.
29379
29380         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29381         Define lockf64 as an alias.
29382         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29383         Define fseeko64 as an alias.
29384         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29385         Define ftello64 as an alias.
29386         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29387         Define _IO_fgetpos64 and fgetpos64 as aliases.
29388         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29389         Define _IO_fsetpos64 and fsetpos64 as aliases.
29390         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29391         Conditionalize body on this.
29392         * libio/fseeko64.c: Likewise.
29393         * libio/ftello64.c: Likewise.
29394         * libio/iofgetpos64.c: Likewise.
29395         * libio/iofsetpos64.c: Likewise.
29396         * sysdeps/wordsize-64/lockf.c: File removed.
29397         * sysdeps/wordsize-64/lockf64.c: File removed.
29398         * sysdeps/wordsize-64/fseeko.c: File removed.
29399         * sysdeps/wordsize-64/fseeko64.c: File removed.
29400         * sysdeps/wordsize-64/ftello.c: File removed.
29401         * sysdeps/wordsize-64/ftello64.c: File removed.
29402         * sysdeps/wordsize-64/iofgetpos.c: File removed.
29403         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29404         * sysdeps/wordsize-64/iofsetpos.c: File removed.
29405         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29406         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29407         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29408         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29409         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29410         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29411         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29412         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29413         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29414         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29415         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29416
29417         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29418         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29419         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29420         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29421         [defined __arch64__ || defined __sparcv9]
29422         (__OFF_T_MATCHES_OFF64_T): New macro.
29423         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29424         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29425         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29426         (__OFF_T_MATCHES_OFF64_T): New macro.
29427
29428 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29429
29430         * stdlib/secure-getenv.c (__secure_getenv): Replace
29431         GLIBC_2_16 with GLIBC_2_17.
29432
29433 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29434
29435         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29436         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29437
29438 2012-08-03  David S. Miller  <davem@davemloft.net>
29439
29440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29441
29442 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29443
29444         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29445         Remove.
29446         (__ASSUME_CORRECT_SI_PID): Likewise.
29447         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29448         (__ASSUME_TMPFS_NAME): Likewise.
29449         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29450         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29451         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29452         (HAVE_AUX_SECURE): Make definition unconditional.
29453         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29454         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29455
29456 2012-08-03  Roland McGrath  <roland@hack.frob.com>
29457
29458         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29459         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29460         * sysdeps/mach/hurd/eloop-threshold.h: New file.
29461         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29462         __eloop_threshold instead of SYMLOOP_MAX.
29463
29464         * sysdeps/generic/eloop-threshold.h: New file.
29465         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29466         of MAXSYMLINKS.
29467         * elf/chroot_canon.c (chroot_canon): Likewise.
29468
29469 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29470
29471         [BZ #13717]
29472         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29473         Change to 2.6.0 everywhere.
29474         * sysdeps/unix/sysv/linux/configure: Regenerated.
29475         * sysdeps/unix/sysv/linux/kernel-features.h
29476         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29477         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29478         kernel versions.
29479         (__ASSUME_POSIX_TIMERS): Define unconditionally.
29480         (__ASSUME_FUTEX_REQUEUE): Remove.
29481         (__ASSUME_STATFS64): Define unconditionally.
29482         (__ASSUME_AT_SECURE): Likewise.
29483         (__ASSUME_CORRECT_SI_PID): Likewise.
29484         (__ASSUME_TGKILL): Define without depending on kernel version for
29485         i386.
29486         (__ASSUME_UTIMES): Likewise.
29487         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29488         kernel version.
29489         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29490         (__ASSUME_TMPFS_NAME): Likewise.
29491         * README: Update reference to Linux kernel versions.
29492
29493 2012-08-02  Marek Polacek  <polacek@redhat.com>
29494
29495         [BZ# 14150]
29496         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
29497         libc_cv_asm_type_prefix with %.
29498         * configure: Regenerated.
29499         * include/libc-symbols.h: Remove comment about
29500         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29501         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29502         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29503         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29504         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29505         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29506         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29507         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29508         * elf/tst-unique2mod1.c: Likewise.
29509         * elf/tst-unique1mod2.c: Likewise.
29510         * elf/tst-unique1mod1.c: Likewise.
29511         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29512         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29513         Replace ASM_TYPE_DIRECTIVE with .type.
29514         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29515         * sysdeps/i386/sysdep.h: Likewise.
29516         * sysdeps/x86_64/sysdep.h: Likewise.
29517         * sysdeps/sh/sysdep.h: Likewise.
29518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29519         Do not define ASM_TYPE_DIRECTIVE.
29520         * sysdeps/powerpc/sysdep.h: Likewise.
29521         * sysdeps/powerpc/powerpc32/sysdep.h:
29522         Replace ASM_TYPE_DIRECTIVE with .type.
29523         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29524         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29525         * sysdeps/i386/fpu/e_powf.S: Likewise.
29526         * sysdeps/i386/fpu/e_expl.S: Likewise.
29527         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29528         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29529         * sysdeps/i386/fpu/e_pow.S: Likewise.
29530         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29531         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29532         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29533         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29534         * sysdeps/i386/fpu/e_log2.S: Likewise.
29535         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29536         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29537         * sysdeps/i386/fpu/e_powl.S: Likewise.
29538         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29539         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29540         * sysdeps/i386/fpu/e_logl.S: Likewise.
29541         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29542         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29543         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29544         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29545         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29546         * sysdeps/i386/fpu/e_log.S: Likewise.
29547         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29548         * sysdeps/i386/fpu/e_logf.S: Likewise.
29549         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29550         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29551         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29552         * sysdeps/i386/fpu/e_log10.S: Likewise.
29553         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29554         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29555         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29556         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29557         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29558         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29559         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29560         * sysdeps/i386/i686/strtok.S: Likewise.
29561         * sysdeps/i386/i386-mcount.S: Likewise.
29562         * sysdeps/i386/strtok.S: Likewise.
29563         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29564         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29565         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29566         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29567         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29568         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29569         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29570         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29571         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29572         * sysdeps/x86_64/_mcount.S: Likewise.
29573         * sysdeps/x86_64/strtok.S: Likewise.
29574         * sysdeps/sh/_mcount.S: Likewise.
29575
29576 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29577
29578         * libio/iofopen.c: Include <fcntl.h>.
29579         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29580         (_IO_fopen64, fopen64): Define as aliases.
29581         * libio/iofopen64.c: Include <fcntl.h>.
29582         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29583         Conditionalize body on this.
29584         * sysdeps/wordsize-64/iofopen.c: File removed.
29585         * sysdeps/wordsize-64/iofopen64.c: File removed.
29586
29587 2012-08-01  Marek Polacek  <polacek@redhat.com>
29588
29589         * libc/Makeconfig: Use elf in place of binfmt-subdir.
29590         Use dlfcn directly instead of a variable.
29591         (binfmt-subdir): Do not define.
29592         (dlfcn): Likewise.
29593
29594 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
29595
29596         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29597         Remove all definitions.
29598         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29599         <kernel-features.h>.
29600         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29601         (miss_F_GETOWN_EX): Remove all definitions.
29602         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29603         macro definition.
29604         [!__ASSUME_FCNTL64]: Remove conditional code.
29605         [__ASSUME_FCNTL64]: Make code unconditional.
29606         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29607         <kernel-features.h>.
29608         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29609         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29610         (lockf64) [__NR_fcntl64]: Make code unconditional.
29611         (lockf64) [__ASSUME_FCNTL64]: Likewise.
29612
29613         * sysdeps/unix/sysv/linux/kernel-features.h
29614         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29615         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29616         Make code unconditional.
29617         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29618         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29620         [__NR_vfork]: Make code unconditional.
29621         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29622         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29624         [__NR_vfork]: Make code unconditional.
29625         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29626         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29627
29628 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29629
29630         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29631         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29632
29633         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29634         Define mkstemp64 as an alias.
29635         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29636         Define mkstemps64 as an alias.
29637         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29638         Define mkostemp64 as an alias.
29639         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29640         Define mkostemps64 as an alias.
29641         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29642         Conditionalize body on this.
29643         * misc/mkostemp64.c: Likewise.
29644         * misc/mkostemps64.c: Likewise.
29645         * misc/mkstemps64.c: Likewise.
29646         * sysdeps/wordsize-64/mkstemp64.c: File removed.
29647         * sysdeps/wordsize-64/mkostemp64.c: File removed.
29648         * sysdeps/wordsize-64/mkostemp.c: File removed.
29649         * sysdeps/wordsize-64/mkstemp.c: File removed.
29650         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29651         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29652         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29653         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29654
29655         [BZ #14138]
29656         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29657         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29658         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29659         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29660
29661         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29662         compat_symbol macros from <shlib-compat.h> rather than the underlying
29663         default_symbol_version and symbol_version macros, so that DEFAULT
29664         lines in shlib-versions are respected.
29665         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29666
29667 2012-08-01  Florian Weimer  <fweimer@redhat.com>
29668
29669         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29670         Declare with warn_unused_result.
29671         (setgid, setregid, setegid, setresgid): Likewise.
29672         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29673         Likewise.
29674         * WUR-REPORT: Remove set*id functions.
29675
29676 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
29677
29678         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29679
29680 2012-07-31  Roland McGrath  <roland@hack.frob.com>
29681
29682         [BZ #10191]
29683         * include/sys/socket.h (__libc_accept, __libc_accept4):
29684         Add attribute_hidden.
29685         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29686
29687         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29688         use of PTR_MANGLE.
29689         * inet/getnetgrent_r.c (setup): Likewise.
29690
29691         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29692
29693 2012-07-31  David S. Miller  <davem@davemloft.net>
29694
29695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29696
29697 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
29698
29699         [BZ #13629]
29700         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29701         value between 1.0 and 2.0 and smaller part has absolute value less
29702         than 1.0.
29703         * math/s_clog10.c (__clog10): Likewise.
29704         * math/s_clog10f.c (__clog10f): Likewise.
29705         * math/s_clog10l.c (__clog10l): Likewise.
29706         * math/s_clogf.c (__clogf): Likewise.
29707         * math/s_clogl.c (__clogl): Likewise.
29708         * math/libm-test.inc (clog_test): Add more tests.
29709         (clog10_test): Likewise.
29710         * sysdeps/i386/fpu/libm-test-ulps: Update.
29711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29712
29713 2012-07-31  Florian Weimer  <fweimer@redhat.com>
29714
29715         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29716         Exit with zero in case no suitable GID is found, and write a
29717         message to standard error.
29718
29719 2012-07-30  Roland McGrath  <roland@hack.frob.com>
29720
29721         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29722         rather than to 1.
29723         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29724         (MAXPATHLEN): Removed.
29725         (NOGROUP, NODEV): New macros.
29726         (setbit, clrbit, isset, isclr): New macros.
29727         (howmany, roundup, powerof2): New macros.
29728         (DEV_BSIZE): New macro.
29729
29730         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29731         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29732
29733         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29734         definition on [!__NO_LONG_DOUBLE_MATH].
29735
29736         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29737         PTR_MANGLE and PTR_DEMANGLE.
29738
29739         * socket/accept4.c (accept4): Rename to __libc_accept4.
29740         Define accept4 as a weak alias.
29741
29742         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29743         on [_DIRENT_HAVE_D_TYPE].
29744         * io/ftw.c (ftw_dir): Likewise.
29745
29746         * io/xmknod.c (__xmknod): Don't check PATH for being null.
29747
29748         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29749
29750         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29751         Use the BSD numbers rather than the arbitrary ones we had.
29752         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29753         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29754         (SIGXCPU, SIGXFSZ): New macros.
29755         (_NSIG): Now 32.
29756
29757         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29758         initializer on [_LIBC_REENTRANT].
29759
29760         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29761         definitions inside [_POSIX_MAPPED_FILES].
29762
29763         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29764
29765         * dirent/opendir.c: Include <fcntl.h>.
29766
29767         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29768         (__libc_getspecific): Likewise.
29769         (__libc_key_create): Likewise.
29770
29771         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29772         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29773         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29774         (tmpfile64): Define as alias.
29775         * sysdeps/wordsize-64/tmpfile.c: File removed.
29776         * sysdeps/wordsize-64/tmpfile64.c: File removed.
29777         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29778         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29779
29780         * stdio-common/vfscanf.c: Include <stdbool.h>.
29781         * nss/makedb.c: Likewise.
29782         * stdio-common/_i18n_number.h: Likewise.
29783         * argp/argp-help.c: Likewise.
29784         * posix/wordexp.c: Likewise.
29785         * sysdeps/posix/spawni.c: Likewise.
29786         * nss/nss_files/files-initgroups.c: Likewise.
29787         * stdio-common/reg-modifier.c: Include <stdlib.h>.
29788         * nss/nss_files/files-initgroups.c: Likewise.
29789         * nss/nss_db/db-netgrp.c: Likewise.
29790         * nss/nss_db/db-initgroups.c: Likewise.
29791         * io/fchmodat.c: Include <sys/stat.h>.
29792
29793         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29794         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29795
29796         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29797         [HAVE_MMAP].
29798
29799         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29800         Add multiple inclusion protection.
29801
29802 2012-07-27  David S. Miller  <davem@davemloft.net>
29803
29804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29805
29806 2012-07-27  Gary Benson  <gbenson@redhat.com>
29807
29808         [BZ #14298]
29809         * elf/rtld.c: Include <stap-probe.h>.
29810         (dl_main): Added static probes "init_start" and "init_complete".
29811         * elf/dl-load.c: Include <stap-probe.h>.
29812         (lose): Take new parameter "nsid".
29813         Added static probe "map_failed".
29814         (_dl_map_object_from_fd): Pass namespace id to lose.
29815         Added static probe "map_start".
29816         (open_verify): Pass namespace id to lose.
29817         * elf/dl-open.c: Include <stap-probe.h>.
29818         (dl_open_worker) Added static probes "map_complete", "reloc_start"
29819         and "reloc_complete".
29820         * elf/dl-close.c: Include <stap-probe.h>.
29821         (_dl_close_worker): Added static probes "unmap_start" and
29822         "unmap_complete".
29823         * elf/rtld-debugger-interface.txt: New file documenting the above.
29824
29825 2012-07-26  Roland McGrath  <roland@hack.frob.com>
29826
29827         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29828         rather than a string variable.
29829         * sunrpc/rpc_main.c (h_output): Likewise.
29830         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29831
29832 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
29833
29834         * inet/check_native.c: New file.
29835
29836 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
29837
29838         [BZ #13629]
29839         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29840         if larger part has absolute value 1.0.
29841         * math/s_clog10.c (__clog10): Likewise.
29842         * math/s_clog10f.c (__clog10f): Likewise.
29843         * math/s_clog10l.c (__clog10l): Likewise.
29844         * math/s_clogf.c (__clogf): Likewise.
29845         * math/s_clogl.c (__clogl): Likewise.
29846         * math/libm-test.inc (clog_test): Add more tests.
29847         (clog10_test): Likewise.
29848         * sysdeps/i386/fpu/libm-test-ulps: Update.
29849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29850
29851         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29852         (pltexit): Likewise.
29853         (La_regs): Likewise.
29854         (La_retval): Likewise.
29855         (int_retval): Likewise.
29856         Update #error for removed macros to refer only to definitions in
29857         tst-audit.h.
29858         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29859         macro.
29860         (pltexit): Likewise.
29861         (La_regs): Likewise.
29862         (La_retval): Likewise.
29863         (int_retval): Likewise.
29864         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29865         macro.
29866         (pltexit): Likewise.
29867         (La_regs): Likewise.
29868         (La_retval): Likewise.
29869         (int_retval): Likewise.
29870         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29871         macro.
29872         (pltexit): Likewise.
29873         (La_regs): Likewise.
29874         (La_retval): Likewise.
29875         (int_retval): Likewise.
29876         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29877         macro.
29878         (pltexit): Likewise.
29879         (La_regs): Likewise.
29880         (La_retval): Likewise.
29881         (int_retval): Likewise.
29882         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29883         macro.
29884         (pltexit): Likewise.
29885         (La_regs): Likewise.
29886         (La_retval): Likewise.
29887         (int_retval): Likewise.
29888         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29889         macro.
29890         (pltexit): Likewise.
29891         (La_regs): Likewise.
29892         (La_retval): Likewise.
29893         (int_retval): Likewise.
29894         * sysdeps/generic/tst-audit.h: Update comment to refer only to
29895         macro definitions in tst-audit.h.
29896         * sysdeps/i386/tst-audit.h: New file.
29897         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29898         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29899         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29900         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29901         * sysdeps/sh/tst-audit.h: Likewise.
29902         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29903         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29904         * sysdeps/x86_64/tst-audit.h: Likewise.
29905
29906 2012-07-26  Andreas Jaeger  <aj@suse.de>
29907
29908         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29909         ptrace.
29910
29911         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29912         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29913         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29914         PTRACE_O_MASK.
29915         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29916         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29917         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29918
29919         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29920         value.
29921
29922         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29923         _sigsys.
29924         (si_call_addr, si_syscall, si_arch): Define new macro.
29925         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29926         _sigsys.
29927         (si_call_addr, si_syscall, si_arch): Define new marcro.
29928         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29929         _sigsys.
29930         (si_call_addr, si_syscall, si_arch): Define new macro.
29931         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29932         _sigsys.
29933         (si_call_addr, si_syscall, si_arch): Define new macro.
29934
29935 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29936
29937         [BZ #13717]
29938         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29939         Change to 2.4.21 where previously 2.4.1.
29940         * sysdeps/unix/sysv/linux/configure: Regenerated.
29941         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29942         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29943         Linux kernel version.
29944         (__ASSUME_STD_AUXV): Remove.
29945         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29946         kernel version.
29947         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29948         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29949         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29950         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29951         (__ASSUME_NETLINK_SUPPORT): Likewise.
29952         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29953         (__no_netlink_support): Remove conditional definition.
29954         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29955         Remove.
29956         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29957         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29958         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29959         (if_nameindex_ioctl): Remove.
29960         (if_nameindex_netlink): Do not handle __no_netlink_support.
29961         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29962         code.
29963         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29964         Remove conditional code.
29965         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29966         code.
29967         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29968         unconditional.
29969         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29970         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29971         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29972         Remove.
29973         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29974         [!__ASSUME_STD_AUXV]: Remove conditional code.
29975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29976         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29977         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29979         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29980         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29981         code.
29982         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29984         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29985         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29986         conditional code.
29987         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29989         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29990         code.
29991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29992         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29993         conditional code.
29994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29995         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29996         code unconditional.
29997         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29998         conditional code.
29999         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30000         unconditional.
30001         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30002         conditional code.
30003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30004         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30005         unconditional.
30006         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30007         conditional code.
30008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30009         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30010         code unconditional.
30011         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30012         conditional code.
30013         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30014         unconditional.
30015         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30016         conditional code.
30017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30018         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30019         code unconditional.
30020         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30021         conditional code.
30022         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30023         unconditional.
30024         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30025         conditional code.
30026
30027 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30028
30029         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30030         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30031         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30032         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30033         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30034         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30035         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30036         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30037         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30038         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30039         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30040         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30041         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30042         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30043         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30044         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30045         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30046         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30047         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30049         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30050         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30051         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30052
30053 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30054
30055         * Versions.def: Add GLIBC_2.17.
30056         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30057         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30058         Introduce __libc_secure_getenv.
30059         * stdlib/Versions (2.17): Add secure_getenv
30060         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30061         * stdlib/secure-getenv.c: Rename __secure_getenv to
30062         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30063         symbol __secure_getenv for GLIBC_2.0.
30064         * stdlib/tst-secure-getenv.c: New.
30065         * stdlib/Makefile (tests): Add testcase.
30066         * manual/startup.texi (Environment Access): Document
30067         secure_getenv.
30068         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30069         __libc_secure_getenv.
30070         * inet/ruserpass.c (ruserpass): Likewise.
30071         * malloc/mtrace.c (mtrace): Likewise.
30072         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30073         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30074         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30075         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30076         HAVE_SECURE_GETENV.
30077         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30078         __secure_getenv to __libc_secure_getenv.
30079         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30081         Likewise.
30082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30083         Likewise.
30084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30086         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30091
30092 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30093
30094         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30095         (struct La_i86_retval): Likewise.
30096         (struct La_x86_64_regs): Likewise.
30097         (struct La_x86_64_retval): Likewise.
30098         (struct La_x32_regs): Likewise.
30099         (struct La_x32_retval): Likewise.
30100         (struct La_ppc32_regs): Likewise.
30101         (struct La_ppc32_retval): Likewise.
30102         (struct La_ppc64_regs): Likewise.
30103         (struct La_ppc64_retval): Likewise.
30104         (struct La_sh_regs): Likewise.
30105         (struct La_sh_retval): Likewise.
30106         (struct La_s390_32_regs): Likewise.
30107         (struct La_s390_32_retval): Likewise.
30108         (struct La_s390_64_regs): Likewise.
30109         (struct La_s390_64_retval): Likewise.
30110         (struct La_sparc32_regs): Likewise.
30111         (struct La_sparc32_retval): Likewise.
30112         (struct La_sparc64_regs): Likewise.
30113         (struct La_sparc64_retval): Likewise.
30114         (struct audit_ifaces): Remove architecture-specific pltenter and
30115         pltexit members.
30116         * sysdeps/i386/ldsodefs.h: New file.
30117         * sysdeps/powerpc/ldsodefs.h: Likewise.
30118         * sysdeps/s390/ldsodefs.h: Likewise.
30119         * sysdeps/sh/ldsodefs.h: Likewise.
30120         * sysdeps/sparc/ldsodefs.h: Likewise.
30121         * sysdeps/x86_64/ldsodefs.h: Likewise.
30122
30123 2012-07-25  Marek Polacek  <polacek@redhat.com>
30124
30125         [BZ #6808]
30126         * math/libm-test.inc (yn_test): Add another test.
30127         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30128         to ERANGE when the result is +-Inf.
30129         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30130         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30131         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30132         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30133
30134 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30135
30136         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30137         equal to 0.
30138         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30139         clock_t.
30140         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30141
30142 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30143
30144         * configure.in <sysdeps resolving>: Correct printing
30145         Implies_before.
30146         * configure: Regenerate.
30147
30148 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30149
30150         * math/w_ilogb.c: Include <limits.h>.
30151         * math/w_ilogbl.c: Likewise.
30152
30153 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30154
30155         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30156         va_copy.  Document allowing for unavailable va_copy only as
30157         pre-C99 compatibility.
30158         * manual/string.texi (Copying and Concatenation): Use va_copy
30159         instead of __va_copy in concat example.
30160
30161 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30162
30163         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30164         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30165         it if not null.
30166
30167         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30168         with O_NOLINK passed to __file_name_lookup.
30169
30170         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30171         with O_NOLINK passed to __file_name_lookup.
30172
30173         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30174         negative N or less than NGIDS.
30175
30176         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30177         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30178         enough.  Use memcpy instead of strncpy.
30179
30180 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30181
30182         * elf/Makefile (check-data): Remove.
30183         (localplt.data): New vpath directive.
30184         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30185         instead of $(check-data).
30186         * scripts/data/localplt-generic.data: Move to ...
30187         * sysdeps/generic/localplt.data: ... here.
30188         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30189         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30190         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30192         ... here.
30193         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30195         ... here.
30196         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30198         ... here.
30199         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30201         ... here.
30202         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30204         ... here.
30205         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30207         ... here.
30208
30209 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30210
30211         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30212         PPC32 and PPC64 files.
30213         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30214         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30215
30216 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30217
30218         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30219         __makecontext_ret to ...
30220         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30221         ... here and call exit if uc_link is NULL.  New file.
30222         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30223         __makecontext_ret.S.
30224         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30225         __makecontext_ret to ...
30226         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30227         ... here and call exit if uc_link is NULL.  New file.
30228         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30229         __makecontext_ret.S.
30230
30231 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30232
30233         * elf/elf.h (R_390_IRELATIVE): New definition.
30234         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30235         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30236         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30237         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30238         (elf_machine_lazy_rel): Likewise.
30239         * sysdeps/s390/dl-irel.h: New file.
30240         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30241         * sysdeps/s390/s390-64/memset.S: New asm code.
30242         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30243         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30244         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30245         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30246         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30247         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30248         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30249         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30250         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30251         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30252         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30253         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30254         * sysdeps/s390/s390-32/memset.S: New asm code.
30255         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30256
30257 2012-07-17  Marek Polacek  <polacek@redhat.com>
30258
30259         [BZ #14349]
30260         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30261         * sysdeps/s390/s390-64/configure.in: Likewise.
30262         * sysdeps/sparc/configure.in: Likewise.
30263         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30264         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30265         * sysdeps/i386/configure.in: Likewise.
30266         * sysdeps/x86_64/configure.in: Likewise.
30267         * sysdeps/sh/configure.in: Likewise.
30268         * sysdeps/s390/s390-32/configure: Regenerated.
30269         * sysdeps/s390/s390-64/configure: Likewise.
30270         * sysdeps/x86_64/configure: Likewise.
30271         * sysdeps/sh/configure: Likewise.
30272         * sysdeps/powerpc/powerpc64/configure: Likewise.
30273         * sysdeps/powerpc/powerpc32/configure: Likewise.
30274         * sysdeps/sparc/configure: Likwise.
30275         * sysdeps/i386/configure: Likewise.
30276
30277         * elf/dl-open.c: Comment fixes.
30278
30279 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30280
30281         * Makefile [CXX] (check-data): Remove.
30282         [CXX] (c++-types.data): New vpath directive.
30283         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30284         vpath.  Do not allow for C++ type data being missing.
30285         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30286         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30287         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30288         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30289         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30290         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30291         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30293         ... here.
30294         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30296         ... here.
30297         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30299         ... here.
30300         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30302         ... here.
30303         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30305         ... here.
30306         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30308         ... here.
30309         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30310         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30311         ... here.
30312         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30314
30315         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30316         definitions to architecture-specific files.
30317         (TLS_IE): Likewise.
30318         (TLS_LD): Likewise.
30319         (TLS_GD): Likewise.
30320         * sysdeps/i386/tls-macros.h: New file.
30321         * sysdeps/powerpc/tls-macros.h: Likewise.
30322         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30323         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30324         * sysdeps/sh/tls-macros.h: Likewise.
30325         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30326         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30327         * sysdeps/x86_64/tls-macros.h: Likewise.
30328
30329 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30330
30331         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30332         zero value for regular exit case.
30333
30334         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30335         (__start_context): Preserve zero value for regular exit case.
30336
30337 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30338             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30339
30340         * manual/setjmp.texi (setcontext): Clarify normal process
30341         termination when uc_link is the null pointer.
30342         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30343         exit call.
30344
30345 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30346
30347         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30348         preprocessor.  Test for each exception mask separately.
30349
30350 2012-07-16  Andreas Jaeger  <aj@suse.de>
30351
30352         * po/ru.po: Update from translation team.
30353
30354 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30355
30356         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30357         equal to 0.
30358         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30359         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30360         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30361         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30362         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30363
30364 2012-07-13  Andreas Jaeger  <aj@suse.de>
30365
30366         * po/fr.po: Update from translation team.
30367
30368 2012-07-12  Marek Polacek  <polacek@redhat.com>
30369
30370         [BZ #14173]
30371         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30372         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30373         loop condition.
30374
30375 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
30376
30377         [BZ #13717]
30378         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30379         Change to 2.4.1 where previously 2.4.0.
30380         * sysdeps/unix/sysv/linux/configure: Regenerated.
30381         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30382         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30383         version.
30384         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30385         (__ASSUME_AT_CLKTCK): Remove.
30386         (__ASSUME_AT_PAGESIZE): Likewise.
30387         (__ASSUME_AT_XID): Likewise.
30388         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30389         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30390         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30391         unconditionally.
30392         (HAVE_AUX_PAGESIZE): Likewise.
30393         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30394         [__ASSUME_AT_CLKTCK]: Make code unconditional.
30395         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30396
30397 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
30398
30399         [BZ #14307]
30400         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30401         the temporary buffer used to invoke __gethostbyname2_r,
30402         __gethostbyaddr_r and gethostbyname4_r to make room for struct
30403         host_data / struct gaih_addrtuple.
30404         * resolv/nss_dns/dns-host.c (global scope): Move definition of
30405         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30406         header file nss/nsswitch.h.
30407         * nss/nsswitch.h (global scope): Add definition of implementation
30408         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30409         resolv/nss_dns/dns-host.c).
30410
30411 2012-07-11  Andreas Jaeger  <aj@suse.de>
30412
30413         * po/fr.po: Update from translation team.
30414
30415         * po/sv.po: Update from translation team
30416         * po/fr.po: Another update from translation team.
30417
30418 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30419
30420         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30421         for subnormals or multiply small sinh result by itself.
30422         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30424
30425 2012-07-11  David S. Miller  <davem@davemloft.net>
30426
30427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30428
30429 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
30430
30431         [BZ #14347]
30432         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30433         (INTERNAL_MARK): Shift it here.
30434
30435 2012-07-10  Marek Polacek  <polacek@redhat.com>
30436
30437         [BZ #14151]
30438         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
30439         libc_cv_asm_global_directive with .globl.
30440         * configure: Regenerated.
30441         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30442         with .globl.
30443         * sysdeps/i386/configure: Regenerated.
30444         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30445         with .globl.
30446         * sysdeps/x86_64/configure: Regenerated.
30447         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30448         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30449         * elf/tst-unique2mod2.c: Likewise.
30450         * elf/tst-unique2mod1.c: Likewise.
30451         * elf/tst-unique1mod2.c: Likewise.
30452         * elf/tst-unique1mod1.c: Likewise.
30453         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30454         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30455         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30456         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30457         * sysdeps/mach/sysdep.h: Likewise.
30458         * sysdeps/i386/sysdep.h: Likewise.
30459         * sysdeps/i386/i386-mcount.S: Likewise.
30460         * sysdeps/x86_64/_mcount.S: Likewise.
30461         * sysdeps/x86_64/sysdep.h: Likewise.
30462         * sysdeps/sh/_mcount.S: Likewise.
30463         * sysdeps/sh/sysdep.h: Likewise.
30464         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30465         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30466         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30467         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30468         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30469         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30470         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30471         * locale/localeinfo.h: Likewise.
30472         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30473         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30474
30475 2012-07-09  Roland McGrath  <roland@hack.frob.com>
30476
30477         [BZ #14336]
30478         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30479         system".
30480         * manual/message.texi (The Uniforum approach): Likewise.
30481         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30482         (glibc iconv Implementation): Likewise.
30483
30484 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
30485
30486         [BZ #14337]
30487         * math/s_clog.c (__clog): Avoid scaling a value down where that
30488         could result in underflow.
30489         * math/s_clog10.c (__clog10): Likewise.
30490         * math/s_clog10f.c (__clog10f): Likewise.
30491         * math/s_clog10l.c (__clog10l): Likewise.
30492         * math/s_clogf.c (__clogf): Likewise.
30493         * math/s_clogl.c (__clogl): Likewise.
30494         * math/libm-test.inc (clog_test): Add more tests.
30495         (clog10_test): Likewise.
30496         * sysdeps/i386/fpu/libm-test-ulps: Update.
30497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30498
30499 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
30500
30501         [BZ #14283]
30502         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30503         by 7 not 8 to examine high bit of fractional part.
30504
30505         [BZ #14042]
30506         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30507         for call to __mcount_internal.
30508         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30509         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30510         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30511
30512 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
30513
30514         [BZ #14154]
30515         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30516         approximation for values within 0x1p-13f of an odd multiple of
30517         pi/4.
30518         * math/libm-test.inc (tan_test): Do not allow spurious underflow
30519         exception.  Add more tests.
30520         * sysdeps/i386/fpu/libm-test-ulps: Update.
30521
30522         [BZ #6778]
30523         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30524         inputs and return -1 for them.  Do not check for +Inf in case not
30525         reachable for +Inf.
30526         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30527         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30528         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30529         and return -1 for them.  Do not check for +Inf in case not
30530         reachable for +Inf.
30531         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30532         define.
30533         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30534         and return -1 for them.  Do not check for +Inf in case not
30535         reachable for +Inf.
30536         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
30537         spurious underflow.
30538         * sysdeps/i386/fpu/libm-test-ulps: Update.
30539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30540
30541 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
30542
30543         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30544
30545 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
30546
30547         [BZ #14157]
30548         [BZ #14331]
30549         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30550         could result in spurious underflow.  Scale down values above
30551         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30552         * math/s_csqrtf.c (__csqrtf): Likewise.
30553         * math/s_csqrtl.c (__csqrtl): Likewise.
30554         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
30555         spurious underflow.
30556         * sysdeps/i386/fpu/libm-test-ulps: Update.
30557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30558
30559 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
30560
30561         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30562         xopen-msg.sed.
30563         * catgets/xopen-msg.awk: New file.
30564         * catgets/xopen-msg.sed: Removed.
30565
30566         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30567         po2text.sed.
30568         * intl/po2test.awk: New file.
30569         * intl/po2test.sed: Removed.
30570
30571 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
30572
30573         [BZ #14328]
30574         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30575         or multiply small sinh result by itself.
30576         * math/s_ctanf.c (__ctanf): Likewise.
30577         * math/s_ctanh.c (__ctanh): Likewise.
30578         * math/s_ctanhf.c (__ctanhf): Likewise.
30579         * math/s_ctanhl.c (__ctanhl): Likewise.
30580         * math/s_ctanl.c (__ctanl): Likewise.
30581         * math/libm-test.inc (ctan_test_tonearest): New function.
30582         (ctan_test_towardzero): Likewise.
30583         (ctan_test_downward): Likewise.
30584         (ctan_test_upward): Likewise.
30585         (ctanh_test_tonearest): Likewise.
30586         (ctanh_test_towardzero): Likewise.
30587         (ctanh_test_downward): Likewise.
30588         (ctanh_test_upward): Likewise.
30589         (main): Call these new functions.
30590         * sysdeps/i386/fpu/libm-test-ulps: Update.
30591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30592
30593 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
30594
30595         * .gitignore: Delete /ports entry.
30596
30597 2012-07-03  Andreas Jaeger  <aj@suse.de>
30598
30599         * po/bg.po: Update from translation team.
30600         * po/cs.po: Likewise.
30601         * po/de.po: Likewise.
30602         * po/hr.po: Likewise.
30603         * po/nl.pl: Likewise.
30604         * po/pl.po: Likewise.
30605         * po/vi.po: Likewise.
30606
30607 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
30608
30609         * Makeconfig [!+link] (+link-before-libc): New variable.
30610         [!+link] (+link-after-libc): Likewise.
30611         [!+link] (+link-tests): Likewise.
30612         [!+link] (+link): Define in terms of $(+link-before-libc) and
30613         $(+link-after-libc).
30614         [!+link-static] (+link-static-before-libc): New variable.
30615         [!+link-static] (+link-static-after-libc): Likewise.
30616         [!+link-static] (+link-static-tests): Likewise.
30617         [!+link-static] (+link-static): Define in terms of
30618         $(+link-static-before-libc) and $(+link-static-after-libc).
30619         [build-shared] (link-libc-before-gnulib): New variable.
30620         [build-shared] (link-libc-tests): Likewise.
30621         [build-shared] (link-libc): Define in terms of
30622         $(link-libc-before-gnulib).
30623         [!build-shared] (link-libc-tests): New variable.
30624         (link-libc-static-tests): New variable.
30625         [!gnulib] (gnulib-arch): New variable.
30626         [!gnulib] (gnulib-tests): Likewise.
30627         [!gnulib] (static-gnulib-arch): Likewise.
30628         [!gnulib] (static-gnulib-tests): Likewise.
30629         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
30630         Define with "=" instead of ":=".
30631         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
30632         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
30633         * Rules (binaries-all-notests): New variable.
30634         (binaries-all-tests): Likewise.
30635         (binaries-static-notests): Likewise.
30636         (binaries-static-tests): Likewise.
30637         (binaries-all): Define using $(binaries-all-notests) and
30638         $(binaries-all-tests).
30639         (binaries-static): Define using $(binaries-static-notests) and
30640         $(binaries-static-tests).
30641         (binaries-shared-tests): New variable.
30642         (binaries-shared-notests): Likewise.
30643         (binaries-shared): Remove variable.
30644         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30645         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30646         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30647         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30648         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30649         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30650         * elf/Makefile (sln-modules): New variable.
30651         (extra-objs): Add $(sln-modules:=.o).
30652         (ldconfig-modules): Add static-stubs.
30653         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30654         * elf/static-stubs.c: New file.
30655
30656         [BZ #14283]
30657         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30658         by 7 not 8 to examine high bit of fractional part.  Use volatile
30659         variables when splitting into final array of floats if
30660         __FLT_EVAL_METHOD__ != 0.
30661         * math/libm-test.inc (cos_test): Add another test.
30662         (sin_test): Likewise.
30663         * sysdeps/i386/fpu/libm-test-ulps: Update.
30664
30665         [BZ #14273]
30666         * math/libm-test.inc (cosh_test): Add more tests.
30667
30668         * version.h (RELEASE): Set to "development".
30669         (VERSION): Set to "2.16.90".
30670
30671 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
30672
30673         * NEWS: Update copyright. Remove last-updated date.
30674         Mention math library bug fixes and timezone data changes.
30675         * README: Mention GNU/Hurd, x32, and HPPA support status.
30676
30677 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
30678
30679         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30680
30681 2012-06-27  Andreas Jaeger  <aj@suse.de>
30682
30683         * manual/contrib.texi (Contributors): Add Samuel Thibault.
30684
30685 2012-06-25  Andreas Jaeger  <aj@suse.de>
30686
30687         * sysdeps/s390/fpu/libm-test-ulps: Update.
30688
30689 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
30690             Thomas Schwinge  <thomas@codesourcery.com>
30691
30692         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30693         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30694         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30695         fanotify_mark.
30696
30697 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
30698
30699         * sysdeps/mach/start.c: Remove file.
30700         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30701         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30702         * sysdeps/sh/init-first.c: Likewise.
30703
30704         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30705         registers for frame unwinding purposes, add CFI directives.
30706         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30707         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30708         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30709         Likewise.
30710
30711         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30712         __fortify_fail returning.
30713         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30714
30715         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30716         sysdeps/sh/____longjmp_chk.S.
30717         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30718         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30719         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30720         (gen-as-const-headers): Append sigaltstack-offsets.sym.
30721
30722         * sysdeps/sh/abort-instr.h: New file.
30723         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30724         process in case exit returns.
30725
30726         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30727         initialize the GOT register before use.
30728
30729         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30730         calculation of ARGC > 4.
30731
30732         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30733         meaningful names to some local labels.
30734
30735 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30736             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30737
30738         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30739         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30740         (__arch_compare_and_exchange_val_16_acq): Likewise.
30741         (__arch_compare_and_exchange_val_32_acq): Likewise.
30742         (atomic_exchange_and_add): Fix gUSA sequence.
30743         (atomic_add): Likewise.
30744         (atomic_add_negative): Likewise.
30745         (atomic_add_zero): Likewise.
30746         (atomic_bit_test_set): Likewise.
30747
30748 2012-06-22  Andreas Schwab  <schwab@redhat.com>
30749
30750         [BZ #13579]
30751         * include/link.h (struct link_map): Add l_free_initfini.
30752         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30753         l_initfini.
30754         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30755         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30756         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30757         set.
30758
30759 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
30760
30761         * configure.in: Use AC_LANG_SOURCE.
30762         * configure: Regenerate.
30763
30764 2012-06-22  Roland McGrath  <roland@hack.frob.com>
30765
30766         * configure.in (libc_cv_localstatedir): New substituted variable.
30767         * configure: Regenerated.
30768         * config.make.in (localstatedir): New variable, substituted from
30769         libc_cv_localstatedir.
30770         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30771         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30772         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30773         * sysdeps/gnu/configure: Regenerated.
30774
30775 2012-06-21  Jeff Law  <law@redhat.com>
30776
30777         [BZ #14277]
30778         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30779         free.  Simplify list management for _LIBC case.
30780
30781 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
30782
30783         [BZ #14273]
30784         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30785         Clear sign bit of 64-bit integer value before comparing against
30786         overflow value.
30787
30788         * sysdeps/mach/configure: Regenerated.
30789
30790 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
30791
30792         [BZ #14278]
30793         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30794
30795 2012-06-21  Jeff Law  <law@redhat.com>
30796
30797         [BZ #13882]
30798         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
30799         uint16_t for elements in the "seen" array to avoid char overflows.
30800         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30801         * elf/dl-open.c (dl_open_worker): Likewise.
30802
30803 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
30804
30805         * scripts/list-sources.sh: Scan PORTS for translations.
30806         * po/libc.pot: Regenerated.
30807
30808 2012-06-21  Andreas Jaeger  <aj@suse.de>
30809
30810         [BZ #12194]
30811         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30812         warning.
30813         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30814         * bits/byteswap-16.h (__bswap_16): Likewise.
30815         * bits/byteswap.h (__bswap_constant_16): Likewise.
30816
30817 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
30818
30819         [BZ #14117]
30820         * sysdeps/i386/fpu_control.h: Removed.
30821         * sysdeps/x86_64/fpu_control.h: Moved to ...
30822         * sysdeps/x86/fpu_control.h: Here.
30823
30824         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30825         (_FPU_SETCW): Likewise.
30826
30827 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
30828
30829         [BZ #14117]
30830         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30831         * sysdeps/x86/fpu/bits/mathinline.h: This.
30832         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30833
30834         [BZ #14050]
30835         [BZ #14117]
30836         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30837         functions if __x86_64__ is defined.
30838
30839 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
30840
30841         * string/endian.h: Add !__ASSEMBLER__ condition for including
30842         conversion interfaces.
30843
30844 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
30845
30846         [BZ #14241]
30847         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30848         of ABS(x) in calculating zero to negative powers other than odd
30849         integers.
30850         * math/libm-test.inc (pow_test): Add more tests.
30851
30852 2012-06-15  Andreas Jaeger  <aj@suse.de>
30853
30854         * manual/contrib.texi (Contributors): Update entry of Liubov
30855         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30856         Machado Filho.
30857
30858 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
30859
30860         * string/string.h: Add __wur to GNU version of strerror_r.
30861
30862 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
30863
30864         [BZ #14229]
30865         * string/Makefile (tests): Add tst-strtok_r.
30866         * string/tst-strtok_r.c: New file.
30867         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30868         RAX_LP/RDX_LP on SAVE_PTR.
30869
30870 2012-06-14  Roland McGrath  <roland@hack.frob.com>
30871
30872         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30873
30874 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
30875
30876         * libm_test.inc (csqrt_test): Allow more spurious underflow
30877         exceptions.
30878         (j0_test): Likewise.
30879         (j1_test): Likewise.
30880         (y0_test): Likewise.
30881         (y1_test): Likewise.
30882
30883 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
30884
30885         * po/Makefile (libc.pot): Use UTF-8 charset.
30886
30887 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
30888
30889         [BZ #14210]
30890         Suppress sign-conversion warning from FD_SET.
30891         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30892         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30893         not unsigned long int.
30894         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30895
30896 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
30897
30898         [BZ #14050]
30899         [BZ #14117]
30900         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30901         __extern_always_inline instead of __extern_inline.
30902         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30903         (__signbit): Likewise.
30904         (__signbitl): Support C++ namespace.
30905         (lrintf): New inline function.
30906         (lrint): Likewise.
30907         (llrintf): Likewise.
30908         (llrint): Likewise.
30909         (fmaxf): Likewise.
30910         (fmax): Likewise.
30911         (fminf): Likewise.
30912         (fmin): Likewise.
30913         (rint): Likewise.
30914         (rintf): Likewise.
30915         (ceil): Likewise.
30916         (ceilf): Likewise.
30917         (floor): Likewise.
30918         (floorf): Likewise.
30919         (nearbyint): Likewise.
30920         (nearbyintf): Likewise.
30921
30922 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
30923
30924         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30925         non-default versions.
30926
30927 2012-06-11  Roland McGrath  <roland@hack.frob.com>
30928
30929         [BZ #14218]
30930         * manual/argp.texi (Argp): Reword argp_parse description slightly.
30931
30932 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
30933
30934         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30935         (FE_UPWARD, FE_DOWNWARD): Don't define.
30936         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30937         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30938
30939         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30940         reading it.
30941         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30942         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30943
30944 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30945
30946         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30947         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30948         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30949         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30950
30951 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
30952
30953         [BZ #14117]
30954         * sysdeps/i386/fpu/bits/fenv.h: Removed.
30955         * sysdeps/i386/fpu/Implies: New file.
30956         * sysdeps/x86_64/fpu/Implies: Likewise.
30957         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30958         * sysdeps/x86/fpu/bits/fenv.h: This.
30959
30960         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30961         __SSE_MATH__.
30962
30963 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30964
30965         [BZ #14134]
30966         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30967         character 0xffff that matches the last element of the
30968         conversion table.
30969
30970 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30971
30972         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30973         fmodl commit.
30974
30975 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30976
30977         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30978         values higher than 25.6283.
30979
30980 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30981
30982         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30983         subnormal exponent extraction and add some __builtin_expect.
30984         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30985         Fix for subnormal mantissa calculation.
30986
30987 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
30988
30989         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30990         cpu2 is -1 and errno is not ENOSYS.
30991
30992 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
30993
30994         [BZ #14117]
30995         * sysdeps/i386/i486/bits/string.h: Renamed to ...
30996         * sysdeps/x86/bits/string.h: This.
30997         * sysdeps/x86_64/bits/string.h: Removed.
30998
30999         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31000         if not compiling for x86-64, but compiling for >= i486.
31001
31002         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31003         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31004
31005         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31006         New macro from Linux kernel 3.4.0.
31007         (FP_XSTATE_MAGIC2): Likewise.
31008         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31009         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31010         (struct _fpx_sw_bytes): New struct.
31011         (struct _xsave_hdr): Likewise.
31012         (struct _ymmh_state): Likewise.
31013         (struct _xstate): Likewise.
31014
31015         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31016         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31017         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31018         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31019         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31020         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31021
31022         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31023         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31024         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31025         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31026         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31027         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31028
31029 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31030
31031         [BZ #13743]
31032         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31033         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31034         (sysdep_headers): Include sys/platform/ppc.h.
31035         * sysdeps/powerpc/test-gettimebase.c: Test for
31036         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31037         * manual/Makefile (appendices): Include platform.texi.
31038         * manual/contrib.texi (Contributors): Update @node pointers.
31039         * manual/maint.texi (Maintenance): Likewise.
31040         (Platform): New node.
31041         * manual/platform.texi: New file.  Document the new features.
31042
31043 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31044             Jakub Jelinek  <jakub@redhat.com>
31045
31046         [BZ #14188]
31047         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31048         where __builtin_expect is unavailable.
31049
31050 2012-06-03  David S. Miller  <davem@davemloft.net>
31051
31052         * stdlib/longlong.h: Updated from GCC.
31053
31054 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31055
31056         [BZ #14042]
31057         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31058         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31059         __mcount_internal.
31060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31061         (GLIBC_2.16): Likewise.
31062
31063 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31064
31065         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31066
31067 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31068
31069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31070         (default-abi): New variable.
31071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31072         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31073         variable.
31074         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31075         Likewise.
31076         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31077         Likewise.
31078         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31079         Likewise.
31080
31081         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31082         definition.  Document in comment.
31083
31084 2012-06-01  David S. Miller  <davem@davemloft.net>
31085
31086         * stdlib/longlong.h: Updated from GCC.
31087
31088 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31089
31090         [BZ #14117]
31091         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31092         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31093         sys/debugreg.h sys/io.h here.
31094         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31095         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31096         sys/io.h.
31097         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31098         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31099         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31100         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31101         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31102         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31103
31104         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31105         Define only if __x86_64__ is defined.
31106
31107 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31108
31109         [BZ #14048]
31110         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31111         Use int64_t for variable i.
31112         * math/libm-test.inc (fmod_test): Add more tests.
31113
31114         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31115         z computation is not scheduled after fetestexcept.
31116         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31117         Use math_force_eval instead of asm to ensure calculation scheduled
31118         before exception test.
31119         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31120         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31121
31122 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31123
31124         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31125         computation is not scheduled after fetestexcept.
31126
31127 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31128
31129         [BZ #14117]
31130         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31131         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31132
31133 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31134
31135         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31136         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31137
31138 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31139
31140         [BZ #14117]
31141         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31142         <bits/wordsize.h>.
31143         (__WCHAR_MIN): Support __WORDSIZE == 64.
31144         (__WCHAR_MAX): Likewise.
31145
31146         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31147         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31148
31149         [BZ #14183]
31150         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31151         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31152
31153         [BZ #14117]
31154         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31155         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31156
31157         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31158         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31159
31160         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31161         Defined to 1 if __x86_64__ isn't defined.
31162         (_STAT_VER_LINUX_OLD): New.
31163         (st_atime): Remove duplicate.
31164         (st_mtime): Likewise.
31165         (st_ctime): Likewise.
31166
31167 2012-05-31  David S. Miller  <davem@davemloft.net>
31168
31169         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31170         entries.
31171
31172 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31173
31174         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31175         gen-libm-test.pl.
31176
31177         [BZ #14132]
31178         * elf/dl-reloc.c: Include <_itoa.h>.
31179         (_dl_reloc_bad_type): Remove use of INTUSE.
31180         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31181         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31182         * stdio-common/psiginfo.c (psiginfo): Likewise.
31183         * stdio-common/psignal.c (psignal): Likewise.
31184         * string/strsignal.c (strsignal): Likewise.
31185         * include/signal.h (_sys_siglist): Declare hidden proto.
31186         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31187         INTVARDEF with libc_hidden_data_def.
31188         * stdio-common/itoa-udigits.c: Likewise.
31189         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31190         (_itoa_lower_digits_internal): Remove declaration.
31191         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31192         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31193         (_sys_sigabbrev_internal): Remove aliases.
31194         (_sys_siglist): Define hidden alias.
31195
31196 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31197
31198         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31199         bits/sysctl.h.
31200
31201 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31202
31203         [BZ #14117]
31204         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31205         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31206
31207         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31208         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31209         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31210         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31211         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31212         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31213
31214         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31215         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31216         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31217
31218         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31219         with __addr.
31220         (insw): Likewise.
31221         (insl): Likewise.
31222         (outsb): Likewise.
31223         (outsw): Likewise.
31224         (outsl): Likewise.
31225
31226         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31227         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31228         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31229
31230         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31231         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31232         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31233         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31234         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31235         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31236
31237         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31238         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31239
31240         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31241         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31242
31243         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31244         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31245         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31246
31247         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31248         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31249         to ...
31250         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31251
31252         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31253         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31254         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31255
31256         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31257         for x86-64.
31258         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31259
31260 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31261
31262         * math/math.h (M_El): Use two more decimal places.
31263         (M_LOG2El): Likewise.
31264         (M_LOG10El): Likewise.
31265         (M_LN2l): Likewise.
31266         (M_LN10l): Likewise.
31267         (M_PIl): Likewise.
31268         (M_PI_2l): Likewise.
31269         (M_PI_4l): Likewise.
31270         (M_1_PIl): Likewise.
31271         (M_2_PIl): Likewise.
31272         (M_2_SQRTPIl): Likewise.
31273         (M_SQRT2l): Likewise.
31274         (M_SQRT1_2l): Likewise.
31275
31276 2012-05-31  David S. Miller  <davem@davemloft.net>
31277
31278         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31279         values between float registers.
31280         * sysdeps/sparc/sparc64/memset.S: Likewise.
31281         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31282
31283 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31284
31285         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31286         -D_FORTIFY_SOURCE=1.
31287         (CPPFLAGS-tst-longjmp_chk.c): Define.
31288         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31289         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31290         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31291         CFLAGS-tst-wchar-h.c.
31292
31293 2012-05-31  Marek Polacek  <polacek@redhat.com>
31294
31295         [BZ #14132]
31296         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31297         __endmntent_internal): Remove declaration.
31298         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31299         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31300         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31301
31302 2012-05-30  David S. Miller  <davem@davemloft.net>
31303
31304         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31305         (___Q_simulate_exceptions): Use real FP ops rather than writing
31306         into the %fsr.
31307         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31308         Likewise.
31309
31310 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31311
31312         [BZ #14117]
31313         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31314         * sysdeps/x86/bits/xtitypes.h: This.
31315
31316         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31317         * sysdeps/x86/bits/wordsize.h: This.
31318
31319         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31320         * sysdeps/x86/bits/huge_vall.h: This.
31321
31322         * sysdeps/i386/bits/select.h: Removed.
31323         * sysdeps/x86_64/bits/select.h: Renamed to ...
31324         * sysdeps/x86/bits/select.h: This.
31325
31326         * sysdeps/i386/bits/setjmp.h: Removed.
31327         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31328         * sysdeps/x86/bits/setjmp.h: This.
31329
31330         * sysdeps/i386/bits/mathdef.h: Removed.
31331         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31332         * sysdeps/x86/bits/mathdef.h: This.
31333
31334 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31335
31336         [BZ #14132]
31337         * include/sys/socket.h (__connect_internal)
31338         (__libc_sa_len_internal): Remove declaration.
31339         (__connect, __libc_sa_len): Declare hidden_proto.
31340         (SA_LEN): Remove use of INTUSE.
31341         * socket/connect.c: Add libc_hidden_def.
31342         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31343         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31344         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31345         alias.
31346         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31347         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31348         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31349         of adding _internal alias.
31350
31351 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31352
31353         [BZ #14117]
31354         * sysdeps/i386/bits/link.h: Removed.
31355         * sysdeps/i386/bits/linkmap.h: Likewise.
31356         * sysdeps/x86_64/bits/link.h: Renamed to ...
31357         * sysdeps/x86/bits/link.h: This.
31358         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31359         * sysdeps/x86/bits/linkmap.h: This.
31360
31361         * sysdeps/i386/bits/endian.h: Removed.
31362         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31363         * sysdeps/x86/bits/endian.h: This.
31364
31365         * sysdeps/i386/bits/byteswap.h: Removed.
31366         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31367         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31368         * sysdeps/x86/bits/byteswap.h: This.
31369         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31370         * sysdeps/x86/bits/byteswap-16.h: This.
31371         * sysdeps/i386/Implies: Add x86.
31372         * sysdeps/x86_64/Implies: Likewise.
31373
31374 2012-05-30  David S. Miller  <davem@davemloft.net>
31375
31376         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31377         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31378         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31379         (FP_TRAPPING_EXCEPTIONS): Define.
31380         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31381         (FP_TRAPPING_EXCEPTIONS): Define.
31382         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31383         subnormals only when inexact has been signalled or underflow
31384         exceptions are enabled.
31385         (_FP_PACK_CANONICAL): Likewise.
31386
31387 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31388
31389         [BZ #14183]
31390         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31391         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31392
31393 2012-05-30  Richard Henderson  <rth@twiddle.net>
31394
31395         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31396         with #ifndef NOT_IN_libc.
31397
31398         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
31399         marked to avoid plt entry.
31400
31401 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31402
31403         [BZ #14112]
31404         * Makeconfig (default-abi): New macro.
31405         (abi-includes): Likewise.
31406         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
31407         $(abi-$(default-abi)-lib-soname) for soname if defined.
31408         ($(common-objpfx)gnu/lib-names.stmp): Generate from
31409         abi-variants.
31410         * Makefile (installed-stubs): Likewise.
31411         * include/stubs-biarch.h: Removed.
31412         * scripts/lib-names.awk: Only handle one library at a time.
31413         * scripts/soversions.awk: Remove WORDSIZE support.
31414         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31415         entries.
31416         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31417         Removed.
31418         (syscall-list-default-condition): Likewise.
31419         (syscall-list-default-condition): Likewise.
31420         (syscall-list-includes): Likewise.
31421         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31422         syscall-list-* with abi-*.  Handle undefined abi-variants.
31423         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31424         * sysdeps/unix/sysv/linux/i386/Implies: New file.
31425         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31426         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31427         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31428         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31429         Removed.
31430         (syscall-list-32-options): Likewise.
31431         (syscall-list-32-condition): Likewise.
31432         (syscall-list-64-options): Likewise.
31433         (syscall-list-64-condition): Likewise.
31434         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31435         macro.
31436         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31437         Renamed to ...
31438         (abi-*): This.
31439         (abi-64-ld-soname): New macro.
31440         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31441         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31442         Renamed to ...
31443         (abi-*): This.
31444         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31445         * sysdeps/x86_64/x32/shlib-versions: Likewise.
31446
31447 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
31448
31449         * sysdeps/unix/sysv/linux/kernel-features.h
31450         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31451         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31452         include <kernel-features.h>.
31453         [!__NR_ftruncate64]: Remove conditional code.
31454         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31455         [__NR_ftruncate64]: Make code unconditional.
31456         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31457         * sysdeps/unix/sysv/linux/truncate64.c: Do not
31458         include <kernel-features.h>.
31459         [!__NR_ftruncate64]: Remove conditional code.
31460         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31461         [__NR_ftruncate64]: Make code unconditional.
31462         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31464         include <kernel-features.h>.
31465         [!__NR_ftruncate64]: Remove conditional code.
31466         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31467         [__NR_ftruncate64]: Make code unconditional.
31468         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31470         include <kernel-features.h>.
31471         [!__NR_ftruncate64]: Remove conditional code.
31472         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31473         [__NR_ftruncate64]: Make code unconditional.
31474         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31475
31476         * configure.in (libc_cv_fpie): Weaken to a compile test using
31477         LIBC_TRY_CC_OPTION.
31478         * configure: Regenerated.
31479
31480 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31481
31482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31486         Refreshed.
31487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31493         Refreshed.
31494
31495 2012-05-27  David S. Miller  <davem@davemloft.net>
31496
31497         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31498         (___Q_zero): New.
31499         (__Q_simulate_exceptions): Return void.  Change to simulate
31500         exceptions by writing into the %fsr.
31501         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31502         (__Qp_handle_exceptions): Likewise.
31503         (numbers): Delete.
31504         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31505         __Qp_handle_exceptions.
31506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31507         __Qp_handle_exceptions.
31508         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31509         as unused and give dummy FP_RND_NEAREST initializer.
31510         (FP_INHIBIT_RESULTS): Define.
31511         (___Q_simulate_exceptions): Update declaration.
31512         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31513         formatting.
31514         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31515         as unused and give dummy FP_RND_NEAREST initializer.
31516         (__Qp_handle_exceptions): Update declaration.
31517         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31518         formatting.
31519
31520 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
31521
31522         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31523         the temporary FPU control word.
31524         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31525         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31526         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31527         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31528         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31529         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31530         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31531         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31532         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31533         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31534         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31535
31536 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31537
31538         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31539         fields.
31540
31541 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
31542
31543         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31544         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31545         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31546         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31547         Likewise.
31548         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31549         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31550         Likewise.
31551
31552 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
31553
31554         * po/h.po: Update from translation team.
31555
31556 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
31557
31558         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31559
31560         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31561         handling of denormals.
31562         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31563         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31564         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31565         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31566         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31567         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31568         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31569         Likewise.
31570
31571 2012-05-26  Marek Polacek  <polacek@redhat.com>
31572
31573         [BZ #14152]
31574         * math/libm-test.inc (fma_test): Don't always expect underflow
31575         exception.
31576
31577 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31578
31579         [BZ #12416]
31580         * elf/tst-execstack.c: Include stackinfo.h.
31581         (do_test): Adjust test case to ensure that pthread_getattr_np
31582         behaviour remains the same after marking stack executable.
31583
31584 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31585
31586         * sysdeps/unix/sysv/linux/kernel-features.h
31587         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31588         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31589         kernel-features.h.
31590         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31591         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31592         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31593         kernel-features.h.
31594         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31595         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31596
31597 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
31598
31599         * configure.in: Define the default includes to being none.
31600         * configure: Regenerated.
31601
31602 2012-05-25  Roland McGrath  <roland@hack.frob.com>
31603
31604         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31605         * sysdeps/x86_64/setjmp.S: Likewise.
31606         * sysdeps/i386/bsd-setjmp.S: Likewise.
31607         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31608         * sysdeps/i386/setjmp.S: Likewise.
31609         * sysdeps/i386/__longjmp.S: Likewise.
31610         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31611         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31612
31613         * include/stap-probe.h: New file.
31614         * configure.in: Handle --enable-systemtap.
31615         * configure: Regenerated.
31616         * config.h.in (USE_STAP_PROBE): New #undef.
31617         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31618         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31619         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31620
31621 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31622
31623         [BZ #13717]
31624         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31625         to 2.4.0 where earlier.
31626         * sysdeps/unix/sysv/linux/configure: Regenerated.
31627         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31628         <kernel-features.h>.
31629         [__ASSUME_32BITUIDS]: Make code unconditional.
31630         [!__ASSUME_32BITUIDS]: Remove conditional code.
31631         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31632         <kernel-features.h>.
31633         [__ASSUME_32BITUIDS]: Make code unconditional.
31634         [!__ASSUME_32BITUIDS]: Remove conditional code.
31635         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31636         [__ASSUME_32BITUIDS]: Make code unconditional.
31637         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31638         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31639         <kernel-features.h>.
31640         [__ASSUME_32BITUIDS]: Make code unconditional.
31641         [!__ASSUME_32BITUIDS]: Remove conditional code.
31642         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31643         <kernel-features.h>.
31644         [__ASSUME_32BITUIDS]: Make code unconditional.
31645         [!__ASSUME_32BITUIDS]: Remove conditional code.
31646         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31647         <kernel-features.h>.
31648         [__ASSUME_32BITUIDS]: Make code unconditional.
31649         [!__ASSUME_32BITUIDS]: Remove conditional code.
31650         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31651         <kernel-features.h>.
31652         [__ASSUME_32BITUIDS]: Make code unconditional.
31653         [!__ASSUME_32BITUIDS]: Remove conditional code.
31654         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31655         <kernel-features.h>.
31656         [__ASSUME_32BITUIDS]: Make code unconditional.
31657         [!__ASSUME_32BITUIDS]: Remove conditional code.
31658         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31659         <kernel-features.h>.
31660         [__ASSUME_32BITUIDS]: Make code unconditional.
31661         [!__ASSUME_32BITUIDS]: Remove conditional code.
31662         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31663         <kernel-features.h>.
31664         [__ASSUME_32BITUIDS]: Make code unconditional.
31665         [!__ASSUME_32BITUIDS]: Remove conditional code.
31666         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31667         <kernel-features.h>.
31668         [__ASSUME_32BITUIDS]: Make code unconditional.
31669         [!__ASSUME_32BITUIDS]: Remove conditional code.
31670         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31671         <kernel-features.h>.
31672         [__ASSUME_32BITUIDS]: Make code unconditional.
31673         [!__ASSUME_32BITUIDS]: Remove conditional code.
31674         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31675         <kernel-features.h>.
31676         [__ASSUME_32BITUIDS]: Make code unconditional.
31677         [!__ASSUME_32BITUIDS]: Remove conditional code.
31678         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31679         <kernel-features.h>.
31680         [__NR_setresgid] (__setresgid): Do not declare.
31681         [__ASSUME_32BITUIDS]: Make code unconditional.
31682         [!__ASSUME_32BITUIDS]: Remove conditional code.
31683         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31684         <kernel-features.h>.
31685         [__NR_setresuid] (__setresuid): Do not declare.
31686         [__ASSUME_32BITUIDS]: Make code unconditional.
31687         [!__ASSUME_32BITUIDS]: Remove conditional code.
31688         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31689         <kernel-features.h>.
31690         [__ASSUME_32BITUIDS]: Make code unconditional.
31691         [!__ASSUME_32BITUIDS]: Remove conditional code.
31692         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31693         <kernel-features.h>.
31694         [__ASSUME_32BITUIDS]: Make code unconditional.
31695         [!__ASSUME_32BITUIDS]: Remove conditional code.
31696         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31697         <kernel-features.h>.
31698         [__ASSUME_32BITUIDS]: Make code unconditional.
31699         [!__ASSUME_32BITUIDS]: Remove conditional code.
31700         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31701         <kernel-features.h>.
31702         [__ASSUME_32BITUIDS]: Make code unconditional.
31703         [!__ASSUME_32BITUIDS]: Remove conditional code.
31704         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31705         <kernel-features.h>.
31706         [__ASSUME_32BITUIDS]: Make code unconditional.
31707         [!__ASSUME_32BITUIDS]: Remove conditional code.
31708         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31709         <kernel-features.h>.
31710         [__ASSUME_32BITUIDS]: Make code unconditional.
31711         [!__ASSUME_32BITUIDS]: Remove conditional code.
31712         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31713         <kernel-features.h>.
31714         [__ASSUME_32BITUIDS]: Make code unconditional.
31715         [!__ASSUME_32BITUIDS]: Remove conditional code.
31716         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31717         <kernel-features.h>.
31718         [__ASSUME_32BITUIDS]: Make code unconditional.
31719         [!__ASSUME_32BITUIDS]: Remove conditional code.
31720         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31721         <kernel-features.h>.
31722         [__ASSUME_32BITUIDS]: Make code unconditional.
31723         [!__ASSUME_32BITUIDS]: Remove conditional code.
31724         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31725         <kernel-features.h>.
31726         [__ASSUME_32BITUIDS]: Make code unconditional.
31727         [!__ASSUME_32BITUIDS]: Remove conditional code.
31728         * sysdeps/unix/sysv/linux/kernel-features.h
31729         (__ASSUME_SETRESUID_SYSCALL): Remove.
31730         (__ASSUME_SETRESGID_SYSCALL): Likewise.
31731         (__ASSUME_32BITUIDS): Likewise.
31732         (__ASSUME_LDT_WORKS): Likewise.
31733         (__ASSUME_O_DIRECTORY): Likewise.
31734         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31735         architecture but not kernel version.
31736         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31737         (__ASSUME_MMAP2_SYSCALL): Likewise.
31738         (__ASSUME_STAT64_SYSCALL): Likewise.
31739         (__ASSUME_IPC64): Likewise.
31740         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31741         <kernel-features.h>.
31742         [__ASSUME_32BITUIDS]: Make code unconditional.
31743         [!__ASSUME_32BITUIDS]: Remove conditional code.
31744         * sysdeps/unix/sysv/linux/opendir.c: Do not include
31745         <kernel-features.h>.
31746         [__ASSUME_O_DIRECTORY]: Make code unconditional.
31747         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31748         132096]: Remove conditional code.
31749         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31750         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31751         <kernel-features.h>.
31752         [__ASSUME_32BITUIDS]: Make code unconditional.
31753         [!__ASSUME_32BITUIDS]: Remove conditional code.
31754         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31755         <kernel-features.h>.
31756         [__ASSUME_32BITUIDS]: Make code unconditional.
31757         [!__ASSUME_32BITUIDS]: Remove conditional code.
31758         * sysdeps/unix/sysv/linux/setegid.c: Do not include
31759         <kernel-features.h>.
31760         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31761         unconditional.
31762         (__setresgid): Do not declare.
31763         [__ASSUME_32BITUIDS]: Make code unconditional.
31764         [!__ASSUME_32BITUIDS]: Remove conditional code.
31765         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31766         <kernel-features.h>.
31767         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31768         unconditional.
31769         (__setresuid): Do not declare.
31770         [__ASSUME_32BITUIDS]: Make code unconditional.
31771         [!__ASSUME_32BITUIDS]: Remove conditional code.
31772         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31773         <kernel-features.h>.
31774         [__ASSUME_32BITUIDS]: Make code unconditional.
31775         [!__ASSUME_32BITUIDS]: Remove conditional code.
31776         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31777         <kernel-features.h>.
31778         [__ASSUME_32BITUIDS]: Make code unconditional.
31779         [!__ASSUME_32BITUIDS]: Remove conditional code.
31780
31781 2012-05-25  Richard Henderson  <rth@twiddle.net>
31782
31783         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31784         dl_hwcap to ifunc resolver.
31785         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31786         elf_ifunc_invoke.
31787         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31788         dl_hwcap to ifunc resolver.
31789         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31790
31791 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31792
31793         [BZ #14153]
31794         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31795         for |x| <= 2**-26, not 2**-57.
31796         * math/libm-test.inc (acos_test): Do not allow spurious underflow
31797         exception.
31798
31799 2012-05-24  Jeff Law  <law@redhat.com>
31800
31801         * stdio-common/Makefile (tests): Add bug25.
31802         * stdio-common/bug25.c: New test.
31803
31804 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31805
31806         [BZ #13576]
31807         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31808         multiple of MALLOC_ALIGNMENT in size.
31809         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31810
31811 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31812
31813         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31814         Require >= 256.
31815         (FILENAME_MAX): Use macro-int-constant.
31816         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
31817         (_IOFBF): Use macro-int-constant.
31818         (_IOLBF): Likewise.
31819         (_IONBF): Likewise.
31820         (SEEK_CUR): Likewise.
31821         (SEEK_END): Likewise.
31822         (SEEK_SET): Likewise.
31823         (TMP_MAX): Likewise.
31824         (EOF): Use macro-int-constant.  Require < 0.
31825         (NULL): Use macro-constant.  Require == 0.
31826         (stdin): Require type to be FILE *.
31827         (stdout): Likewise.
31828         (stderr): Likewise.
31829         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31830         macro-int-constant.
31831         (EXIT_SUCCESS): Likewise.
31832         (NULL): Use macro-constant.  Require == 0.
31833         (RAND_MAX): Use macro-int-constant.
31834         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31835         [C99-based standards] (strtof): Require function.
31836         [C99-based standards] (strtold): Likewise.
31837         [C99-based standards] (strtoll): Likewise.
31838         [C99-based standards] (strtoull): Likewise.
31839         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31840         [ISO || ISO99 || ISO11] (limits.h): Likewise.
31841         [ISO || ISO99 || ISO11] (math.h): Likewise.
31842         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31843         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31844         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31845
31846 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
31847
31848         [BZ #14132]
31849         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31850         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31851         * intl/dgettext.c (DCGETTEXT): Likewise.
31852         * intl/gettext.c (DCGETTEXT): Likewise.
31853         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31854         * posix/regex_internal.h (gettext): Likewise.
31855         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31856         Remove declaration.
31857         * include/argz.h (__argz_count_internal)
31858         (__argz_stringify_internal): Remove declaration.
31859         (__argz_count, __argz_stringify): Declare hidden proto.
31860         * intl/dcgettext.c: Remove use of INTDEF.
31861         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31862         * string/argz-stringify.c: Likewise.
31863         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31864         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31865         Declare hidden proto.
31866         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31867         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31868         Declare hidden proto.
31869         * include/stdio.h (__asprintf_internal): Don't declare.
31870         (__asprintf): Don't define as macro.  Declare hidden proto.
31871         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31872         (__fsetlocking): Declare hidden proto.
31873         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31874         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31875         hidden proto.
31876         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31877         (_IO_setlinebuf): Remove use of INTUSE.
31878         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31879         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31880         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31881         Remove declaration.
31882         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31883         (_IO_do_flush): Remove use of INTUSE.
31884         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31885         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31886         (_IO_adjust_column, _IO_least_wmarker)
31887         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31888         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31889         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31890         (_IO_default_doallocate, _IO_wdefault_doallocate)
31891         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31892         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31893         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31894         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31895         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31896         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31897         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31898         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31899         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31900         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31901         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31902         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31903         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31904         proto.
31905         (_IO_flush_all_internal, _IO_adjust_column_internal)
31906         (_IO_default_uflow_internal, _IO_default_finish_internal)
31907         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31908         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31909         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31910         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31911         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31912         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31913         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31914         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31915         (_IO_file_close_internal, _IO_file_close_it_internal)
31916         (_IO_file_underflow_internal, _IO_file_overflow_internal)
31917         (_IO_file_init_internal, _IO_file_attach_internal)
31918         (_IO_file_fopen_internal, _IO_file_read_internal)
31919         (_IO_file_sync_internal, _IO_file_seek_internal)
31920         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31921         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31922         (_IO_str_underflow_internal, _IO_str_overflow_internal)
31923         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31924         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31925         (_IO_list_all_internal, _IO_link_in_internal)
31926         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31927         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31928         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31929         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31930         (_IO_do_write_internal, _IO_padn_internal)
31931         (_IO_getline_info_internal, _IO_getline_internal)
31932         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31933         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31934         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31935         (_IO_vfscanf_internal, _IO_vfprintf_internal)
31936         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31937         (_IO_init_internal, _IO_un_link_internal): Don't declare.
31938         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31939         with libc_hidden_ver, remove use of INTUSE.
31940         * libio/genops.c: Likewise.
31941         * libio/freopen.c: Likewise.
31942         * libio/freopen64.c: Likewise.
31943         * libio/iofclose.c: Likewise.
31944         * libio/iofdopen.c: Likewise.
31945         * libio/iofflush.c: Likewise.
31946         * libio/iofflush_u.c: Likewise.
31947         * libio/iofgets.c: Likewise.
31948         * libio/iofgets_u.c: Likewise.
31949         * libio/iofopen.c: Likewise.
31950         * libio/iofopncook.c: Likewise.
31951         * libio/iofread.c: Likewise.
31952         * libio/iofread_u.c: Likewise.
31953         * libio/ioftell.c: Likewise.
31954         * libio/iofwrite.c: Likewise.
31955         * libio/iogetline.c: Likewise.
31956         * libio/iogets.c: Likewise.
31957         * libio/iogetwline.c: Likewise.
31958         * libio/iopadn.c: Likewise.
31959         * libio/iopopen.c: Likewise.
31960         * libio/ioseekoff.c: Likewise.
31961         * libio/ioseekpos.c: Likewise.
31962         * libio/iosetbuffer.c: Likewise.
31963         * libio/iosetvbuf.c: Likewise.
31964         * libio/ioungetc.c: Likewise.
31965         * libio/ioungetwc.c: Likewise.
31966         * libio/iovdprintf.c: Likewise.
31967         * libio/iovsprintf.c: Likewise.
31968         * libio/iovsscanf.c: Likewise.
31969         * libio/memstream.c: Likewise.
31970         * libio/obprintf.c: Likewise.
31971         * libio/oldfileops.c: Likewise.
31972         * libio/oldiofclose.c: Likewise.
31973         * libio/oldiofdopen.c: Likewise.
31974         * libio/oldiofopen.c: Likewise.
31975         * libio/oldiopopen.c: Likewise.
31976         * libio/oldstdfiles.c: Likewise.
31977         * libio/putc.c: Likewise.
31978         * libio/setbuf.c: Likewise.
31979         * libio/setlinebuf.c: Likewise.
31980         * libio/stdfiles.c: Likewise.
31981         * libio/strops.c: Likewise.
31982         * libio/vasprintf.c: Likewise.
31983         * libio/vscanf.c: Likewise.
31984         * libio/vsnprintf.c: Likewise.
31985         * libio/vswprintf.c: Likewise.
31986         * libio/wfiledoalloc.c: Likewise.
31987         * libio/wfileops.c: Likewise.
31988         * libio/wgenops.c: Likewise.
31989         * libio/wmemstream.c: Likewise.
31990         * libio/wstrops.c: Likewise.
31991         * libio/__fpurge.c: Likewise.
31992         * libio/__fsetlocking.c: Likewise.
31993         * assert/assert.c: Likewise.
31994         * debug/fgets_chk.c: Likewise.
31995         * debug/fgets_u_chk.c: Likewise.
31996         * debug/fread_chk.c: Likewise.
31997         * debug/fread_u_chk.c: Likewise.
31998         * debug/gets_chk.c: Likewise.
31999         * debug/obprintf_chk.c: Likewise.
32000         * debug/vasprintf_chk.c: Likewise.
32001         * debug/vdprintf_chk.c: Likewise.
32002         * debug/vsnprintf_chk.c: Likewise.
32003         * debug/vsprintf_chk.c: Likewise.
32004         * malloc/mtrace.c: Likewise.
32005         * misc/error.c: Likewise.
32006         * misc/syslog.c: Likewise.
32007         * stdio-common/asprintf.c: Likewise.
32008         * stdio-common/fxprintf.c: Likewise.
32009         * stdio-common/getw.c: Likewise.
32010         * stdio-common/isoc99_fscanf.c: Likewise.
32011         * stdio-common/isoc99_scanf.c: Likewise.
32012         * stdio-common/isoc99_vfscanf.c: Likewise.
32013         * stdio-common/isoc99_vscanf.c: Likewise.
32014         * stdio-common/isoc99_vsscanf.c: Likewise.
32015         * stdio-common/printf-prs.c: Likewise.
32016         * stdio-common/printf_fp.c: Likewise.
32017         * stdio-common/printf_fphex.c: Likewise.
32018         * stdio-common/printf_size.c: Likewise.
32019         * stdio-common/putw.c: Likewise.
32020         * stdio-common/scanf.c: Likewise.
32021         * stdio-common/sprintf.c: Likewise.
32022         * stdio-common/tmpfile.c: Likewise.
32023         * stdio-common/vfprintf.c: Likewise.
32024         * stdio-common/vfscanf.c: Likewise.
32025         * stdlib/strfmon_l.c: Likewise.
32026         * sunrpc/openchild.c: Likewise.
32027         * sunrpc/xdr_stdio.c: Likewise.
32028         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32029         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32030
32031 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32032
32033         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32034
32035         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32036         in the third column, to generate for the shared library an IFUNC
32037         that uses _dl_vdso_vsym.
32038         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32039         * Makeconfig (object-suffixes-noshared): New variable.
32040
32041         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32042         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32043         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32044         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32045
32046         [BZ #14132]
32047         * include/sys/time.h (__gettimeofday): Remove macro.
32048         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32049         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32050         Remove INTDEF.
32051         (__gettimeofday): Add libc_hidden_def.
32052         (gettimeofday): Add libc_hidden_weak.
32053         * sysdeps/mach/gettimeofday.c: Likewise.
32054         * sysdeps/posix/gettimeofday.c: Likewise.
32055         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32056         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32057         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32058         (__gettimeofday_internal): Remove strong_alias.
32059         (__gettimeofday): Add libc_hidden_def.
32060         (gettimeofday): Add libc_hidden_weak.
32061         * sysdeps/unix/syscalls.list (gettimeofday):
32062         Remove __gettimeofday_internal alias.
32063
32064 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32065             H.J. Lu  <hongjiu.lu@intel.com>
32066
32067         [BZ #12495]
32068         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32069         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32070         (largebin_index_32_big): New.
32071         (largebin_index): Use it for 16-byte alignment.
32072         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32073         correction with front_misalign.
32074
32075 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32076
32077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32079         Likewise.
32080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32081         Likewise.
32082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32083         Likewise.
32084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32085         Likewise.
32086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32087         Likewise.
32088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32089         Likewise.
32090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32091         Likewise.
32092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32093         Likewise.
32094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32095         Likewise.
32096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32097         Likewise.
32098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32099         Likewise.
32100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32101         Likewise.
32102
32103         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32104         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32105
32106 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32107
32108         [BZ #10846]
32109         [BZ #14036]
32110         * math/libm-test.inc (exp_test): Add test from bug 14036.
32111         (pow_test): Add test from bug 10846.
32112
32113         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32114         and other flags.
32115         (special_function): Do not include flags in test name.
32116         (parse_args): Likewise.
32117         * sysdeps/i386/fpu/libm-test-ulps: Update.
32118         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32119         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32120         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32122
32123         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32124         exceptions.
32125         * math/libm-test.inc ("Philosophy"): Update comment about
32126         exception testing.
32127         (UNDERFLOW_EXCEPTION): New macro.
32128         (UNDERFLOW_EXCEPTION_OK): Likewise.
32129         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32130         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32131         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32132         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32133         (INVALID_EXCEPTION_OK): Update value.
32134         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32135         (OVERFLOW_EXCEPTION_OK): Likewise.
32136         (IGNORE_ZERO_INF_SIGN): Likewise.
32137         (test_exceptions): Handle underflow exceptions.
32138         (acos_test): Update for underflow exception expectations.
32139         (cexp_test): Likewise.
32140         (clog_test): Likewise.
32141         (clog10_test): Likewise.
32142         (csqrt_test): Likewise.
32143         (ctan_test): Likewise.
32144         (ctanh_test): Likewise.
32145         (exp_test): Likewise.
32146         (exp10_test): Likewise.
32147         (exp2_test): Likewise.
32148         (expm1_test): Likewise.
32149         (fma_test): Likewise.
32150         (j0_test): Likewise.
32151         (jn_test): Likewise.
32152         (nexttoward_test): Likewise.
32153         (pow_test): Likewise.
32154         (scalbn_test): Likewise.
32155         (scalbln_test): Likewise.
32156         (tan_test): Likewise.
32157         (y1_test): Likewise.
32158         * sysdeps/i386/fpu/libm-test-ulps: Update.
32159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32160
32161 2012-05-23  David S. Miller  <davem@davemloft.net>
32162
32163         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32164         (__libc_sigaction): Remove unused local variables.
32165
32166 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32167
32168         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32169
32170 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32171
32172         mktime: avoid signed integer overflow
32173         * time/mktime.c (__mktime_internal): Do not mishandle the case
32174         where diff == INT_MIN.
32175
32176         mktime: simplify computation of average
32177         * time/mktime.c (ranged_convert): Use new time_t_avg function
32178         instead of rolling our own (probably-slower) code.
32179
32180         mktime: do not assume signed right shift propagates sign bit
32181         * time/mktime.c (isdst_differ): New static function.
32182         (__mktime_internal): No need to normalize tm_isdst now.
32183         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32184         tm_isdst values.
32185
32186         mktime: merge another wrapv change from gnulib
32187         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32188         from some compilers.
32189
32190         mktime: remove incorrect attempt at unusual arithmetics
32191         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32192         The code didn't really work on such machines anyway.
32193         (TYPE_MINIMUM): Assume two's complement.
32194         (twos_complement_arithmetic): Verify that long_int and time_t
32195         are two's complement (or unsigned, in the latter case).
32196
32197         mktime: check signed shifts on long_int and time_t, too
32198         * time/mktime.c (SHR): Check that shifts work as desired
32199         on the types long_int and time_t too, as SHR is used on
32200         such types.
32201
32202         mktime: do not assume 'long' is wide enough
32203         * time/mktime.c (verify): Move decl up.
32204         (long_int): New type.
32205         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32206         to remove assumption in the code that 'long' is wide enough to
32207         store year values.  This assumption is not true on x32 and on
32208         some non-glibc platforms.
32209
32210         mktime: merge wrapv change from gnulib
32211         * time/mktime.c (WRAPV): New macro.
32212         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32213         (guess_time_tm, __mktime_internal): Do not assume that signed
32214         integer overflow wraps around; modern compilers generate code
32215         where this assumption is no longer valid.
32216
32217 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32218
32219         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32220         Replace "jmp L(pseudo_end)" with "ret".
32221         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32222         Likewise.
32223
32224 2012-05-23  Andreas Jaeger  <aj@suse.de>
32225
32226         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32227         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32228
32229 2012-05-23  Andreas Jaeger  <aj@suse.de>
32230             Maximilian Attems  <max@stro.at>
32231
32232         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32233         New macros.
32234
32235 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32236
32237         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32238         code so that pseudo_end is just ret and the stack pointer is
32239         correct also for static library in error case.
32240
32241 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32242
32243         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32244         move to syscalls.list.
32245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32249
32250         * manual/install.texi (Running make install): Do not mention Linux
32251         kernel version for which pt_chown is not needed.
32252         (Linux): Do not mention problems with nscd with 2.0 kernels.
32253         * INSTALL: Regenerated.
32254
32255 2012-05-23  Andreas Jaeger  <aj@suse.de>
32256
32257         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32258         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32259         macro.
32260         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32261         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32262         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32263         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32264         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32265         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32266         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32267         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32268         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32269         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32270         * sysdeps/unix/sysv/linux/bits/in.h
32271         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32272
32273 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32274
32275         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32276         (PREPARE_VERSION): Just use assert instead, it will be elided
32277         under [NDEBUG] anyway.
32278
32279 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32280
32281         * sysdeps/unix/sysv/linux/Makefile: Include
32282         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32283         (sysdep_routines): Remove sysctl.
32284         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32285         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32286         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32287         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32288         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32289
32290 2012-05-22  Andreas Jaeger  <aj@suse.de>
32291
32292         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32293         that pseudo_end is just ret and the stack pointer is correct also
32294         for static library in error case.
32295
32296 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32297
32298         [BZ #14122]
32299         * nss/nsswitch.c (defconfig_entries): New variable.
32300         (__nss_database_lookup): Don't leak defconfig entries.
32301         (nss_parse_service_list): Don't leak on error paths.
32302         (free_database_entries): New function.
32303         (free_defconfig): New function.
32304         (free_mem): Move common code to free_database_entries.
32305
32306 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32307
32308         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32309         Add arch_prctl.
32310         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32311
32312         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32313         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32314         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32315         New macro.
32316         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32317         (INTERNAL_SYSCALL_TYPES): Likewise.
32318         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32319         (LOAD_REGS_TYPES_[1-6]): Likewise.
32320         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32321         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32322
32323 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32324
32325         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32326         copysignl for GLIBC_2_0.
32327         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32328         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32329         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32330         logbl for GLIBC_2_0.
32331         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32332         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32333
32334 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32335
32336         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32337         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32338
32339         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32340         Use "neg %eax".
32341
32342         * time/mktime.c: Update copyright years.
32343
32344 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32345
32346         mktime: merge comment-quoting-style change from gnulib
32347         * time/mktime.c: Quote 'like this' in comments.
32348         The GNU coding standards suggest that we no longer quote `like this',
32349         as "`" and "'" are typically rendered asymmetrically nowadays.
32350         The typical gnulib style is to quote 'like this' when quoting
32351         code, and "like this" when quoting English.
32352
32353         * time/mktime.c (compile-command): Add "-I.".
32354
32355         mktime: merge mktime-internal.h change from gnulib
32356         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32357
32358         mktime: merge time_r change from gnulib
32359         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32360
32361         mktime: merge DEBUG change from gnulib
32362         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32363         case system <time.h> has a #define.
32364
32365         mktime: merge <sys/types.h> change from gnulib
32366         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32367         since <time.t> is now guaranteed to define time_t.
32368
32369         mktime: merge HAVE_CONFIG_H change from gnulib
32370         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32371
32372 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32373
32374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32375         Use "neg %eax".
32376
32377         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32378         __rlim_t cast.
32379         (struct rusage): Use anonymous union to pad each field to
32380         __syscall_slong_t.
32381
32382 2012-05-21  David S. Miller  <davem@davemloft.net>
32383
32384         * Makefules (o-iterator): Remove .s cases.
32385         (compile-command.s): Delete.
32386         (COMPILE.s): Delete.
32387         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32388
32389 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
32390
32391         * configure.in (libc_cv_predef_stack_protector): Only consider
32392         "foobar" and "__stack_chk_fail" lines in libc_undefs.
32393         * configure: Regenerated.
32394
32395 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32396
32397         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32398         New macro.  Use R*LP on int and pointer.
32399         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32400         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32401         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32402         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32403
32404         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32405         [__WORDSIZE_TIME64_COMPAT32] instead of
32406         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32407         (struct utmp): Likewise.
32408         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32409         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32410         Renamed to ...
32411         (__WORDSIZE_TIME64_COMPAT32): This.
32412         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32413         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32414         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32415         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32416         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32417         (__WORDSIZE_TIME64_COMPAT32): New macro.
32418
32419 2012-05-21  Andreas Jaeger  <aj@suse.de>
32420
32421         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32422         only if [SHARED]. Add prototype for __wcschr_ia32.
32423
32424 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32425
32426         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32427         of %rbp unmolested in the jmp_buf while mangling the low bits.
32428         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32429         unmolested high bits of %rbp while demangling the low bits.
32430         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32431
32432 2012-05-21  Andreas Jaeger  <aj@suse.de>
32433
32434         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32435         * sunrpc/svc_simple.c: Use it for registerrpc.
32436         * sunrpc/xcrypt.c: Use it for passwd2des.
32437
32438         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32439
32440 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32441
32442         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32443         Don't define if [__SYSCALL_WORDSIZE != 32].
32444         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32445         New macro.
32446
32447 2012-05-21  Bruno Haible  <bruno@clisp.org>
32448             Andreas Jaeger  <aj@suse.de>
32449
32450         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32451         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32452         inptr and inend for must_buffer_ch.
32453         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32454         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32455         * stdio-common/Makefile (tests): Remove bug15.
32456         (bug15-ENV): Remove macro.
32457         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32458         anymore.
32459
32460 2012-05-19  Andreas Jaeger  <aj@suse.de>
32461             Roland McGrath  <roland@hack.frob.com>
32462
32463         * manual/contrib.texi: Completely rewritten. It contains now an
32464         alphabetical list of contributors and their contributions.
32465
32466 2012-05-21  Richard Henderson  <rth@twiddle.net>
32467
32468         * misc/getauxval.c (__getauxval): Use unsigned long int.
32469         * misc/sys/auxv.h: Include <sys/cdefs.h>.
32470         (getauxval): Use unsigned long int.
32471
32472 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32473
32474         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32475
32476 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32477
32478         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32479         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32480         __alignof__ (long double).
32481
32482 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32483
32484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32485
32486 2012-05-20  Richard Henderson  <rth@twiddle.net>
32487
32488         * misc/getauxval.c: New file.
32489         * misc/sys/auxv.h: New file.
32490         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32491         (routines): Add getauxval.
32492         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32493         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32494         * elf/dl-sysdep.c (_dl_auxv): Remove.
32495         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32496         * elf/dl-support.c (_dl_auxv): New variable.
32497         (_dl_aux_init): Initialize it.
32498         * manual/startup.texi (Auxiliary Vector): New node.
32499         * sysdeps/generic/bits/hwcap.h: New file.
32500         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32501         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
32502         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32503         * sysdeps/sparc/sysdep.h: ... here.  Include it.
32504         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32505         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32507         Update.
32508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32511         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32512         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32516
32517 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32518
32519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32520
32521 2012-05-19  David S. Miller  <davem@davemloft.net>
32522
32523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32524
32525 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32526
32527         [BZ #14123]
32528         * math/s_ccosh.c: Include <float.h>
32529         (__ccosh): Avoid internal overflow calculating sinh and cosh
32530         values before multiplying by sin and cos values.
32531         * math/s_ccoshf.c: Likewise.
32532         * math/s_ccoshl.c: Likewise.
32533         * math/s_csin.c: Likewise.
32534         * math/s_csinf.c: Likewise.
32535         * math/s_csinl.c: Likewise.
32536         * math/s_csinh.c: Likewise.
32537         * math/s_csinhf.c: Likewise.
32538         * math/s_csinhl.c: Likewise.
32539         * math/libm-test.inc (ccos_test): Add more tests.
32540         (ccosh_test): Likewise.
32541         (csin_test): Likewise.
32542         (csinh_test): Likewise.
32543         * sysdeps/i386/fpu/libm-test-ulps: Update.
32544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32545
32546 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
32547
32548         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32549         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32550
32551         * sysdeps/x86_64/x32/_itoa.h: Add comment.
32552
32553 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32554
32555         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32556         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32557         * sysdeps/powerpc/soft-fp/Versions: Likewise.
32558         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32559         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32560         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32561         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32562         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32563         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32564         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32565         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32566         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32567         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32568         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32569         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32570         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32571         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32572         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32573         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32574         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32575         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32576         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32577         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32578         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32579         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32580         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32581         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32582         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32583         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32584         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32585         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32586
32587 2012-05-18  Andreas Jaeger  <aj@suse.de>
32588
32589         * csu/.gitignore: Delete.
32590
32591 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32592
32593         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32594         (timex): Use __syscall_slong_t.
32595
32596 2012-05-18  Andreas Jaeger  <aj@suse.de>
32597             Carlos O'Donell  <carlos_odonell@mentor.com>
32598
32599         * manual/install.texi (Configuring and compiling): Update
32600         description about files modified in the source directory.
32601         * INSTALL: Regenerated.
32602
32603 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32604
32605         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32606         value.  Use "or" to set return value to -1.
32607         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32608         negate return value.
32609
32610 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32611
32612         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32613         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32614         failure if the compiler has Graphite support disabled.
32615         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32616         Likewise.
32617         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32618         (CFLAGS-memmove.c): Likewise.
32619         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32620         Likewise.
32621
32622 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32623
32624         * sysdeps/x86_64/x32/_itoa.h: New file.
32625
32626         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32627         getdents system call only if kernel and user dirents have the
32628         same d_ino and d_off.
32629
32630         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32631         LLONG_MAX != LONG_MAX.
32632         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32633         (_fitoa_word): Likewise.
32634
32635         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32636         years.
32637         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32638         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32639         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32640
32641         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32642         include <bits/wordsize.h>.  Check __x86_64__ instead of
32643         __WORDSIZE.
32644         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32645         if __x86_64__ is defined.  Use anonymous union on fpstate.
32646
32647         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32648         anonymous union.
32649
32650 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
32651
32652         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32653         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32654         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32655         Refer to _rtld_local_ro instead of _rtld_global_ro.
32656         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32657         Likewise.
32658         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32659         Likewise.
32660         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32661         Likewise.
32662         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32663         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32664         of _rtld_global, and rtld_progname instead of _dl_argv[0].
32665
32666         * sysdeps/powerpc/powerpc32/dl-machine.c
32667         (__elf_machine_runtime_setup) [PROF]: Don't reference
32668         _dl_prof_resolve.
32669
32670 2012-05-18  Andreas Jaeger  <aj@suse.de>
32671
32672         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32673         function only available for GCCs before 3.4 since GCC 3.4
32674         introduced a builtin.
32675         (lrint): Likewise.
32676         (llrintf): Likewise.
32677         (llrint): Likewise.
32678         (fmaxf): Likewise.
32679         (fmax): Likewise.
32680         (fminf): Likewise.
32681         (fmin): Likewise.
32682         (rint): Likewise.
32683         (rintf): Likewise.
32684         (nearbyint): Likewise.
32685         (nearbyintf): Likewise.
32686         (ceil): Likewise.
32687         (ceilf): Likewise.
32688         (floor): Likewise.
32689         (floorf): Likewise.
32690
32691 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32692
32693         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32694         on both fields and cast pointer to __syscall_ulong_t.
32695
32696         * bits/types.h (__fsword_t): New type.
32697         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32698         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32699         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32700         (__FSWORD_T_TYPE): Likewise.
32701         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32702         (__FSWORD_T_TYPE): Likewise.
32703         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32704         (__FSWORD_T_TYPE): Likewise.
32705         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32706         (__FSWORD_T_TYPE): Likewise.
32707         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32708         __SWORD_TYPE with __fsword_t.
32709         (statfs64): Likewise.
32710
32711 2012-05-17  David S. Miller  <davem@davemloft.net>
32712
32713         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32714
32715 2012-05-17  Andreas Jaeger  <aj@suse.de>
32716
32717         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32718         warning.
32719
32720 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32721
32722         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32723
32724 2012-05-17  Andreas Jaeger  <aj@suse.de>
32725
32726         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32727         when it is used.
32728
32729 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32730
32731         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32732
32733 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32734
32735         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32736         * sysdeps/x86_64/tst-mallocalign1.c: New file.
32737
32738 2012-05-17  Andreas Jaeger  <aj@suse.de>
32739             Carlos O'Donell  <carlos_odonell@mentor.com>
32740
32741         [BZ #14059]
32742         * sysdeps/x86_64/multiarch/init-arch.h
32743         (bit_YMM_Usable): Rename to...
32744         (bit_AVX_Usable): ... this.
32745         (bit_FMA4_Usable): New macro.
32746         (bit_XMM_state): New macro.
32747         (bit_YMM_state): New macro.
32748         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32749         [__ASSEMBLER__] (index_AVX_Usable): ... this.
32750         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32751         (CPUID_OSXSAVE): New macro.
32752         (CPUID_AVX): New macro.
32753         (CPUID_FMA4): New macro.
32754         (index_YMM_Usable): Rename to...
32755         (index_AVX_Usable): ... this.
32756         (HAS_AVX): Use HAS_ARCH_FEATURE.
32757         (HAS_FMA4): Likewise.
32758         (HAS_YMM_USABLE): Remove.
32759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32760         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32761         are present.
32762         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32763         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32764         * sysdeps/x86_64/multiarch/Makefile: Likewise.
32765         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32766         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32767
32768 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32769
32770         * math/libm-test.c: Support platforms without multiple rounding modes.
32771         * math/bug-nextafter.c: Support platforms without FP exceptions.
32772         * math/bug-nexttoward.c: Likewise.
32773         * math/test-fenv.c: Likewise.
32774         * math/test-misc.c: Likewise.
32775         * stdlib/bug-getcontext.c: Likewise.
32776
32777 2012-05-17  Andreas Jaeger  <aj@suse.de>
32778
32779         * manual/examples/search.c (critter_cmp): Change signature to
32780         avoid warnings.
32781         * manual/string.texi (Collation Functions): Likewise.
32782
32783 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32784
32785         * bits/types.h: Fold copyright years.
32786         * bits/typesizes.h: Likewise.
32787         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32788         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32789         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32790         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32791         * time/time.h: Likewise.
32792
32793 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
32794
32795         [BZ #208]
32796         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32797         in instead of returning them.  Return void.
32798         (__libc_mallinfo): Accumulate over all arenas.
32799         (__malloc_stats): Adjust for change in int_mallinfo interface.
32800
32801 2012-05-16  Roland McGrath  <roland@hack.frob.com>
32802
32803         [BZ #10375]
32804         * configure.in (NM): Add AC_CHECK_TOOL for it.
32805         (libc_extra_cflags): New substituted variable.
32806         Check for -fstack-protector being used implicitly.
32807         * configure: Regenerated.
32808         * config.make.in (config-extra-cflags): New variable,
32809         gets @libc_extra_cflags@.
32810         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32811
32812         [BZ #10375]
32813         * configure.in: Check for _FORTIFY_SOURCE being predefined.
32814         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32815         * configure: Regenerated.
32816         * config.make.in (CPPUNDEFS): New substituted variable.
32817         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32818         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32819         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32820
32821 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32822
32823         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32824         (mq_attr): Use __syscall_slong_t.
32825
32826 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32827
32828         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32829         Check __x86_64__ instead of __WORDSIZE.
32830         (_STAT_VER_LINUX): Likewise.
32831         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
32832         __syscall_ulong_t and __syscall_slong_t.
32833         (stat64): Likewise.
32834
32835 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32836
32837         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32838
32839 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32840
32841         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32842
32843 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32844
32845         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32846         __syscall_ulong_t.
32847
32848         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32849         include <bits/wordsize.h>.  Check __x86_64__ instead of
32850         __WORDSIZE.
32851         (greg_t): Use "__extension__ long long int" if __x86_64__ is
32852         defined.
32853         (mcontext_t): Replace "unsigned long" with "unsigned long long".
32854
32855         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32856         include <bits/wordsize.h>.  Check __x86_64__ instead of
32857         __WORDSIZE.
32858         (user_regs_struct): Use "__extension__ unsigned long long"
32859         instead of "unsigned long" if __x86_64__ is defined.
32860         (user): Likewise.  Pad after pointer field if __ILP32__ is
32861         defined.
32862
32863 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
32864
32865         * configure.in (makeinfo): Require version 4.5 or later.  Allow
32866         versions 5 to 9.
32867         * configure: Regenerated.
32868         * manual/install.texi (texinfo): Increase version requirement to
32869         4.5 or later.
32870         * INSTALL: Regenerated.
32871
32872         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32873
32874 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32875
32876         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32877
32878         * sysdeps/x86_64/x32/ffs.c: New file.
32879
32880         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32881         __syscall_ulong_t.
32882         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32883         defined.  Use __syscall_ulong_t.
32884         (shminfo): Use __syscall_ulong_t.
32885         (shm_info): Likewise.
32886
32887         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32888         __syscall_ulong_t.
32889
32890         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32891         <bits/wordsize.h>.
32892         (msgqnum_t): Use __syscall_ulong_t.
32893         (msglen_t): Likewise.
32894         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
32895         __syscall_ulong_t.
32896
32897         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32898         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32899
32900         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32901
32902         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32903         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32904
32905         * sysvipc/sys/msg.h (msgbuf): Replace long int with
32906         __syscall_slong_t.
32907
32908         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32909         include <bits/wordsize.h>.  Check __x86_64__ instead of
32910         __WORDSIZE.
32911
32912         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32913         "unsigned long long int" if __x86_64__ is defined.
32914         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32915
32916         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32917         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32918         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32919
32920         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32921         <stdint.h>.
32922         (GET_PC): Cast to uintptr_t first.
32923         (GET_FRAME): Likewise.
32924         (GET_STACK): Likewise.
32925
32926         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32927         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32928         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32929         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32930         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32931         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32932         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32933         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32934         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32935         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32936         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32937         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32938         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32939         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32940         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32941         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32942         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32943         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32944         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32945         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32946         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32947         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32948         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32949         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32950         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32951         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32952         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32953         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32954         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32955
32956 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
32957
32958         * Makerules (+depfiles): Also collect depfiles from .oS in
32959         $(extra-objs).
32960         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32961         .oS, $(libnldbl-routines)).
32962
32963         * Makerules (native-compile-mkdep-flags): Define.
32964         * sunrpc/Makefile (extra-objs): Add $(addprefix
32965         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32966         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32967         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
32968         calling $(make-target-directory).
32969
32970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32971
32972         * bits/types.h (__snseconds_t): Removed.
32973         * time/time.h (struct timespec): Replace __snseconds_t with
32974         __syscall_slong_t.
32975         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32976         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32977         Likewise.
32978         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32979         (__SNSECONDS_T_TYPE): Likewise.
32980         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32981         (__SNSECONDS_T_TYPE): Likewise.
32982         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32983         (__SNSECONDS_T_TYPE): Likewise.
32984
32985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32986
32987         * sysdeps/mach/hurd/bits/typesizes.h
32988         (__SYSCALL_SLONG_TYPE): New macro.
32989         (__SYSCALL_ULONG_TYPE): Likewise.
32990
32991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32992
32993         * bits/types.h (__syscall_slong_t): New type.
32994         (__syscall_ulong_t): Likewise.
32995
32996         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32997         (__SYSCALL_ULONG_TYPE): Likewise.
32998         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32999         (__SYSCALL_SLONG_TYPE): Likewise.
33000         (__SYSCALL_ULONG_TYPE): Likewise.
33001         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33002         (__SYSCALL_SLONG_TYPE): Likewise.
33003         (__SYSCALL_ULONG_TYPE): Likewise.
33004         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33005         (__SYSCALL_SLONG_TYPE): Likewise.
33006         (__SYSCALL_ULONG_TYPE): Likewise.
33007
33008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33009
33010         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33011         Add sigaltstack-offsets.sym.
33012         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33013         <sigaltstack-offsets.h>.
33014         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33015         longjmp_msg pointer.
33016         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33017         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33018         signal stack.
33019         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33020
33021 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33022
33023         * elf/stackguard-macros.h: Remove file.
33024         * sysdeps/generic/stackguard-macros.h: New file.
33025         * sysdeps/i386/stackguard-macros.h: Likewise.
33026         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33027         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33028         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33029         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33030         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33031         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33032         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33033         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33034         <elf/stackguard-macros.h>.
33035
33036         [BZ #14109]
33037         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33038         __aligned__ in attribute.
33039         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33040         (gregset_t): Likewise.
33041
33042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33043
33044         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33045         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33046         * sysdeps/x86_64/x32/Implies-after: New file.
33047
33048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33049
33050         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33051         and access return value for _dl_profile_fixup.  Use R10_LP to
33052         load frame size.
33053
33054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33055
33056         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33057
33058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33059
33060         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33061         * sysdeps/x86_64/x32/sysdep.h: New file.
33062
33063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33064
33065         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33066         * sysdeps/x86_64/setjmp.S: Likewise.
33067
33068 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33069
33070         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33071         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33072         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33073         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33074         remove unused global constant.
33075
33076 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33077
33078         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33079         include of <not-cancel.h>.
33080
33081 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33082
33083         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33084
33085 2012-05-15  Jeff Law  <law@redhat.com>
33086             Andreas Jaeger  <aj@suse.de>
33087
33088         [BZ #13594]
33089         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33090         out from...
33091         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33092         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33093         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33094         code changing __hst_map_handle.map.
33095
33096 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33097
33098         * configure.in (sysnames): Look for Implies-before and Implies-after
33099         files.
33100         * configure: Regenerated.
33101
33102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33103
33104         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33105         8-byte data alignment with LP_SIZE alignment.
33106
33107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33108
33109         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33110         into R10_LP.
33111
33112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33113
33114         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33115
33116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33117
33118         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33119         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33120         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33121         Likewise.
33122         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33123
33124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33125
33126         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33127         (stackinfo_sub_sp): Likewise.
33128
33129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33130
33131         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33132         RAX_LP.
33133
33134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33135
33136         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33137         into R*_LP.
33138
33139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33140
33141         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33142         sizes into R*_LP.
33143
33144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33145
33146         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33147
33148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33149
33150         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33151         into R11_LP and load __x86_64_shared_cache_size_half into
33152         R8_LP.
33153
33154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33155
33156         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33157         R8_LP.
33158
33159 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33160
33161         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33162         logb for POWER7.
33163         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33164         logbf for POWER7.
33165         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33166         logbl for POWER7.
33167         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33168         powerpc32/power7/fpu/s_logb.c via #include.
33169         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33170         powerpc32/power7/fpu/s_logbf.c via #include.
33171         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33172         powerpc32/power7/fpu/s_logbl.c via #include.
33173
33174 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33175
33176         * README.libm: Remove file.
33177
33178 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33179
33180         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33181         count for x32.  Use R*_LP and omit operand-size suffix.
33182
33183 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33184
33185         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33186         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33187         * sysdeps/x86_64/x32/shlib-versions: New file.
33188
33189 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33190
33191         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33192         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33193         Use _dl_fatal_printf instead.
33194
33195 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33196
33197         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33198         set if not set by the user.  Do not allow for being unset.
33199         * sysdeps/unix/sysv/linux/configure: Regenerated.
33200
33201 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33202
33203         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33204         the `q' suffix from lea and replace .quad with ASM_ADDR.
33205
33206 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33207
33208         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33209         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33210         instead of $17.
33211         (PTR_DEMANGLE): Likewise.
33212
33213 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33214
33215         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33216         (LP_OP): Likewise.
33217         (ASM_ADDR): Likewise.
33218         (RAX_LP): Likewise.
33219         (RBP_LP): Likewise.
33220         (RBX_LP): Likewise.
33221         (RCX_LP): Likewise.
33222         (RDI_LP): Likewise.
33223         (RSI_LP): Likewise.
33224         (RSP_LP): Likewise.
33225         (R8_LP): Likewise.
33226         (R9_LP): Likewise.
33227         (R10_LP): Likewise.
33228         (R10_LP): Likewise.
33229         (R11_LP): Likewise.
33230         (R12_LP): Likewise.
33231         (R13_LP): Likewise.
33232         (R14_LP): Likewise.
33233         (R15_LP): Likewise.
33234
33235 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33236
33237         * sysdeps/x86_64/x32/dl-machine.h: New file.
33238
33239 2012-05-14  Andreas Jaeger  <aj@suse.de>
33240
33241         * manual/Makefile (subdir): Remove export of subdir.
33242         (all): Remove target.
33243         (.PHONY): Remove all from list.
33244         (mkinstalldirs): Remove.
33245         (.PHONY): Remove installdirs from list.
33246         ($(inst_infodir)/libc.info): Use make-target-directory.
33247         (installdirs): Remove.
33248         (subdir_%): Remove.
33249         (glibc-targets): Remove.
33250         (lib): Remove.
33251         (stubs): Remove.
33252         ($(objpfx)stubs ../po/manual.pot): Remove.
33253         ($(objpfx)stamp%): Remove.
33254         (make-target-directory): Remove.
33255         (subdir_install): Remove.
33256         (routines): Remove.
33257         (aux): Remove.
33258         (sources): Remove.
33259         (objects): Remove.
33260         (headers): Remove.
33261
33262         [BZ #13750]
33263         * manual/.gitignore: Remove, it's not needed anymore.
33264         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33265         all files in it.
33266         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33267         directory.
33268         (texis): Renamed to $(objpfx)texis.
33269         (texis-path): New, contains path to generated files.
33270         (chapters.%): Use texis-path for complete path, add extra argument
33271         libc-texinfo.sh.
33272         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33273         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33274         (summary,texi, stamp-summary): Use complete path of
33275         files. Generate files in build dir.
33276         (dir-add.texi): Build in build dir.
33277         (libm-err.texi,stamp-libm-err): Likewise.
33278         (version.texi, stamp-version): Likewise.
33279         (.%c.texi): Likewise.
33280         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33281         (mostlyclean): Remove target.
33282         (realclean): Remove target.
33283         (generated): Add new variable with contents from mostlyclean and
33284         realclean, remove entries duplicated in common-mostlyclean, add
33285         stamp-libm-err and stamp-version.
33286         (generated-dirs): Add libc directory.
33287         ($(inst_infodir)/libc.info): Install files from build dir.
33288
33289         * manual/install.texi (Configuring and compiling): Adjust since
33290         the info files are not part of the tar ball anymore.
33291
33292 2012-05-14  Andreas Jaeger  <aj@suse.de>
33293
33294         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33295         variable.
33296
33297 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33298
33299         [BZ #13717]
33300         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33301         to 2.2.0 where earlier.
33302         * sysdeps/unix/sysv/linux/configure: Regenerated.
33303         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33304         Remove conditional code.
33305         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33306         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33307         Remove conditional code.
33308         [!__NR_lchown]: Likewise.
33309         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33310         [__NR_lchown]: Likewise.
33311         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33312         comment referencing __ASSUME_LCHOWN_SYSCALL.
33313         * sysdeps/unix/sysv/linux/i386/sigaction.c
33314         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33315         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33316         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33317         Remove conditional code.
33318         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33319         (__protocol_available): Remove #if 0 code.
33320         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33321         conditional code.
33322         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33323         * sysdeps/unix/sysv/linux/kernel-features.h
33324         (__ASSUME_GETCWD_SYSCALL): Don't define.
33325         (__ASSUME_REALTIME_SIGNALS): Likewise.
33326         (__ASSUME_PREAD_SYSCALL): Likewise.
33327         (__ASSUME_PWRITE_SYSCALL): Likewise.
33328         (__ASSUME_POLL_SYSCALL): Likewise.
33329         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33330         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33331         non-SPARC.
33332         (__ASSUME_SIOCGIFNAME): Don't define.
33333         (__ASSUME_MSG_NOSIGNAL): Likewise.
33334         (__ASSUME_SENDFILE): Define unconditionally.
33335         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33336         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33337         conditional code.
33338         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33339         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33340         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33341         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33342         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33343         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33344         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33346         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33347         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33349         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33350         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33352         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33353         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33355         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33356         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33358         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33359         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33361         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33362         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33364         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33365         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33367         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33368         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33369         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33370         Remove conditional code.
33371         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33372         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33373         Remove conditional code.
33374         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33375         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33376         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33377         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33378         Remove conditional code.
33379         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33380         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33381         Remove conditional code.
33382         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33383         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33384         Remove conditional code.
33385         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33386         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33387         Remove conditional code.
33388         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33389         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33390         Remove conditional code.
33391         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33392         * sysdeps/unix/sysv/linux/sh/pwrite64.c
33393         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33394         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33395         * sysdeps/unix/sysv/linux/sigaction.c
33396         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33397         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33398         * sysdeps/unix/sysv/linux/sigpending.c
33399         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33400         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33401         * sysdeps/unix/sysv/linux/sigprocmask.c
33402         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33403         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33404         * sysdeps/unix/sysv/linux/sigsuspend.c
33405         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33406         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33407         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33408         (__libc_missing_rt_sigs): Remove.
33409         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33410         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33411         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33412         Remove conditional code.
33413         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33414         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33415         return 1.
33416         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33417         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33418         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33419         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33420
33421 2012-05-14  Andreas Jaeger  <aj@suse.de>
33422
33423         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33424         it's not used in glibc.
33425         (__coshm1): Likewise.
33426         (__acosh1p): Likewise.
33427         (__sgn): Likewise.
33428
33429         * manual/string.texi (Copying and Concatenation): Add missing
33430         variable in concat example.
33431         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33432
33433 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33434
33435         [BZ #14103]
33436         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33437         __builtin_clzl with __builtin_clzll.
33438
33439 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33440
33441         [BZ #14104]
33442         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33443         libc_freeres_ptr.
33444
33445 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33446
33447         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33448         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33449         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33450         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33451
33452 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
33453
33454         * NEWS: Update ia64 info.
33455
33456 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
33457
33458         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33459         used as bcopy.
33460
33461 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
33462
33463         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33464         * sysdeps/unix/syscalls.list (dup3): Likewise.
33465         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33466         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33467
33468 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33469
33470         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33471         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33472
33473 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33474
33475         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33476         thread pointer.
33477         (TLS_IE): Use mov/add instead of movq/addq to load thread
33478         pointer.
33479         (TLS_GD_PREFIX): New.
33480         (TLS_GD): Use it.
33481
33482 2012-05-11  David S. Miller  <davem@davemloft.net>
33483
33484         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33485         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33486         (_FPU_SETCW): Likewise.
33487
33488 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33489
33490         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33491         is 32-byte aligned.
33492
33493 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
33494
33495         [BZ #11837]
33496         * iconvdata/gb18030.c: Update tables.
33497         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
33498         characters specially.
33499         (BODY for TO_LOOP): Add encoding of missing ranges.
33500
33501 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
33502
33503         [BZ #13673]
33504         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33505         * sysdeps/mach/hurd/dup3.c: Likewise.
33506         * sysdeps/mach/hurd/readlinkat.c: Likewise.
33507         * sysdeps/powerpc/memmove.c:: Likewise.
33508
33509 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33510
33511         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33512         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33513
33514 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33515
33516         * elf/elf.h (R_X86_64_RELATIVE64): New.
33517         (R_X86_64_NUM): Updated.
33518         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33519         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
33520         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33521         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33522         tst-quad1pie tst-quad2pie
33523         (modules-names): Add tst-quadmod1 tst-quadmod2.
33524         ($(objpfx)tst-quad1): New dependency.
33525         ($(objpfx)tst-quad2): Likewise.
33526         ($(objpfx)tst-quad1pie): Likewise.
33527         ($(objpfx)tst-quad2pie): Likewise.
33528         * sysdeps/x86_64/tst-quad1.c: New file.
33529         * sysdeps/x86_64/tst-quad1pie.c: New file.
33530         * sysdeps/x86_64/tst-quad2.c: Likewise.
33531         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33532         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33533         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33534         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33535         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33536
33537 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33538
33539         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33540         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33541         * streams/stropts.h (t_scalar_t): Define type.
33542
33543         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33544         (_PATH_PRESERVE): Set to "/var/lib".
33545         (_PATH_RWHODIR): Set to "/var/spool/rwho".
33546
33547         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33548         instead of int.
33549
33550         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33551         if __dir_mkfile succeeded.
33552
33553         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33554         checking for _hurd_dtablesize.  Unlock it right after having
33555         finished _hurd_dtable allocation.
33556
33557 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33558
33559         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33560         * sysdeps/mach/hurd/configure: Regenerated.
33561         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33562         special-casing to...
33563         * sysdeps/gnu/configure.in: ... this new file.
33564         * sysdeps/unix/sysv/linux/configure: Regenerated.
33565         * sysdeps/gnu/configure: New generated file.
33566
33567         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33568         for Linux: use nsec instead of usec, as well as:
33569         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33570         members of type struct timespec.
33571         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33572         New macros.
33573         (struct stat64): Likewise.
33574         (_STATBUF_ST_NSEC): New macro.
33575         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33576
33577         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33578         __strtoul_internal rather than strtoul.
33579
33580 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33581
33582         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33583         and reject them.
33584
33585 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33586
33587         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33588         which preserves existing values.
33589         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33590
33591 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33592
33593         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33594         TIMEOUT values.  Return EINVAL for NFDS values either negative or
33595         greater than FD_SETSIZE.
33596
33597 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33598
33599         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33600         allocated, call __vm_protect to finish enabling the existing space, and
33601         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33602         allocate the remainder.
33603
33604 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33605
33606         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33607         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
33608
33609 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33610
33611         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33612         sysdeps/mach/hurd/readlink.c.
33613
33614         * posix/tst-sysconf.c (posix_options): Only use
33615         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33616         _POSIX_SYNCHRONIZED_IO when they are defined
33617         * sysdeps/mach/hurd/bits/posix_opt.h:
33618         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33619         (_XOPEN_REALTIME): Undefine macro.
33620         (_XOPEN_REALTIME_THREADS): Undefine macro.
33621         (_XOPEN_SHM): Undefine macro.
33622         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33623         macro to -1.
33624         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33625         macro to -1.
33626         (_POSIX_ASYNC_IO): Undefine macro.
33627         (_POSIX_PRIORITIZED_IO): Undefine macro.
33628         (_POSIX_SPIN_LOCKS): Define macro to -1.
33629
33630         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33631         SA_NODEFER, SA_RESETHAND.
33632         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33633         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33634         F_DUPFD_CLOEXEC.
33635
33636 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33637
33638         * elf/Makefile (pldd-modules): Define unconditionally.
33639
33640 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33641
33642         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33643
33644 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33645
33646         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33647         Return ENOENT when name is empty.
33648         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33649
33650 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33651
33652         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33653
33654         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33655
33656 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33657
33658         Fix mlock in all cases except non-readable pages.
33659         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33660         instead of VM_PROT_ALL as parameter to __vm_wire function.
33661
33662         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33663         (__mkdir): When path is `/', just fail with EEXIST.
33664         * sysdeps/mach/hurd/mkdirat.c: Likewise.
33665
33666 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33667
33668         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33669         <sys/uio.h> (for writev).
33670         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33671         and <sys/param.h> (for MIN).
33672
33673 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33674
33675         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33676         REQUESTED_TIME.  Properly set the remaining time and return EINTR
33677         if interrupted.
33678
33679 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33680
33681         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33682         Depend on against $(link-rpcuserlibs).
33683
33684 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33685
33686         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33687         (__libc_stack_end): Do not use attribute_relro.
33688         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33689         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33690         to libthread-provided value.
33691         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33692         attribute_relro.
33693
33694 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33695
33696         [BZ #3748]
33697         * bits/libc-lock.h (__libc_once_get): New macro.
33698         * sysdeps/mach/bits/libc-lock.h: Likewise.
33699         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33700         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33701         instead of using implementation details.
33702
33703         * libio/fileops.c: Unconditionally include <kernel-features.h>.
33704         * libio/freopen.c: Likewise.
33705         * libio/freopen64.c: Likewise.
33706         * misc/syslog.c: Likewise.
33707         * nscd/connections.c: Likewise.
33708         * nscd/netgroupcache.c: Likewise.
33709         * sysdeps/posix/getcwd.c: Likewise.
33710
33711 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33712
33713         * math/w_ilogbf.c: Add #include <limits.h>.
33714
33715 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33716
33717         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33718         path instead of returning without unlocking.
33719
33720         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33721         immediate-write ioctls.
33722         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33723
33724 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33725
33726         * sysdeps/mach/hurd/i386/init-first.c (init): Use
33727         __builtin_frame_address instead of making assumptions about the
33728         location of the return address relative to DATA.  Force early load of
33729         the return address.
33730         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33731         __builtin_frame_address.
33732
33733         dup3 for GNU Hurd.
33734         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33735         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
33736         implement dup3 and do some further code clean-ups.
33737         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33738         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33739
33740 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33741
33742         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33743
33744         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33745         HURD_CRITICAL_END around holding _hurd_dtable_lock.
33746         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33747         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33748         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33749         d->port.lock.
33750
33751         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33752         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
33753         when handler == SIG_ERR, not when handler != SIG_ERR.
33754
33755 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33756
33757         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33758         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33759         definitions.
33760
33761         accept4 for GNU Hurd.
33762         * include/sys/socket.h (__libc_accept4): New prototype.
33763         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
33764         to implement __libc_accept4.
33765         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33766         __libc_accept4.
33767         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33768
33769         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33770         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33771         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33772         signal-defines.sym.
33773
33774 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33775
33776         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33777
33778 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33779
33780         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33781         assertion on O_CLOEXEC flag.
33782         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33783         * hurd/intern-fd.c: Likewise.
33784         * hurd/port2fd.c: Likewise.
33785
33786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33787
33788         [BZ #3906]
33789         * bits/in.h (IPV6_PKTINFO): Define new macro.
33790         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33791
33792 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33793
33794         [BZ #13954]
33795         [BZ #13955]
33796         [BZ #13956]
33797         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33798         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33799         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33800         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33801         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33802         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33803         * math/libm-test.inc (logb_test) : Additional logb tests.
33804
33805 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
33806             Andreas Jaeger  <aj@suse.de>
33807
33808         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33809         * configure: Regenerated.
33810         * config.h.in (LINK_OBSOLETE_RPC): New macro.
33811         * config.make.in (link-obsolete-rpc): New substituted variable.
33812         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33813         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33814         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33815         (shared-only-routines): Don't set it under [link-obsolete-rpc],
33816         so that libc.a contains the symbols.
33817         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33818         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33819         * sunrpc/auth_none.c: Likewise.
33820         * sunrpc/auth_unix.c: Likewise.
33821         * sunrpc/authdes_prot.c: Likewise.
33822         * sunrpc/authuxprot.c: Likewise.
33823         * sunrpc/clnt_gen.c: Likewise.
33824         * sunrpc/clnt_perr.c: Likewise.
33825         * sunrpc/clnt_raw.c: Likewise.
33826         * sunrpc/clnt_simp.c: Likewise.
33827         * sunrpc/clnt_tcp.c: Likewise.
33828         * sunrpc/clnt_udp.c: Likewise.
33829         * sunrpc/clnt_unix.c: Likewise.
33830         * sunrpc/des_crypt.c: Likewise.
33831         * sunrpc/des_soft.c: Likewise.
33832         * sunrpc/get_myaddr.c: Likewise.
33833         * sunrpc/key_call.c: Likewise.
33834         * sunrpc/key_prot.c: Likewise.
33835         * sunrpc/netname.c: Likewise.
33836         * sunrpc/pm_getmaps.c: Likewise.
33837         * sunrpc/pm_getport.c: Likewise.
33838         * sunrpc/pmap_clnt.c: Likewise.
33839         * sunrpc/pmap_prot.c: Likewise.
33840         * sunrpc/pmap_prot2.c: Likewise.
33841         * sunrpc/pmap_rmt.c: Likewise.
33842         * sunrpc/publickey.c: Likewise.
33843         * sunrpc/rpc_cmsg.c: Likewise.
33844         * sunrpc/rpc_common.c: Likewise.
33845         * sunrpc/rpc_dtable.c: Likewise.
33846         * sunrpc/rpc_prot.c: Likewise.
33847         * sunrpc/rpc_thread.c: Likewise.
33848         * sunrpc/rtime.c: Likewise.
33849         * sunrpc/svc.c: Likewise.
33850         * sunrpc/svc_auth.c: Likewise.
33851         * sunrpc/svc_raw.c: Likewise.
33852         * sunrpc/svc_run.c: Likewise.
33853         * sunrpc/svc_tcp.c: Likewise.
33854         * sunrpc/svc_udp.c: Likewise.
33855         * sunrpc/svc_unix.c: Likewise.
33856         * sunrpc/svcauth_des.c: Likewise.
33857         * sunrpc/xcrypt.c: Likewise.
33858         * sunrpc/xdr.c: Likewise.
33859         * sunrpc/xdr_array.c: Likewise.
33860         * sunrpc/xdr_float.c: Likewise.
33861         * sunrpc/xdr_intXX_t.c: Likewise.
33862         * sunrpc/xdr_mem.c: Likewise.
33863         * sunrpc/xdr_rec.c: Likewise.
33864         * sunrpc/xdr_ref.c: Likewise.
33865         * sunrpc/xdr_sizeof.c: Likewise.
33866         * sunrpc/xdr_stdio.c: Likewise.
33867
33868 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33869
33870         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33871         change.  Update copyright years.
33872
33873 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33874
33875         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33876
33877 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
33878             Joseph Myers  <joseph@codesourcery.com>
33879             Paul Pluzhnikov  <ppluzhnikov@google.com>
33880
33881         [BZ #14012]
33882         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33883         requiring rpcgen.
33884         [cross-compiling] (extra-libs): Likewise.
33885         [cross-compiling] (extra-libs-others): Likewise.
33886         [cross-compiling] (librpcsvc-routines): Likewise.
33887         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33888         [cross-compiling] (omit-deps): Likewise.
33889         (sunrpc-CPPFLAGS): New variable.
33890         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33891         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33892         (cross-rpcgen-objs): New variable.
33893         (extra-objs): Append $(cross-rpcgen-objs).
33894         ($(cross-rpcgen-objs)): New rule.
33895         ($(objpfx)cross-rpcgen): Likewise.
33896         (rpcgen-cmd): Define to use $(built-program-file).  Expand
33897         comment.
33898         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33899         ($(objpfx)x%.stmp): Likewise.
33900         * sunrpc/proto.h [IS_IN_build] (_): Define.
33901         [IS_IN_build] (_libc_intl_domainname): Likewise.
33902
33903 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33904
33905         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33906         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33907         and R_X86_64_TPOFF64.
33908
33909 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33910
33911         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33912         sysdeps/unix/sysv/syscalls.list.
33913         (stime): Likewise.
33914         (utime): Likewise.
33915         * sysdeps/unix/sysv/syscalls.list: Remove file.
33916
33917 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
33918
33919         [BZ #3440]
33920         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33921         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33922         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33923         (__LC_IDENTIFICATION): Make these macros useful in #if
33924         expressions, as required by C99.
33925
33926 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
33927
33928         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33929         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
33930         after this.
33931
33932 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
33933
33934         * stdlib/longlong.h: Updated from GCC.
33935
33936 2012-05-09  Andreas Jaeger  <aj@suse.de>
33937
33938         * nscd/nscd.c (run_modes): Make named enum, reorder so that
33939         default is first entry.
33940         (run_mode): Set type.
33941         (main): Remove informal message about syslog.
33942         (options): Fix typo.
33943
33944         [BZ #14053]
33945         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33946         to asm.
33947         (lrint): Likewise.
33948         (llrintf): Likewise.
33949         (llrint): Likewise.
33950         (rint): Likewise.
33951         (rintf): Likewise.
33952         (nearbyint): Likewise.
33953         (nearbyintf): Likewise.
33954
33955 2012-05-09  Andreas Jaeger  <aj@suse.de>
33956             Pedro Alves  <palves@redhat.com>
33957
33958         * nscd/nscd.c (run_mode): Use enum.
33959         (main): Cleanup coding style issue.
33960
33961 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
33962             Andreas Jaeger  <aj@suse.de>
33963
33964         * nscd/nscd.c (go_background): Replaced with...
33965         (run_mode): ... this.
33966         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33967         (options): Add -F --foreground.
33968         (main): Implement it.
33969         (parse_opt): Parse it.
33970
33971 2012-05-09  Andreas Jaeger  <aj@suse.de>
33972
33973         [BZ #14083]
33974         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33975         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33976         -Wconversion warning.
33977         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33978         Likewise.
33979
33980 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
33981
33982         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
33983         == 0.
33984         (LC_ALL): Use macro-int-constant.
33985         (LC_COLLATE): Likewise.
33986         (LC_CTYPE): Likewise.
33987         (LC_MESSAGES): Likewise.
33988         (LC_MONETARY): Likewise.
33989         (LC_NUMERIC): Likewise.
33990         (LC_TIME): Likewise.
33991         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33992         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33993         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33994         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33995         Specify type.
33996         [C99-based standards] (float_t): Expect type.
33997         [C99-based standards] (double_t): Expect type.
33998         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
33999         type.
34000         [C99-based standards] (HUGE_VALL): Likewise.
34001         [C99-based standards] (INFINITY): Likewise.
34002         [C99-based standards] (NAN): Likewise.
34003         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34004         [C99-based standards] (FP_NAN): Likewise.
34005         [C99-based standards] (FP_NORMAL): Likewise.
34006         [C99-based standards] (FP_SUBNORMAL): Likewise.
34007         [C99-based standards] (FP_ZERO): Likewise.
34008         [C99-based standards] (FP_FAST_FMA): Use
34009         optional-macro-int-constant.  Specify type.  Require == 1.
34010         [C99-based standards] (FP_FAST_FMAF): Likewise.
34011         [C99-based standards] (FP_FAST_FMAL): Likewise.
34012         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34013         [C99-based standards] (FP_ILOGBNAN): Likewise.
34014         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34015         Specify type.
34016         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34017         [C99-based standards] (math_errhandling): Specify type.
34018         [ISO99 || ISO11] (signgam): Do not allow.
34019         [non-C99-based standards] (copysignf): Do not allow.
34020         [non-C99-based standards] (exp2f): Likewise.
34021         [non-C99-based standards] (log2f): Likewise.
34022         [non-C99-based standards] (modff): Allow.
34023         [non-C99-based standards] (erff): Do not allow.
34024         [non-C99-based standards] (erfcf): Likewise.
34025         [non-C99-based standards] (gammaf): Likewise.
34026         [non-C99-based standards] (hypotf): Likewise.
34027         [non-C99-based standards] (j0f): Likewise.
34028         [non-C99-based standards] (j1f): Likewise.
34029         [non-C99-based standards] (jnf): Likewise.
34030         [non-C99-based standards] (lgammaf): Likewise.
34031         [non-C99-based standards] (tgammaf): Likewise.
34032         [non-C99-based standards] (y0f): Likewise.
34033         [non-C99-based standards] (y1f): Likewise.
34034         [non-C99-based standards] (ynf): Likewise.
34035         [non-C99-based standards] (isnanf): Likewise.
34036         [non-C99-based standards] (acoshf): Likewise.
34037         [non-C99-based standards] (asinhf): Likewise.
34038         [non-C99-based standards] (atanhf): Likewise.
34039         [non-C99-based standards] (cbrtf): Likewise.
34040         [non-C99-based standards] (expm1f): Likewise.
34041         [non-C99-based standards] (ilogbf): Likewise.
34042         [non-C99-based standards] (log1pf): Likewise.
34043         [non-C99-based standards] (logbf): Likewise.
34044         [non-C99-based standards] (nextafterf): Likewise.
34045         [non-C99-based standards] (remainderf): Likewise.
34046         [non-C99-based standards] (rintf): Likewise.
34047         [non-C99-based standards] (scalbf): Likewise.
34048         [non-C99-based standards] (copysignl): Likewise.
34049         [non-C99-based standards] (exp2l): Likewise.
34050         [non-C99-based standards] (log2l): Likewise.
34051         [non-C99-based standards] (modfl): Allow.
34052         [non-C99-based standards] (erfl): Do not allow.
34053         [non-C99-based standards] (erfcl): Likewise.
34054         [non-C99-based standards] (gammal): Likewise.
34055         [non-C99-based standards] (hypotl): Likewise.
34056         [non-C99-based standards] (j0l): Likewise.
34057         [non-C99-based standards] (j1l): Likewise.
34058         [non-C99-based standards] (jnl): Likewise.
34059         [non-C99-based standards] (lgammal): Likewise.
34060         [non-C99-based standards] (tgammal): Likewise.
34061         [non-C99-based standards] (y0l): Likewise.
34062         [non-C99-based standards] (y1l): Likewise.
34063         [non-C99-based standards] (ynl): Likewise.
34064         [non-C99-based standards] (isnanl): Likewise.
34065         [non-C99-based standards] (acoshl): Likewise.
34066         [non-C99-based standards] (asinhl): Likewise.
34067         [non-C99-based standards] (atanhl): Likewise.
34068         [non-C99-based standards] (cbrtl): Likewise.
34069         [non-C99-based standards] (expm1l): Likewise.
34070         [non-C99-based standards] (ilogbl): Likewise.
34071         [non-C99-based standards] (log1pl): Likewise.
34072         [non-C99-based standards] (logbl): Likewise.
34073         [non-C99-based standards] (nextafterl): Likewise.
34074         [non-C99-based standards] (remainderl): Likewise.
34075         [non-C99-based standards] (rintl): Likewise.
34076         [non-C99-based standards] (scalbl): Likewise.
34077         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34078         [non-C99-based standards] (FP_*): Do not allow.
34079         [C99-based standards] (FP_*): Change to
34080         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34081         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34082         allow.
34083         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34084         (SIG_ERR): Likewise.
34085         [X/Open-based standards] (SIG_HOLD): Likewise.
34086         (SIG_IGN): Likewise.
34087         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34088         positive value.
34089         (SIGFPE): Likewise.
34090         (SIGILL): Likewise.
34091         (SIGINT): Likewise.
34092         (SIGSEGV): Likewise.
34093         (SIGTER): Likewise.
34094         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34095         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34096         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34097         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34098         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34099         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34100         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34101         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34102         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34103         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34104         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34105         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34106         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34107         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34108         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34109         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34110         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34111         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34112         [X/Open-based standards] (SIGTRAP): Likewise.
34113         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34114         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34115         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34116         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34117         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34118         allow.
34119
34120 2012-05-08  Ian Wienand  <ianw@vmware.com>
34121
34122         [BZ #14080]
34123         * time/tzset.c (__tzset_parse_tz): Update default rules for
34124         daylight time changes in the Energy Policy Act of 2005.
34125
34126 2012-05-09  Andreas Jaeger  <aj@suse.de>
34127
34128         [BZ #13983]
34129         * elf/ldconfig.c (parse_conf): Change string to make clear that
34130         ldconfig only issued a warning if ld.so.conf does not exist.
34131
34132 2012-05-08  David S. Miller  <davem@davemloft.net>
34133
34134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34135         movxtod instead of popping the value on the stack.
34136
34137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34138
34139 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34140
34141         * config.h.in: Add HAVE_ARM_PCS_VFP.
34142
34143 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34144
34145         [BZ #13979]
34146         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34147         checking but the checks are disabled for any reason.
34148
34149 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34150
34151         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34152         and ELF64_R_TYPE with ELFW(R_TYPE).
34153
34154 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34155
34156         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34157         (ulimit): Likewise.
34158
34159         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34160         (settimeofday): Likewise.
34161
34162 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34163
34164         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34165         a struct th_u2 inside the union, and move tu_block/tu_code into
34166         a new th_u3 union of tu_block/tu_code inside of that.  Move
34167         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34168         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34169         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34170         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34171         (th_stuff): Change to th_u1.tu_stuff.
34172         (th_data): Define.
34173         (th_msg): Change to th_u1.th_u2.tu_data.
34174
34175 2012-05-07  David S. Miller  <davem@davemloft.net>
34176
34177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34178
34179         [BZ #14074]
34180         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34181         (SETUP_PIC_REG): Use it.
34182         (SETUP_PIC_REG_LEAF): Use it.
34183
34184 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34185
34186         [BZ #13885]
34187         [BZ #13923]
34188         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34189         USE_AS_EXPM1L.
34190         (EXPL_FINITE): Likewise.
34191         (FLDLOG): Likewise.
34192         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34193         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34194         e_expl.S.
34195         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34196         USE_AS_EXPM1L.
34197         (EXPL_FINITE): Likewise.
34198         (FLDLOG): Likewise.
34199         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34200         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34201         e_expl.S.
34202         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34203         test of -max_value argument for long double.
34204         * sysdeps/i386/fpu/libm-test-ulps: Update.
34205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34206
34207 2012-05-06  David S. Miller  <davem@davemloft.net>
34208
34209         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34210         quad soft-float symbols whose references which are compiler
34211         generated.
34212         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34213
34214 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34215
34216         [BZ #13884]
34217         [BZ #13914]
34218         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34219         USE_AS_EXP10L.
34220         (EXPL_FINITE): Likewise.
34221         (FLDLOG): Likewise.
34222         (c0): Likewise.
34223         (c1): Likewise.
34224         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34225         Adjust comments for base varying.
34226         (__expl_finite): Change alias to EXPL_FINITE.
34227         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34228         e_expl.S.
34229         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34230         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34231         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34232         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34233         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34234         USE_AS_EXP10L.
34235         (EXPL_FINITE): Likewise.
34236         (FLDLOG): Likewise.
34237         (c0): Likewise.
34238         (c1): Likewise.
34239         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34240         Adjust comments for base varying.
34241         (__expl_finite): Change alias to EXPL_FINITE.
34242         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34243         tests for bugs.
34244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34245
34246         [BZ #14064]
34247         * math/libm-test.inc (check_float_internal): Correct ulp
34248         calculation for subnormal expected results.
34249
34250 2012-05-06  Andreas Jaeger  <aj@suse.de>
34251
34252         * Makeconfig (+math-flags): New, set to -frounding-math.
34253         (+cflags): Add +math-flags so that all of glibc gets compiled with
34254         it.
34255
34256         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34257
34258 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34259
34260         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34261         Disable one test.
34262
34263         [BZ #13787]
34264         [BZ #13922]
34265         [BZ #14036]
34266         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34267         (__ieee754_expl): Allow for and saturate large arguments.
34268         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34269         (u_threshold): Likewise.
34270         (__exp): Call __ieee754_exp before checking for overflow and
34271         underflow.
34272         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34273         (u_threshold): Likewise.
34274         (__expf): Call __ieee754_expf before checking for overflow and
34275         underflow.
34276         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34277         (u_threshold): Likewise.
34278         (__expl): Call __ieee754_expl before checking for overflow and
34279         underflow.
34280         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34281         (__ieee754_expl): Allow for and saturate large arguments.
34282         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34283         missing overflow exception on overflow.
34284         (expm1_test): Do not allow missing overflow exception on overflow.
34285
34286         * sysdeps/i386/fpu/e_expl.c: Move to ...
34287         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34288         rather than using inline asm.
34289         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34290         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34291         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34292
34293         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34294         (nice): Likewise.
34295         (poll): Likewise.
34296         (signal): Likewise.
34297         (time): Likewise.
34298         (times): Likewise.
34299
34300 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34301
34302         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34303         sysdeps/unix/common/syscalls.list.
34304         (fchmod): Likewise.
34305         (fchown): Likewise.
34306         (ftruncate): Likewise.
34307         (getrusage): Likewise.
34308         (gettimeofday): Likewise.
34309         (setpgid): Likewise.
34310         (setregid): Likewise.
34311         (setreuid): Likewise.
34312         (sigaction): Likewise.
34313         (truncate): Likewise.
34314         (vhangup): Likewise.
34315         * sysdeps/unix/common/syscalls.list: Remove file.
34316         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34317         * sysdeps/unix/sysv/linux/Implies: Likewise.
34318
34319 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34320
34321         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34323         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34324         Moved to ...
34325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34326         Here.
34327         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34328         to ...
34329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34330         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34331         to ...
34332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34333         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34334         to ...
34335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34336         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34337         to ...
34338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34339         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34340         to ...
34341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34342         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34343         to ...
34344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34345         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34346         to ...
34347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34348         Here.
34349         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34350         to ...
34351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34352         Here.
34353         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34354         to ...
34355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34356         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34357         Moved to ...
34358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34359         Here.
34360         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34361         to ...
34362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34363
34364 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34365
34366         * sysdeps/unix/common/bits/dirent.h: Remove file.
34367         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34368
34369         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34370         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34371         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34372         * sysdeps/unix/bsd/isatty.c: Likewise.
34373         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34374         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34375         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34376
34377 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34378
34379         [BZ #13563]
34380         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34381         long double comparison inaccuracies.
34382         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34384
34385 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
34386
34387         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34388         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34389
34390 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34391
34392         [BZ #14049]
34393         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34394         nonzero digits before rounding a hex value.
34395         * stdlib/tst-strtod.c (tests): Add another test.
34396
34397 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34398
34399         * sysdeps/s390/fpu/libm-test-ulps: Update.
34400
34401 2012-05-03  Andreas Jaeger  <aj@suse.de>
34402
34403         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34404         does not get optimized out.
34405         (malloc_opt_barrier): New.
34406
34407 2012-05-03  Andreas Jaeger  <aj@suse.de>
34408             Roland McGrath  <roland@hack.frob.com>
34409
34410         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34411         intermediate file deletion.
34412         (generated): Add .symlist files.
34413
34414 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
34415
34416         [BZ #13775]
34417         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34418         Redirect under this condition.
34419         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34420         [__USE_GNU] (__dprintf_chk): Not under this condition.
34421         [__USE_GNU] (__vdprintf_chk): Likewise.
34422         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34423         under this condition.
34424         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34425         [__USE_XOPEN2K8] (dprintf): Define under this condition.
34426         [__USE_XOPEN2K8] (vdprintf): Likewise.
34427         [__USE_GNU] (__dprintf_chk): Not under this condition.
34428         [__USE_GNU] (__vdprintf_chk): Likewise.
34429         [__USE_GNU] (dprintf): Likewise.
34430         [__USE_GNU] (vdprintf): Likewise.
34431
34432 2012-05-03  Roland McGrath  <roland@hack.frob.com>
34433
34434         * elf/Makefile (common-generated): Set this instead of generated for
34435         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
34436         $(all-built-dso)-derived lists.
34437
34438 2012-05-03  Andreas Jaeger  <aj@suse.de>
34439
34440         * sysdeps/i386/fpu/libm-test-ulps: Update.
34441
34442         * FAQ: Removed.
34443         * FAQ.in: Likewise.
34444         * scripts/gen-FAQ.pl: Likewise.
34445         * manual/install.texi (Installation): Point to online location of
34446         FAQ.
34447         * Makefile (files-for-dist): Remove FAQ.
34448         (FAQ): Remove.
34449
34450 2012-05-02  Allan McRae  <allan@archlinux.org>
34451
34452         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34453         (LDFLAGS-reldepmod5.so): Likewise.
34454         (LDFLAGS-reldep6mod1.so): Likewise.
34455         (LDFLAGS-reldep6mod4.so): Likewise.
34456         (LDFLAGS-reldep8mod3.so): Likewise.
34457         (LDFLAGS-unload4mod1.so): Likewise.
34458         (LDFLAGS-unload4mod2.so): Likewise.
34459         (LDFLAGS-tst-initorder): Likewise.
34460         (LDFLAGS-tst-initordera2.so): Likewise.
34461         (LDFLAGS-tst-initordera3.so): Likewise.
34462         (LDFLAGS-tst-initordera4.so): Likewise.
34463         (LDFLAGS-tst-initorderb2.so): Likewise.
34464         (LDFLAGS-noload): Likewise.
34465         (LDFLAGS-next): Likewise.
34466         (LDFLAGS-order2mod1.so): Likewise.
34467         (LDFLAGS-order2mod2.so): Likewise.
34468         (LDFLAGS-tst-initorder2): Likewise.
34469         (LDFLAGS-tst-initorder2a.so): Likewise.
34470         (LDFLAGS-tst-initorder2b.so): Likewise.
34471         (LDFLAGS-tst-initorder2c.so): Likewise.
34472         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34473
34474 2012-05-02  David S. Miller  <davem@davemloft.net>
34475
34476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34477
34478 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34479
34480         [BZ #14055]
34481         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34482
34483 2012-05-02  Andreas Jaeger  <aj@suse.de>
34484
34485         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34486         since we manipulate rounding mode.
34487         (CPPFLAGS-test-idouble.c): Likewise.
34488         (CPPFLAGS-test-ifloat.c): Likewise.
34489         (CFLAGS-test-ldouble.c): Likewise.
34490         (CFLAGS-test-double.c): Likewise.
34491         (CFLAGS-test-float.c): Likewise.
34492         (CFLAGS-test-misc.c): Likewise.
34493         (CFLAGS-test-test-fenv.c): Likewise.
34494
34495 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34496
34497         [BZ #2550]
34498         [BZ #2570]
34499         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34500         comparisons to determine direction to adjust input.
34501
34502 2012-05-01  Roland McGrath  <roland@hack.frob.com>
34503
34504         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34505         output to the target.
34506
34507         * scripts/localplt.awk: New file.
34508         * elf/Makefile ($(objpfx)check-localplt): Target removed.
34509         (check-localplt-CFLAGS): Variable removed.
34510         ($(all-built-dso:=.jmprel)): New static pattern rule.
34511         (generated): Add those targets.
34512         (localplt-built-dso): New variable.
34513         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34514
34515         * elf/check-localplt.c: File removed.
34516
34517         * scripts/check-execstack.awk: New file.
34518         * elf/Makefile ($(objpfx)check-execstack): Target removed.
34519         (check-execstack-CFLAGS): Variable removed.
34520         ($(objpfx)check-execstack.h): Target removed.
34521         ($(objpfx)execstack-default): New target.
34522         (generated): Add that instead of check-execstack.h.
34523         ($(all-built-dso:=.phdr)): New static pattern rule.
34524         (generated): Add those targets.
34525         * elf/check-execstack.c: File removed.
34526
34527         * scripts/check-textrel.awk: New file.
34528         * elf/Makefile ($(objpfx)check-textrel): Target removed.
34529         (check-textrel-CFLAGS): Variable removed.
34530         (all-built-dso): Use := to define.o
34531         ($(all-built-dso:=.dyn)): New static pattern rule.
34532         (generated): Add those targets.
34533         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34534         * config.make.in (READELF): New substituted variable.
34535         * elf/check-textrel.c: File removed.
34536
34537 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34538
34539         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34540         allow.
34541         * conform/data/ctype.h-data [C99-based standards] (isblank):
34542         Expect function.
34543         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34544         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34545         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34546         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34547         Specify type.  Require positive value.
34548         (EILSEQ): Likewise.
34549         (ERANGE): Likewise.
34550         [ISO || POSIX] (EILSEQ): Do not expect.
34551         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34552         Specify type.  Require positive value.
34553         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34554         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34555         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34556         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34557         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34558         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34559         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34560         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34561         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34562         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34563         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34564         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34565         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34566         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34567         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34568         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34569         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34570         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34571         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34572         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34573         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34574         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34575         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34576         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34577         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34578         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34579         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34580         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34581         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34582         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34583         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34584         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34585         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34586         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34587         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34588         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34589         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34590         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34591         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34592         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34593         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34594         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34595         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34596         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34597         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34598         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34599         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34600         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34601         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34602         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34603         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34604         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34605         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34606         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34607         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34608         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34609         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34610         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34611         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34612         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34613         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34614         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34615         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34616         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34617         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34618         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34619         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34620         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34621         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34622         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34623         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34624         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34625         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34626         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34627         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34628         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34629         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34630         Require >= 2.
34631         (FLT_ROUNDS): Expect as macro, not constant.
34632         (FLT_MANT_DIG): Use macro-int-constant.
34633         (DBL_MANT_DIG): Likewise.
34634         (LDBL_MANT_DIG): Likewise.
34635         (FLT_DIG): Likewise.
34636         (DBL_DIG): Likewise.
34637         (LDBL_DIG): Likewise.
34638         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
34639         (DBL_MIN_EXP): Likewise.
34640         (LDBL_MIN_EXP): Likewise.
34641         (FLT_MAX_EXP): Use macro-int-constant.
34642         (DBL_MAX_EXP): Likewise.
34643         (LDBL_MAX_EXP): Likewise.
34644         (FLT_MAX_10_EXP): Likewise.
34645         (DBL_MAX_10_EXP): Likewise.
34646         (LDBL_MAX_10_EXP): Likewise.
34647         (FLT_MAX): Use macro-constant.
34648         (DBL_MAX): Likewise.
34649         (LDBL_MAX): Likewise.
34650         (FLT_EPSILON): Use macro-constant.  Give upper bound.
34651         (DBL_EPSILON): Likewise.
34652         (LDBL_EPSILON): Likewise.
34653         (FLT_MIN): Likewise.
34654         (DBL_MIN): Likewise.
34655         (LDBL_MIN): Likewise.
34656         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34657         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34658         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34659         [ISO11] (FLT_HAS_SUBNORM): Likewise.
34660         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34661         [ISO11] (DBL_DECIMAL_DIG): Likewise.
34662         [ISO11] (FLT_DECIMAL_DIG): Likewise.
34663         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34664         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34665         [ISO11] (FLT_TRUE_MIN): Likewise.
34666         [ISO11] (LDBL_TRUE_MIN): Likewise.
34667         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34668         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34669         (SCHAR_MIN): Use macro-int-constant.  Specify type.
34670         (SCHAR_MAX): Likewise.
34671         (UCHAR_MAX): Likewise.
34672         (CHAR_MIN): Likewise.
34673         (CHAR_MAX): Likewise.
34674         (MB_LEN_MAX): Use macro-int-constant.
34675         (SHRT_MIN): Use macro-int-constant.  Specify type.
34676         (SHRT_MAX): Likewise.
34677         (USHRT_MAX): Likewise.
34678         (INT_MAX): Likewise.
34679         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
34680         bound negative.
34681         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34682         bound with "U".
34683         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34684         bound with "L".
34685         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
34686         bound negative.  Suffix upper bound with "L".
34687         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34688         bound with "UL".
34689         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34690         Specify type.
34691         [C99-based standards] (LLONG_MAX): Likewise.
34692         [C99-based standards] (ULLONG_MAX): Likewise.
34693         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
34694         == 0.
34695         [ISO11] (max_align_t): Require type.
34696         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34697
34698         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34699         from $CFLAGS, without defining away __attribute__ calls.
34700         (checknamespace): Use $CFLAGS_namespace.
34701
34702         * conform/conformtest.pl (@keywords): Only include C99 keywords
34703         for standards based on C99 or C11.
34704
34705         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34706         Disable tests.
34707         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34708         UNIX98]: Likewise.
34709
34710         * conform/conformtest.pl: Handle "macro-int-constant" and test for
34711         usability of symbols in #if.
34712
34713         * conform/conformtest.pl: If macro or constant types start
34714         "promoted:", expect the symbol to be of the following type
34715         promoted by the integer promotions.
34716
34717         * conform/conformtest.pl: Parse all "constant" and "macro" lines
34718         in one place.  Also handle "macro-constant".
34719
34720         * conform/conformtest.pl: Only accept expected macro values with
34721         "==".  Parse all "macro" lines in one place.
34722         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34723
34724         * conform/conformtest.pl: Handle braced types on "constant" lines
34725         instead of handling "typed-constant".
34726         * conform/data/signal.h-data: Use "constant" instead of
34727         "typed-constant".
34728
34729         * conform/conformtest.pl: Handle "optional-" at start of lines in
34730         one place rather than duplicating several cases.  Handle each
34731         format of "macro" line with initial "optional-".
34732
34733         * conform/conformtest.pl: Only accept expected constant or
34734         optional-constant values with "==".  Parse all "constant" lines in
34735         one place.  Parse all "optional-constant" lines in one place.
34736         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34737         * conform/data/fmtmsg.h-data: Likewise.
34738         * conform/data/netinet/in.h-data: Likewise.
34739         * conform/data/tar.h-data: Likewise.
34740         * conform/data/limits.h-data: Use "==" form on "constant" and
34741         "optional-constant" lines.
34742
34743         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34744         Use -std=c99 for XOPEN2K.
34745         (@knownproblems): Remove.
34746         (newtoken): Don't check %isknown.
34747
34748         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34749         Do not expect macro.
34750         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34751         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34752         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34753         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34754         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34755         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34756         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34757         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34758         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34759         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34760         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34761         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34762         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34763         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34764         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34765         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34766         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34767         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34768         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34769         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34770         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34771         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34772         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34773         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34774         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34775         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34776         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34777         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34778         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34779         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34780         [XPG3] (acosh): Likewise.
34781         [XPG3] (asinh): Likewise.
34782         [XPG3] (atanh): Likewise.
34783         [XPG3] (cbrt): Likewise.
34784         [XPG3] (expm1): Likewise.
34785         [XPG3] (ilogb): Likewise.
34786         [XPG3] (log1p): Likewise.
34787         [XPG3] (logb): Likewise.
34788         [XPG3] (nextafter): Likewise.
34789         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34790         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34791         [XPG3] (remainder): Likewise.
34792         [XPG3] (rint): Likewise.
34793         [XPG3 || XPG4 || UNIX98] (round): Likewise.
34794         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34795         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34796         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34797         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34798         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34799         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34800         [UNIX98 || XOPEN2K] (scalb): Expect.
34801         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34802         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34803         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34804         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34805         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34806         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34807         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34808         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34809         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34810         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34811         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34812         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34813         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34814         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34815         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34816         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34817         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34818         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34819         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34820         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34821         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34822         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34823         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34824         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34825         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34826         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34827         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34828         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34829         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34830         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34831         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34832         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34833         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34834         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34835         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34836         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34837         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34838         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34839         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34840         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34841         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34842         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34843         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34844         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34845         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34846         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34847         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34848         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34849         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34850         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34851         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34852         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34853         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34854         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34855         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34856         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34857         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34858         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34859         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34860         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34861         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34862         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34863         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34864         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34865         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34866         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34867         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34868         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34869         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34870         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34871         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34872         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34873         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34874         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34875         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34876         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34877         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34878         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34879         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34880         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34881         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34882         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34883         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34884         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34885         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34886         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34887         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34888         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34889         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34890         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34891         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34892         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34893         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34894         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34895         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34896         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34897         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34898         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34899         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34900         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34901         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34902         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34903         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34904         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34905         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34906         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34907         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34908         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34909         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34910         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34911         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34912         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34913         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34914         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34915         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34916         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34917         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34918         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34919         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34920         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34921         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34922         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34923         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34924         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34925         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34926         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34927         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34928         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34929         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34930         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34931         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34932         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34933         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34934         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34935         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34936         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34937         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34938
34939         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34940         _XOPEN_SOURCE_EXTENDED for XPG4.
34941
34942         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34943
34944         * Makeconfig (localtime): Remove variable.
34945         (inst_localtime-file): Likewise.
34946
34947 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34948
34949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34950         Update.
34951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34952         Update.
34953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34954         Update.
34955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34956         Update.
34957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34958         Update.
34959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34960         Update.
34961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34962         Update.
34963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34964         Update.
34965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34966         Update.
34967
34968 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34969
34970         [BZ #2550]
34971         [BZ #2570]
34972         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34973         comparisons to determine direction to adjust input.
34974         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34975         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34976         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34977         Likewise.
34978         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34979         Likewise.
34980         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34981         Likewise.
34982         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34983         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34984         Likewise.
34985         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34986         Likewise.
34987         * math/libm-test.inc (nexttoward_test): Add more tests.
34988
34989 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34990
34991         [BZ #14040]
34992         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34993         in version GLIBC_2.1, not GLIBC_2.0.
34994         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34995         Likewise.
34996
34997 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
34998
34999         [BZ #13942]
35000         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35001         (1 - x) * (1 + x).
35002         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35003         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35004         * math/libm-test.inc (acos_test): Add more tests.
35005         (asin_test): Likewise.
35006         * sysdeps/i386/fpu/libm-test-ulps: Update.
35007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35008
35009         [BZ #14034]
35010         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35011         of square root.
35012         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35013         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35014         * math/libm-test.inc (acos_test_tonearest): New function.
35015         (acos_test_towardzero): Likewise.
35016         (acos_test_downward): Likewise.
35017         (acos_test_upward): Likewise.
35018         (asin_test_tonearest): Likewise.
35019         (asin_test_towardzero): Likewise.
35020         (asin_test_downward): Likewise.
35021         (asin_test_upward): Likewise.
35022         (main): Call the new functions.
35023         * sysdeps/i386/fpu/libm-test-ulps: Update.
35024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35025
35026         [BZ #13884]
35027         [BZ #13924]
35028         * math/e_exp10.c: Include <float.h>.
35029         (__ieee754_exp10): Handle underflow here rather than multiplying
35030         large negative argument by M_LN10.
35031         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35032         of __ieee754_expf.
35033         * math/e_exp10l.c: Include <float.h>.
35034         (__ieee754_exp10l): Handle underflow here rather than multiplying
35035         large negative argument by M_LN10l.
35036         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35037         spurious overflow exception on underflow.
35038
35039 2012-04-29  Marek Polacek  <polacek@redhat.com>
35040
35041         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35042         (__fortify_function): New macro.
35043         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35044         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35045         __extern_always_inline.
35046         * libio/bits/stdio2.h: Likewise.
35047         * libio/bits/stdio.h: Likewise.
35048         * string/string.h: Likewise.
35049         * string/bits/string3.h: Likewise.
35050         * include/stdio.h: Likewise.
35051         * stdlib/bits/stdlib.h: Likewise.
35052         * stdlib/stdlib.h: Likewise.
35053         * rt/bits/mqueue2.h: Likewise.
35054         * rt/mqueue.h: Likewise.
35055         * posix/bits/unistd.h: Likewise.
35056         * posix/unistd.h: Likewise.
35057         * io/bits/poll2.h: Likewise.
35058         * io/bits/fcntl2.h: Likewise.
35059         * io/fcntl.h: Likewise.
35060         * io/sys/poll.h: Likewise.
35061         * misc/bits/syslog.h: Likewise.
35062         * misc/bits/syslog-ldbl.h: Likewise.
35063         * misc/sys/syslog.h: Likewise.
35064         * socket/bits/socket2.h: Likewise.
35065         * socket/sys/socket.h: Likewise.
35066         * debug/tst-chk1.c: Likewise.
35067         * wcsmbs/bits/wchar2.h: Likewise.
35068         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35069         * wcsmbs/wchar.h: Likewise.
35070
35071 2012-04-29  Andreas Jaeger  <aj@suse.de>
35072
35073         * Makerules (tests): Remove enable-check-abi protection.
35074         (check-abi-warn): Remove.
35075         (check-abi-%): Remove check-abi-warn usage.
35076
35077         * configure.in: Remove check-abi configure option.
35078         * configure: Regenerated.
35079         * config.make.in (enable-check-abi): Remove.
35080
35081 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35082
35083         [BZ #14033]
35084         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35085         double functions to double *_finite functions.
35086
35087         [BZ #13941]
35088         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35089         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35090         LDBL_MIN_EXP.
35091         * stdio-common/Makefile (tests): Add tst-sprintf3.
35092         * stdio-common/tst-sprintf3.c: New file.
35093
35094         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35095         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35096
35097 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35098
35099         * conform/conformtest.pl: Remove duplicate typed-constant
35100         handling.
35101
35102 2012-04-28  David S. Miller  <davem@davemloft.net>
35103
35104         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35105         (check-abi-%): Remove AWK script prerequisite and explicit
35106         abilist directory.
35107         (check-abi): Rewrite to just diff the symlist with the abilist.
35108         (config-tls, config-abi-config): Delete, no longer used.
35109         (update-abi-%): Remove AWK script and explicit abilist directory.
35110         (update-abi): Rewrite to simply compare and conditionally copy the
35111         symlist and the sysdep abilist file.  Remove update-abi-config
35112         checks.
35113         * abilist/ld.abilist: Remove.
35114         * abilist/libBrokenLocale.abilist: Remove.
35115         * abilist/libanl.abilist: Remove.
35116         * abilist/libcrypt.abilist: Remove.
35117         * abilist/libdl.abilist: Remove.
35118         * abilist/librt.abilist: Remove.
35119         * abilist/libthread_db.abilist: Remove.
35120         * abilist/libutil.abilist: Remove.
35121         * scripts/extract-abilist.awk: Remove.
35122         * scripts/merge-abilist.awk: Remove.
35123         * sysdeps/generic/libcidn.abilist: New file.
35124         * sysdeps/generic/libnss_compat.abilist: New file.
35125         * sysdeps/generic/libnss_db.abilist: New file.
35126         * sysdeps/generic/libnss_dns.abilist: New file.
35127         * sysdeps/generic/libnss_files.abilist: New file.
35128         * sysdeps/generic/libnss_hesiod.abilist: New file.
35129         * sysdeps/generic/libnss_nis.abilist: New file.
35130         * sysdeps/generic/libnss_nisplus.abilist: New file.
35131         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35132         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35133         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35134         file.
35135         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35136         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35137         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35138         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35139         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35140         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35141         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35142         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35143         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35144         file.
35145         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35146         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35147         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35148         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35149         file.
35150         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35151         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35152         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35153         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35154         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35155         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35156         file.
35157         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35158         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35159         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35160         file.
35161         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35162         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35163         New file.
35164         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35165         New file.
35166         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35167         New file.
35168         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35169         New file.
35170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35171         New file.
35172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35173         New file.
35174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35175         New file.
35176         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35177         New file.
35178         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35179         New file.
35180         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35181         New file.
35182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35183         New file.
35184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35185         New file.
35186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35187         New file.
35188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35189         file.
35190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35191         New file.
35192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35193         New file.
35194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35195         file.
35196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35197         New file.
35198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35199         New file.
35200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35201         file.
35202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35203         New file.
35204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35205         New file.
35206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35207         New file.
35208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35209         New file.
35210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35211         New file.
35212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35213         New file.
35214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35216         file.
35217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35218         New file.
35219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35220         file.
35221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35222         file.
35223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35224         file.
35225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35226         file.
35227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35228         file.
35229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35230         New file.
35231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35232         file.
35233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35234         file.
35235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35236         New file.
35237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35238         file.
35239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35241         file.
35242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35243         New file.
35244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35245         file.
35246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35247         file.
35248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35249         file.
35250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35251         file.
35252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35253         file.
35254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35255         New file.
35256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35257         file.
35258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35259         file.
35260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35261         New file.
35262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35263         file.
35264         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35265         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35266         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35267         file.
35268         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35269         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35270         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35271         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35272         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35273         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35274         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35275         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35276         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35277         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35280         file.
35281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35282         New file.
35283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35284         file.
35285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35286         file.
35287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35288         file.
35289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35290         file.
35291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35292         file.
35293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35294         New file.
35295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35296         New file.
35297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35298         file.
35299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35300         New file.
35301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35302         file.
35303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35305         file.
35306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35307         New file.
35308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35309         file.
35310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35311         file.
35312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35313         file.
35314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35315         file.
35316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35317         file.
35318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35319         New file.
35320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35321         New file.
35322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35323         file.
35324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35325         New file.
35326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35327         file.
35328
35329 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35330
35331         * conform/conformtest.pl: Fix typo in handling typed-constant from
35332         allow-header.
35333
35334 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35335
35336         * README: Cut down references to pre-2.6 Linux kernels and
35337         Linuxthreads.  Update lists of configurations in libc and ports
35338         and sort alphabetically.  Say "or newer" with Linux kernel version
35339         requirements.
35340
35341         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35342
35343 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35344
35345         [BZ #887]
35346         * math/libm-test.inc (logb_test_downward): New test to expose
35347         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35348         rounding mode.
35349
35350 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35351
35352         [BZ #14027]
35353         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35354         to be done.
35355         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35356         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35357
35358 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35359
35360         * sysdeps/unix/i386/brk.S: Remove file.
35361         * sysdeps/unix/i386/dl-brk.S: Likewise.
35362         * sysdeps/unix/i386/pipe.S: Likewise.
35363         * sysdeps/unix/i386/sigreturn.S: Likewise.
35364         * sysdeps/unix/i386/syscall.S: Likewise.
35365         * sysdeps/unix/i386/vfork.S: Likewise.
35366         * sysdeps/unix/i386/wait.S: Likewise.
35367
35368         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35369         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35370
35371         * configure.in (arm*-none*): Do not allow without
35372         --enable-hacker-mode.
35373         (netbsd*): Remove case setting base_os.
35374         (386bsd*): Likewise.
35375         (freebsd*): Likewise.
35376         (bsdi*): Likewise.
35377         (osf*): Likewise.
35378         (sunos*): Likewise.
35379         (ultrix*): Likewise.
35380         (newsos*): Likewise.
35381         (dynix*): Likewise.
35382         (*bsd*): Likewise.
35383         (sysv*): Likewise.
35384         (isc*): Likewise.
35385         (esix*): Likewise.
35386         (sco*): Likewise.
35387         (minix*): Likewise.
35388         (irix4*): Likewise.
35389         (irix6*): Likewise.
35390         (solaris[2-9]*): Likewise.
35391         (none): Likewise.
35392         * configure: Regenerated.
35393
35394 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35395
35396         [BZ #11521]
35397         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35398         overflow or cancellation in calculating denominator.
35399         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35400         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35401         down expression to avoid unexpected rounding in newer GCCs.
35402         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35403
35404 2012-04-26  David S. Miller  <davem@davemloft.net>
35405
35406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35407         long-double compat symbols.
35408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35421
35422 2012-04-25  David S. Miller  <davem@davemloft.net>
35423
35424         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35425         HWCAP_* values only after the memory barriers have been defined.
35426         (atomic_full_barrier): Define.
35427         (atomic_read_barrier): Define.
35428         (atomic_write_barrier): Define.
35429
35430 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35431
35432         * shlib-versions: Add libgcc_s version information.
35433         * sysdeps/generic/libgcc_s.h: Remove.
35434         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35435         libgcc_s.h.
35436         * sysdeps/gnu/unwind-resume.c: Likewise.
35437         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35438
35439 2012-04-25  David S. Miller  <davem@davemloft.net>
35440
35441         * sysdeps/unix/sparc/brk.S: Delete.
35442         * sysdeps/unix/sparc/dl-brk.S: Delete.
35443         * sysdeps/unix/sparc/pipe.S: Delete.
35444         * sysdeps/unix/sparc/sysdep.S: Delete.
35445         * sysdeps/unix/sparc/sysdep.h: Delete.
35446         * sysdeps/unix/sparc/vfork.S: Delete.
35447         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35448         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35449         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35450         (ret_ERRVAL, r0, r1, MOVE): Define.
35451         (JUMPTARGET): Remove.
35452         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35453         sysdeps/unix/sparc/sysdep.h
35454         (ENTRY, END): Remove.
35455         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35456
35457 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
35458
35459         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35460         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35461         -DIS_IN_build.
35462
35463         * timezone/README: Update upstream location and email address for
35464         tzcode and tzdata.
35465         * timezone/zdump.c: Update from tzcode 2012b.
35466         * timezone/zic.c: Likewise.
35467
35468         * configure.in (libc_cv_as_needed): Remove test.
35469         * configure: Regenerated.
35470         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35471         conditional definition.
35472         [$(have-as-needed) != yes] (no-as-needed): Likewise.
35473         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35474         * config.make.in (have-as-needed): Remove variable.
35475
35476 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35477             Paul Pluzhnikov  <ppluzhnikov@google.com>
35478
35479         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35480         strings correctly.
35481
35482 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
35483
35484         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35485         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35486         * sysdeps/sh/strlen.S: Likewise.
35487
35488 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35489
35490         * sysdeps/unix/fork.S: Remove file.
35491         * sysdeps/unix/i386/fork.S: Likewise.
35492         * sysdeps/unix/sparc/fork.S: Likewise.
35493
35494         * sysdeps/unix/system.c: Remove file.
35495         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35496
35497         * sysdeps/unix/getegid.S: Remove file.
35498         * sysdeps/unix/geteuid.S: Likewise.
35499
35500 2012-04-24  Roland McGrath  <roland@hack.frob.com>
35501
35502         * scripts/check-localplt.awk: New file.
35503         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35504         of diff.
35505         * scripts/data/localplt-generic.data: Add a comment.
35506
35507         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35508         NODE when __dir_mkfile failed.
35509         * sysdeps/mach/hurd/symlinkat.c: Likewise.
35510         Reported by Ludovic Courtès <ludo@gnu.org>.
35511
35512 2012-04-24  Andreas Jaeger  <aj@suse.de>
35513
35514         * Makerules (common-clean): Also remove gen-as-const-headers
35515         files.
35516
35517 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35518
35519         * Makerules (native-compile): Do not change working directory for
35520         build.  Use $(OUTPUT_OPTION) in command.
35521         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35522
35523 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35524
35525         [BZ #13886]
35526         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35527         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35528         * math/libm-test.inc (floor_test): Add more tests.
35529         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35530
35531 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35532
35533         * sysdeps/unix/getdents.c: Remove file.
35534         * sysdeps/unix/sysv/getdents.c: Likewise.
35535         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35536
35537         * sysdeps/unix/syscalls.list (madvise): Add syscall from
35538         sysdeps/unix/mman/syscalls.list.
35539         (mmap): Likewise.
35540         (mprotect): Likewise.
35541         (msync): Likewise.
35542         (munmap): Likewise.
35543         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35544         * sysdeps/unix/mman/syscalls.list: Remove.
35545         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35546
35547         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35548         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35549         * configure: Regenerated.
35550         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35551         $(libgcc_s_suffix).
35552         * config.make.in (libgcc_s_suffix): Remove variable.
35553
35554 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
35555
35556         * sysdeps/unix/sysv/gethostname.c: Move to ...
35557         * sysdeps/posix/gethostname.c: ... here.
35558
35559         * sysdeps/unix/execve.S: Remove file.
35560
35561         * sysdeps/unix/_exit.S: Remove file.
35562
35563 2012-04-23  Andreas Jaeger  <aj@suse.de>
35564
35565         [BZ #13739]
35566         * manual/Makefile: Remove make dist support, there's no
35567         need for a stand-alone documentation tar ball.
35568         (TEXI2DVI): Define always, it's not in Makeconfig.
35569         (dist): Removed.
35570         (tar-it): Removed.
35571         (edition): Removed.
35572         (glibc-doc-$(edition).tar): Removed
35573         (%.Z): Removed.
35574         (%.gz): Removed.
35575         (%.uu): Removed.
35576         (ETAGS): Remove, it's in Makeconfig.
35577         (move-if-change): Remove, it's in Makeconfig.
35578
35579 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
35580
35581         [BZ #13970]
35582         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35583         (strtod, strtof, strtold, strtol, strtoul, strtoq)
35584         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35585         (strtod_l, strtof_l, strtold_l): Remove __wur.
35586         It is not necessarily an error to ignore strtol's return value.
35587         One can reliably look at the stored endptr to decide whether
35588         the number had valid syntax.
35589
35590 2012-04-21  Andreas Jaeger  <aj@suse.de>
35591
35592         [BZ #13739]
35593         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35594
35595 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
35596
35597         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35598         * sysdeps/unix/sysv/Versions: Remove file.
35599
35600 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
35601
35602         [BZ #13927]
35603         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35604
35605 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
35606
35607         [BZ #7064]
35608         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35609         version from __vm86.
35610
35611 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
35612
35613         * sysdeps/unix/common/lxstat.c: Remove file.
35614         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35615
35616         * sysdeps/unix/sysv/Makefile: Remove file.
35617
35618         * sysdeps/unix/sysv/direct.h: Remove file.
35619
35620         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35621         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35622         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35623         * sysdeps/unix/sysv/bits/signum.h: Likewise.
35624         * sysdeps/unix/sysv/bits/stat.h: Likewise.
35625         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35626         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35627
35628         * sysdeps/unix/sysv/setrlimit.c: Remove file.
35629
35630         * sysdeps/unix/xmknod.c: Remove file.
35631         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35632
35633         * sysdeps/unix/sysv/settimeofday.c: Remove file.
35634
35635         * sysdeps/unix/sysv/i386/time.S: Remove file.
35636
35637         * sysdeps/unix/fxstat.c: Remove file.
35638         * sysdeps/unix/xstat.c: Likewise.
35639         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35640
35641         * sysdeps/unix/sysv/sigaction.c: Remove file.
35642
35643         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35644         (sysdep_headers): Remove variable.
35645         [termio.h not in sysdep_headers] (generated): Likewise.
35646         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35647         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35648         * sysdeps/unix/sysv/tcdrain.c: Likewise.
35649         * sysdeps/unix/sysv/tcflow.c: Likewise.
35650         * sysdeps/unix/sysv/tcflush.c: Likewise.
35651         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35652         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35653         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35654         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35655         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35656
35657         * sysdeps/unix/siglist.c: Remove file.
35658
35659         * sysdeps/unix/getppid.S: Remove file.
35660
35661         * sysdeps/unix/mkdir.c: Remove file.
35662         * sysdeps/unix/rmdir.c: Likewise.
35663
35664 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
35665
35666         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35667         ERR_MAX value.
35668         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35669         errlist-compat value.
35670
35671 2012-04-18  David S. Miller  <davem@davemloft.net>
35672
35673         * sysdeps/generic/memcopy.h (reg_char): Delete.
35674         * debug/strcat_chk.c: Use char, not reg_char.
35675         * debug/strcpy_chk.c: Likewise.
35676         * debug/strncat_chk.c: Likewise.
35677         * debug/strncpy_chk.c: Likewise.
35678         * string/memchr.c: Likewise.
35679         * string/memrchr.c: Likewise.
35680         * string/rawmemchr.c: Likewise.
35681         * string/strcat.c: Likewise.
35682         * string/strchr.c: Likewise.
35683         * string/strchrnul.c: Likewise.
35684         * string/strcmp.c: Likewise.
35685         * string/strcpy.c: Likewise.
35686         * string/strncat.c: Likewise.
35687         * string/strncmp.c: Likewise.
35688         * string/strncpy.c: Likewise.
35689
35690 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35691
35692         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35693         __builtin_memcopy is called when src and dest ranges are known to not
35694         overlap.
35695
35696 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35697
35698         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35699         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35700         fwd_align_merge macro call.
35701         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35702         bwd_align_merge macro call.
35703         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35704
35705 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35706
35707         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35708         bwd_align_merge macros.
35709         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35710         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35711         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35712
35713 2012-04-18  David S. Miller  <davem@davemloft.net>
35714
35715         * sysdeps/sparc/sparc64/memcopy.h: Delete.
35716
35717 2012-04-18  Andreas Jaeger  <aj@suse.de>
35718
35719         [BZ# 6794]
35720         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35721         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35722         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35723
35724         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35725         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35726         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35727
35728         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35729         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35730         Adjust for changed ldbl-128 files.
35731
35732         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35733         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35734         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35735
35736 2012-04-17  David S. Miller  <davem@davemloft.net>
35737
35738         * sysdeps/sparc/sparc32/memcopy.h: Delete.
35739
35740 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
35741
35742         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35743         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35744         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35745         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35746         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35747         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35748
35749 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35750
35751         [BZ #6794]
35752         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35753         * math/libm-test.inc: Add ilogb errno and exception tests.
35754         * math/w_ilogb.c: New file: ilogb wrapper.
35755         * math/w_ilogbf.c: New file: ilogbf wrapper.
35756         * math/w_ilogbl.c: New file: ilogbl wrapper.
35757         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35758         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35759         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35760         exception being thrown with 0.0 as argument.
35761         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35762         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35763         exception being thrown with 0.0 as argument.
35764         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35765         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35766         exception being thrown with 0.0 as argument.
35767         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35768         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35769         exception being thrown with 0.0 as argument.
35770         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35771         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35772         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35773         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35774         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35775         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35776         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35777         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35778         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35779
35780 2012-04-17  Petr Baudis  <pasky@ucw.cz>
35781
35782         * include/sys/uio.h: Change __vector to __iovec to avoid clash
35783         with altivec.
35784
35785 2012-04-16  Marek Polacek  <polacek@redhat.com>
35786
35787         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35788
35789 2012-04-16  Marek Polacek  <polacek@redhat.com>
35790
35791         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35792         operands of fdivp instruction.
35793
35794 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35795
35796         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35797         * elf/tst-auditmod3b.c: Likewise.
35798         * elf/tst-auditmod4b.c: Likewise.
35799         * elf/tst-auditmod5b.c: Likewise.
35800         * elf/tst-auditmod6b.c: Likewise.
35801         * elf/tst-auditmod6c.c: Likewise.
35802         * elf/tst-auditmod7b.c: Likewise.
35803         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35804         * sysdeps/x86_64/preconfigure.in: Likewise.
35805         * sysdeps/x86_64/preconfigure: Regenerated.
35806
35807 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35808
35809         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35810         __ILP32__.
35811
35812 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
35813
35814         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35815         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35816
35817 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
35818
35819         [BZ #13973]
35820         * locale/iso-639.def: Fix gl language name. Spotted by
35821         Yaron Shahrabani.
35822
35823 2012-04-12  Roland McGrath  <roland@hack.frob.com>
35824
35825         [BZ #2074]
35826         * libio/libio.h (__io_write_fn): Update comment.
35827
35828 2012-04-12  Petr Baudis  <pasky@ucw.cz>
35829
35830         [BZ #2074]
35831         * stdio.texi (Hook Functions): The user provided writer function
35832         is not allowed to return -1.
35833
35834 2012-04-11  David S. Miller  <davem@davemloft.net>
35835
35836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35837
35838 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
35839
35840         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35841         Add a leading slash to rtkaio.
35842
35843 2012-04-11  Jim Meyering  <meyering@redhat.com>
35844
35845         [BZ #11959]
35846         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35847         It is not necessarily an error to ignore fwrite's return
35848         value.  One can reliably use ferror to test for errors after
35849         the fact.
35850
35851 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35852
35853         * bits/types.h (__snseconds_t): New type.
35854         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35855
35856         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35857         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35858         (__SNSECONDS_T_TYPE): Likewise.
35859         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35860         (__SNSECONDS_T_TYPE): Likewise.
35861         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35862         (__SNSECONDS_T_TYPE): Likewise.
35863
35864 2012-04-10  Andreas Jaeger  <aj@suse.de>
35865
35866         [BZ #2636]
35867         * manual/time.texi (Processor Time): Return type of times is
35868         elapsed real time since an arbitrary point in the past.
35869         (CPU Time): Move CLK_TCK from here...
35870         (Processor Time): ...to here.  Correct description.
35871         * manual/conf.texi (Constants for Sysconf): Correct description of
35872         _SC_CLK_TCK.
35873
35874 2012-04-10  David S. Miller  <davem@davemloft.net>
35875
35876         [BZ #13967]
35877         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35878         where the is a gap between DT_REL(A) and DT_JMPREL.
35879
35880 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35881
35882         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35883         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35884         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35885
35886 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35887
35888         * elf/dl-support.c (_dl_inhibit_cache): New variable.
35889         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35890         (dl_main): Handle --inhibit-cache.
35891         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35892         _dl_inhibit_cache.
35893         * elf/dl-load.c (_dl_map_object): Use it.
35894         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35895
35896 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35897
35898         [BZ #13872]
35899         * sysdeps/i386/fpu/e_powl.S (p78): New object.
35900         (__ieee754_powl): Saturate large exponents rather than testing for
35901         overflow of y*log2(x).
35902         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35903         * math/libm-test.inc (pow_test): Do not permit spurious overflow
35904         exceptions.
35905
35906         [BZ #11521]
35907         * math/s_ctan.c: Include <float.h>.
35908         (__ctan): Avoid internal overflow or cancellation in calculating
35909         denominator.
35910         * math/s_ctanf.c: Likewise.
35911         * math/s_ctanl.c: Likewise.
35912         * math/s_ctanh.c: Likewise.
35913         * math/s_ctanhf.c: Likewise.
35914         * math/s_ctanhl.c: Likewise.
35915         * math/libm-test.inc (ctan_test): Add more tests.
35916         (ctanh_test): Likewise.
35917         * sysdeps/i386/fpu/libm-test-ulps: Update.
35918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35919
35920 2012-04-09  Andreas Jaeger  <aj@suse.de>
35921
35922         [BZ #6894]
35923         * manual/filesys.texi (Directory Entries): Mention that d_namlen
35924         is an optional BSD extension.
35925
35926         [BZ #10254]
35927         * manual/stdio.texi (Opening Streams): Document additional fopen
35928         parameters.
35929
35930 2012-04-09  Roland McGrath  <roland@hack.frob.com>
35931
35932         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35933         %eax without telling the compiler.
35934
35935 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
35936
35937         [BZ # 13963]
35938         * manual/install.texi: Use sourceware.org.
35939
35940 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35941
35942         [BZ #13873]
35943         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35944         (__ieee754_pow): Generate overflow and underflow using huge*huge
35945         and tiny*tiny rather than just returning constant infinity or zero
35946         for large exponents.
35947         * math/libm-test.inc (pow_test): Require overflow exceptions for
35948         applicable cases of large exponents.
35949
35950         [BZ #706]
35951         * sysdeps/i386/fpu/e_pow.S (p10): New object.
35952         (__ieee754_pow): Use iterative multiplication algorithm only for
35953         integer exponents with absolute value below 1024.  Check for odd
35954         integer exponents when using algorithm for real exponents.
35955         * math/libm-test.inc (pow_test): Add more tests.
35956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35957
35958 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
35959
35960         [BZ #13705]
35961         * math/libm-test.inc (exp_test): Do not allow overflow exception
35962         on underflow test.
35963
35964 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
35965
35966         [BZ #13705]
35967         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35968         instead of __kernel_standard_f.
35969
35970 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
35971
35972         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35973         * sysdeps/x86_64/memset_chk.S: Likewise.
35974
35975 2012-04-08  Andreas Jaeger  <aj@suse.de>
35976
35977         [BZ #10153]
35978         * manual/startup.texi (Environment Access): Describe return value
35979         for putenv and setenv.
35980
35981         [BZ #6895]
35982         * manual/filesys.texi (Directory Entries): Add description for
35983         DT_LNK.
35984
35985         [BZ #6890]
35986         * manual/filesys.texi (Directory Entries): Clarify that it's file
35987         system not operating system in the description of DT_UNKNOWN.
35988
35989         [BZ #6578]
35990         * manual/syslog.texi (closelog): Fix reference, it's openlog.
35991
35992 2012-04-08  Stephen Compall  <s11@member.fsf.org>
35993
35994         [BZ #6649]
35995         * manual/llio.texi (Opening and Closing Files): Add cross
35996         reference to explain mode argument.
35997
35998 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
35999
36000         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36001         * sysdeps/x86_64/memset_chk.S: Likewise.
36002
36003 2012-04-07  David S. Miller  <davem@davemloft.net>
36004
36005         * elf/elf.h (R_SPARC_WDISP10): Define.
36006         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36007         R_SPARC_SIZE32.
36008         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36009         R_SPARC_SIZE64 and R_SPARC_H34.
36010
36011 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36012
36013         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36014         conditions and remove no longer applicable assertion.
36015
36016 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36017
36018         * bits/byteswap.h: Include <features.h>.
36019         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36020         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36021
36022 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36023
36024         * bits/byteswap.h (__bswap_16): Removed.
36025         Include <bits/byteswap-16.h> to get __bswap_16.
36026         * sysdeps/i386/bits/byteswap.h: Likewise.
36027         * sysdeps/s390/bits/byteswap.h: Likewise.
36028         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36029         * bits/byteswap-16.h: New file.
36030         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36031         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36032         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36033         * string/Makefile (headers): Add bits/byteswap-16.h.
36034
36035 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36036
36037         [BZ #13895]
36038         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36039         extra indirection.
36040         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36041         * nss/tst-nss-static.c: New.
36042
36043 2012-04-06  Robert Millan  <rmh@gnu.org>
36044
36045         [BZ #6486]
36046         * manual/llio.texi (File Position Primitive): lseek
36047         refers to WHENCE when it really means OFFSET.
36048
36049 2012-04-06  Andreas Jaeger  <aj@suse.de>
36050
36051         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36052         strncmp declarations.
36053
36054         * abilist/libc.abilist: Add __poll and __ppoll.
36055
36056 2012-04-05  David S. Miller  <davem@davemloft.net>
36057
36058         * scripts/check-local-headers.sh: Accept a host triplet in the
36059         path matched by the exclude regexp.
36060
36061         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36062         definition.
36063         * sysdeps/powerpc/powerpc32/dl-machine.h
36064         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36065         * sysdeps/s390/s390-32/dl-machine.h
36066         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36067         * sysdeps/sparc/sparc32/dl-machine.h
36068         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36069         * sysdeps/sparc/sparc64/dl-machine.h
36070         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36071
36072         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36073         lazy binding.
36074         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36075         undefined symbol errors.
36076
36077         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36078         DT_NEEDED entries.
36079
36080 2012-04-05  Michael Matz  <matz@suse.de>
36081
36082         [BZ #13592]
36083         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36084
36085 2012-04-05  Andreas Jaeger  <aj@suse.de>
36086
36087         [BZ #13908]
36088         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36089         comment.
36090
36091 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36092
36093         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36094         which ROUND is no valid rounding mode.
36095
36096 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36097
36098         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36099         read again.
36100         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36101
36102 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36103
36104         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36105         an exception using FPU order intentionally.
36106
36107 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36108
36109         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36110         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36111         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36112         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36113
36114 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36115
36116         [BZ #12340]
36117         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36118         EINVAL when BUFLEN is too smal.
36119
36120 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36121
36122         [BZ #13553]
36123         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36124         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36125
36126 2012-04-03  Andreas Jaeger  <aj@suse.de>
36127
36128         [BZ #13938]
36129         * manual/setjmp.texi (System V contexts): Fix sentence.
36130
36131         [BZ #13926]
36132         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36133         New macro for this case.
36134         [!__GNUC__] (__bswap_64): New inline function for this case.
36135         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36136         * bits/byteswap.h: Likewise.
36137         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36138         ull, guard with __GLIBC_HAVE_LONG_LONG.
36139
36140         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36141         __GLIBC_HAVE_LONG_LONG.
36142
36143         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36144         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36145
36146 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36147
36148         [BZ #13691]
36149         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36150         inptr and inend, rather than using last_ch.
36151
36152 2012-04-02  David S. Miller  <davem@davemloft.net>
36153
36154         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36155         * stdio-common/printf-parse.h (read_int): Change return type to
36156         'int', return -1 on INT_MAX overflow.
36157         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36158         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36159         overflows INT_MAX.  Check for overflow of in-format-string precision
36160         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36161         SIZE_MAX not INT_MAX for integer overflow test.
36162         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36163         skip the construct in the format string but do not record anything.
36164         * stdio-common/bug22.c: Adjust to test both width/prevision
36165         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36166         explicitly for proper errno values.
36167
36168 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36169
36170         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36171         CHAR_MAX.
36172         * string/test-strcmp.c [! WIDE]: Likewise.
36173         * time/tst-mktime2.c: Likewise for INT_MAX.
36174         * string/test-string.h: #include <sys/param.h> for MIN.
36175
36176         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36177         * sysdeps/i386/init-first.c (init): Likewise.
36178         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36179         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36180         * sysdeps/sh/init-first.c (init): Likewise.
36181
36182 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36183
36184         * po/ru.po: Update from translation team.
36185         * po/vi.po: Likewise.
36186
36187 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36188
36189         * resolv/nss_dns/dns-host.c: Merge copyright years.
36190
36191 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36192
36193         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36194         Optimize memcpy with prefetch if
36195         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36196         src, dst pointers have unequal 16 byte alignments.
36197
36198 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36199
36200         [BZ #13928]
36201         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36202         from a CNAME entry and return the minimum ttl for the query.
36203         (gaih_getanswer_slice): Likewise.
36204
36205 2012-03-30  Jeff Law  <law@redhat.com>
36206
36207         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36208         due to long keys.
36209         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36210         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36211
36212         * resolv/nss_dns/dns-host.c: Update copyright year.
36213
36214 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36215
36216         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36217         requests to save a system call.  Fix check that all bytes are sent.
36218
36219         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36220         comments for sendmmsg.
36221
36222 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36223
36224         [BZ #13691]
36225         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36226         with only 1 character between 0x0041 and 0x01b0.
36227         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36228         * wcsmbs/tst-mbsnrtowcs.c: New file.
36229
36230 2012-03-29  David S. Miller  <davem@davemloft.net>
36231
36232         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36233         small copies by hand.
36234
36235 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36236
36237         [BZ #13761]
36238         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36239         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36240         group memberships.
36241
36242 2012-03-28  David S. Miller  <davem@davemloft.net>
36243
36244         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36245         that branches into memcpy.
36246         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36247         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36248         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36249         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36250         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36251         bits.
36252         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36253         implementation too.
36254         * sysdeps/sparc/mempcpy.S: New file.
36255
36256         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36257         the IFUNC routine in the libc case.
36258         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36259
36260         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36261         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36262         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36263         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36264         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36265         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36266         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36267         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36268
36269         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36270         loop to 256 bytes instead of 64 bytes and fix test signedness.
36271
36272         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36273         * sysdeps/sparc/sparc32/Makefile: rather than here...
36274         * sysdeps/sparc/sparc64/Makefile: and here.
36275
36276 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36277
36278         * malloc/mallocbug.c: Avoid warnings about unused variables.
36279
36280 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36281
36282         [BZ #13760]
36283         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36284         in the right place. Discard and retry query if response is
36285         larger than input buffer size.
36286
36287 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36288
36289         [BZ #369]
36290         [BZ #2678]
36291         [BZ #3866]
36292         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36293         x for large integer exponent.
36294         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36295         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36296         sign of result as needed afterwards.
36297         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36298         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36299         result for underflowing pow the same as for overflow.
36300         (__kernel_standard_l): Handle powl overflow and underflow here
36301         rather than calling __kernel_standard.
36302         * math/libm-test.inc (pow_test): Add more tests.
36303
36304         [BZ #3868]
36305         [BZ #13879]
36306         [BZ #13910]
36307         [BZ #13911]
36308         [BZ #13912]
36309         [BZ #13913]
36310         [BZ #13915]
36311         [BZ #13916]
36312         [BZ #13917]
36313         [BZ #13918]
36314         [BZ #13919]
36315         [BZ #13920]
36316         [BZ #13921]
36317         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36318         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36319         (__kernel_standard_l): New function.
36320         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36321         __kernel_standard.
36322         * math/w_acosl.c (__acosl): Likewise.
36323         * math/w_asinl.c (__asinl): Likewise.
36324         * math/w_atan2l.c (__atan2l): Likewise.
36325         * math/w_atanhl.c (__atanhl): Likewise.
36326         * math/w_coshl.c (__coshl): Likewise.
36327         * math/w_exp10l.c (__exp10l): Likewise.
36328         * math/w_exp2l.c (__exp2l): Likewise.
36329         * math/w_fmodl.c (__fmodl): Likewise.
36330         * math/w_hypotl.c (__hypotl): Likewise.
36331         * math/w_j0l.c (__j0l, __y0l): Likewise.
36332         * math/w_j1l.c (__j1l, __y1l): Likewise.
36333         * math/w_jnl.c (__jnl, __ynl): Likewise.
36334         * math/w_lgammal.c (__lgammal): Likewise.
36335         * math/w_log10l.c (__log10l): Likewise.
36336         * math/w_log2l.c (__log2l): Likewise.
36337         * math/w_logl.c (__logl): Likewise.
36338         * math/w_powl.c (__powl): Likewise.
36339         * math/w_remainderl.c (__remainderl): Likewise.
36340         * math/w_scalbl.c (sysv_scalbl): Likewise.
36341         * math/w_sinhl.c (__sinhl): Likewise.
36342         * math/w_sqrtl.c (__sqrtl): Likewise.
36343         * math/w_tgammal.c (__tgammal): Likewise.
36344         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36345         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36346         * math/libm-test.inc (acos_test): Add more tests.
36347         (acosh_test): Likewise.
36348         (asin_test): Likewise.
36349         (atanh_test): Likewise.
36350         (exp_test): Likewise.
36351         (exp10_test): Likewise.
36352         (exp2_test): Likewise.
36353         (expm1_test): Likewise.
36354         (lgamma_test): Likewise.
36355         (log_test): Likewise.
36356         (log10_test): Likewise.
36357         (log1p_test): Likewise.
36358         (log2_test): Likewise.
36359         (pow_test): Do not allow some spurious overflow exceptions.
36360         (sqrt_test): Add more tests.
36361         (tgamma_test): Likewise.
36362         (y0_test): Likewise.
36363         (y1_test): Likewise.
36364         (yn_test): Likewise.
36365
36366 2012-03-27  Anton Blanchard  <anton@samba.org>
36367
36368         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36369         MAP_HUGETLB.
36370         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36371         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36372         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36373
36374 2012-03-27  David S. Miller  <davem@davemloft.net>
36375
36376         * conform/Makefile: Run run-conformtest.sh using $(BASH).
36377
36378         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36379         have-as-vis3 check.
36380
36381 2012-03-27  Andreas Jaeger  <aj@suse.de>
36382
36383         * sysdeps/x86_64/elf/configure.in: Moved to ...
36384         * sysdeps/x86_64/configure.in: ... here.
36385         * sysdeps/x86_64/elf/start.S: Moved to ...
36386         * sysdeps/x86_64/start.S: ... here.
36387         * sysdeps/x86_64/elf/configure: Delete.
36388
36389         * sysdeps/x86_64/configure.in: Merge contents from
36390         sysdeps/i386/configure.in (without i686 check).
36391
36392         * sysdeps/i386/elf/Versions: Merge into ...
36393         * sysdeps/i386/Versions: ... this.
36394         * sysdeps/i386/elf/Versions: Delete file.
36395         * sysdeps/i386/elf/start.S: Moved to ...
36396         * sysdeps/i386/start.S: ...here.
36397         * sysdeps/i386/elf/configure.in: Merge into...
36398         * sysdeps/i386/configure.in: ...here.
36399         * sysdeps/i386/elf/configure.in: Delete file.
36400         * sysdeps/i386/elf/configure: Delete file.
36401
36402         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36403         * debug/backtracesyms.c: ... here.
36404         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36405         * debug/backtracesymsfd.c: ... here.
36406         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36407         * sysdeps/generic/ifunc-sel.h: ... here.
36408
36409         * sysdeps/unix/i386/start.c: Delete file.
36410         * sysdeps/unix/sparc/start.c: Delete file.
36411         * sysdeps/unix/start.c: Delete file.
36412
36413         * sysdeps/sh/elf/configure.in: Moved to ...
36414         * sysdeps/sh/configure.in: ... here.
36415         * sysdeps/sh/elf/start.S: Moved to ...
36416         * sysdeps/sh/start.S: ... here.
36417         * sysdeps/sh/elf/configure: Delete file.
36418
36419         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36420         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36421         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36422         * sysdeps/powerpc/powerpc64/entry.h: ... here.
36423         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36424         * sysdeps/powerpc/powerpc64/start.S: here.
36425         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36426         * sysdeps/powerpc/powerpc64/Makefile: ... this.
36427         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36428         * sysdeps/powerpc/powerpc64/configure.in: ... this.
36429         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36430
36431         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36432         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36433         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36434         * sysdeps/powerpc/powerpc32/start.S: ... here.
36435         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36436         * sysdeps/powerpc/powerpc32/configure.in: ... this.
36437         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36438
36439         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36440         * sysdeps/powerpc/ifunc-sel.h: ... here.
36441         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36442         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36443
36444         * sysdeps/sparc/elf/configure.in: Moved to ...
36445         * sysdeps/sparc/configure.in: ... here.
36446         * sysdeps/sparc/elf/configure: Delete file.
36447         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36448         * sysdeps/sparc/sparc32/start.S: ... here.
36449         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36450         * sysdeps/sparc/sparc64/start.S: ... here.
36451         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36452         * sysdeps/sparc/sparc32/Makefile: ... this.
36453         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36454         * sysdeps/sparc/sparc64/Makefile: ... this.
36455
36456         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36457         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36458         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36459         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36460         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36461         * sysdeps/s390/s390-32/setjmp.S: ... here.
36462         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36463         * sysdeps/s390/s390-32/configure.in: ... here.
36464         * sysdeps/s390/s390-32/elf/configure: Delete file.
36465         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36466         * sysdeps/s390/s390-32/start.S: ... here.
36467
36468         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36469         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36470         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36471         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36472         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36473         * sysdeps/s390/s390-64/setjmp.S: ... here.
36474         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36475         * sysdeps/s390/s390-64/configure.in: ... here
36476         * sysdeps/s390/s390-64/elf/configure: Delete file.
36477         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36478         * sysdeps/s390/s390-64/start.S: ... here.
36479         * sysdeps/s390/s390-64/elf/configure: Delete.
36480
36481         * configure.in: Remove support for elf directories in sysdeps.
36482
36483         * configure: Regenerated.
36484         * sysdeps/i386/configure: Regenerated.
36485         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36486         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36487         * sysdeps/s390/s390-32/configure: Regenerated.
36488         * sysdeps/s390/s390-64/configure: Regenerated.
36489         * sysdeps/sh/configure: Regenerated.
36490         * sysdeps/sparc/configure: Regenerated.
36491         * sysdeps/x86_64/configure: Regenerated.
36492
36493 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
36494
36495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36496
36497         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36498         denormal result into account.
36499
36500 2012-03-25  Roland McGrath  <roland@hack.frob.com>
36501
36502         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36503         Reported by Allan McRae <allan@archlinux.org>.
36504
36505 2012-03-23  Jeff Law  <law@redhat.com>
36506
36507         * nss/getnssent.c (__nss_getent): Fix typo.
36508
36509 2012-03-23  David S. Miller  <davem@davemloft.net>
36510
36511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36512
36513 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
36514
36515         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36516         to pad to uint64_t for each field.
36517         (dl_tls_index): Replace unsigned long with uint64_t.
36518
36519 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
36520         Paul Pluzhnikov  <ppluzhnikov@google.com>
36521
36522         [BZ #6528]
36523         * grp/Makefile (otherlibs): Don't set it.
36524         * inet/Makefile (otherlibs): Likewise.
36525         * login/Makefile (otherlibs): Likewise.
36526         * nscd/Makefile (otherlibs): Likewise.
36527         * posix/Makefile (otherlibs): Likewise.
36528         * pwd/Makefile (otherlibs): Likewise.
36529         * rt/Makefile (otherlibs): Likewise.
36530         * sunrpc/Makefile (otherlibs): Likewise.
36531         * nss/Makefile (otherlibs): Likewise.
36532         Add libnss_files to routines and static-only-routines.
36533         ($(objpfx)getent): Remove rule.
36534         * resolv/Makefile: Add libnss_dns and libresolv to routines and
36535         static-only-routines.
36536
36537 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36538
36539         [BZ #13892]
36540         * math/s_cexp.c: Include <float.h>.
36541         (__cexp): Handle exp result overflowing not necessarily
36542         overflowing both real and imaginary parts of result.
36543         * math/s_cexpf.c: Likewise.
36544         * math/s_cexpl.c: Likewise.
36545         * math/libm-test.inc (cexp_test): Add more tests.
36546         * sysdeps/i386/fpu/libm-test-ulps: Update.
36547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36548
36549 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36550
36551         * include/link.h (ELFW): New macro.
36552         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36553         Replace ELF64_R_TYPE with ELFW(R_TYPE).
36554
36555 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36556
36557         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36558         with uint64_t.
36559
36560 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36561
36562         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36563         declaration.
36564         (struct La_x32_retval): Likewise.
36565
36566 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36567
36568         * sysdeps/x86_64/preconfigure.in: New file.
36569         * sysdeps/x86_64/preconfigure: New generated file.
36570
36571 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36572
36573         [BZ #13824]
36574         * math/e_exp2l.c: Include <float.h>.
36575         (__ieee754_exp2l): Handle overflow and underflow cases
36576         separately.  Only pass fractional part of argument to
36577         __ieee754_expl.
36578         * math/libm-test.inc (exp2_test): Add more tests.
36579
36580         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36581         negating x to take absolute value.
36582         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36583         Likewise.
36584         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36585         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36586         Likewise.
36587         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36588         computing low part if x was negated.
36589         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36590
36591 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36592
36593         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36594         la_x32_gnu_pltexit.
36595         (pltexit): Cast int_retval to ptrdiff_t.
36596         * elf/tst-auditmod3b.c: Likewise.
36597         * elf/tst-auditmod4b.c: Likewise.
36598         * elf/tst-auditmod5b.c: Likewise.
36599         * elf/tst-auditmod6b.c: Likewise.
36600         * elf/tst-auditmod6c.c: Likewise.
36601         * elf/tst-auditmod7b.c: Likewise.
36602
36603         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36604         and x32_gnu_pltexit.
36605
36606         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36607         __ELF_NATIVE_CLASS.
36608         (La_x32_regs): New macro.
36609         (La_x32_retval): Likewise.
36610         (la_x32_gnu_pltenter): New function prototype.
36611         (la_x32_gnu_pltexit): Likewise.
36612
36613 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
36614
36615         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36616         exponent.
36617
36618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36619
36620         * configure.in (libc_cv_cc_nofma): Check for option to disable
36621         generation of FMA instructions.
36622         * configure: Regenerate.
36623         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36624         * sysdeps/ieee754/dbl-64/Makefile: New file.
36625         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36626         Remove brandred-fma4.
36627         (CFLAGS-brandred-fma4.c): Remove.
36628         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36629         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36630         define.
36631         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36632         define.
36633
36634 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36635
36636         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36637         LLONG_MAX != LONG_MAX.
36638         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36639         (_fitoa_word): Likewise.
36640         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36641         LLONG_MAX != LONG_MAX.
36642         * stdio-common/_itowa.h: Include <_itoa.h>.
36643         (_itowa_word): Use _ITOA_WORD_TYPE on value.
36644         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
36645         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
36646         only if not defined.
36647         (_ITOA_WORD_TYPE): Likewise.
36648         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36649         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36650
36651 2012-03-21  David S. Miller  <davem@davemloft.net>
36652
36653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36654
36655 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36656
36657         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36658         of x86_64 when setting libc_cv_slibdir, libdir and
36659         libc_cv_localedir.
36660         * sysdeps/unix/sysv/linux/configure: Regenerated.
36661
36662 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36663
36664         * manual/lang.texi (Old Varargs): Remove section.
36665         (How Variadic): Update menu.
36666         (va_start): Do not mention varargs.h.
36667
36668 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36669             Joseph Myers  <joseph@codesourcery.com>
36670
36671         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36672         link test.
36673         * configure: Regenerated.
36674
36675 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36676
36677         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36678         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36679         conformtest.pl
36680
36681 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36682
36683         * NOTES: Remove.
36684         * Makefile (files-for-dist): Remove NOTES.
36685         (NOTES): Remove rule.
36686         * README: Don't refer to NOTES.
36687         * manual/creature.texi: Don't include macros.texi.
36688         * manual/intro.texi (creature.texi): Remove comment referring to
36689         NOTES.
36690
36691         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36692         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36693         * configure: Regenerated.
36694         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36695         LIBC_TRY_CC_OPTION.
36696         (libc_cv_as_i686): Likewise.
36697         (libc_cv_cc_avx): Likewise.
36698         (libc_cv_cc_sse2avx): Likewise.
36699         (libc_cv_cc_fma4): Likewise.
36700         (libc_cv_cc_novzeroupper): Likewise.
36701         * sysdeps/i386/configure: Regenerated.
36702
36703         [BZ #13883]
36704         * sysdeps/i386/fpu/s_cexp.S: Remove.
36705         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36706         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36707         * math/libm-test.inc (cexp_test): Add more tests.
36708         * sysdeps/i386/fpu/libm-test-ulps: Update.
36709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36710
36711 2012-03-21  Allan McRae  <allan@archlinux.org>
36712
36713         * timezone/Makefile: Do not install iso3166.tab and zone.tab
36714
36715 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36716
36717         [BZ #13871]
36718         * math/w_exp2.c: Do not include <float.h>.
36719         (o_threshold, u_threshold): Remove.
36720         (__exp2): Calculate result before checking finiteness and calling
36721         __kernel_standard.
36722         * math/w_exp2f.c: Likewise.
36723         * math/w_exp2l.c: Likewise.
36724         * math/libm-test.inc (exp2_test): Require overflow exception for
36725         1e6 input.
36726
36727         [BZ #3866]
36728         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36729         range of signed 64-bit integers before using fistpll.  Remove
36730         checks for whether integers fit in mantissa bits.
36731         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36732         the range of signed 32-bit integers before using fistpl.  Remove
36733         checks for whether integers fit in mantissa bits.
36734         * sysdeps/i386/fpu/e_powl.S (p64): New object.
36735         (__ieee754_powl): Test for y outside the range of signed 64-bit
36736         integers before using fistpll.  Reduce 64-bit values to 63-bit
36737         ones as needed.
36738         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36739         divide-by-zero is raised for zero to large negative powers.
36740         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36741         (__ieee754_powl): Test for y outside the range of signed 64-bit
36742         integers before using fistpll.  Reduce 64-bit values to 63-bit
36743         ones as needed.
36744         * math/libm-test.inc (pow_test): Add more tests.
36745
36746 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36747
36748         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36749         <stdio-common/_itoa.h>.
36750         * debug/segfault.c: Likewise.
36751         * elf/dl-cache.c: Likewise.
36752         * elf/dl-minimal.c: Likewise.
36753         * elf/dl-misc.c: Likewise.
36754         * elf/dl-sysdep.c: Likewise.
36755         * elf/dl-version.c: Likewise.
36756         * elf/rtld.c: Likewise.
36757         * hurd/hurdsock.c: Likewise.
36758         * hurd/lookup-retry.c: Likewise.
36759         * malloc/malloc.c: Likewise.
36760         * malloc/mtrace.c: Likewise.
36761         * nscd/nscd_getgr_r.c: Likewise.
36762         * nscd/nscd_getpw_r.c: Likewise.
36763         * nscd/nscd_getserv_r.c: Likewise.
36764         * posix/getopt_init.c: Likewise.
36765         * posix/wordexp.c: Likewise.
36766         * stdio-common/_itoa.c: Likewise.
36767         * stdio-common/printf_fphex.c: Likewise.
36768         * stdio-common/vfprintf.c: Likewise.
36769         * string/_strerror.c: Likewise.
36770         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36771         * sysdeps/i386/i686/hp-timing.h: Likewise.
36772         * sysdeps/mach/_strerror.c: Likewise.
36773         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36774         * sysdeps/mach/hurd/sethostid.c: Likewise.
36775         * sysdeps/mach/hurd/xmknodat.c: Likewise.
36776         * sysdeps/mach/xpg-strerror.c: Likewise.
36777         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36778         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36779         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36780         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36781         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36782         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36783         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36784         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36785         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36786         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36787         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36788         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36789         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36790         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36791         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36792         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36793         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36794         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36795         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36796         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36797         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36798
36799         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36800
36801         * stdio-common/_itoa.h: Moved to ...
36802         * sysdeps/generic/_itoa.h: Here.
36803
36804         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36805
36806         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36807         instead of "_itoa.h" and "_itowa.h".
36808         * stdio-common/vfprintf.: Likewise.
36809
36810 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36811
36812         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36813         <bits/wordsize.h>.
36814         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36815         (__signbit): Likwise.
36816         (llrintf): Likwise.
36817         (llrint): Likwise.
36818
36819 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36820
36821         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36822         __WORDSIZE != 64.
36823
36824 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
36825
36826         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36827         OVERFLOW_EXCEPTION_OK.
36828         * math/libm-test.inc ("Philosophy"): Update comment about
36829         exception testing.
36830         (OVERFLOW_EXCEPTION): Define.
36831         (OVERFLOW_EXCEPTION_OK): Likewise.
36832         (INVALID_EXCEPTION_OK): Renumber.
36833         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36834         (IGNORE_ZERO_INF_SIGN): Likewise.
36835         (test_exceptions): Handle FE_OVERFLOW.
36836         (exp10_test): Expect overflow exceptions.
36837         (exp2_test): Likewise.
36838         (expm1_test): Likewise.
36839         (nextafter_test): Likewise.
36840         (pow_test): Likewise.
36841         (scalbn_test): Likewise.
36842         (scalbln_test): Likewise.
36843
36844 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36845
36846         * sysdeps/x86_64/bits/atomic.h
36847         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36848         64bit integer.
36849         (atomic_exchange_acq): Likewise.
36850         (__arch_exchange_and_add_body): Likewise.
36851         (__arch_add_body): Likewise.
36852         (atomic_add_negative): Likewise.
36853         (atomic_add_zero): Likewise.
36854
36855 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36856
36857         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36858         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36859
36860 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36861
36862         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36863         Check __x86_64__ instead of __WORDSIZE.
36864
36865 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36866
36867         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36868
36869 2012-03-19  David S. Miller  <davem@davemloft.net>
36870
36871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36872
36873         * sysdeps/sparc/fpu/fenv_private.h: New file.
36874         * sysdeps/sparc/fpu/math_private.h: Use it.
36875         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36876         Remove.
36877         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36878         (libc_feholdexcept_setroundl): Remove.
36879         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36880         Remove.
36881         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36882         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36883
36884 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36885
36886         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36887         int64_t instead of long int.
36888         (INSERT_WORDS64): Likwise.
36889
36890 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36891
36892         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36893         _Unwind_GetCFA return to _Unwind_Ptr first.
36894
36895 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
36896
36897         [BZ #13629]
36898         * math/s_clog.c: Include <float.h>.
36899         (__clog): Scale large or subnormal inputs.
36900         * math/s_clogf.c: Likewise.
36901         * math/s_clogl.c: Likewise.
36902         * math/s_clog10.c: Include <float.h>.
36903         (M_LOG10_2): Define.
36904         (__clog10): Scale large or subnormal inputs.
36905         * math/s_clog10f.c: Likewise.
36906         * math/s_clog10l.c: Likewise.
36907         * math/libm-test.inc (clog_test): Add more tests.
36908         (clog10_test): Likewise.
36909         * sysdeps/i386/fpu/libm-test-ulps: Update.
36910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36911
36912         [BZ #11451]
36913         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36914         x and y.
36915         * math/libm-test.inc (atan2_test): Add another test.
36916
36917         * Makerules (common-objdir-compile): Remove.
36918         * sysdeps/unix/Makefile (config-generated): Do not add
36919         $(unix-generated) to variable.
36920         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36921         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36922         Remove rule.
36923         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36924         Likewise.
36925         [generic bits/local_lim.h] (before-compile): Do not append to
36926         variable.
36927         [generic bits/local_lim.h] (common-generated): Likewise.
36928         [generic sys/param.h] (before-compile): Do not append to variable.
36929         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36930         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36931         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36932         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36933         include.
36934         [generic sys/param.h] (sys/param.h-includes): Remove variable.
36935         [generic sys/param.h] (sys/param.h-includes): Remove rule.
36936         [generic sys/param.h] ($(addprefix
36937         $(common-objpfx),$(sys/param.h-includes))): Likewise.
36938         [generic sys/param.h] (common-generated): Do not append to
36939         variable.
36940         [generic sys/param.h] (sysdep_headers): Likewise.
36941         [generic bits/errno.h] (before-compile): Do not append to
36942         variable.
36943         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36944         rule.
36945         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36946         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36947         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36948         [generic bits/errno.h] (common-generated): Do not append to
36949         variable.
36950         [generic bits/ioctls.h] (before-compile): Do not append to
36951         variable.
36952         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36953         rule.
36954         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36955         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36956         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36957         rule.
36958         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36959         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36960         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36961         [generic bits/ioctls.h] (common-generated): Do not append to
36962         variable.
36963         [generic sys/syscall.h] (syscall.h): Remove variable.
36964         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36965         rule.
36966         [generic sys/syscall.h] (before-compile): Do not append to
36967         variable.
36968         [generic sys/syscall.h] (common-generated): Likewise.
36969         * sysdeps/unix/errnos-tmpl.c: Remove file.
36970         * sysdeps/unix/errnos.awk: Likewise.
36971         * sysdeps/unix/ioctls-tmpl.c: Likewise.
36972         * sysdeps/unix/ioctls.awk: Likewise.
36973         * sysdeps/unix/mk-local_lim.c: Likewise.
36974         * sysdeps/unix/snarf-ioctls: Likewise.
36975
36976 2012-03-19  Richard Henderson  <rth@twiddle.net>
36977
36978         * sysdeps/i386/fpu/fenv_private.h: New file.
36979         * sysdeps/i386/fpu/math_private.h: Use it.
36980         (math_opt_barrier, math_force_eval): Remove.
36981         (libc_feholdexcept_setround_53bit): Remove.
36982         (libc_feupdateenv_53bit): Remove.
36983         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36984         (math_opt_barrier, math_force_eval): Remove.
36985         (libc_feholdexcept): Remove.
36986         (libc_feholdexcept_setround): Remove.
36987         (libc_fetestexcept, libc_fesetenv): Remove.
36988         (libc_feupdateenv_test): Remove.
36989         (libc_feupdateenv, libc_feholdsetround): Remove.
36990         (libc_feresetround): Remove.
36991
36992         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36993         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36994
36995         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36996         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36997         (libc_feupdateenv_testl): New.
36998         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36999         (libc_feupdateenv_testf): New.
37000         (libc_feupdateenv): Use libc_feupdateenv_test.
37001         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37002         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37003
37004         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37005         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37006         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37007         (libc_feresetround_noex): New.
37008         (libc_feresetround_noexf): New.
37009         (libc_feresetround_noexl): New.
37010         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37011         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37012         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37013         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37014         SET_RESTORE_ROUND.
37015         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37016         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37017         (__cos): Likewise.
37018         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37019         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37020         SET_RESTORE_ROUND_NOEX.
37021         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37022         SET_RESTORE_ROUND_NOEXF.
37023         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37024         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37025         (libc_feholdsetroundf): New.
37026         (libc_feresetround, libc_feresetroundf): New.
37027
37028         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37029         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37030         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37031
37032         * sysdeps/generic/math_private.h: Include <fenv.h>.
37033         (default_libc_feholdexcept): New.
37034         (default_libc_feholdexcept_setround): New.
37035         (default_libc_fesetenv, default_libc_feupdateenv): New.
37036         (libc_feholdexcept): Only define if undefined.
37037         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37038         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37039         (libc_feholdexcept_setroundl): Likewise.
37040         (libc_feholdexcept_setround_53bit): Likewise.
37041         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37042         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37043         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37044         (libc_feupdateenv_53bit): Likewise.
37045         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37046         (libc_feholdexcept): Convert from macro to inline function.
37047         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37048         (libc_fesetenv, libc_feupdateenv): Likewise.
37049
37050         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37051         not previously defined.
37052         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37053         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37054         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37055         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37056         * sysdeps/ieee754/flt-32/math_private.h: New file.
37057         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37058         math_private.h below SET_FLOAT_WORD.
37059         (__isnan, __isinf_ns, __finite): Remove.
37060         (__isnanf, __isinf_nsf, __finitef): Remove.
37061
37062 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37063
37064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37065
37066 2012-03-17  David S. Miller  <davem@davemloft.net>
37067
37068         [BZ #6471]
37069         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37070         for 2.16.
37071
37072 2012-03-16  David S. Miller  <davem@davemloft.net>
37073
37074         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37075         warnings.
37076
37077         [BZ #6471]
37078         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37079         properly.
37080         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37081         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37082         sysdep_routines when subdir is sysvipc.
37083         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37084         __getshmlba helper.
37085
37086         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37087
37088 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37089
37090         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37091         [__LP64__].
37092
37093 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37094
37095         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37096         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37097         (__lround): Renamed to ...
37098         (__llround): This.  Replace long int with long long int.
37099         Define lround functions as aliases of llround functions.
37100         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37101
37102 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37103
37104         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37105         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37106         adresses to uintptr_t.  Replace "long int" and "unsigned long
37107         int" with "greg_t" on va_arg.
37108
37109 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37110
37111         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37112         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37113
37114         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37115         Move e_machine check before EI_CLASS check.  Handle x32
37116         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37117         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37118         SKIP_EM_IA_64 and include
37119         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37120
37121         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37122         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37123         (add_system_dir): New macro.
37124
37125         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37126         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37127
37128 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37129
37130         [BZ #2551]
37131         [BZ #2552]
37132         [BZ #2553]
37133         [BZ #2554]
37134         [BZ #2562]
37135         [BZ #2563]
37136         [BZ #2565]
37137         [BZ #2566]
37138         [BZ #2576]
37139         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37140         (y0): Likewise.
37141         * math/w_j0f.c (j0f): Likewise.
37142         (y0f): Likewise.
37143         * math/w_j0l.c (__j0l): Likewise.
37144         (__y0l): Likewise.
37145         * math/w_j1.c (j1): Likewise.
37146         (y1): Likewise.
37147         * math/w_j1f.c (j1f): Likewise.
37148         (y1f): Likewise.
37149         * math/w_j1l.c (__j1l): Likewise.
37150         (__y1l): Likewise.
37151         * math/w_jn.c (jn): Likewise.
37152         (yn): Likewise.
37153         * math/w_jnf.c (jnf): Likewise.
37154         (ynf): Likewise.
37155         * math/w_jnl.c (__jnl): Likewise.
37156         (__ynl): Likewise.
37157         * math/libm-test.inc (j0_test): Add more tests.
37158         (j1_test): Likewise.
37159         (jn_test): Likewise.  Add trailing semicolon to existing test.
37160         (y0_test): Likewise.
37161         (y1_test): Likewise.
37162         * sysdeps/i386/fpu/libm-test-ulps: Update.
37163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37164
37165         [BZ #13851]
37166         [BZ #13854]
37167         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37168         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37169         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37170         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37171         (__tanl): Set errno for infinite argument.
37172         * sysdeps/i386/fpu/mptan.c: Remove.
37173         * sysdeps/i386/fpu/s_tan.S: Likewise.
37174         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37175         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37176         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37177         * math/libm-test.inc (tan_test): Add more tests and enable more
37178         tests for double and long double.
37179         * sysdeps/i386/fpu/libm-test-ulps: Update.
37180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37181
37182 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37183
37184         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37185         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37186
37187 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37188
37189         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37190         * configure.in: Use it for both main tree and add-ons.
37191         * configure: Regenerated.
37192
37193 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37194
37195         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37196
37197 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37198
37199         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37200         in comment.
37201
37202         [BZ #13851]
37203         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37204         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37205         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37206         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37207         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37208         infinite argument.
37209         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37210         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37211         != 0 for prec == 2.
37212         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37213         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37214         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37215         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37216         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37217         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37218         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37219         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37220         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37221         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37222         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37223         * math/libm-test.inc (cos_test): Add more tests and enable more
37224         tests for long double.
37225         (sin_test): Likewise.
37226         (sincos_test): Likewise.
37227         * sysdeps/i386/fpu/libm-test-ulps: Update.
37228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37229
37230 2012-03-16  David S. Miller  <davem@davemloft.net>
37231
37232         * sysdeps/sparc/fpu/math_private.h: New file.
37233
37234 2012-03-15  David S. Miller  <davem@davemloft.net>
37235
37236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37237         file.
37238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37240         file.
37241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37246         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37247         sysdep routines.
37248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37249
37250         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37251         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37252
37253         * sysdeps/sparc/sparc-ifunc.h: New file.
37254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37255         sparc-ifunc.h
37256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37258         Likewise.
37259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37260         Likewise.
37261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37265         Likewise.
37266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37271         Likewise.
37272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37273         Likewise.
37274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37278         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37279         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37280         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37281         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37292         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37293         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37294         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37295         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37296         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37297         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37298
37299 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37300
37301         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37302         scaling.
37303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37304
37305 2012-03-15  Andreas Jaeger  <aj@suse.de>
37306
37307         [BZ #13852]
37308         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37309         ieee754/flt-32 implementation for sin, cos and sincos.
37310         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37311         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37312         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37313         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37314         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37315         ieee754/flt-32 implementation for tan.
37316
37317         * math/libm-test.inc (cos_test): Enable some large input tests for
37318         float as well
37319         (sin_test): Likewise.
37320         (sincos_test): Likewise.
37321         (tan_test): Add tests for large input.
37322
37323         * sysdeps/i386/fpu/libm-test-ulps: Update.
37324
37325 2012-03-15  Andreas Jaeger  <aj@suse.de>
37326
37327         [BZ #13658]
37328         * math/libm-test.inc (cos_test): Add more test cases.
37329         (sin_test): Likewise.
37330         (sincos_test): Likewise.
37331
37332 2012-03-15  Andreas Jaeger  <aj@suse.de>
37333
37334         [BZ #13837]
37335         * math/libm-test.inc (cos_test): Add a test case for large input
37336         value.
37337         (sin_test): Likewise.
37338         (sincos_test): Likewise.
37339
37340 2012-03-15  Andreas Jaeger  <aj@suse.de>
37341             Joseph Myers  <joseph@codesourcery.com>
37342
37343         [BZ #13658]
37344         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37345         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37346         * sysdeps/i386/fpu/branred.c: Likewise.
37347         * sysdeps/i386/fpu/dosincos.c: Likewise.
37348         * sysdeps/i386/fpu/mpa.c: Likewise.
37349         * sysdeps/i386/fpu/s_cos.S: Likewise.
37350         * sysdeps/i386/fpu/s_sin.S: Likewise.
37351         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37352         * sysdeps/i386/fpu/sincos32.c: Likewise.
37353
37354         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37355         Define.
37356         (libc_feupdateenv_53bit): Define.
37357         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37358         Define.
37359         (libc_feupdateenv_53bit): Define.
37360
37361         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37362         53 bit (without extend i386 double precision).
37363
37364         * math/libm-test.inc (sincos_test): Add tests for large input.
37365         (sin): Likewise.
37366         (cos): Likewise.
37367
37368         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37369
37370 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37371
37372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37373
37374 2012-03-15  David S. Miller  <davem@davemloft.net>
37375
37376         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37377         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37378         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37379         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37389         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37390         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37392         file.
37393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37395         file.
37396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37398         file.
37399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37401         file.
37402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37403         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37404         fmin/fmax sysdep routines.
37405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37406
37407 2012-03-14  David S. Miller  <davem@davemloft.net>
37408
37409         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37410         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37411         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37412         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37413         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37414         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37415         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37416         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37417         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37418         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37421         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37422         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37428         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37429         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37430         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37431         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37432         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37433         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37434         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37435         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37436         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37437         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37438         routines.
37439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37440         file.
37441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37443         file.
37444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37446         file.
37447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37449         file.
37450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37452         file.
37453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37455         file.
37456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37457         file.
37458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37459         file.
37460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37461         file.
37462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37463         New file.
37464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37465         file.
37466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37467         file.
37468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37470         file.
37471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37473         file.
37474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37476         file.
37477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37479         VIS3 routines.
37480
37481         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37482         New file.
37483
37484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37485
37486         * sysdeps/sparc/configure.in: New file.
37487         * sysdeps/sparc/configure: Generate.
37488         * configure.in (libc_cv_sparc_as_vis3): Substitute.
37489         * configure: Regenerate.
37490         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37491         * config.make.in (have-as-vis3): New.
37492         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37493         available use -Av9d instead of -Av9a.
37494         * sysdeps/sparc/sparc64/Makefile: Likewise.
37495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37497         New file.
37498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37499         file.
37500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37501         New file.
37502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37503         file.
37504         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37505         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37506         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37507         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37508         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37509
37510         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37511         fzeros/fnegs to load 0x80000000 into a float register instead of
37512         using the stack.
37513         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37514
37515 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37516
37517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37518         bits/syscall.h.
37519         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37520         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37521         ($(inst_includedir)/bits/syscall.h): Remove rule.
37522         ($(objpfx)bits/syscall.d): Include instead of
37523         $(objpfx)syscall-list.d.
37524         (generated): Change syscall-list.h and syscall-list.d to
37525         bits/syscall.h and bits/syscall.d.
37526
37527 2012-03-14  Roland McGrath  <roland@hack.frob.com>
37528
37529         [BZ #13846]
37530         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37531
37532 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37533
37534         [BZ #13841]
37535         * math/s_csqrt.c: Include <float.h>.
37536         (__csqrt): Scale large or subnormal inputs.
37537         * math/s_csqrtf.c: Likewise.
37538         * math/s_csqrtl.c: Likewise.
37539         * math/libm-test.inc (csqrt_test): Add more tests.
37540         * sysdeps/i386/fpu/libm-test-ulps: Update.
37541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37542
37543         [BZ #13840]
37544         * math/libm-test.inc (hypot_test): Add more tests.
37545
37546 2012-03-13  David S. Miller  <davem@davemloft.net>
37547
37548         [BZ #13840]
37549         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37550         double-precision for the calculation instead of scaling.
37551
37552 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
37553
37554         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37555         manipulate bits before adding and subtracting TWO52[sx].
37556         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37557         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37558         Likewise.
37559         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37560
37561 2012-03-13  David S. Miller  <davem@davemloft.net>
37562
37563         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37564         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37565         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37566         rtld-global-offsets.h
37567         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37568
37569         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37570         large parameters.
37571
37572         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37573
37574         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37575         'err' in the ifdef scope in which it is actually used.
37576
37577         * nss/nss_db/db-init.c: Include string.h
37578
37579 2012-03-12  David S. Miller  <davem@davemloft.net>
37580
37581         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37582         masking out of the most significant byte of random value used.
37583         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37584         Fix coding style in previous change.
37585
37586         * sysdeps/unix/sysv/linux/kernel-features.h
37587         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37588         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37589         expression.
37590         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37591         later.
37592
37593 2012-03-11  David S. Miller  <davem@davemloft.net>
37594
37595         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37596         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37597         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37598         for 'resultvar' otherwise things get truncated on 64-bit.
37599
37600         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37601         Fix masking out of the most significant byte of random value used.
37602
37603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37604
37605 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
37606
37607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37608
37609 2012-03-09  David S. Miller  <davem@davemloft.net>
37610
37611         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37612         variables with appropriate CPP guards.
37613         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37614         from the frame pointer, not the stack pointer.  Correct layout
37615         comments.  Fix test on resulting framesize and the management of
37616         the outregs buffer for pltexit.  Preserve floating point return
37617         values across _dl_call_pltexit call.
37618         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37619         framesize and the management of the outregs buffer for pltexit.
37620         Preserve floating point return values across _dl_call_pltexit
37621         call.
37622         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37623         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37624         (la_sparc64_gnu_pltexit): New functions.
37625         (print_exit): Fix format string for return register value.
37626
37627 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
37628
37629         * sunrpc/Makefile (others): Add rpcgen.
37630         ($(objpfx)rpcgen): Remove special build rule and dependency on
37631         libc.
37632         * sunrpc/rpcgen.c: New file.
37633
37634 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
37635
37636         [BZ #13673]
37637         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37638         * stdio-common/bug-vfprintf-nargs.c: Likewise.
37639         * sysdeps/i386/crti.S: Likewise.
37640         * sysdeps/i386/crtn.S: Likewise.
37641         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37642         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37643         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37644         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37645         * sysdeps/sh/crti.S: Likewise.
37646         * sysdeps/sh/crtn.S: Likewise.
37647         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37648
37649         [BZ #13673]
37650         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37651         with URL.
37652         * locale/programs/locfile-kw.gperf: Likewise.
37653         * locale/programs/charmap-kw.h: Regenerated.
37654         * locale/programs/locfile-kw.h: Likewise.
37655
37656         [BZ #13673]
37657         * intl/plural.y: Replace FSF snail mail address with URL.
37658         * intl/plural.c: Regenerated.
37659
37660 2012-03-09  Richard Henderson  <rth@twiddle.net>
37661
37662         * include/math_private.h: Remove file.
37663         * math/math_private.h: Move file ...
37664         * sysdeps/generic/math_private.h: ... here.
37665
37666         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37667         * sysdeps/powerpc/fpu/math_private.h: Likewise.
37668         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37669
37670         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37671         and <math_private.h>.
37672         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37673         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37674         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37675         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37676         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37677         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37678         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37679         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37680         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37681         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37682         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37683         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37684         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37685         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37686         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37687         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37688         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37689         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37690         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37691         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37692         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37693         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37694         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37695         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37696         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37697         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37698         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37699         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37700         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37701         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37702         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37703         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37704         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37705         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37706         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37707         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37708         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37709         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37710         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37711         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37712         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37713         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37714         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37715         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37716         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37717         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37718         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37719         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37720         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37721         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37722         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37723         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37724         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37725         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37726         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37727         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37728         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37729         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37730         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37731         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37732         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37733         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37734         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37735         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37736         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37737         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37738         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37739         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37740         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37741         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37742         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37743         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37744         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37745         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37746         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37747         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37748         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37749         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37750         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37751         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37752         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37753         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37754         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37755         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37756         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37757         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37758         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37759         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37760         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37761         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37762         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37763         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37764         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37765         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37766         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37767         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37768         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37769         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37770         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37771         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37772         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37773         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37774         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37775         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37776         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37777         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37778         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37779         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37780         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37781         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37782         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37783         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37784         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37785         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37786         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37787         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37788         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37789         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37790         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37791         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37792         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37793         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37794         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37795         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37796         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37797         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37798         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37799         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37800         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37801         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37802         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37803         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37804         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37805         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37806         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37807         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37808         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37809         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37810         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37811         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37812         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37813         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37814         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37815         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37816         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37817         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37818         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37819         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37820         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37821         * sysdeps/ieee754/k_standard.c: Likewise.
37822         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37823         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37824         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37825         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37826         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37827         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37828         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37829         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37830         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37831         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37832         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37833         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37834         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37835         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37836         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37837         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37838         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37839         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37840         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37841         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37842         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37843         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37844         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37845         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37846         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37847         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37848         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37849         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37850         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37851         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37852         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37853         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37854         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37855         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37856         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37857         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37858         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37859         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37860         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37861         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37862         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37863         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37864         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37865         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37866         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37867         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37868         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37869         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37870         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37871         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37872         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37873         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37874         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37875         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37876         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37877         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37878         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37879         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37880         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37881         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37882         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37883         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37884         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37885         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37886         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37887         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37888         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37889         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37890         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37891         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37892         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37893         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37894         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37895         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37896         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37897         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37898         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37899         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37900         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37901         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37902         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37903         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37904         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37905         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37906         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37907         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37908         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37909         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37910         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37911         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37912         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37913         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37914         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37915         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37916         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37917         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37918         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37919         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37920         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37921         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37922         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37923         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37924         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37925         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37926         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37927         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37928         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37929         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37930         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37931         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37932         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37933         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37934         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37935         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37936         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37937         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37938         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37939         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37940         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37941         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37942         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37943         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37944         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37945         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37946         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37947         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37948         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37949         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37950         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37951         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37952         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37953         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37954         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37955         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37956         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37957         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37958         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37959         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37960         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37961         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37962         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37963         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37964         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37965         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37966         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37967         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37968         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37969         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37970         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37971         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37972         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37973         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37974         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37975         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37976         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37977         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37978         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37979         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37980         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37981         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37982         * sysdeps/ieee754/s_lib_version.c: Likewise.
37983         * sysdeps/ieee754/s_matherr.c: Likewise.
37984         * sysdeps/ieee754/s_signgam.c: Likewise.
37985         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37986         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37987         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37988         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37989         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37990         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37991         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37992         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37993         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37994         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37995         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37996         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37997         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37998         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37999         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38000         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38001         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38002         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38003         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38004         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38005         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38006
38007 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38008
38009         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38010         * sunrpc/rpc_main.c: Likewise.
38011         * sunrpc/rpc_svcout.c: Likewise.
38012
38013 2012-03-09  David S. Miller  <davem@davemloft.net>
38014
38015         * include/math_private.h: New file.
38016
38017 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38018
38019         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38020         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38021         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38022         from <bits/socket_type.h>.
38023         (enum __socket_type): Don't define here.
38024         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38025         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38026         bits/socket_type.h.
38027
38028         [BZ #13566]
38029         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38030         checking __USE_GNU.
38031
38032         * Makerules ($(inst_includedir)/%.h): New rule.
38033         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38034         (install-others): Remove variable setting.
38035         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38036
38037 2012-03-08  Richard Henderson  <rth@twiddle.net>
38038
38039         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38040         from macro to inline function; merge with the
38041         !__LIBC_INTERNAL_MATH_INLINES version.
38042         (__ieee754_sqrtf): Likewise.
38043
38044         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38045         to inline function.
38046         (__rintf, __floor, __floorf): Likewise.
38047
38048         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38049         macro to inline function.
38050         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38051
38052         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38053         not <math/math_private.h>.
38054
38055 2012-03-08  David S. Miller  <davem@davemloft.net>
38056
38057         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38058         copyright year.
38059         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38060
38061 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38062
38063         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38064         normalization.
38065         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38066         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38067
38068 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38069
38070         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38071         be defined individually, they must be defined as a block.  Define
38072         S for printing a string instead of hidint the different by using a
38073         macro for adding the 'l'.
38074         * stdio-common/tst-fphex-wide.c: Adjust.
38075
38076 2012-03-07  Marek Polacek  <polacek@redhat.com>
38077
38078         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38079
38080 2012-03-08  Marek Polacek  <polacek@redhat.com>
38081
38082         [BZ #13806]
38083         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38084         * stdio-common/tst-fphex.c: Define a few macros to make the
38085         test reusable.  Use them.
38086         * stdio-common/tst-fphex-wide.c: New file.
38087
38088 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38089
38090         [BZ #6911]
38091         * manual/macros.texi (gnusystems): New macro.
38092         (nongnusystems): Likewise.
38093         (gnulinuxhurdsystems): Likewise.
38094         (gnuhurdsystems): Likewise..
38095         (gnulinuxsystems): Likewise.
38096         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38097         variants of the GNU system, not "GNU system".
38098         * manual/conf.texi: Likewise.
38099         * manual/errno.texi: Likewise.  Update example of errno macro
38100         expansion.
38101         * manual/filesys.texi: Likewise.
38102         (getumask): Document as specific to GNU/Hurd.
38103         * manual/install.texi: Likewise.  Reword some references to
38104         GNU/Linux.
38105         * manual/intro.texi: Likewise.
38106         * manual/io.texi: Likewise.
38107         (File Name Portability): Detail which constraints are inapplicable
38108         to all GNU systems and which are only inapplicable to GNU/Hurd.
38109         * manual/job.texi: Likewise.
38110         * manual/llio.texi: Likewise.
38111         (O_NOCTTY): Document as present on GNU/Linux.
38112         * manual/maint.texi: Likewise.
38113         * manual/memory.texi: Likewise.
38114         * manual/pattern.texi: Likewise.
38115         * manual/pipe.texi: Likewise.
38116         * manual/process.texi: Likewise.
38117         * manual/resource.texi: Likewise.
38118         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38119         child on GNU/Hurd.
38120         * manual/setjmp.texi: Likewise.
38121         * manual/signal.texi: Likewise.
38122         * manual/startup.texi: Likewise.
38123         * manual/stdio.texi: Likewise.
38124         * manual/terminal.texi: Likewise.
38125         (ONLCR): Document as POSIX.
38126         (OXTABS): Document availability on GNU/Linux as XTABS.
38127         (ONOEOT): Document availability separately from other bits.
38128         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38129         * manual/time.texi: Likewise.
38130         * manual/users.texi: Likewise.
38131         * INSTALL: Regenerated.
38132         * sysdeps/gnu/errlist.c: Regenerated.
38133
38134         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38135         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38136         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38137         puts.
38138         * configure: Regenerated.
38139
38140 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38141
38142         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38143         default includes instead of AC_HEADER_CHECK.
38144         * sysdeps/i386/configure: Regenerated.
38145
38146         [BZ #10716]
38147         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38148         * math/s_cacoshf.c (__cacoshf): Likewise.
38149         * math/s_cacoshl.c (__cacoshl): Likewise.
38150         * math/s_casinh.c (__casinh): Set signs of result from argument.
38151         * math/s_casinhf.c (__casinhf): Likewise.
38152         * math/s_casinhl.c (__casinhl): Likewise.
38153         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38154         (casinh_test): Add more tests.
38155         * sysdeps/i386/fpu/libm-test-ulps: Update.
38156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38157
38158 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38159
38160         * po/zh_TW.po: Update from translation team.
38161
38162         * login/Makefile (distribute): Remove variable.
38163         * catgets/Makefile: Likewise.
38164         * mach/Makefile: Likewise.
38165         * malloc/Makefile: Likewise.
38166         * misc/Makefile: Likewise.
38167         * iconv/Makefile: Likewise.
38168         * nscd/Makefile: Likewise.
38169         * hurd/Makefile: Likewise.
38170         * manual/Makefile: Likewise.
38171         * locale/Makefile: Likewise.
38172         * intl/Makefile: Likewise.
38173         * conform/Makefile: Likewise.
38174         * nss/Makefile: Likewise.
38175         * time/Makefile: Likewise.
38176         * soft-fp/Makefile: Likewise.
38177         * dirent/Makefile: Likewise.
38178         * gmon/Makefile: Likewise.
38179         * po/Makefile: Likewise.
38180         * rt/Makefile: Likewise.
38181         * socket/Makefile: Likewise.
38182         * math/Makefile: Likewise.
38183         * signal/Makefile: Likewise.
38184         * debug/Makefile: Likewise.
38185         * elf/Makefile: Likewise.
38186         * timezone/Makefile: Likewise.
38187         * stdlib/Makefile: Likewise.
38188         * iconvdata/Makefile: Likewise.
38189         * sunrpc/Makefile: Likewise.
38190         * io/Makefile: Likewise.
38191         * argp/Makefile: Likewise.
38192         * inet/Makefile: Likewise.
38193         * hesiod/Makefile: Likewise.
38194         * grp/Makefile: Likewise.
38195         * csu/Makefile: Likewise.
38196         * wctype/Makefile: Likewise.
38197         * crypt/Makefile: Likewise.
38198         * libio/Makefile: Likewise.
38199         * string/Makefile: Likewise.
38200         * nis/Makefile: Likewise.
38201         * resolv/Makefile: Likewise.
38202         * stdio-common/Makefile: Likewise.
38203         * wcsmbs/Makefile: Likewise.
38204         * dlfcn/Makefile: Likewise.
38205         * posix/Makefile: Likewise.
38206
38207         [BZ #6959]
38208         * timezone/Makefile: Don't install timezone files, just the programs
38209         and scripts.
38210
38211 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38212
38213         * nss/databases.def: Add missing gshadow entry.
38214
38215         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38216
38217 2012-03-06  Marek Polacek  <polacek@redhat.com>
38218
38219         [BZ #13726]
38220         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38221         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38222         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38223         * stdio-common/tst-long-dbl-fphex.c: New file.
38224
38225 2012-03-06  David S. Miller  <davem@davemloft.net>
38226
38227         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38228         (set_obp_int): New function.
38229         (get_obp_int): New function.
38230         (__get_clockfreq_via_dev_openprom): Likewise.
38231         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38232         Avoid unused variable warnings on 'val' and use builtin_expect.
38233         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38234         __builtin_expect.
38235         (INLINE_CLONE_SYSCALL): Likewise.
38236
38237 2012-03-05  David S. Miller  <davem@davemloft.net>
38238
38239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38240
38241 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38242
38243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38244
38245         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38246         only for |x| >= 40.
38247         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38248
38249 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38250
38251         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38252         Replace gettimeofday with __vdso_gettimeofday.
38253
38254         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38255         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38256         __vdso_clock_gettime and __vdso_getcpu.
38257
38258         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38259         time with __vdso_time.
38260
38261 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38262
38263         * manual/lang.texi (size_t): Note types to which size_t may be
38264         equivalent with the GNU C Library, but do not describe when
38265         differences between them are significant.
38266
38267 2012-03-05  Andreas Jaeger  <aj@suse.de>
38268
38269         * sysdeps/i386/fpu/libm-test-ulps: Update.
38270
38271 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38272
38273         [BZ #3976]
38274         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38275         (__ieee754_pow): Save and restore rounding mode and use
38276         round-to-nearest for main computations.
38277         * math/libm-test.inc (pow_test_tonearest): New function.
38278         (pow_test_towardzero): Likewise.
38279         (pow_test_downward): Likewise.
38280         (pow_test_upward): Likewise.
38281         (main): Call the new functions.
38282         * sysdeps/i386/fpu/libm-test-ulps: Update.
38283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38284
38285         [BZ #3976]
38286         * math/libm-test.inc (cosh_test_tonearest): New function.
38287         (cosh_test_towardzero): Likewise.
38288         (cosh_test_downward): Likewise.
38289         (cosh_test_upward): Likewise.
38290         (sinh_test_tonearest): Likewise.
38291         (sinh_test_towardzero): Likewise.
38292         (sinh_test_downward): Likewise.
38293         (sinh_test_upward): Likewise.
38294         (main): Call the new functions.
38295         * sysdeps/i386/fpu/libm-test-ulps: Update.
38296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38297
38298 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38299
38300         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38301         default stack guard is set in last bytes.
38302         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38303
38304 2012-03-05  Kees Cook  <keescook@chromium.org>
38305
38306         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38307
38308         [BZ #13656]
38309         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38310         possibly allocate from heap instead of stack.
38311         * stdio-common/bug-vfprintf-nargs.c: New file.
38312         * stdio-common/Makefile (tests): Add nargs overflow test.
38313
38314 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38315
38316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38317
38318 2012-03-03  Marek Polacek  <polacek@redhat.com>
38319
38320         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38321         * math/math_private.h: Likewise.
38322         * stdlib/tst-strtod.c: Likewise.
38323         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38324         * sysdeps/x86_64/bits/atomic.h: Likewise.
38325
38326 2012-03-02  David S. Miller  <davem@davemloft.net>
38327
38328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38332         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38333         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38334         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38335         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38336
38337 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38338
38339         [BZ #13792]
38340         * manual/examples/README: New file, says the example source files
38341         can be used under GPL>=2.
38342         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38343         line containing just "*/".
38344         * manual/examples/add.c: Add copyright header (GPL>=2).
38345         * manual/examples/argp-ex1.c: Likewise.
38346         * manual/examples/argp-ex2.c: Likewise.
38347         * manual/examples/argp-ex3.c: Likewise.
38348         * manual/examples/argp-ex4.c: Likewise.
38349         * manual/examples/atexit.c: Likewise.
38350         * manual/examples/db.c: Likewise.
38351         * manual/examples/dir.c: Likewise.
38352         * manual/examples/dir2.c: Likewise.
38353         * manual/examples/execinfo.c: Likewise.
38354         * manual/examples/filecli.c: Likewise.
38355         * manual/examples/filesrv.c: Likewise.
38356         * manual/examples/fmtmsgexpl.c: Likewise.
38357         * manual/examples/genpass.c: Likewise.
38358         * manual/examples/inetcli.c: Likewise.
38359         * manual/examples/inetsrv.c: Likewise.
38360         * manual/examples/isockad.c: Likewise.
38361         * manual/examples/longopt.c: Likewise.
38362         * manual/examples/memopen.c: Likewise.
38363         * manual/examples/memstrm.c: Likewise.
38364         * manual/examples/mkfsock.c: Likewise.
38365         * manual/examples/mkisock.c: Likewise.
38366         * manual/examples/mygetpass.c: Likewise.
38367         * manual/examples/pipe.c: Likewise.
38368         * manual/examples/popen.c: Likewise.
38369         * manual/examples/rprintf.c: Likewise.
38370         * manual/examples/search.c: Likewise.
38371         * manual/examples/select.c: Likewise.
38372         * manual/examples/setjmp.c: Likewise.
38373         * manual/examples/sigh1.c: Likewise.
38374         * manual/examples/sigusr.c: Likewise.
38375         * manual/examples/stpcpy.c: Likewise.
38376         * manual/examples/strdupa.c: Likewise.
38377         * manual/examples/strftim.c: Likewise.
38378         * manual/examples/strncat.c: Likewise.
38379         * manual/examples/subopt.c: Likewise.
38380         * manual/examples/swapcontext.c: Likewise.
38381         * manual/examples/termios.c: Likewise.
38382         * manual/examples/testopt.c: Likewise.
38383         * manual/examples/testpass.c: Likewise.
38384         * manual/examples/timeval_subtract.c: Likewise.
38385
38386         [BZ #13792]
38387         * manual/time.texi (Elapsed Time): Move timeval_subtract example
38388         function to ...
38389         * manual/timeval_subtract.c.texi: ... here, new file.
38390
38391 2012-03-02  David S. Miller  <davem@davemloft.net>
38392
38393         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38394
38395 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
38396
38397         [BZ #3976]
38398         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38399         (__sin): Save and restore rounding mode and use round-to-nearest
38400         for all computations.
38401         (__cos): Save and restore rounding mode and use round-to-nearest
38402         for all computations.
38403         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38404         <fenv.h>.
38405         (tan): Save and restore rounding mode and use round-to-nearest for
38406         all computations.
38407         * math/libm-test.inc (cos_test_tonearest): New function.
38408         (cos_test_towardzero): Likewise.
38409         (cos_test_downward): Likewise.
38410         (cos_test_upward): Likewise.
38411         (sin_test_tonearest): Likewise.
38412         (sin_test_towardzero): Likewise.
38413         (sin_test_downward): Likewise.
38414         (sin_test_upward): Likewise.
38415         (tan_test_tonearest): Likewise.
38416         (tan_test_towardzero): Likewise.
38417         (tan_test_downward): Likewise.
38418         (tan_test_upward): Likewise.
38419         (main): Call the new functions.
38420         * sysdeps/i386/fpu/libm-test-ulps: Update.
38421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38422
38423         [BZ #10135]
38424         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38425         small n, then large n, before computing and testing k+n.
38426         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38427         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38428         Likewise.
38429         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38430         Likewise.
38431         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38432         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38433         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38434         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38435         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38436         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38437         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38438         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38439         * math/libm-test.inc (scalbn_test): Add more tests.
38440         (scalbln_test): Likewise.
38441
38442         * manual/filesys.texi (mode_t): Describe constraints on size and
38443         signedness, not exact equivalence to a particular type.
38444         (ino_t): Likewise.
38445         (ino64_t): Likewise.
38446         (dev_t): Likewise.
38447         (nlink_t): Likewise.
38448         (blkcnt_t): Likewise.
38449         (blkcnt64_t): Likewise.
38450         * manual/llio.texi (off_t): Likewise.
38451
38452         [BZ #3976]
38453         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38454         (__ieee754_exp): Save and restore rounding mode and use
38455         round-to-nearest for all computations.
38456         * math/libm-test.inc (exp_test_tonearest): New function.
38457         (exp_test_towardzero): Likewise.
38458         (exp_test_downward): Likewise.
38459         (exp_test_upward): Likewise.
38460         (main): Call the new functions.
38461         * sysdeps/i386/fpu/libm-test-ulps: Update.
38462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38463
38464 2012-03-01  Chris Demetriou  <cgd@google.com>
38465
38466         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38467         have predictable order.
38468
38469 2012-03-01  David S. Miller  <davem@davemloft.net>
38470
38471         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38472
38473         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38474         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38475         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38476         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38477
38478         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38479         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38480         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38482         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38483         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38484         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38485         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38486         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38487
38488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38489
38490         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38491         * sysdeps/sparc/fpu/libm-test-ulps: to here.
38492         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38493
38494         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38495         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38496         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38497         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38498         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38499         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38500         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38501         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38502         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38503         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38504         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38505         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38506         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38507         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38508         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38509         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38510         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38511         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38512         * sysdeps/sparc/elf/configure: Regenerated.
38513
38514 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
38515
38516         * configure.in (AS, LD): Require binutils 2.20 or later.
38517         * configure: Regenerated.
38518         * manual/install.texi (Tools for Compilation): Give binutils 2.20
38519         as required minimum version.
38520         * INSTALL: Regenerated.
38521
38522         [BZ #2541]
38523         [BZ #4108]
38524         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38525         before squaring exponent.
38526         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38527         bottom long double and 27 bits of top long double before squaring
38528         exponent.
38529         * math/libm-test.inc (erfc_test): Add more tests.
38530         * sysdeps/i386/fpu/libm-test-ulps: Update.
38531         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38533
38534 2012-03-01  Kai Tietz  <ktietz@redhat.com>
38535
38536         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38537         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38538         containing bit-fields.
38539         * soft-fp/extended.h (_FP_UNION_E): Likewise.
38540         * soft-fp/single.h (_FP_UNION_S): Likewise.
38541         * soft-fp/double.h (_FP_UNION_D): Likewise.
38542
38543 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38544
38545         [BZ #13786]
38546         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38547         not include ../strcmp.S.
38548         [USE_AS_STRNCASECMP_L]: Likewise.
38549         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38550         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38551         * sysdeps/i386/i686/multiarch/strncase_l-c.c
38552         (__strncasecmp_l_ia32): Define as alias to
38553         __strncasecmp_l_nonascii.
38554
38555         [BZ #5794]
38556         * math/libm-test.inc (expm1_test): Add test for bug 5794.
38557         * sysdeps/i386/fpu/libm-test-ulps: Update.
38558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38559
38560         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38562
38563 2012-02-29  Jeff Law  <law@redhat.com>
38564
38565         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38566         out of bounds read.
38567
38568 2012-02-29  Marek Polacek  <polacek@redhat.com>
38569
38570         [BZ #13706]
38571         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38572         * elf/Makefile: Add rules to run tst-unused-dep.out.
38573
38574 2012-02-28  David S. Miller  <davem@davemloft.net>
38575
38576         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38577         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38578         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38579         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38580         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38581         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38582
38583 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38584
38585         * math/libm-test.inc (llround_test): Move one test from
38586         lround_test.  Use TEST_f_L in moved test.
38587         (lround_test): Move misplaced test to llround_test.  Add testcase
38588         from bug 2561.
38589
38590 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
38591
38592         * sysdeps/x86_64/fpu/e_expf.S: New file.
38593         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38594
38595 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
38596
38597         [BZ #13637]
38598         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38599         of remain_len that may cause incomplete multi-byte character and
38600         false match.
38601         * posix/bug-regex33.c: New file.
38602         * posix/Makefile (tests): Add bug-regex33.
38603
38604 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
38605
38606         * manual/macros.texi: New file.
38607         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38608         * manual/libc.texinfo: Include macros.texi.
38609         * manual/creatute.texi: Likewise.
38610         * manual/install.texi: Likewise.
38611         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38612         @glibcadj{} in references to the GNU C Library.
38613         * manual/charset.texi: Likewise.
38614         * manual/conf.texi: Likewise.
38615         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
38616         when not using those macros.
38617         * manual/creature.texi: Likewise.
38618         * manual/crypt.texi: Likewise.
38619         * manual/errno.texi: Likewise.
38620         * manual/filesys.texi: Likewise.
38621         * manual/header.texi: Likewise.
38622         * manual/install.texi: Likewise.
38623         * manual/intro.texi: Likewise.
38624         * manual/io.texi: Likewise.
38625         * manual/job.texi: Likewise.
38626         * manual/lang.texi: Likewise.
38627         * manual/libc.texiinfo: Likewise.
38628         * manual/llio.texi: Likewise.
38629         * manual/locale.texi: Likewise.
38630         * manual/maint.texi: Likewise.
38631         * manual/math.texi: Likewise.
38632         * manual/memory.texi: Likewise.
38633         * manual/message.texi: Likewise.
38634         * manual/nss.texi: Likewise.
38635         * manual/pattern.texi: Likewise.
38636         * manual/process.texi: Likewise.
38637         * manual/resource.texi: Likewise.
38638         * manual/search.texi: Likewise.
38639         * manual/setjmp.texi: Likewise.
38640         * manual/signal.texi: Likewise.
38641         * manual/socket.texi: Likewise.
38642         * manual/startup.texi: Likewise.
38643         * manual/stdio.texi: Likewise.
38644         * manual/string.texi: Likewise.
38645         * manual/sysinfo.texi: Likewise.
38646         * manual/syslog.texi: Likewise.
38647         * manual/terminal.texi: Likewise.
38648         * manual/time.texi: Likewise.
38649         * manual/users.texi: Likewise.
38650         * INSTALL: Regenerated.
38651         * NOTES: Regenerated.
38652         * sysdeps/gnu/errlist.c: Regenerated.
38653
38654 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
38655
38656         * include/dirent.h: Include <dirstream.h> before
38657         <dirent/dirent.h>.
38658
38659 2012-02-28  David S. Miller  <davem@davemloft.net>
38660
38661         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38662         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38663         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38664         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38665
38666 2012-02-27  David S. Miller  <davem@davemloft.net>
38667
38668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38670         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38671         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38672
38673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38674         frame pointer instead of stack pointer relative arg slot.
38675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38676         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38677         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38678
38679 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
38680
38681         [BZ #3992]
38682         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38683
38684 2012-02-27  David S. Miller  <davem@davemloft.net>
38685
38686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38690         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38691         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38692         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38693         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38694
38695 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38696
38697         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38698         later.  Allow versions 5-9.
38699         * configure: Regenerated.
38700         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38701         required minimum version and 4.6 as recommended version.  Do not
38702         mention bugs in GCC 2.7 and 2.8.
38703         * INSTALL: Regenerated.
38704
38705 2012-02-27  David S. Miller  <davem@davemloft.net>
38706
38707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38711         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38712         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38713         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38714         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38715
38716         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38717         manipulate bits before adding and subtracting TWO112[sx].
38718         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38719
38720 2012-02-27  Roland McGrath  <roland@hack.frob.com>
38721
38722         [BZ #13775]
38723         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38724         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38725         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38726         being in POSIX, because they are in 1003.1-2008.
38727
38728         * rt/tst-aio.c: Include <fcntl.h>.
38729         * rt/tst-aio7.c: Likewise.
38730         * rt/tst-aio64.c: Likewise.
38731
38732         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38733
38734 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38735
38736         * manual/install.texi (--with-headers): Describe headers as
38737         interface headers, not private headers.
38738         (Specific advice for GNU/Linux systems): Describe use of headers
38739         from "make headers_install", not private headers from older
38740         kernels.
38741         * INSTALL: Regenerated.
38742         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38743         Change to 2.6.19.
38744         * sysdeps/unix/sysv/linux/configure: Regenerated.
38745
38746         * manual/llio.texi (fclean): Remove documentation.
38747
38748         * manual/Makefile (libc-texi-generated): New variable.  Include
38749         version.texi.
38750         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38751         $(libc-texi-generated), not duplicated list of files.
38752         (version.texi, stamp-version): New rules.
38753         (realclean): Remove $(libc-texi-generated), not individual files
38754         from that list.  Do not remove dir-add.texinfo.
38755         * manual/libc.texinfo: Comment out uses of edition numbers and
38756         references to printed manual.  Remove last-updated dates.
38757         (EDITION): Comment out.
38758         (ISBN): Likewise.
38759         (VERSION, UPDATED): Remove.
38760         (version.texi): Include.
38761
38762 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
38763
38764         * sysdeps/posix/spawni.c: Include <signal.h>.
38765         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38766         * sysdeps/pthread/aio_fsync.c: Likewise.
38767
38768 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
38769
38770         * conform/Makefile (tests): Run only when not cross-compiling and
38771         when fast-check is not defined.
38772
38773         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38774         * conform/data/limits.h-data: Fixes for POSIX2008.
38775         * conform/run-conformtest.sh: Run all tests.
38776         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38777         headers.
38778         * include/bits/dlfcn.h: Likewise.
38779         * include/langinfo.h: Likewise.
38780         * include/monetary.h: Likewise.
38781         * include/sys/poll.h: Likewise.
38782
38783         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38784         for __USE_GNU.
38785         * posix/spawn.h: Define __need_sigset_t.
38786         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38787         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38788         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
38789         to get sigevent_t only.
38790         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38791         only for __USE_GNU.
38792         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38793         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38794         process_vm_writev only for __USE_GNU.
38795         * termios/termios.h: Declare tcgetsid also for POSIX2008.
38796
38797         * conform/Makefile: For now ignore errors from run-conformtest.
38798         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
38799         POSIX to avoid namespace pollution.  Don't prepend headers.
38800         * conform/data/aio.h-data: Fixes for POSIX testing.
38801         * conform/data/fcntl.h-data: Likewise.
38802         * conform/data/glob.h-data: Likewise.
38803         * conform/data/grp.h-data: Likewise.
38804         * conform/data/pthread.h-data: Likewise.
38805         * conform/data/pwd.h-data: Likewise.
38806         * conform/data/signal.h-data: Likewise.
38807         * conform/data/spawn.h-data: Likewise.
38808         * conform/data/stdio.h-data: Likewise.
38809         * conform/data/stdlib.h-data: Likewise.
38810         * conform/data/stropts.h-data: Likewise.
38811         * conform/data/sys/mman.h-data: Likewise.
38812         * conform/data/sys/stat.h-data: Likewise.
38813         * conform/data/sys/types.h-data: Likewise.
38814         * conform/data/sys/wait.h-data: Likewise.
38815         * conform/data/time.h-data: Likewise.
38816         * conform/data/unistd.h-data: Likewise.
38817         * conform/data/utime.h-data: Likewise.
38818
38819         * io/sys/stat.h: fchmod was always in POSIX.
38820         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38821         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38822         * rt/aio.h: Define __need_timespec before including <time.h>.
38823         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38824         struct.  Add forward declaration of pthread_attr_t and use it in
38825         sigevent.
38826         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38827         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38828         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38829         always remove CLK_TCK definition.
38830
38831 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
38832
38833         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38834
38835 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
38836
38837         * conform/run-conformtest.sh: New file.
38838         * conform/Makefile: Run run-conformtest for tests.
38839         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
38840         support.
38841
38842         * conform/data/uchar.h-data: New file.
38843         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38844         * conform/data/arpa/inet.h-data: Likewise.
38845         * conform/data/assert.h-data: Likewise.
38846         * conform/data/complex.h-data: Likewise.
38847         * conform/data/cpio.h-data: Likewise.
38848         * conform/data/ctype.h-data: Likewise.
38849         * conform/data/dirent.h-data: Likewise.
38850         * conform/data/dlfcn.h-data: Likewise.
38851         * conform/data/errno.h-data: Likewise.
38852         * conform/data/fcntl.h-data: Likewise.
38853         * conform/data/float.h-data: Likewise.
38854         * conform/data/fmtmsg.h-data: Likewise.
38855         * conform/data/fnmatch.h-data: Likewise.
38856         * conform/data/ftw.h-data: Likewise.
38857         * conform/data/glob.h-data: Likewise.
38858         * conform/data/grp.h-data: Likewise.
38859         * conform/data/iconv.h-data: Likewise.
38860         * conform/data/inttypes.h-data: Likewise.
38861         * conform/data/langinfo.h-data: Likewise.
38862         * conform/data/libgen.h-data: Likewise.
38863         * conform/data/limits.h-data: Likewise.
38864         * conform/data/locale.h-data: Likewise.
38865         * conform/data/math.h-data: Likewise.
38866         * conform/data/monetary.h-data: Likewise.
38867         * conform/data/mqueue.h-data: Likewise.
38868         * conform/data/ndbm.h-data: Likewise.
38869         * conform/data/net/if.h-data: Likewise.
38870         * conform/data/netdb.h-data: Likewise.
38871         * conform/data/netinet/in.h-data: Likewise.
38872         * conform/data/nl_types.h-data: Likewise.
38873         * conform/data/poll.h-data: Likewise.
38874         * conform/data/pthread.h-data: Likewise.
38875         * conform/data/pwd.h-data: Likewise.
38876         * conform/data/regex.h-data: Likewise.
38877         * conform/data/sched.h-data: Likewise.
38878         * conform/data/search.h-data: Likewise.
38879         * conform/data/semaphore.h-data: Likewise.
38880         * conform/data/setjmp.h-data: Likewise.
38881         * conform/data/signal.h-data: Likewise.
38882         * conform/data/spawn.h-data: Likewise.
38883         * conform/data/stdarg.h-data: Likewise.
38884         * conform/data/stdio.h-data: Likewise.
38885         * conform/data/stdlib.h-data: Likewise.
38886         * conform/data/string.h-data: Likewise.
38887         * conform/data/strings.h-data: Likewise.
38888         * conform/data/stropts.h-data: Likewise.
38889         * conform/data/sys/ipc.h-data: Likewise.
38890         * conform/data/sys/mman.h-data: Likewise.
38891         * conform/data/sys/msg.h-data: Likewise.
38892         * conform/data/sys/resource.h-data: Likewise.
38893         * conform/data/sys/select.h-data: Likewise.
38894         * conform/data/sys/sem.h-data: Likewise.
38895         * conform/data/sys/shm.h-data: Likewise.
38896         * conform/data/sys/socket.h-data: Likewise.
38897         * conform/data/sys/stat.h-data: Likewise.
38898         * conform/data/sys/statvfs.h-data: Likewise.
38899         * conform/data/sys/time.h-data: Likewise.
38900         * conform/data/sys/timeb.h-data: Likewise.
38901         * conform/data/sys/times.h-data: Likewise.
38902         * conform/data/sys/types.h-data: Likewise.
38903         * conform/data/sys/uio.h-data: Likewise.
38904         * conform/data/sys/un.h-data: Likewise.
38905         * conform/data/sys/utsname.h-data: Likewise.
38906         * conform/data/sys/wait.h-data: Likewise.
38907         * conform/data/syslog.h-data: Likewise.
38908         * conform/data/tar.h-data: Likewise.
38909         * conform/data/termios.h-data: Likewise.
38910         * conform/data/utime.h-data: Likewise.
38911         * conform/data/utmpx.h-data: Likewise.
38912         * conform/data/varargs.h-data: Likewise.
38913         * conform/data/wchar.h-data: Likewise.
38914         * conform/data/wctype.h-data: Likewise.
38915         * conform/data/wordexp.h-data: Likewise.
38916
38917         * include/stropts.h: New file.
38918         * include/uchar.h: New file.
38919         * include/aio.h: Changes to allow conformtest.pl to use the headers.
38920         * include/assert.h: Likewise.
38921         * include/ctype.h: Likewise.
38922         * include/dirent.h: Likewise.
38923         * include/dlfcn.h: Likewise.
38924         * include/fcntl.h: Likewise.
38925         * include/fnmatch.h: Likewise.
38926         * include/glob.h: Likewise.
38927         * include/grp.h: Likewise.
38928         * include/libio.h: Likewise.
38929         * include/locale.h: Likewise.
38930         * include/math.h: Likewise.
38931         * include/net/if.h: Likewise.
38932         * include/netdb.h: Likewise.
38933         * include/netinet/in.h: Likewise.
38934         * include/pthread.h: Likewise.
38935         * include/pwd.h: Likewise.
38936         * include/regex.h: Likewise.
38937         * include/sched.h: Likewise.
38938         * include/search.h: Likewise.
38939         * include/setjmp.h: Likewise.
38940         * include/signal.h: Likewise.
38941         * include/stdio.h: Likewise.
38942         * include/stdlib.h: Likewise.
38943         * include/string.h: Likewise.
38944         * include/sys/cdefs.h: Likewise.
38945         * include/sys/mman.h: Likewise.
38946         * include/sys/msg.h: Likewise.
38947         * include/sys/resource.h: Likewise.
38948         * include/sys/select.h: Likewise.
38949         * include/sys/socket.h: Likewise.
38950         * include/sys/stat.h: Likewise.
38951         * include/sys/statvfs.h: Likewise.
38952         * include/sys/time.h: Likewise.
38953         * include/sys/times.h: Likewise.
38954         * include/sys/uio.h: Likewise.
38955         * include/sys/utsname.h: Likewise.
38956         * include/sys/wait.h: Likewise.
38957         * include/termios.h: Likewise.
38958         * include/time.h: Likewise.
38959         * include/ulimit.h: Likewise.
38960         * include/unistd.h: Likewise.
38961         * include/utime.h: Likewise.
38962         * include/wchar.h: Likewise.
38963         * include/wctype.h: Likewise.
38964         * include/wordexp.h: Likewise.
38965
38966         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38967
38968         * time/time.h: TIME_UTC must be a macro.
38969         Make timespec_get available for ISO C11 only as well.
38970
38971 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
38972
38973         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38974         Reported by Peng Haitao <penght@cn.fujitsu.com>.
38975
38976 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38977
38978         * configure.in: Use -o not -a in test for unsupported multi-arch.
38979
38980 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38981
38982         * manual/texinfo.tex: Update to version 2012-01-19.16.
38983
38984 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38985
38986         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38987
38988 2012-02-24  Roland McGrath  <roland@hack.frob.com>
38989
38990         [BZ #13738]
38991         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38992         * manual/fdl-1.3.texi: New file.
38993         * manual/fdl-1.1.texi: File removed.
38994
38995         [BZ #13738]
38996         * manual/libc.texinfo (FDL_VERSION): New @set.
38997         Use it for mention of FDL in cover text.
38998         (Documentation License): Use it in @include file name.
38999
39000 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39001             Roland McGrath  <roland@hack.frob.com>
39002
39003         [BZ #5461]
39004         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39005         (not LONG_LONG_MAX and LONG_LONG_MIN.
39006         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39007         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39008         name.
39009         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39010
39011 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39012
39013         [BZ #2547]
39014         [BZ #11365]
39015         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39016         manipulate bits before adding and subtracting TWO23[sx].
39017         * math/libm-test.inc (nearbyint_test): Add more tests.
39018
39019 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39020
39021         [BZ #2548]
39022         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39023         bits before adding and subtracting TWO23[sx].
39024         * math/libm-test.inc (rint_test): Add more tests.
39025         (rint_test_tonearest): Likewise.
39026         (rint_test_towardzero): Likewise.
39027         (rint_test_downward): Likewise.
39028         (rint_test_upward: Likewise.
39029
39030 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39031
39032         [BZ #10110]
39033         * include/stdc-predef.h: New file.  Extracted from features.h.
39034         * include/features.h: Include stdc-predef.h.
39035         * Makefile (headers): Add stdc-predef.h.
39036         * CONFORMANCE (Compiler limitations): Update.
39037
39038 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39039
39040         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39041
39042 2012-02-21  David S. Miller  <davem@davemloft.net>
39043
39044         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39045         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39046
39047 2012-02-20  David S. Miller  <davem@davemloft.net>
39048
39049         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39050         using a normal save/restore sequence, rather than allocating a
39051         dummy stack frame just to store a frame pointer and restore.
39052         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39053
39054 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39055
39056         * manual/install.texi: Fix stray word in line-wrapped comment.
39057
39058 2012-02-20  David S. Miller  <davem@davemloft.net>
39059
39060         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39061         both binutils and gcc support GOTDATA.
39062
39063         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39064         "rd %pc" in the PIC register setup sequences.
39065
39066         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39067         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39068         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39069         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39070         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39071         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39072         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39073         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39074         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39075         (SYSCALL_ERROR_HANDLER): Likewise.
39076         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39077         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39078         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39079         (SYSCALL_ERROR_HANDLER): Likewise.
39080
39081         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39082         (HAVE_GCC_GOTDATA): New.
39083         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39084         relocation support in both binutils and gcc.
39085         * sysdeps/sparc/elf/configure: Regenerate.
39086
39087         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39088         * sysdeps/sparc/sparc32/elf/configure: Delete.
39089         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39090         * sysdeps/sparc/sparc64/elf/configure: Delete.
39091         * sysdeps/sparc/elf/configure.in: New file.
39092         * sysdeps/sparc/elf/configure: Generate.
39093
39094         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39095         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39096         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39097         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39098         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39099
39100 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39101
39102         * manual/install.texi: Do not mention specific glibc version
39103         numbers.
39104         * manual/libc.texinfo (VERSION, UPDATED): Update.
39105         (@copying): Use @copyright{} and range of years.
39106
39107 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39108
39109         [BZ #13695]
39110         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39111         [crti.S not in sysdirs] (generated): Do not append.
39112         [crti.S not in sysdirs] (omit-deps): Likewise.
39113         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39114         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39115         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39116         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39117         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39118         Likewise.
39119         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39120         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39121         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39122         * csu/defs.awk: Remove file.
39123         * sysdeps/generic/initfini.c: Likewise.
39124         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39125         variable.
39126         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39127         Likewise.
39128
39129 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39130
39131         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39132         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39133         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39134         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39135         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39136         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39137         <bits/epoll.h>.
39138         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39139         (__EPOLL_PACKED): Define to empty if not defined by
39140         <bits/epoll.h>.
39141         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39142         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39143         bits/epoll.h.
39144
39145 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39146
39147         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39148         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39149         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39150         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39151         <bits/timerfd.h>.
39152         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39153         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39154         bits/timerfd.h.
39155
39156 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39157
39158         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39159         in C locale.
39160         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39161         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39162         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39164
39165 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39166
39167         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39168         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39169
39170 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39171
39172         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39173         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39174         defined.
39175         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39176         Likewise.
39177         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39178         entry for 2.16.
39179
39180 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39181
39182         * math/w_acos.c: Use non-signaling floating-point comparisons.
39183         * math/w_acosf.c: Likewise.
39184         * math/w_acosh.c: Likewise.
39185         * math/w_acoshf.c: Likewise.
39186         * math/w_acoshl.c: Likewise.
39187         * math/w_acosl.c: Likewise.
39188         * math/w_asin.c: Likewise.
39189         * math/w_asinf.c: Likewise.
39190         * math/w_asinl.c: Likewise.
39191         * math/w_atanh.c: Likewise.
39192         * math/w_atanhf.c: Likewise.
39193         * math/w_atanhl.c: Likewise.
39194         * math/w_exp2.c: Likewise.
39195         * math/w_exp2f.c: Likewise.
39196         * math/w_exp2l.c: Likewise.
39197         * math/w_j0.c: Likewise.
39198         * math/w_j0f.c: Likewise.
39199         * math/w_j0l.c: Likewise.
39200         * math/w_j1.c: Likewise.
39201         * math/w_j1f.c: Likewise.
39202         * math/w_j1l.c: Likewise.
39203         * math/w_jn.c: Likewise.
39204         * math/w_jnf.c: Likewise.
39205         * math/w_log.c: Likewise.
39206         * math/w_log10.c: Likewise.
39207         * math/w_log10f.c: Likewise.
39208         * math/w_log10l.c: Likewise.
39209         * math/w_log2.c: Likewise.
39210         * math/w_log2f.c: Likewise.
39211         * math/w_log2l.c: Likewise.
39212         * math/w_logf.c: Likewise.
39213         * math/w_logl.c: Likewise.
39214         * math/w_sqrt.c: Likewise.
39215         * math/w_sqrtf.c: Likewise.
39216         * math/w_sqrtl.c: Likewise.
39217         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39218         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39219         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39220         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39221         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39222
39223 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39224
39225         [BZ #9739]
39226         * manual/string.texi (strnlen): Use correct parameter name in
39227         equivalent expression.
39228
39229 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39230
39231         [BZ #11174]
39232         * manual/users.texi (seteuid): Consistently use neweuid for
39233         argument name.
39234
39235 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39236
39237         [BZ #13704]
39238         * manual/nss.texi (Services in the NSS configuration): Correct
39239         list of services in example configuration file.
39240
39241 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39242
39243         [BZ #11322]
39244         * manual/arith.texi: Remove statements about negative zero
39245         behaving identically to zero.
39246
39247 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39248
39249         [BZ #5993]
39250         * manual/install.texi: Do not document upgrading from libc5.
39251
39252 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39253
39254         [BZ #4596]
39255         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39256
39257 2012-02-18  David S. Miller  <davem@davemloft.net>
39258
39259         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39260         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39261         %o7 across the call.
39262         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39263         instead.
39264         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39265         SETUP_PIC_REG_LEAF.
39266         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39267         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39268         * sysdeps/sparc/crtn.S: Likewise.
39269
39270 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39271
39272         * aout/Makefile: Remove.
39273
39274 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39275
39276         [BZ #13058]
39277         * manual/examples/argp-ex1.c (main): Format definition in GNU
39278         style.
39279         * manual/examples/argp-ex2.c (main): Likewise.
39280         * manual/examples/argp-ex3.c (main): Likewise.
39281         * manual/examples/argp-ex4.c (main): Likewise.
39282         * manual/examples/longopt.c (main): Use new-style prototype
39283         definition.
39284         * manual/examples/strncat.c (main): Specify return type and use
39285         (void) for arguments.
39286         * manual/examples/subopt.c (main): Use char **argv argument.
39287
39288 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39289
39290         [BZ #5077]
39291         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39292         rounding modes.
39293
39294 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39295
39296         [BZ #6907]
39297         * manual/string.texi (strchr): Change when strchrnul is
39298         recommended.
39299
39300 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39301
39302         [BZ #174]
39303         * manual/locale.texi (setlocale): Document LOCPATH.
39304
39305 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39306
39307         [BZ #10210]
39308         * manual/process.texi (execle): Move @dots{} before last argument.
39309
39310 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39311
39312         [BZ #12047]
39313         * manual/charset.texi (Generic Charset Conversion): Fix typo
39314         (LC_TYPE -> LC_CTYPE).
39315
39316 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39317
39318         [BZ #5805]
39319         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39320         (scalbnf): Likewise.
39321         (scalbnl): Likewise.
39322         (scalbln): Likewise.
39323         (scalblnf): Likewise.
39324         (scalblnl): Likewise.
39325         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39326         (vwarnx): Likewise.
39327         (verr): Likewise.
39328         (verrx): Likewise.
39329         * manual/filesys.texi (telldir): Use braces around return type.
39330         * manual/llio.texi (mmap): Add space after comma.
39331         (mmap64): Likewise.
39332         * manual/math.texi (jn): Use @var{} on parameter names.
39333         (jnf): Likewise.
39334         (jnl): Likewise.
39335         (yn): Likewise.
39336         (ynf): Likewise.
39337         (ynl): Likewise.
39338         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39339         line.
39340         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39341         "...".
39342         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39343         (sched_get_priority_max): Likewise.
39344         * manual/signal.texi (sigvec): Add space after comma.
39345         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39346         names.
39347         (if_indextoname): Likewise.
39348         (if_freenameindex): Likewise.
39349         (sendto): Use ',' instead of '.' in prototype.
39350         * manual/startup.texi (syscall): Use @dots{} instead of literal
39351         "...".
39352         * manual/stdio.texi (__fpending): Separate initial words of
39353         paragraph from @deftypefun line.
39354         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39355         "...".
39356         (vsyslog): Use @var{} on parameter names.
39357         * manual/terminal.texi (stty): Use @var{} on parameter names.
39358         * manual/users.texi (getutmp): Use @var{} on parameter names.
39359         (getutmpx): Likewise.
39360
39361 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39362
39363         [BZ #6884]
39364         * manual/stdio.texi (fopen): Fix typos in description of
39365         ",ccs=STRING".
39366
39367 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39368
39369         [BZ #4026]
39370         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39371         get clock_id definition.
39372
39373 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39374
39375         [BZ #4822]
39376         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39377         (madvise): Cast every argument to void on its own.
39378
39379 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39380
39381         [BZ #9902]
39382         * manual/startup.texi (Exit Status): Fix typo.
39383
39384 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39385
39386         [BZ #10140]
39387         * manual/examples/argp-ex1.c: Include <stdlib.h>.
39388         * manual/examples/argp-ex2.c: Likewise.
39389         * manual/examples/argp-ex3.c: Likewise.
39390
39391 2012-02-16  Richard Henderson  <rth@redhat.com>
39392
39393         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39394         * sysdeps/s390/s390-32/initfini.c: Remove.
39395         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39396         * sysdeps/s390/s390-64/initfini.c: Remove.
39397
39398 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39399
39400         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39401         compiler output for sysdeps/generic/initfini.c.
39402         * sysdeps/sh/elf/initfini.c: Remove file.
39403
39404 2012-02-16  David S. Miller  <davem@davemloft.net>
39405
39406         [BZ #11494]
39407         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39408
39409         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39410         * sysdeps/sparc/crti.S: New file.
39411         * sysdeps/sparc/crtn.S: New file.
39412         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39413         * sysdeps/sparc/sparc64/Makefile: Likewise.
39414
39415 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
39416
39417         [BZ #3335]
39418         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39419
39420 2012-02-15  Roland McGrath  <roland@hack.frob.com>
39421
39422         [BZ #4822]
39423         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39424
39425         * mach/devstream.c (cookie_io_functions_t): Macro removed.
39426         (write, read, close): Likewise.
39427         Patch by Aurelien Jarno <aurelien@aurel32.net>.
39428
39429 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
39430
39431         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39432         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39433         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39434         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39435         <bits/signalfd.h>.
39436         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39437         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39438         bits/signalfd.h.
39439
39440 2012-02-14  Marek Polacek  <polacek@redhat.com>
39441
39442         * sysdeps/x86_64/crti.S: New file.
39443         * sysdeps/x86_64/crtn.S: New file.
39444         * sysdeps/x86_64/elf/initfini.c: Remove file.
39445
39446 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39447
39448         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39449         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39450         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39451         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39452         <bits/inotify.h>.
39453         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39454         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39455         bits/inotify.h.
39456
39457 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39458
39459         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39460         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39461         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39462         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39463         <bits/eventfd.h>.
39464         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39465         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39466         bits/eventfd.h.
39467
39468 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
39469
39470         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39471         __feraiseexcept instead of feraiseexcept.
39472
39473         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39474         nanosleep invocations.
39475         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39476         strings, and add error checking for a nanosleep invocations.
39477
39478 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
39479
39480         Replace FSF snail mail address with URLs, as per GNU coding standards.
39481         Most of the snail mail addresses were wrong anyway, and omitting
39482         them makes the source code easier to maintain.  Almost all of the
39483         changes are to license notices and to locale LC_IDENTIFICATION
39484         addresses, except for this one:
39485         * manual/libc.texinfo: In "Published by", give the FSF's URL,
39486         not its snail mail address.
39487
39488 2012-02-09  Richard Henderson  <rth@twiddle.net>
39489
39490         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39491         of kernel-features.h.
39492
39493         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39494
39495 2012-02-08  Marek Polacek  <polacek@redhat.com>
39496
39497         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39498         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39499         * sysdeps/gnu/_G_config.h: Likewise.
39500         * sysdeps/generic/_G_config.h: Likewise.
39501
39502 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
39503
39504         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39505         tests.
39506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39507
39508         * sysdeps/powerpc/powerpc32/crti.S: New file.
39509         * sysdeps/powerpc/powerpc32/crtn.S: New file.
39510         * sysdeps/powerpc/powerpc64/crti.S: New file.
39511         * sysdeps/powerpc/powerpc64/crtn.S: New file.
39512
39513         * Makeconfig (have-initfini): Don't set.
39514         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39515         * configure.in (nopic_initfini): Don't substitute.
39516         * config.h.in (HAVE_INITFINI): Don't #undef.
39517         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39518         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39519
39520 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
39521
39522         Support crti.S and crtn.S provided directly by architectures.
39523         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39524         [crti.S in sysdirs] (omit-deps): Likewise.
39525         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39526         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39527         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39528         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39529         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39530         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39531         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39532         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39533         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39534         compiler output for sysdeps/generic/initfini.c.
39535         * sysdeps/i386/elf/Makefile: Remove file.
39536         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39537
39538 2012-02-07  Marek Polacek  <polacek@redhat.com>
39539
39540         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39541         * sysdeps/gnu/_G_config.h: Likewise.
39542         * sysdeps/mach/hurd/_G_config.h: Likewise.
39543
39544 2012-02-07  Marek Polacek  <polacek@redhat.com>
39545
39546         * math/Makefile (tests): Add tst-CMPLX2.
39547         * math/tst-CMPLX2.c: New file.
39548
39549 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
39550
39551         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39552
39553         * math/libm-test.inc (jn_test): Add missing L suffix.
39554
39555 2012-02-06  Marek Polacek  <polacek@redhat.com>
39556
39557         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39558         * sysdeps/i386/fpu/e_powf.S: Likewise.
39559         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39560         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39561         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39562         * sysdeps/i386/fpu/e_pow.S: Likewise.
39563         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39564         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39565         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39566         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39567         * sysdeps/i386/fpu/e_log2.S: Likewise.
39568         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39569         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39570         * sysdeps/i386/fpu/e_powl.S: Likewise.
39571         * sysdeps/i386/fpu/s_log1p.S: Likewise.
39572         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39573         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39574         * sysdeps/i386/fpu/e_logl.S: Likewise.
39575         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39576         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39577         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39578         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39579         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39580         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39581         * sysdeps/i386/fpu/e_log.S: Likewise.
39582         * sysdeps/i386/fpu/s_cexp.S: Likewise.
39583         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39584         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39585         * sysdeps/i386/fpu/e_logf.S: Likewise.
39586         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39587         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39588         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39589         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39590         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39591         * sysdeps/i386/fpu/e_log10.S: Likewise.
39592         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39593         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39594         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39595         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39596         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39597         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39598         * sysdeps/i386/asm-syntax.h: Likewise.
39599         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39600         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39601         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39602         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39603         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39604         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39605         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39606         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39607         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39608         * sysdeps/powerpc/sysdep.h: Likewise.
39609         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39610         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39611
39612 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39613
39614         [BZ #411]
39615         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39616
39617 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39618
39619         * sysdeps/i386/sysdep.h: Include <features.h>.
39620         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39621         version.
39622
39623 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
39624
39625         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39626         Define.
39627         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39628         LOAD_PIC_REG_STR.
39629
39630 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39631
39632         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39633         (SETUP_PIC_REG): Use GET_PC_THUNK.
39634         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39635         macro.
39636
39637 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39638
39639         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39640         for non-PIC compilation.
39641         (SETUP_PIC_REG): Add .p2align directive.
39642         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39643         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39644         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39645         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39646         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39647         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39648         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39649         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39650         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39651         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39652         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39653         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39654         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39655         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39656         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39657         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39658         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39659         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39660         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39661         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39662         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39663         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39664         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39665         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39666         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39667         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39668         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39669         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39670         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39671         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39672         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39673         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39674         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39675         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39676         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39677         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39678         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39679         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39680         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39681         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39682         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39683
39684 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39685
39686         * math/tst-CMPLX.c: Include <stdio.h>.
39687
39688 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
39689
39690         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39691         float.
39692         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39693         * sysdeps/sparc/bits/mathdef.h: Likewise.
39694
39695 2012-01-31  Marek Polacek  <polacek@redhat.com>
39696
39697         * libio/libio.h: Don't define _PARAMS.
39698         * locale/programs/config.h: Don't define PARAMS.
39699         * stdlib/strtol_l.c: Likewise.
39700         (__strtol_l): Remove PARAMS from the prototype.
39701
39702 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
39703
39704         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
39705         names.  Just use the correct names.  Remove unnecessary wrapper
39706         functions.
39707         * malloc/arena.c: Likewise.
39708         * malloc/hooks.c: Likewise.
39709
39710         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39711         ARENA_TEST says not to.  Simplify test for creation of a new arena.
39712         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39713
39714 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
39715
39716         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39717         into tail calls.
39718         (update_get_addr): New function.
39719         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39720         GET_ADDR_MODULE parameter.
39721
39722 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39723
39724         * crypt/cert.c: Remove __STDC__ conditionals.
39725         * crypt/crypt-entry.c: Likewise.
39726         * crypt/crypt_util.c: Likewise.
39727         * libio/filedoalloc.c: Likewise.
39728         * libio/fileops.c: Likewise.
39729         * libio/genops.c: Likewise.
39730         * libio/iofclose.c: Likewise.
39731         * libio/iofdopen.c: Likewise.
39732         * libio/iofopen.c: Likewise.
39733         * libio/iofopen64.c: Likewise.
39734         * libio/iogetdelim.c: Likewise.
39735         * libio/iopopen.c: Likewise.
39736         * libio/obprintf.c: Likewise.
39737         * libio/oldfileops.c: Likewise.
39738         * libio/oldiofclose.c: Likewise.
39739         * libio/oldiofdopen.c: Likewise.
39740         * libio/oldiofopen.c: Likewise.
39741         * libio/oldiopopen.c: Likewise.
39742         * libio/wfiledoalloc.c: Likewise.
39743         * libio/wgenops.c: Likewise.
39744         * locale/programs/xmalloc.c: Likewise.
39745         * misc/syslog.c: Likewise.
39746         * stdio-common/xbug.c: Likewise.
39747         * string/memchr.c: Likewise.
39748         * string/memcmp.c: Likewise.
39749         * string/memrchr.c: Likewise.
39750         * string/rawmemchr.c: Likewise.
39751         * sysdeps/posix/getcwd.c: Likewise.
39752         * time/strftime_l.c: Likewise.
39753
39754 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39755
39756         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39757         * config.make.in (config-cflags-sse2avx): Define.
39758         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39759         Fix typo.
39760
39761 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
39762
39763         * scripts/config.guess: Update from upstream config git repository.
39764         * scripts/config.sub: Likewise.
39765
39766 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
39767
39768         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39769         (EM_NUM): Update.
39770         (R_TILEPRO_*, R_TILEGX_*): New macros.
39771
39772         * scripts/firstversions.awk: Fix bug in version range handling.
39773
39774         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39775
39776         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39777
39778         * include/sys/epoll.h: New file.
39779         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39780         libc_hidden_def.
39781
39782 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
39783
39784         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39785         Avoid unnecessary __WORDSIZE == 64 test.
39786         (fmaxf): Use VEX format if possible.
39787         (fmax): Likewise.
39788         (fminf): Likewise.
39789         (fmin): Likewise.
39790
39791         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39792         * math/math_private.h: Remove libc_fegetround* and
39793         libc_fesetround*.
39794         * sysdeps/i386/configure.in: Check for -msse2avx.
39795         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39796         also if SSE2AVX is defined.
39797         Remove libc_fegetround* and libc_fesetround*.
39798         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39799         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
39800         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39801         of HAS_YMM_USABLE.
39802         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39803         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39804         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39805         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39806         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39807
39808         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39809
39810 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39811
39812         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39813         size is not set.
39814         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39815
39816 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
39817
39818         [BZ #13618]
39819         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39820         relocation.
39821         * Makeconfig (libm): Define.
39822         * elf/Makefile: Add rules to build and run tst-relsort1.
39823         * elf/tst-relsort1.c: New file.
39824         * elf/tst-relsort1mod1.c: New file.
39825         * elf/tst-relsort1mod2.c: New file.
39826
39827 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
39828
39829         * math/s_ldexp.c: Remove __STDC__ conditionals.
39830         * math/s_ldexpf.c: Likewise.
39831         * math/s_ldexpl.c: Likewise.
39832         * math/s_nextafter.c: Likewise.
39833         * math/s_nexttowardf.c: Likewise.
39834         * math/s_significand.c: Likewise.
39835         * math/s_significandf.c: Likewise.
39836         * math/s_significandl.c: Likewise.
39837         * math/w_jnl.c: Likewise.
39838         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39839         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39840         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39841         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39842         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39843         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39844         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39845         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39846         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39847         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39848         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39849         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39850         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39851         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39852         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39853         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39854         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39855         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39856         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39857         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39858         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39859         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39860         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39861         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39862         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39863         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39864         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39865         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39866         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39867         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39868         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39869         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39870         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39871         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39872         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39873         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39874         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39875         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39876         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39877         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39878         * sysdeps/ieee754/k_standard.c: Likewise.
39879         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39880         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39881         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39882         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39883         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39884         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39885         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39886         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39887         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39888         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39889         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39890         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39891         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39892         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39893         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39894         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39895         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39896         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39897         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39898         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39899         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39900         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39901         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39902         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39903         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39904         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39905         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39906         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39907         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39908         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39909         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39910         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39911         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39912         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39913         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39914         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39915         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39916         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39917         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39918         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39919         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39920         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39921         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39922         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39923         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39924         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39925         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39926         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39927         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39928         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39929         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39930         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39931         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39932         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39933         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39934         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39935         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39936         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39937         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39938         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39939         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39940         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39941         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39942         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39943         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39944         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39945         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39946         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39947         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39948         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39949         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39950         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39951         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39952         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39953         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39954         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39955         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39956         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39957         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39958         * sysdeps/ieee754/s_matherr.c: Likewise.
39959         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39960         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39961         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39962         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39963
39964 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39965
39966         * crypt/md5.h: Remove __STDC__ conditionals.
39967         * libio/libioP.h: Likewise.
39968         * locale/programs/config.h: Likewise.
39969         * sysdeps/generic/sysdep.h: Likewise.
39970         * sysdeps/i386/asm-syntax.h: Likewise.
39971         * sysdeps/s390/asm-syntax.h: Likewise.
39972         * sysdeps/unix/sysdep.h: Likewise.
39973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39975
39976 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39977
39978         * libio/libio.h: Remove __STDC__ conditionals.
39979         * malloc/obstack.h: Likewise.
39980         * math/complex.h: Likewise.
39981         * math/math.h: Likewise.
39982         * sysdeps/generic/_G_config.h: Likewise.
39983         * sysdeps/gnu/_G_config.h: Likewise.
39984         * sysdeps/mach/hurd/_G_config.h: Likewise.
39985         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39986         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39987         * sysdeps/sparc/bits/mathdef.h: Likewise.
39988
39989 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
39990
39991         [BZ #13583]
39992         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39993         Clean up HAS_* macros.
39994         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39995         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39996         possible.
39997         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39998         HAS_AVX.
39999         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40000         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40001         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40002         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40003         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40004
40005 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40006
40007         * elf/tst-unique3.cc (gets): Remove declaration.
40008         * elf/tst-unique3lib.cc (gets): Likewise.
40009         * elf/tst-unique3lib2.cc (gets): Likewise.
40010         * elf/tst-unique4.cc (gets): Likewise.
40011
40012 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40013
40014         * include/stdio.h: Add C++ protection.  Add gets declarations and
40015         definitions.
40016         * debug/tst-chk1.c: Don't declare gets here.
40017         * stdio-common/tst-gets.c: Likewise.
40018
40019 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40020
40021         * posix/glob: Remove directory.
40022
40023 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40024
40025         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40026
40027 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40028
40029         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40030         of the non-standard EPFNOSUPPORT.
40031
40032 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40033
40034         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40035         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40036         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40037
40038 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40039
40040         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40041
40042 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40043
40044         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40045         transient errors.
40046         * nscd/grpcache.c (cache_addgr): Likewise.
40047         * nscd/hstcache.c (cache_addhst): Likewise.
40048         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40049         * nscd/pwdcache.c (cache_addpw): Likewise.
40050         * nscd/servicescache.c (cache_addserv): Likewise.
40051
40052 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40053
40054         * malloc/malloc.c: Various cleanups.
40055         * malloc/hooks.c: Likewise.
40056
40057         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40058         * stdlib/bug-fmtmsg1.c: New file.
40059
40060         * stdlib/fmtmsg.c (init): Add missing unlock.
40061         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40062
40063 2012-01-12  Marek Polacek  <polacek@redhat.com>
40064
40065         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40066         and _GNU_SOURCE.
40067
40068 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40069
40070         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40071         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40072         macro to ensure uniqueness of label name.
40073         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40074         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40075
40076 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40077
40078         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40079
40080         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40081         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40082         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40083         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40084
40085 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40086
40087         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40088
40089         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40090         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40091         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40092
40093         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40094
40095         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40096         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40097         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40098         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40099
40100         * math/bits/math-finite.h: Add ldexp support.
40101
40102 2012-01-10  Marek Polacek  <polacek@redhat.com>
40103
40104         * locale/programs/localedef.h (show_archive_content): Add noreturn
40105         attribute.
40106
40107 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40108
40109         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40110
40111 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40112
40113         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40114
40115         * io/Makefile (headers): Add bits/poll2.h.
40116
40117 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40118
40119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40120         typo #include statement.
40121
40122 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40123
40124         * include/sys/cdefs.h: Define __attribute_alloc_size.
40125         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40126         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40127         * elf/pldd.c: Likewise.
40128         * iconv/iconv_charmap.c: Likewise.
40129         * iconv/iconvconfig.c: Likewise.
40130         * iconv/strtab.c: Likewise.
40131         * locale/programs/locale.c: Likewise.
40132         * locale/programs/localedef.h: Likewise.
40133         * locale/programs/simple-hash.c: Likewise.
40134         * nscd/nscd.h: Likewise.
40135         * nss/makedb.c: Likewise.
40136         * sysdeps/generic/ldconfig.h: Likewise.
40137         * locale/programs/localedef.c: Remove xmalloc prototype.
40138         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40139
40140 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40141
40142         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40143         appropriate.
40144
40145 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40146
40147         * math/Makefile (tests): Add tst-CMPLX.
40148         * math/tst-CMPLX.c: New file.
40149
40150         * math/complex.h (CMPLXL): Fix typo.
40151
40152         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40153         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40154         GLIBC_2.16.
40155         * debug/tst-chk1.c: Add poll and ppoll tests.
40156         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40157         * include/sys/poll.h: Add hidden proto for ppoll.
40158         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40159         * sysdeps/mach/hurd/ppoll.c: Likewise.
40160         * io/ppoll.c: Likewise.
40161         * debug/poll_chk.c: New file.
40162         * debug/ppoll_chk.c: New file.
40163         * include/bits/poll2.h: New file.
40164         * io/bits/poll2.h: New file.
40165
40166         [BZ #1350]
40167         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40168
40169         * configure.in: static is always set to yes.  Remove.
40170         * config.make.in: Don't set build-static.
40171         * Makeconfig: Remove use of build-static.
40172         * dlfcn/Makefile: Likewise.
40173         * elf/Makefile: Likewise.
40174         * math/Makefile: Likewise.
40175         * misc/Makefile: Likewise.
40176         * nptl/Makefile: Likewise.
40177         * sysdeps/mach/hurd/Makefile: Likewise.
40178
40179         * configure.in: PWD_P is not used anymore.
40180         * config.make.in: Remove PWD_P entry.
40181
40182         * configure.in: Remove last remnants of RANLIB.
40183         No need to check for signed size_t anymore.
40184         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40185         and IA-64.
40186         Remove __builtin_expect test because we require at least gcc 3.4.
40187         * aclocal.m4: Likewise.
40188
40189         * wcsmbs/mbrtoc16.c: Implement using towc function.
40190         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40191         * wcsmbs/wcsmbsload.c: Likewise.
40192         * iconv/gconv_simple.c: Likewise.
40193         * iconv/gconv_int.h: Likewise.
40194         * iconv/gconv_builtin.h: Likewise.
40195         * iconv/iconv_prog.c: Remove CHAR16 handling.
40196
40197         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40198
40199         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40200
40201         * configure.in: Remove --with-elf and --enable-bounded options.
40202         Dont set base_machine for ia64.  More non-ELF conditions removed.
40203         Remove testing and setting of leading underscore information.
40204         * config.make.in (build-bounded): Set to no.
40205         * config.h.in: Remove NO_UNDERSCORES entry.
40206         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40207         them.
40208         * csu/start.c: Remove !NO_UNDERSCORE code.
40209         * locale/localeinfo.h: Likewise.
40210         * sysdeps/generic/machine-gmon.h: Likewise.
40211         * sysdeps/generic/sysdep.h: Likewise.
40212         * sysdeps/i386/sysdep.h: Likewise.
40213         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40214         * sysdeps/mach/sysdep.h: Likewise.
40215         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40216         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40217         * sysdeps/sh/sysdep.h: Likewise.
40218         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40219         * sysdeps/unix/i386/sysdep.S: Likewise.
40220         * sysdeps/unix/sparc/start.c: Likewise.
40221         * sysdeps/unix/sparc/sysdep.S: Likewise.
40222         * sysdeps/unix/sparc/sysdep.h: Likewise.
40223         * sysdeps/unix/start.c: Likewise.
40224         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40225         * sysdeps/x86_64/sysdep.h: Likewise.
40226
40227 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40228
40229         [BZ #13553]
40230         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40231         for non-gcc.
40232         * argp/argp-fmtstream.h: Use const instead __const.
40233         * argp/argp.h: Likewise.
40234         * assert/assert.h: Likewise.
40235         * bits/fenv.h: Likewise.
40236         * bits/sched.h: Likewise.
40237         * bits/sigset.h: Likewise.
40238         * bits/sigthread.h: Likewise.
40239         * catgets/nl_types.h: Likewise.
40240         * conform/data/pthread.h-data: Likewise.
40241         * crypt/crypt-private.h: Likewise.
40242         * crypt/crypt.h: Likewise.
40243         * crypt/crypt_util.c: Likewise.
40244         * ctype/ctype.h: Likewise.
40245         * debug/execinfo.h: Likewise.
40246         * debug/mbsnrtowcs_chk.c: Likewise.
40247         * debug/mbsrtowcs_chk.c: Likewise.
40248         * debug/wcsnrtombs_chk.c: Likewise.
40249         * debug/wcsrtombs_chk.c: Likewise.
40250         * debug/wcstombs_chk.c: Likewise.
40251         * dirent/dirent.h: Likewise.
40252         * dlfcn/dlfcn.h: Likewise.
40253         * elf/neededtest4.c: Likewise.
40254         * grp/grp.h: Likewise.
40255         * gshadow/gshadow.h: Likewise.
40256         * iconv/gconv.h: Likewise.
40257         * iconv/gconv_int.h: Likewise.
40258         * iconv/gconv_simple.c: Likewise.
40259         * iconv/iconv.h: Likewise.
40260         * iconv/loop.c: Likewise.
40261         * iconv/skeleton.c: Likewise.
40262         * include/aio.h: Likewise.
40263         * include/aliases.h: Likewise.
40264         * include/argz.h: Likewise.
40265         * include/arpa/inet.h: Likewise.
40266         * include/assert.h: Likewise.
40267         * include/dirent.h: Likewise.
40268         * include/dlfcn.h: Likewise.
40269         * include/execinfo.h: Likewise.
40270         * include/fcntl.h: Likewise.
40271         * include/fenv.h: Likewise.
40272         * include/glob.h: Likewise.
40273         * include/grp.h: Likewise.
40274         * include/libintl.h: Likewise.
40275         * include/mntent.h: Likewise.
40276         * include/netdb.h: Likewise.
40277         * include/pwd.h: Likewise.
40278         * include/rpc/netdb.h: Likewise.
40279         * include/sched.h: Likewise.
40280         * include/search.h: Likewise.
40281         * include/shadow.h: Likewise.
40282         * include/signal.h: Likewise.
40283         * include/stdio.h: Likewise.
40284         * include/stdlib.h: Likewise.
40285         * include/string.h: Likewise.
40286         * include/sys/socket.h: Likewise.
40287         * include/sys/stat.h: Likewise.
40288         * include/sys/statfs.h: Likewise.
40289         * include/sys/statvfs.h: Likewise.
40290         * include/sys/syslog.h: Likewise.
40291         * include/sys/time.h: Likewise.
40292         * include/sys/uio.h: Likewise.
40293         * include/time.h: Likewise.
40294         * include/unistd.h: Likewise.
40295         * include/utmp.h: Likewise.
40296         * include/wchar.h: Likewise.
40297         * include/wctype.h: Likewise.
40298         * inet/aliases.h: Likewise.
40299         * inet/arpa/inet.h: Likewise.
40300         * inet/netinet/ether.h: Likewise.
40301         * inet/netinet/in.h: Likewise.
40302         * intl/libintl.h: Likewise.
40303         * io/bits/fcntl2.h: Likewise.
40304         * io/fcntl.h: Likewise.
40305         * io/ftw.h: Likewise.
40306         * io/sys/poll.h: Likewise.
40307         * io/sys/stat.h: Likewise.
40308         * io/sys/statfs.h: Likewise.
40309         * io/sys/statvfs.h: Likewise.
40310         * io/utime.h: Likewise.
40311         * libio/bits/stdio.h: Likewise.
40312         * libio/bits/stdio2.h: Likewise.
40313         * libio/libio.h: Likewise.
40314         * libio/libioP.h: Likewise.
40315         * libio/stdio.h: Likewise.
40316         * locale/lc-ctype.c: Likewise.
40317         * locale/locale.h: Likewise.
40318         * login/utmp.h: Likewise.
40319         * malloc/arena.c: Likewise.
40320         * malloc/malloc.c: Likewise.
40321         * malloc/malloc.h: Likewise.
40322         * malloc/mcheck.c: Likewise.
40323         * malloc/mtrace.c: Likewise.
40324         * math/bits/mathcalls.h: Likewise.
40325         * math/fenv.h: Likewise.
40326         * math/math_private.h: Likewise.
40327         * misc/bits/error.h: Likewise.
40328         * misc/bits/syslog.h: Likewise.
40329         * misc/err.h: Likewise.
40330         * misc/error.h: Likewise.
40331         * misc/fstab.h: Likewise.
40332         * misc/mntent.h: Likewise.
40333         * misc/regexp.h: Likewise.
40334         * misc/search.h: Likewise.
40335         * misc/sgtty.h: Likewise.
40336         * misc/sys/mman.h: Likewise.
40337         * misc/sys/syslog.h: Likewise.
40338         * misc/sys/uio.h: Likewise.
40339         * misc/sys/xattr.h: Likewise.
40340         * misc/ttyent.h: Likewise.
40341         * nis/rpcsvc/ypclnt.h: Likewise.
40342         * nss/nss.h: Likewise.
40343         * posix/bits/unistd.h: Likewise.
40344         * posix/fnmatch.h: Likewise.
40345         * posix/glob.h: Likewise.
40346         * posix/sched.h: Likewise.
40347         * posix/spawn.h: Likewise.
40348         * posix/sys/wait.h: Likewise.
40349         * posix/unistd.h: Likewise.
40350         * posix/wordexp.h: Likewise.
40351         * pwd/pwd.h: Likewise.
40352         * resolv/netdb.h: Likewise.
40353         * resource/sys/resource.h: Likewise.
40354         * rt/aio.h: Likewise.
40355         * rt/bits/mqueue2.h: Likewise.
40356         * rt/mqueue.h: Likewise.
40357         * shadow/shadow.h: Likewise.
40358         * signal/signal.h: Likewise.
40359         * socket/send.c: Likewise.
40360         * socket/sendto.c: Likewise.
40361         * socket/sys/socket.h: Likewise.
40362         * stdio-common/printf.h: Likewise.
40363         * stdlib/bits/stdlib.h: Likewise.
40364         * stdlib/fmtmsg.h: Likewise.
40365         * stdlib/monetary.h: Likewise.
40366         * stdlib/stdlib.h: Likewise.
40367         * stdlib/ucontext.h: Likewise.
40368         * streams/stropts.h: Likewise.
40369         * string/argz.h: Likewise.
40370         * string/bits/string2.h: Likewise.
40371         * string/string.h: Likewise.
40372         * string/strings.h: Likewise.
40373         * sunrpc/rpc/auth.h: Likewise.
40374         * sunrpc/rpc/auth_des.h: Likewise.
40375         * sunrpc/rpc/clnt.h: Likewise.
40376         * sunrpc/rpc/netdb.h: Likewise.
40377         * sunrpc/rpc/pmap_clnt.h: Likewise.
40378         * sunrpc/rpc/xdr.h: Likewise.
40379         * sysdeps/generic/inttypes.h: Likewise.
40380         * sysdeps/generic/net/if.h: Likewise.
40381         * sysdeps/generic/sys/swap.h: Likewise.
40382         * sysdeps/gnu/net/if.h: Likewise.
40383         * sysdeps/gnu/utmpx.h: Likewise.
40384         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40385         * sysdeps/i386/i486/bits/string.h: Likewise.
40386         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40387         * sysdeps/s390/bits/string.h: Likewise.
40388         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40389         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40390         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40391         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40392         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40393         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40394         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40395         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40396         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40397         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40398         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40399         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40400         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40401         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40402         * sysdeps/unix/sysv/linux/readv.c: Likewise.
40403         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40404         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40405         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40406         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40407         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40408         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40409         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40410         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40411         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40412         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40413         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40414         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40415         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40416         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40417         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40418         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40419         * sysvipc/sys/ipc.h: Likewise.
40420         * sysvipc/sys/msg.h: Likewise.
40421         * sysvipc/sys/sem.h: Likewise.
40422         * sysvipc/sys/shm.h: Likewise.
40423         * termios/termios.h: Likewise.
40424         * time/sys/time.h: Likewise.
40425         * time/time.h: Likewise.
40426         * wcsmbs/bits/wchar2.h: Likewise.
40427         * wcsmbs/uchar.h: Likewise.
40428         * wcsmbs/wchar.h: Likewise.
40429         * wctype/wctype.h: Likewise.
40430
40431         [BZ #13551]
40432         * Makeconfig: Remove all but ELF support including AIX support.
40433         * Makerules: Likewise.
40434         * config.h.in: Likewise.
40435         * config.make.in: Likewise.
40436         * configure: Likewise.
40437         * configure.in: Likewise.
40438         * csu/Makefile: Likewise.
40439         * csu/version.c: Likewise.
40440         * debug/Makefile: Likewise.
40441         * dlfcn/Makefile: Likewise.
40442         * elf/Makefile: Likewise.
40443         * extra-lib.mk: Likewise.
40444         * iconv/Makefile: Likewise.
40445         * include/libc-symbols.h: Likewise.
40446         * include/shlib-compat.h: Likewise.
40447         * resolv/Makefile: Likewise.
40448         * resolv/res_libc.c: Likewise.
40449         * rt/Makefile: Likewise.
40450         * sysdeps/i386/asm-syntax.h: Likewise.
40451         * sysdeps/i386/sysdep.h: Likewise.
40452         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40453         * sysdeps/mach/sysdep.h: Likewise.
40454         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40455         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40456         * sysdeps/s390/asm-syntax.h: Likewise.
40457         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40458         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40459         * sysdeps/sh/sysdep.h: Likewise.
40460         * sysdeps/unix/sparc/sysdep.h: Likewise.
40461         * sysdeps/wordsize-32/divdi3.c: Likewise.
40462         * sysdeps/x86_64/sysdep.h: Likewise.
40463
40464         * argp/Versions: Remove _argp_unlock_xxx.
40465
40466         [BZ #13559]
40467         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
40468         * abilist/libBrokenLocale.abilist: Likewise.
40469         * abilist/libanl.abilist: Likewise.
40470         * abilist/libc.abilist: Likewise.
40471         * abilist/libcrypt.abilist: Likewise.
40472         * abilist/libdl.abilist: Likewise.
40473         * abilist/libm.abilist: Likewise.
40474         * abilist/libnsl.abilist: Likewise.
40475         * abilist/libpthread.abilist: Likewise.
40476         * abilist/libresolv.abilist: Likewise.
40477         * abilist/librt.abilist: Likewise.
40478         * abilist/libthread_db.abilist: Likewise.
40479         * abilist/libutil.abilist: Likewise.
40480         * abilist/libnss_db.abilist: New file.
40481
40482         * scripts/abilist.awk: Add support for indirect functions.
40483
40484         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40485
40486         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40487
40488         * shlib-versions: Remove entries for ports architectures.
40489
40490         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
40491         files in ports.
40492         * elf/stackguard-macros.h: Remove support for IA-64.
40493         * elf/tst-auditmod1.c: Likewise.
40494         * sysdeps/generic/ldsodefs.h: Likewise.
40495
40496         * sysdeps/unix/sysv/linux/configure.in: Ports should define
40497         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40498         configure files.
40499
40500         [BZ #13552]
40501         * configure.in: Remove --enable-omitfp support.
40502         * FAQ.in: Adjust.
40503         * config.make.in: Likewise.
40504         * Makeconfig: Likewise.
40505         * manual/install.texi: Likewise.
40506
40507         In case anyone cares, the IA-64 architecture could move to ports.
40508         * sysdeps/ia64/*: Removed.
40509         * sysdeps/unix/sysv/linux/ia64/*: Removed.
40510         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40511
40512         [BZ #13555]
40513         * configure.in: Remove entries for unsupported architectures.
40514
40515         [BZ #13533]
40516         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40517         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
40518         routines.
40519         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40520         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40521         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
40522         fall back to using wcrtomb.
40523         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40524         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
40525         renaming.
40526         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40527         * wcsmbs/tst-c16c32-1.c: New file.
40528
40529         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40530         local variable.
40531
40532         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40533
40534         * elf/tst-unique3.cc: Add explicit declaration of gets.
40535         * elf/tst-unique3lib.cc: Likewise.
40536         * elf/tst-unique3lib2.cc: Likewise.
40537         * elf/tst-unique4.cc: Likewise.
40538
40539         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40540
40541 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
40542
40543         [BZ #13566]
40544         * assert/assert.h (static_assert): Don't define for C++.
40545         * libio/stdio.h (gets): Do declare for C++ <= C++11.
40546         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40547
40548 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
40549
40550         * iconv/loop.c (single loop): Fix assertion in storing of
40551         remaining bytes.
40552
40553         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40554
40555 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
40556
40557         * posix/getconf.c: Update copyright year.
40558         * nss/getent.c: Likewise.
40559         * nss/makedb.c: Likewise.
40560         * iconv/iconvconfig.c: Likewise.
40561         * iconv/iconv_prog.c: Likewise.
40562         * elf/ldconfig.c: Likewise.
40563         * elf/pldd.c: Likewise.
40564         * elf/sotruss.ksh: Likewise.
40565         * catgets/gencat.c: Likewise.
40566         * csu/version.c: Likewise.
40567         * elf/ldd.bash.in: Likewise.
40568         * elf/sprof.c (print_version): Likewise.
40569         * locale/programs/locale.c: Likewise.
40570         * locale/programs/localedef.c: Likewise.
40571         * login/programs/pt_chown.c: Likewise.
40572         * nscd/nscd.c (print_version): Likewise.
40573         * debug/xtrace.sh: Likewise.
40574         * malloc/memusage.sh: Likewise.
40575         * malloc/mtrace.pl: Likewise.
40576         * debug/catchsegv.sh: Likewise.
40577
40578 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
40579
40580         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40581         pure attribute.
40582
40583 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
40584
40585         [BZ #13533]
40586         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40587         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40588         transformations.
40589         * iconv/gconv_int.h: Likewise.
40590         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40591         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40592         from libc for GLIBC_2.16.
40593         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40594         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40595         * wcsmbs/uchar.h: Really define mbstate_t.
40596         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40597         * wcsmbs/c16rtomb.c: New file.
40598         * wcsmbs/mbrtoc16.c: New file.
40599         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40600         for C/POSIX locale.
40601         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40602         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40603
40604         * wcsmbs/wchar.h: Add missing __restrict.
40605
40606 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40607
40608         [BZ #13532]
40609         * time/Makefile (routines): Add timespec_get.
40610         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40611         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
40612         timespec for ISO C11.
40613         * time/timespec_get.c: New file.
40614         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40615         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40616
40617         [BZ #13531]
40618         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40619         * stdlib/stdlib.h: Declare aligned_alloc.
40620         * Versions.def: Add GLIBC_2.16 for libc.
40621         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40622
40623         [BZ 13527]
40624         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40625         ISO C11.
40626
40627         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40628         code.
40629
40630         [BZ #13528]
40631         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40632
40633         [BZ #13529]
40634         * assert/assert.h (static_assert): Define.
40635
40636         * version.h: Update for 2.16 development version.
40637
40638         [BZ #13526]
40639         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40640         _ISOC11_SOURCE.
40641
40642         * version.h (RELEASE): Bump for 2.15 release.
40643         * include/features.h (__GLIBC_MINOR__): Bump to 15.
40644
40645         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40646         Patch by Marek Polacek <mpolacek@redhat.com>.
40647
40648         * bits/byteswap.h: Protect long long constants with __extension__.
40649         * sysdeps/i386/bits/byteswap.h: Likewise.
40650         * sysdeps/ia64/bits/byteswap.h: Likewise.
40651         * sysdeps/s390/bits/byteswap.h: Likewise.
40652         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40653
40654 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40655
40656         [BZ #13540]
40657         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40658         destination buffer.
40659         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40660
40661 2011-12-23  Marek Polacek  <polacek@redhat.com>
40662
40663         * elf/dl-addr.c (determine_info): Add inline keyword.
40664         * elf/tst-auditmod4b.c (check_avx): Likewise.
40665         * elf/tst-auditmod6b.c (check_avx): Likewise.
40666         * elf/tst-auditmod6c.c (check_avx): Likewise.
40667         * elf/tst-auditmod7b.c (check_avx): Likewise.
40668
40669 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40670
40671         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40672         !__SSE_MATH__.
40673
40674 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40675
40676         [BZ #13540]
40677         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40678         processing for last bytes.
40679
40680 2011-08-06  Bruno Haible  <bruno@clisp.org>
40681
40682         [BZ #13061]
40683         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40684         U+0385, not to U+1FEE.
40685
40686         [BZ #13062]
40687         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40688         entry for U+00A5 U+0301.
40689
40690 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40691
40692         [BZ #13166]
40693         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40694         buffer for the output is too small.
40695
40696         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40697         optimization.
40698
40699         [BZ #13185]
40700         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40701         SSE flags if possible.
40702
40703 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40704
40705         [BZ #13540]
40706         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40707         processing for last bytes.
40708
40709 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
40710
40711         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40712         (syscall-list-default-options, syscall-list-default-condition)
40713         (syscall-list-includes): Define.
40714         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40715         list of ABIs and options and #if conditions for each ABI.  Do not
40716         handle common syscalls between ABIs specially.
40717         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40718         Remove.
40719         (syscall-list-variants, syscall-list-32bit-options)
40720         (syscall-list-32bit-condition, syscall-list-64bit-options)
40721         (syscall-list-64bit-condition): Define.
40722         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40723         (syscall-list-variants, syscall-list-32bit-options)
40724         (syscall-list-32bit-condition, syscall-list-64bit-options)
40725         (syscall-list-64bit-condition): Define.
40726         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40727         Remove.
40728         (syscall-list-variants, syscall-list-32bit-options)
40729         (syscall-list-32bit-condition, syscall-list-64bit-options)
40730         (syscall-list-64bit-condition): Define.
40731         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40732         Remove.
40733         (syscall-list-variants, syscall-list-32bit-options)
40734         (syscall-list-32bit-condition, syscall-list-64bit-options)
40735         (syscall-list-64bit-condition): Define.
40736
40737 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40738
40739         * locale/iso-639.def: Add brx entry.
40740
40741         [BZ #13328]
40742         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40743         Proposed by Mariusz_Cukr <marcukr@op.pl>.
40744
40745         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40746         __feraiseexcept_renamed.
40747
40748 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40749
40750         [BZ #13538]
40751         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40752         EPOLLET with unsigned values.
40753         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40754         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40755
40756         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40757         to large cancellation.
40758         * math/s_cacoshf.c: Likewise.
40759         * math/s_cacoshl.c: Likewise.
40760
40761 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
40762
40763         [BZ #13305]
40764         [BZ #12786]
40765         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40766         * math/s_cacoshf.c: Likewise.
40767         * math/s_cacoshl.c: Likewise.
40768
40769 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40770
40771         [BZ #13439]
40772         * iconv/gconv.h: Define __GCONV_SWAP.
40773         * iconvdata/unicode.c: The swap bit must be stored in __flags.
40774         * iconvdata/utf-16.c: Likewise.
40775         * iconvdata/utf-32.c: Likewise.
40776
40777 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40778
40779         [BZ #13524]
40780         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40781         numerator after shifting it by one limb.
40782
40783 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
40784
40785         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40786         under [__USE_EXTERN_INLINES].
40787
40788 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40789
40790         [BZ #13446]
40791         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40792
40793 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40794
40795         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40796         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40797         optimized code.
40798         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40799         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40800         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40801         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40802         for strncasecmp/strncasecmp_l compilation.
40803         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40804         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40805
40806 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
40807
40808         [BZ #13484]
40809         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40810         of __asm__.
40811
40812 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40813
40814         [BZ #13506]
40815         * time/tzfile.c (__tzfile_read): Check values from file header.
40816
40817 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40818
40819         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40820         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40821         * powerpc/powerpc32/dl-start.S: Likewise.
40822         * powerpc/powerpc32/elf/start.S: Likewise.
40823         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40824         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40825         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40826         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40827         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40828         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40829         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40830         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40831         * powerpc/powerpc32/fpu/s_round.S: Likewise.
40832         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40833         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40834         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40835         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40836         * powerpc/powerpc32/memset.S: Likewise.
40837         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40838         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40839         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40840         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40841         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40842         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40843         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40844         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40845         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40846         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40847         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40848         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40849         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40850
40851 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40852
40853         * math/libm-test.inc: Added more nearbyint tests.
40854         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40855         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40856         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40857         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40858
40859 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
40860
40861         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40862         FD_CLOEXEC.
40863
40864 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40865
40866         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40867         Add wcscpy-ssse3 wcscpy-c.
40868         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40869         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40870         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40871         * sysdeps/x86_64/wcschr.S: New file.
40872         * sysdeps/x86_64/wcsrchr.S: New file.
40873         * string/test-strcmp.c: Remove checking of wcscmp function for
40874         wrong alignments.
40875         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40876         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40877         wcsrchr-sse2 wcsrchr-c.
40878         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40879         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40880         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40881         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40882         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40883         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40884         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40885         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40886         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40887         * wcsmbc/wcschr.c (WCSCHR): New macro.
40888
40889 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40890
40891         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40892         * wcsmbs/test-wcsrchr.c: New file.
40893         * string/test-strrchr.c: Add wcsrchr support.
40894         (WIDE): New macro.
40895         * wcsmbs/test-wcscpy.c: New file.
40896         * string/test-strcpy.c: Add wcscpy support.
40897         (WIDE): New macro.
40898
40899 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
40900
40901         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40902         the inner loop.
40903
40904 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
40905
40906         [BZ #13472]
40907         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40908
40909 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
40910
40911         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40912         Minor optimizations.
40913
40914         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40915         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40916         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40917
40918 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
40919
40920         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40921         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40922         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40923         for gcc to avoid warnings.
40924         * inet/Makefile (tests): Add tst-checks.
40925         * inet/tst-checks.c: New file.
40926
40927         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40928         warning.
40929
40930         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40931         __wmemcmp_sse2.
40932
40933         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40934         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40935
40936         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40937
40938 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
40939
40940         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40941         problem.
40942
40943         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40944
40945 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
40946
40947         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40948         conditional on GCC version.
40949         (__arch_compare_and_exchange_val_8_acq)
40950         (__arch_compare_and_exchange_val_16_acq)
40951         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40952         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40953         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40954
40955 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
40956
40957         * sysdeps/sh/backtrace.c: New file.
40958
40959 2011-12-02  Andreas Schwab  <schwab@redhat.com>
40960
40961         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
40962         parenthesis.
40963
40964 2011-12-01  Andreas Schwab  <schwab@redhat.com>
40965
40966         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40967         falling back to utime.
40968
40969 2011-11-30  Andreas Schwab  <schwab@redhat.com>
40970
40971         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40972         expectations for float.
40973
40974 2011-11-29  Andreas Schwab  <schwab@redhat.com>
40975
40976         * locale/weight.h (findidx): Add parameter len.
40977         * locale/weightwc.h (findidx): Likewise.
40978         * posix/fnmatch_loop.c (FCT): Adjust caller.
40979         * posix/regcomp.c (build_equiv_class): Likewise.
40980         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40981         * posix/regexec.c (check_node_accept_bytes): Likewise.
40982         * string/strcoll_l.c (STRCOLL): Likewise.
40983         * string/strxfrm_l.c (STRXFRM): Likewise.
40984
40985 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
40986
40987         * Makefile.in: Remove CVSOPT handling.
40988         * configure.in: Remove use of AC_REVISION.
40989         * iconvdata/Makefile (distribute): No need to filter out CVS.
40990         * scripts/list-sources.sh: Remove CVS, subversion and monotone
40991         handling.
40992
40993 2011-11-16  Andreas Schwab  <schwab@redhat.com>
40994
40995         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40996         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40997         [USE_AS_STRNCASECMP_L]: Likewise.
40998         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40999         NO_TLS_DIRECT_SEG_REFS.
41000         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41001         Fix argument offsets for non-PIC.
41002         [USE_AS_STRNCASECMP_L]: Likewise.
41003         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41004         NO_TLS_DIRECT_SEG_REFS.
41005
41006 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41007
41008         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41009         O_CLOEXEC.
41010         * locale/loadlocale.c (_nl_load_locale): Likewise.
41011
41012 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41013
41014         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41015         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41016         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41017         (SYSCALL_GETTIME): Set errno on error.
41018
41019         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41020         count references to noai6ai_cached.
41021
41022 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41023
41024         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41025
41026         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41027         FD_CLOEXEC for /proc/self/maps.
41028
41029         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41030         FD_CLOEXEC for /proc/meminfo.
41031
41032         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41033         gai.conf.
41034
41035         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41036         FD_CLOEXEC for given file.
41037
41038         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41039
41040         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41041         FD_CLOEXEC for /etc/hosts.
41042         (_gethtent): Likewise.
41043
41044         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41045
41046         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41047         cancellation and set FD_CLOEXEC for /etc/netgroup.
41048
41049         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41050         reading /etc/publickey.
41051
41052         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41053         allow cancellation when reading /etc/group.
41054
41055         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41056         cancellation.
41057         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41058
41059         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41060         when using data file.
41061
41062         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41063
41064         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41065         (write_nis_obj): Use "c" and "e" in fopen.
41066
41067         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41068
41069         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41070
41071         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41072
41073         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41074
41075         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41076         locale.alias.
41077
41078         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41079
41080         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41081
41082         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41083
41084         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41085         file parsing and set FD_CLOEXEC.
41086
41087 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41088
41089         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41090
41091 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41092
41093         * malloc/arena.c (arena_get2): Don't call reused_arena when
41094         _int_new_arena failed.
41095
41096 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41097
41098         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41099         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41100         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41101         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41102         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41103         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41104         to compile strcasecmp and strncasecmp.
41105         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41106         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41107
41108         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41109
41110 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41111
41112         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41113         locale-defines.sym to gen-as-const-headers.
41114         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41115         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41116         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41117         to compile strcasecmp and strncasecmp.
41118         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41119         strcasecmp_l and strncasecmp_l.
41120         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41121         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41122         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41123         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41124         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41125         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41126         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41127         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41128         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41129         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41130         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41131
41132 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41133
41134         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41135         result of SYSDEP_GETTIME_CPU to retval.
41136         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41137         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41138
41139         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41140         variable.
41141
41142         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41143         mantissa words.
41144         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41145
41146         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41147         from unused variable.
41148
41149         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41150         DWARF definitions.
41151         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41152         for assembling.
41153
41154         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41155         over namespaces.
41156
41157         * sunrpc/rpc_prot.c (rejected): Fix case value.
41158
41159         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41160         unsigned long long int to avoid warnings in shift.
41161
41162         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41163         of use of trans.
41164         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41165         variable tmp.
41166
41167         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41168         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41169         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41170
41171         * nis/nis_table.c (nis_list): Use variable of correct type for
41172         result of __follow_path call.
41173
41174 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41175
41176         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41177         of math functions ceil, trunc, floor, round, and sqrt, when
41178         avaliable on the platform.
41179         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41180         name clash.
41181         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41182         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41183         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41184
41185 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41186
41187         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41188         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41189
41190 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41191
41192         * include/unistd.h: Fix __readlink return type.
41193         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41194
41195 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41196
41197         * stdlib/ucontext.h: Undo last change for makecontext.
41198
41199 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41200
41201         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41202
41203         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41204         * setjmp/setjmp.h: Mark functions as non-leaf.
41205         * setjmp/bits/setjmp2.h: Likewise.
41206         * stdlib/ucontext.h: Likewise.
41207
41208 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41209
41210         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41211         (reused_arena): Don't check arena limit.
41212         (arena_get2): Atomically check arena limit.
41213
41214 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41215
41216         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41217         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41218
41219         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41220         instructions.
41221
41222 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41223
41224         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41225         handler when locking.
41226
41227         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41228         Fix size of allocated buffer.
41229
41230 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41231
41232         [BZ #10103]
41233         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41234         declarations for long double functions.
41235         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41236
41237         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41238
41239 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41240
41241         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41242         installed.
41243
41244         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41245         is disabled.
41246
41247 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41248
41249         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41250
41251 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41252
41253         * include/alloca.h (stackinfo_alloca_round): Define.
41254         (extend_alloca): Use it.
41255         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41256         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41257         here.
41258
41259         * scripts/check-local-headers.sh: Ignore libaudit.h.
41260
41261         * nscd/Makefile (extra-objs): Make recursively expanded.
41262
41263 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41264
41265         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41266         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41267
41268         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41269         * posix/tst-rfc3484-2.c: Likewise.
41270         * posix/tst-rfc3484-3.c: Likewise.
41271
41272         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41273         process_vm_writev.
41274         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41275         process_vm_writev.
41276         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41277         process_vm_writev from libc using GLIBC_2.15 version.
41278
41279         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41280
41281 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41282
41283         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41284         stack usage.
41285
41286 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41287
41288         [BZ #13367]
41289         * nss/getent.c (initgroups_keys): Show error message in case no group
41290         names are given.
41291
41292         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41293         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41294         __bump_nl_timestamp.
41295         * nscd/connections (nscd_init): When host database is served open
41296         netlink socket and request notification about configuration changes.
41297         (main_loop_poll): Track netlink file descriptor and bump timestamp
41298         in case data becomes available.
41299         (main_loop_epoll): Likewise.
41300         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41301         (database_pers_head): Add extra_data fileds.
41302         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41303         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41304         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41305         Adjust caller.
41306         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41307         in6ai data, call __free_in6ai.
41308         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41309         Add -DHAVE_NETLINK.
41310         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41311         interface information.  Reuse previous data if netlink timestamp
41312         is not changed.
41313         (__bump_nl_timestamp): New function.
41314         (__free_in6ai): New function.
41315
41316 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41317
41318         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41319         close_not_cancel_no_status here.
41320         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41321
41322 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41323
41324         [BZ #13276]
41325         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41326         return value.
41327
41328         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41329         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41330         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41331
41332 2011-07-03  Andreas Jaeger  <aj@suse.de>
41333
41334         [BZ #10709]
41335         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41336         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41337         * math/libm-test.inc (sin_test): Add test case.
41338
41339 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41340
41341         [BZ #13337]
41342         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41343         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41344
41345         * elf/chroot_canon.c (chroot_canon): Cleanups.
41346
41347         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41348
41349         [BZ #13335]
41350         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41351         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41352
41353         * string/test-strchr.c: Make usable for strchrnul testing.
41354         * string/test-strchrnul.c: New file.
41355         * string/Makefile (strop-tests): Add strchrnul.
41356
41357         * po/it.po: Update from translation team.
41358         * po/es.po: Likewise.
41359
41360 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41361
41362         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41363         the three constants needed as parameters.  Drop the others.
41364         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41365         __m128i_strloadu_tolower.
41366         Create and initialize variable zero and use it in all the places
41367         where _mm_setzero_si128 was used.
41368
41369         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41370         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41371         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41372         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41373         anymore.
41374         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41375         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41376         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41377         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41378         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41379         __mpranred, __mptan.
41380         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41381         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41382         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41383         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41384         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41385         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41386         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41387         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41388         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41389
41390 2011-10-28  Andreas Schwab  <schwab@redhat.com>
41391
41392         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41393         redefine if SHARED.
41394         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41395
41396         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41397         wide char related routines to wcsmbs subdir.
41398
41399 2011-10-27  Andreas Schwab  <schwab@redhat.com>
41400
41401         [BZ #13344]
41402         * misc/sys/cdefs.h (__THROWNL): Define.
41403         * posix/unistd.h: Use __THREADNL instead of __THREAD
41404         for memory synchronization functions.
41405
41406 2011-10-26  Roland McGrath  <roland@hack.frob.com>
41407
41408         [BZ #13349]
41409         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41410         doesn't exist.
41411         * manual/stdio.texi (Obstack Streams): Node removed.
41412
41413 2011-10-26  Andreas Schwab  <schwab@redhat.com>
41414
41415         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41416         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41417         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41418
41419         * math/math_private.h (math_force_eval): Allow non-addressable
41420         arguments.
41421         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41422
41423 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41424
41425         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41426         file is not needed.
41427
41428         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41429         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41430         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41431         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41432         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41433         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41434         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41435         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41436         Add AVX variants.
41437         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41438         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41439         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41440         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41441         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41442         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41443         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41444         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41445         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41446         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41447         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41448         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41449         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41450         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41451         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41452         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41453         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41454         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41455         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41456
41457         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41458         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
41459
41460         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41461         place.  Use VEX encoding when compiling for AVX.
41462
41463 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41464
41465         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41466         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41467
41468         * string/test-strchr.c (do_test): Don't generate NUL bytes.
41469
41470 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41471
41472         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41473         useless if() expression.
41474         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41475         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41476         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41477         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41478         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41479         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41480         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41481         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41482         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41483         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41484         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41485         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41486         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41487         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41488         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41489         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41490         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41491         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41492         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41493
41494         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41495
41496 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41497
41498         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41499         condition.
41500         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41501
41502 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41503
41504         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41505         .text section.  Avoid duplicate constants.
41506         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41507         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41508         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41509         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41510         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41511         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41512         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41513         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41514         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41515         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41516         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41517         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41518         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41519         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41520         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41521         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41522         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41523         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41524         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41525         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41526         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41527         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41528         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41529         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41530         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41531         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41532         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41533         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41534         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41535         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41536         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41537         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41538         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41539         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41540         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41541         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41542         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41543         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41544         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41545         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41546         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41547         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41548         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41549         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41550         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41551
41552 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
41553
41554         * sysdeps/x86_64/dla.h: Move to ...
41555         * sysdeps/x86_64/fpu/dla.h: ...here.
41556         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41557         situations.  Use __builtin_fma only for gcc 4.6 and up.
41558
41559         * config.make.in: Add have-mfma4 entry.
41560         * configure.in: Substitute libc_cv_cc_fma4.
41561         * math/Makefile (dbl-only-routines): Add sincostab.
41562         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41563         Use __sincostab not sincos.
41564         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41565         name is a macro.
41566         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41567         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41568         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41569         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
41570         using __copysign.
41571         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
41572         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
41573         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41574         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41575         and __inv.
41576         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41577         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41578         __copysign.
41579         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
41580         define aliases when function name is a macro.
41581         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41582         sysdeps/ieee754/dbl-64/sincos.tbl.
41583         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41584         fma4-enabled routines.
41585         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41586         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41587         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41588         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41589         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41590         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41591         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41592         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41593         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41594         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41595         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41596         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41597         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41598         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41599         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41600         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41601         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41602         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41603         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41604         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41605         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41606         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41607         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41608         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41609         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41610         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41611         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41612         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41613         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41614         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41615
41616         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41617         rename.
41618         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41619         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41620         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41621         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41622         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41623         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41624         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41625         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41626
41627 2011-10-24  Andreas Schwab  <schwab@redhat.com>
41628
41629         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41630
41631 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41632
41633         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41634
41635         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41636         prediction.
41637         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41638
41639         * string/strnlen.c: Don't define STRNLEN, reverse logic.
41640         Remove unused variable magic_bits.
41641         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41642
41643         * string/strnlen.c: Define and use STRNLEN macro.
41644         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41645         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41646         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41647         * wcsmbs/wcslen.c: Define and use WCSLEN.
41648         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41649         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41650         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41651         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41652         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41653         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41654         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41655
41656 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41657
41658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41659         strnlen-sse2-no-bsf.
41660         Rename strlen-no-bsf to strlen-sse2-no-bsf.
41661         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41662         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41663         Add strnlen support.
41664         (USE_AS_STRNLEN): New macro.
41665         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41666         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41667         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41668         * sysdeps/x86_64/wcslen.S: New file.
41669
41670 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
41671
41672         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41673         XMM-moves are used for copying on small sizes.
41674
41675 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41676
41677         * wcsmbs/Makefile (strop-tests): Add wcschr.
41678         * wcsmbs/test-wcschr.c: New file.
41679         * string/test-strchr.c: Update.
41680         Add wcschr support.
41681         (WIDE): New macro.
41682
41683 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41684
41685         * wcsmbs/Makefile (strop-tests): Add wcslen.
41686         * wcsmbs/test-wcslen.c: New file.
41687         * string/test-strlen.c: Update.
41688         Add wcslen support.
41689         (WIDE): New macro.
41690
41691 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41692
41693         * po/it.po: Update from translation team.
41694
41695 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41696
41697         * sysdeps/x86_64/wcscmp.S: Update.
41698         Fix wrong comparison semantics.
41699         wcscmp shall use signed comparison not unsigned.
41700         Don't use substraction to avoid overflow bug.
41701         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41702         * wcsmbc/wcscmp.c: Likewise.
41703         * string/test-strcmp.c: Likewise.
41704         Add new tests to check cases with negative values.
41705
41706 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41707
41708         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41709         * sysdeps/x86_64/dla.h: ...here.  New file.
41710         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41711         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41712         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41713         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41714         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41715         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41716         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41717         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41718         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41719
41720 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
41721
41722         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41723         __ynl_finite aliases.
41724
41725 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41726
41727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41728
41729         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41730         define DLA_FMA.
41731         [DLA_FMA] (EMULV): Use DLA_FMA.
41732         [DLA_FMA] (MUL12): Use EMULV.
41733         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41734         that are not needed.
41735         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41736         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41737         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41738         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41739         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41740         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41741         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41742
41743 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
41744
41745         * math/s_nan.c: Undef __nan.
41746         * math/s_nanf.c: Undef __nanf.
41747         * math/s_nanl.c: Undef __nanl.
41748         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41749         "math_private.h".
41750
41751 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41752
41753         * math/s_catan.c: Add branch predictions.
41754         * math/s_catanf.c: Likewise.
41755         * math/s_catanh.c: Likewise.
41756         * math/s_catanhf.c: Likewise.
41757         * math/s_catanhl.c: Likewise.
41758         * math/s_catanl.c: Likewise.
41759         * math/s_cexp.c: Likewise.
41760         * math/s_cexpf.c: Likewise.
41761         * math/s_cexpl.c: Likewise.
41762         * math/s_clog.c: Likewise.
41763         * math/s_clog10.c: Likewise.
41764         * math/s_clog10f.c: Likewise.
41765         * math/s_clog10l.c: Likewise.
41766         * math/s_clogf.c: Likewise.
41767         * math/s_clogl.c: Likewise.
41768         * math/s_csqrt.c: Likewise.
41769         * math/s_csqrtf.c: Likewise.
41770         * math/s_csqrtl.c: Likewise.
41771         * math/s_ctanf.c: Likewise.
41772         * math/s_ctanh.c: Likewise.
41773         * math/s_ctanhf.c: Likewise.
41774         * math/s_ctanhl.c: Likewise.
41775         * math/s_ctanl.c: Likewise.
41776
41777         * math/math_private.h: Define __nan, __nanf, __nanl.
41778         * math/s_cacosh.c: Include <math_private.h>.
41779         * math/s_cacoshl.c: Likewise.
41780         * math/s_casinh.c: Likewise.
41781         * math/s_casinhf.c: Likewise.
41782         * math/s_casinhl.c: Likewise.
41783         * math/s_ccos.c: Rely entire on ccosh.
41784         * math/s_ccosf.c: Rely entire on ccoshf.
41785         * math/s_ccosl.c: Rely entirely on ccoshl.
41786         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
41787         Remove tests for FE_INVALID.
41788         * math/s_ccoshf.c: Likewise.
41789         * math/s_ccoshl.c: Likewise.
41790         * math/s_csin.c: Likewise.
41791         * math/s_csinf.c: Likewise.
41792         * math/s_csinh.c Likewise.
41793         * math/s_csinhf.c: Likewise.
41794         * math/s_csinhl.c: Likewise.
41795         * math/s_csinl.c: Likewise.
41796         * math/s_ctan.c: Likewise.
41797         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41798         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41799         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41800
41801 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
41802
41803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41804         compilation problems.
41805
41806         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41807         __builtin_expect.
41808
41809 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
41810
41811         * sysdeps/i386/configure.in: Test for -mfma4 option.
41812         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41813         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41814         COMMON_CPUID_INDEX_80000001.
41815         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41816         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41817         use it if FMA3 is not supported.
41818         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41819
41820         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41821         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41822
41823 2011-10-20  Andreas Schwab  <schwab@redhat.com>
41824
41825         [BZ #12892]
41826         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41827         it would create a cycle with a link time dependency.
41828
41829 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
41830
41831         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41832         instruction.
41833         * string/Makefile (strop-tests): Add rawmemchr.
41834         * string/test-rawmemchr.c: New file.
41835
41836         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41837         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
41838         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
41839         when compiling str{,n}casecmp and when AVX is available.  Hook up
41840         new optimized code in initializers.
41841
41842 2011-10-19  Andreas Schwab  <schwab@redhat.com>
41843
41844         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41845         __feraiseexcept instead of feraiseexcept.
41846
41847 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
41848
41849         * math/math_private.h: Define defaults for libc_fetestexcept and
41850         libc_feupdateenv.
41851         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41852         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41853         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41854         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41855         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41856         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41857         libc_fetestexcept and libc_feupdateenv.
41858
41859         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41860         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41861         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41862         * sysdeps/x86_64/fpu/math_private.h: Define special version of
41863         libc_feholdexcept_setround.
41864
41865         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41866         Add s_nearbyint-c and s_nearbyintf-c.
41867         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41868         nearbyintf inlines.
41869         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41870         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41871         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41872         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41873
41874         * math/math_private.h: Define defaults for libc_fegetround,
41875         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41876         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41877         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41878         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41879         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41880         standard functions.
41881         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41882         Remove comments and hacks for old compiler versions.
41883         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41884         libc_fegetround, libc_fesetround, libc_feholdexcept, and
41885         libc_feholdexceptl.
41886
41887 2011-10-18  Andreas Schwab  <schwab@redhat.com>
41888
41889         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41890         (__feraiseexcept_renamed): Add __NTH.
41891         (feraiseexcept): Add __NTH.  Rename local variables to fix
41892         namespace violations.
41893
41894 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
41895
41896         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41897
41898         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41899
41900         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41901         recently added interfaces.
41902         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41903
41904         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41905         about macro parameter expansion.
41906
41907         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41908         __NO_MATH_INLINES is defined.  Cleanups.
41909
41910         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41911         and __floorf is target has SSE4.1.
41912         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41913         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41914         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41915         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41916
41917         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41918         name.
41919         (floorf): Likewise.
41920
41921         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41922
41923 2011-10-17  Andreas Schwab  <schwab@redhat.com>
41924
41925         * misc/sys/cdefs.h: Fix last change.
41926
41927         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41928         database lookup.
41929
41930 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
41931
41932         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41933
41934         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41935         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41936         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41937         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41938         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41939         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41940         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41941         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41942         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41943         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41944         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41945         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41946         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41947         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41948         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41949         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41950         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41951         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41952         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41953         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41954         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41955         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41956
41957         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41958         ceil, ceilf, floor, floorf.
41959
41960         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41961         Perform IRELATIVE relocations last.
41962
41963         * elf/do-rel.h: Add another parameter nrelative, replacing the
41964         local variable with the same name.  Change name of the function
41965         to end in Rel or Rela (uppercase).
41966         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41967         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
41968         elf_dynamic_do_##reloc function.
41969
41970 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41971
41972         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41973         is sufficient, at least on modern CPUs.
41974
41975         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41976
41977         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41978         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41979
41980         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41981         __expl_finite.
41982         * math/bits/math-finite.h: Add entries for exp.
41983         * math/e_expl.c: Add __*_finite alias.
41984         * sysdeps/i386/fpu/e_exp.S: Likewise.
41985         * sysdeps/i386/fpu/e_expf.S: Likewise.
41986         * sysdeps/i386/fpu/e_expl.c: Likewise.
41987         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41988         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41989         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41990         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41991         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41992         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41993         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41994
41995         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41996         is sufficient, at least on modern CPUs.
41997
41998         * ctype/ctype-info.c (__ctype_init): Define.
41999         * include/ctype.h (__ctype_init): Declare.
42000         (__ctype_b_loc): The variable is always initialized.
42001         (__ctype_toupper_loc): Likewise.
42002         (__ctype_tolower_loc): Likewise.
42003         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42004         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42005
42006 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42007
42008         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42009
42010         * configure.in: Also look in $cxxmachine/include for C++ system
42011         headers.
42012
42013 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42014
42015         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42016         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42017         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42018         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42019         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42020         (USE_AS_WMEMCMP): New macro.
42021         Fixing indents.
42022         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42023         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42024         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42025         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42026         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42027         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42028         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42029         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42030         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42031         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42032         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42033         (USE_AS_WMEMCMP): New macro.
42034         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42035         * sysdeps/string/test-memcmp.c: Update.
42036         Fix simple_wmemcmp.
42037         Add new tests.
42038         * wcsmbs/wmemcmp.c: Update.
42039         (WMEMCMP): New macro.
42040         Fix overflow bug.
42041
42042 2011-10-12  Andreas Jaeger  <aj@suse.de>
42043
42044         [BZ #13268]
42045         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42046
42047 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42048
42049         * libio/iofwide.c (do_length): Avoid warning.
42050
42051         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42052
42053 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42054
42055         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42056
42057         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42058         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42059         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42060         * sysdeps/i386/i686/fpu/e_log.S: New file.
42061         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42062         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42063
42064         * ctype/ctype.h: Add support for inlined isXXX functions when
42065         compiling C++ code.
42066
42067 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42068
42069         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42070
42071         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42072
42073 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42074
42075         [BZ #13291]
42076         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42077
42078 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42079
42080         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42081         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42082         feraiseexcept.
42083
42084         * sysdeps/x86_64/memrchr.S: Check for zero size.
42085
42086         * string/stratcliff.c: Add memrchr tests.
42087
42088 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42089
42090         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42091         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42092         rawmemchr-sse2 rawmemchr-sse2-bsf.
42093         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42094         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42095         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42096         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42097         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42098         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42099         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42100         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42101         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42102         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42103         * string/memrchr.c (MEMRCHR): New macro.
42104
42105 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42106
42107         Add integration with gcc's -ffinite-math-only and optimize wrapper
42108         functions in libm.
42109         * Versions.def: Define GLIBC_2.15 version for libm.
42110         * math/Makefile (headers): Add bits/math-finite.h.
42111         * math/bits/math-finite.h: New file.
42112         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42113         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42114         * math/e_acoshl.c: Add __*_finite alias.
42115         * math/e_acosl.c: Likewise.
42116         * math/e_asinl.c: Likewise.
42117         * math/e_atan2l.c: Likewise.
42118         * math/e_atanhl.c: Likewise.
42119         * math/e_coshl.c: Likewise.
42120         * math/e_exp10.c: Likewise.
42121         * math/e_exp10f.c: Likewise.
42122         * math/e_exp10l.c: Likewise.
42123         * math/e_exp2l.c: Likewise.
42124         * math/e_fmodl.c: Likewise.
42125         * math/e_gammal_r.c: Likewise.
42126         * math/e_hypotl.c: Likewise.
42127         * math/e_j0l.c: Likewise.
42128         * math/e_j1l.c: Likewise.
42129         * math/e_jnl.c: Likewise.
42130         * math/e_lgammal_r.c: Likewise.
42131         * math/e_log10l.c: Likewise.
42132         * math/e_log2l.c: Likewise.
42133         * math/e_logl.c: Likewise.
42134         * math/e_powl.c: Likewise.
42135         * math/e_sinhl.c: Likewise.
42136         * math/e_sqrtl.c: Likewise.
42137         * math/e_scalb.c: Completely rewritten and optimized.
42138         * math/e_scalbf.c: Likewise.
42139         * math/e_scalbl.c: Likewise.
42140         * math/w_acos.c: Likewise.
42141         * math/w_acosf.c: Likewise.
42142         * math/w_acosl.c: Likewise.
42143         * math/w_acosh.c: Likewise.
42144         * math/w_acoshf.c: Likewise.
42145         * math/w_acoshl.c: Likewise.
42146         * math/w_asin.c: Likewise.
42147         * math/w_asinf.c: Likewise.
42148         * math/w_asinl.c: Likewise.
42149         * math/w_atan2.c: Likewise.
42150         * math/w_atan2f.c: Likewise.
42151         * math/w_atan2l.c: Likewise.
42152         * math/w_atanh.c: Likewise.
42153         * math/w_atanhf.c: Likewise.
42154         * math/w_atanhl.c: Likewise.
42155         * math/w_exp10.c: Likewise.
42156         * math/w_exp10f.c: Likewise.
42157         * math/w_exp10l.c: Likewise.
42158         * math/w_fmod.c: Likewise.
42159         * math/w_fmodf.c: Likewise.
42160         * math/w_fmodl.c: Likewise.
42161         * math/w_j0.c: Likewise.
42162         * math/w_j0f.c: Likewise.
42163         * math/w_j0l.c: Likewise.
42164         * math/w_j1.c: Likewise.
42165         * math/w_j1f.c: Likewise.
42166         * math/w_j1l.c: Likewise.
42167         * math/w_jn.c: Likewise.
42168         * math/w_jnf.c: Likewise.
42169         * math/w_log.c: Likewise.
42170         * math/w_logf.c: Likewise.
42171         * math/w_logl.c: Likewise.
42172         * math/w_log10.c: Likewise.
42173         * math/w_log10f.c: Likewise.
42174         * math/w_log10l.c: Likewise.
42175         * math/w_log2.c: Likewise.
42176         * math/w_log2f.c: Likewise.
42177         * math/w_log2l.c: Likewise.
42178         * math/w_pow.c: Likewise.
42179         * math/w_powf.c: Likewise.
42180         * math/w_powl.c: Likewise.
42181         * math/w_remainder.c: Likewise.
42182         * math/w_remainderf.c: Likewise.
42183         * math/w_remainderl.c: Likewise.
42184         * math/w_scalb.c: Likewise.
42185         * math/w_scalbf.c: Likewise.
42186         * math/w_scalbl.c: Likewise.
42187         * math/w_sqrt.c: Likewise.
42188         * math/w_sqrtf.c: Likewise.
42189         * math/w_sqrtl.c: Likewise.
42190         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42191         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42192         used.
42193         * math/math_private.h: Declare __kernel_standard_f.
42194         * math/w_cosh.c: Remove cruft and optimize a bit.
42195         * math/w_coshf.c: Likewise.
42196         * math/w_coshl.c: Likewise.
42197         * math/w_exp2.c: Likewise.
42198         * math/w_exp2f.c: Likewise.
42199         * math/w_exp2l.c: Likewise.
42200         * math/w_hypot.c: Likewise.
42201         * math/w_hypotf.c: Likewise.
42202         * math/w_hypotl.c: Likewise.
42203         * math/w_lgamma.c: Likewise.
42204         * math/w_lgamma_r.c: Likewise.
42205         * math/w_lgammaf.c: Likewise.
42206         * math/w_lgammaf_r.c: Likewise.
42207         * math/w_lgammal.c: Likewise.
42208         * math/w_lgammal_r.c: Likewise.
42209         * math/w_sinh.c: Likewise.
42210         * math/w_sinhf.c: Likewise.
42211         * math/w_sinhl.c: Likewise.
42212         * math/w_tgamma.c: Likewise.
42213         * math/w_tgammaf.c: Likewise.
42214         * math/w_tgammal.c: Likewise.
42215         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42216         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42217         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42218         Minor optimizations.  Pretty printing.  Remove cruft.
42219         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42220         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42221         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42222         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42223         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42224         * sysdeps/i386/fpu/e_asin.S: Likewise.
42225         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42226         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42227         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42228         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42229         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42230         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42231         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42232         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42233         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42234         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42235         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42236         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42237         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42238         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42239         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42240         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42241         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42242         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42243         * sysdeps/i386/fpu/e_log.S: Likewise.
42244         * sysdeps/i386/fpu/e_log10.S: Likewise.
42245         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42246         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42247         * sysdeps/i386/fpu/e_log2.S: Likewise.
42248         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42249         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42250         * sysdeps/i386/fpu/e_logf.S: Likewise.
42251         * sysdeps/i386/fpu/e_logl.S: Likewise.
42252         * sysdeps/i386/fpu/e_pow.S: Likewise.
42253         * sysdeps/i386/fpu/e_powf.S: Likewise.
42254         * sysdeps/i386/fpu/e_powl.S: Likewise.
42255         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42256         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42257         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42258         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42259         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42260         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42261         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42262         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42263         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42264         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42265         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42266         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42267         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42268         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42269         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42270         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42271         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42272         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42273         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42274         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42275         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42276         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42277         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42278         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42279         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42280         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42281         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42282         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42283         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42284         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42285         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42286         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42287         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42288         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42289         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42290         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42291         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42292         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42293         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42294         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42295         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42296         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42297         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42298         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42299         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42300         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42301         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42302         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42303         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42304         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42305         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42306         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42307         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42308         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42309         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42310         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42311         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42312         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42313         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42314         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42315         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42316         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42317         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42318         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42319         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42320         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42321         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42322         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42323         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42324         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42325         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42326         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42327         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42328         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42329         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42330         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42331         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42332         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42333         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42334         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42335         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42336         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42337         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42338         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42339         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42340         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42341         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42342         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42343         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42344         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42345         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42346         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42347         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42348         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42349         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42350         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42351         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42352         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42353         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42354         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42355         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42356         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42357         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42358         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42359         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42360         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42361         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42362         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42363         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42364         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42365         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42366         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42367         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42368         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42369         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42370         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42371         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42372         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42373         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42374         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42375         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42376         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42377         (__isnanf): Likewise.
42378         (__isinf_ns): Likewise.
42379         (__isinf_nsf): Likewise.
42380         (__finite): Likewise.
42381         (__finitef): Likewise.
42382         (__ieee754_sqrt): Define as macro.
42383         (__ieee754_sqrtf): Define as macro.
42384         (__ieee754_sqrtl): Define as macro.
42385         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42386         inlined copy.
42387         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42388         __FINITE_MATH_ONLY__ consistent.
42389         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42390
42391 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
42392
42393         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42394         of rawmemchr.
42395
42396         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42397
42398 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
42399
42400         * po/ja.po: Update from translation team.
42401
42402 2011-10-08  Roland McGrath  <roland@hack.frob.com>
42403
42404         * locale/programs/locarchive.c (prepare_address_space): New function.
42405         (create_archive, enlarge_archive, open_archive): Use it.
42406
42407         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42408         inside [SHARED], where it is used.
42409
42410         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42411
42412         * nss/getent.c (netgroup_keys): Remove unused variable.
42413         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42414
42415 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
42416
42417         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42418         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42419         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42420         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42421         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42422         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42423         * math/Makefile (libm-calls): Add s_isinf_ns.
42424         * math/divtc3.c: Use __isinf_nsl instead of isinf.
42425         * math/multc3.c: Likewise.
42426         * math/s_casin.c: Likewise.
42427         * math/s_casinf.c: Likewise.
42428         * math/s_casinl.c: Likewise.
42429         * math/s_ccos.c: Likewise.
42430         * math/s_ccosf.c: Likewise.
42431         * math/s_ccosl.c: Likewise.
42432         * math/s_ctan.c: Likewise.
42433         * math/s_ctanf.c: Likewise.
42434         * math/s_ctanh.c: Likewise.
42435         * math/s_ctanhf.c: Likewise.
42436         * math/s_ctanhl.c: Likewise.
42437         * math/s_ctanl.c: Likewise.
42438         * math/w_fmod.c: Likewise.
42439         * math/w_fmodf.c: Likewise.
42440         * math/w_fmodl.c: Likewise.
42441         * math/w_remainder.c: Likewise.
42442         * math/w_remainderf.c: Likewise.
42443         * math/w_remainderl.c: Likewise.
42444         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42445         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42446         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42447         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42448         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42449         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42450         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42451         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42452
42453         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42454         of the number.
42455         * stdio-common/printf_fphex.c: Likewise.
42456         * stdio-common/printf_size.c: Likewise.
42457
42458         * math/e_exp10.c: Include math_private.h using <...> not "...".
42459         * math/e_exp10f.c: Likewise.
42460         * math/e_exp10l.c: Likewise.
42461         * math/e_exp2l.c: Likewise.
42462         * math/e_j0l.c: Likewise.
42463         * math/e_j1l.c: Likewise.
42464         * math/e_jnl.c: Likewise.
42465         * math/e_lgammal_r.c: Likewise.
42466         * math/e_rem_pio2l.c: Likewise.
42467         * math/e_scalb.c: Likewise.
42468         * math/e_scalbf.c: Likewise.
42469         * math/e_scalbl.c: Likewise.
42470         * math/k_cosl.c: Likewise.
42471         * math/k_sinl.c: Likewise.
42472         * math/k_tanl.c: Likewise.
42473         * math/s_cacoshf.c: Likewise.
42474         * math/s_catan.c: Likewise.
42475         * math/s_catanf.c: Likewise.
42476         * math/s_catanh.c: Likewise.
42477         * math/s_catanhf.c: Likewise.
42478         * math/s_catanhl.c: Likewise.
42479         * math/s_catanl.c: Likewise.
42480         * math/s_ccosh.c: Likewise.
42481         * math/s_ccoshf.c: Likewise.
42482         * math/s_ccoshl.c: Likewise.
42483         * math/s_cexp.c: Likewise.
42484         * math/s_cexpf.c: Likewise.
42485         * math/s_cexpl.c: Likewise.
42486         * math/s_clog.c: Likewise.
42487         * math/s_clog10.c: Likewise.
42488         * math/s_clog10f.c: Likewise.
42489         * math/s_clog10l.c: Likewise.
42490         * math/s_clogf.c: Likewise.
42491         * math/s_clogl.c: Likewise.
42492         * math/s_csin.c: Likewise.
42493         * math/s_csinf.c: Likewise.
42494         * math/s_csinh.c: Likewise.
42495         * math/s_csinhf.c: Likewise.
42496         * math/s_csinhl.c: Likewise.
42497         * math/s_csinl.c: Likewise.
42498         * math/s_csqrt.c: Likewise.
42499         * math/s_csqrtf.c: Likewise.
42500         * math/s_csqrtl.c: Likewise.
42501         * math/s_ctan.c: Likewise.
42502         * math/s_ctanf.c: Likewise.
42503         * math/s_ctanh.c: Likewise.
42504         * math/s_ctanhf.c: Likewise.
42505         * math/s_ctanhl.c: Likewise.
42506         * math/s_ctanl.c: Likewise.
42507         * math/s_ldexp.c: Likewise.
42508         * math/s_ldexpf.c: Likewise.
42509         * math/s_ldexpl.c: Likewise.
42510         * math/s_significand.c: Likewise.
42511         * math/s_significandf.c: Likewise.
42512         * math/s_significandl.c: Likewise.
42513         * math/w_acos.c: Likewise.
42514         * math/w_acosf.c: Likewise.
42515         * math/w_acosh.c: Likewise.
42516         * math/w_acoshf.c: Likewise.
42517         * math/w_acoshl.c: Likewise.
42518         * math/w_acosl.c: Likewise.
42519         * math/w_asin.c: Likewise.
42520         * math/w_asinf.c: Likewise.
42521         * math/w_asinl.c: Likewise.
42522         * math/w_atan2.c: Likewise.
42523         * math/w_atan2f.c: Likewise.
42524         * math/w_atan2l.c: Likewise.
42525         * math/w_atanh.c: Likewise.
42526         * math/w_atanhf.c: Likewise.
42527         * math/w_atanhl.c: Likewise.
42528         * math/w_cosh.c: Likewise.
42529         * math/w_coshf.c: Likewise.
42530         * math/w_coshl.c: Likewise.
42531         * math/w_dremf.c: Likewise.
42532         * math/w_exp10.c: Likewise.
42533         * math/w_exp10f.c: Likewise.
42534         * math/w_exp10l.c: Likewise.
42535         * math/w_exp2.c: Likewise.
42536         * math/w_exp2f.c: Likewise.
42537         * math/w_fmod.c: Likewise.
42538         * math/w_fmodf.c: Likewise.
42539         * math/w_fmodl.c: Likewise.
42540         * math/w_hypot.c: Likewise.
42541         * math/w_hypotf.c: Likewise.
42542         * math/w_hypotl.c: Likewise.
42543         * math/w_j0.c: Likewise.
42544         * math/w_j0f.c: Likewise.
42545         * math/w_j0l.c: Likewise.
42546         * math/w_j1.c: Likewise.
42547         * math/w_j1f.c: Likewise.
42548         * math/w_j1l.c: Likewise.
42549         * math/w_jn.c: Likewise.
42550         * math/w_jnf.c: Likewise.
42551         * math/w_jnl.c: Likewise.
42552         * math/w_lgamma.c: Likewise.
42553         * math/w_lgamma_r.c: Likewise.
42554         * math/w_lgammaf.c: Likewise.
42555         * math/w_lgammaf_r.c: Likewise.
42556         * math/w_lgammal.c: Likewise.
42557         * math/w_lgammal_r.c: Likewise.
42558         * math/w_log.c: Likewise.
42559         * math/w_log10.c: Likewise.
42560         * math/w_log10f.c: Likewise.
42561         * math/w_log10l.c: Likewise.
42562         * math/w_log2.c: Likewise.
42563         * math/w_log2f.c: Likewise.
42564         * math/w_log2l.c: Likewise.
42565         * math/w_logf.c: Likewise.
42566         * math/w_logl.c: Likewise.
42567         * math/w_pow.c: Likewise.
42568         * math/w_powf.c: Likewise.
42569         * math/w_powl.c: Likewise.
42570         * math/w_remainder.c: Likewise.
42571         * math/w_remainderf.c: Likewise.
42572         * math/w_remainderl.c: Likewise.
42573         * math/w_scalb.c: Likewise.
42574         * math/w_scalbf.c: Likewise.
42575         * math/w_scalbl.c: Likewise.
42576         * math/w_sinh.c: Likewise.
42577         * math/w_sinhf.c: Likewise.
42578         * math/w_sinhl.c: Likewise.
42579         * math/w_sqrt.c: Likewise.
42580         * math/w_sqrtf.c: Likewise.
42581         * math/w_sqrtl.c: Likewise.
42582         * math/w_tgamma.c: Likewise.
42583         * math/w_tgammaf.c: Likewise.
42584         * math/w_tgammal.c: Likewise.
42585
42586         * po/ja.po: Update from translation team.
42587
42588 2011-09-29  Andreas Jaeger  <aj@suse.de>
42589
42590         [BZ #13179]
42591         * sunrpc/netname.c (netname2host): Fix logic.
42592
42593         [BZ #6779]
42594         [BZ #6783]
42595         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42596         correctly.
42597         * math/w_remainder.c (__remainder): Likewise.
42598         * math/w_remainderf.c (__remainderf): Likewise.
42599         * math/libm-test.inc (remainder_test): Add test cases.
42600
42601 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42602
42603         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
42604         sdiv_qrnnd.
42605
42606 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42607
42608         * string/test-memcmp.c: Avoid unncessary #defines.
42609         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42610
42611 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42612
42613         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42614         Use new sse2 version for core i3 - i7 as it's faster
42615         than sse42 version.
42616         (bit_Prefer_PMINUB_for_stringop): New.
42617         * sysdeps/x86_64/rawmemchr.S: Update.
42618         Replace with faster SSE2 version.
42619         * sysdeps/x86_64/memrchr.S: New file.
42620         * sysdeps/x86_64/memchr.S: Update.
42621         Replace with faster SSE2 version.
42622
42623 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
42624
42625         * elf/dl-load.c (lose): Add cast to avoid warning.
42626
42627 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42628
42629         * po/ca.po: Update from translation team.
42630
42631         * inet/getnetgrent_r.c: Hook up nscd.
42632         * nscd/Makefile (routines): Add nscd_netgroup.
42633         (nscd-modules): Add netgroupcache.
42634         (CFLAGS-netgroupcache.c): Define.
42635         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42636         (cache_search): Add const to second parameter.
42637         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42638         INNETGR.
42639         (dbs): Add netgrdb entry.
42640         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42641         (verify_persistent_db): Handle netgrdb.
42642         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42643         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42644         GETFDNETGR.
42645         (netgroup_response_header): Define.
42646         (innetgroup_response_header): Define.
42647         (datahead): Add netgroup_response_header and innetgroup_response_header
42648         elements.
42649         * nscd/nscd.conf: Add entries for netgroup cache.
42650         * nscd/nscd.h (dbtype): Add netgrdb.
42651         (_PATH_NSCD_NETGROUP_DB): Define.
42652         (netgroup_iov_disabled): Declare.
42653         (xmalloc, xcalloc, xrealloc): Move declarations here.
42654         (cache_search): Adjust prototype.
42655         Add netgroup-related prototypes.
42656         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42657         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42658         (__nscd_innetgr): Declare.
42659         * nscd/selinux.c (perms): Use access_vector_t as element type and
42660         add netgroup-related initializers.
42661         * nscd/netgroupcache.c: New file.
42662         * nscd/nscd_netgroup.c: New file.
42663         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42664         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42665         For four parameters use innetgr.
42666         * nss/nss_files/files-init.c: Add definition and callback for netgr.
42667         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42668         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42669         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42670
42671         * nscd/connections.c (register_traced_file): Don't register file
42672         for disabled databases.
42673
42674 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
42675
42676         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42677
42678         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42679         from tree and freeing node.
42680
42681 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
42682
42683         * nss/nsswitch.c (__nss_database_lookup): Handle
42684         nss_parse_service_list out of memory case.
42685
42686 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
42687
42688         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42689         out of memory case.
42690
42691 2011-10-04  Andreas Schwab  <schwab@redhat.com>
42692
42693         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42694         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42695         pass it down.
42696         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42697         elf_machine_rela, elf_machine_lazy_rel.
42698         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42699         (ELF_DYNAMIC_DO_REL): Likewise.
42700         (ELF_DYNAMIC_DO_RELA): Likewise.
42701         (ELF_DYNAMIC_RELOCATE): Likewise.
42702         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42703         to ELF_DYNAMIC_DO_REL.
42704         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42705         (dl_main): In trace mode always set __RTLD_NOIFUNC.
42706         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42707         elf_machine_rela.
42708         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42709         skip_ifunc, don't call ifunc function if non-zero.
42710         (elf_machine_rela): Likewise.
42711         (elf_machine_lazy_rel): Likewise.
42712         (elf_machine_lazy_rela): Likewise.
42713         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42714         (elf_machine_lazy_rel): Likewise.
42715         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42716         Likewise.
42717         (elf_machine_lazy_rel): Likewise.
42718         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42719         Likewise.
42720         (elf_machine_lazy_rel): Likewise.
42721         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42722         (elf_machine_lazy_rel): Likewise.
42723         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42724         (elf_machine_lazy_rel): Likewise.
42725         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42726         (elf_machine_lazy_rel): Likewise.
42727         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42728         (elf_machine_lazy_rel): Likewise.
42729         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42730         (elf_machine_lazy_rel): Likewise.
42731         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42732         (elf_machine_lazy_rel): Likewise.
42733
42734 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
42735
42736         * nss/nss_files/files-init.c (_nss_files_init): Use static
42737         initialization for all the *_traced_file variables.
42738
42739 2011-09-28  Andreas Schwab  <schwab@redhat.com>
42740
42741         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42742
42743 2011-09-27  Roland McGrath  <roland@hack.frob.com>
42744
42745         [BZ #13226]
42746         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42747
42748 2011-09-27  Andreas Schwab  <schwab@redhat.com>
42749
42750         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42751         Reread the line before reparsing it.
42752
42753 2011-09-26  Andreas Schwab  <schwab@redhat.com>
42754
42755         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42756
42757 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
42758             Maxim Kuvyrkov  <maxim@codesourcery.com>
42759             Joseph Myers  <joseph@codesourcery.com>
42760
42761         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42762         if needed for __stack_chk_guard.
42763
42764 2011-09-19  Roland McGrath  <roland@hack.frob.com>
42765
42766         * sysdeps/posix/spawni.c (script_execute): Always define it.
42767         It will be optimized away if unused.
42768         (maybe_script_execute): New function.
42769         (__spawni): Call it.
42770
42771         * Makerules: Don't include tls.make.
42772         (config-tls): Always set to thread.
42773         * tls.make.c: File removed.
42774
42775 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
42776
42777         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42778         * config.make.in (CPPFLAGS-config): New substituted variable.
42779
42780 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42781
42782         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42783
42784         [BZ #13192]
42785         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42786         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42787
42788 2011-09-15  Roland McGrath  <roland@hack.frob.com>
42789
42790         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42791         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42792         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42793         (CALL_FAIL): Likewise.
42794         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42795         (CALL_FAIL): Macro removed.
42796         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42797
42798 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42799
42800         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42801         for __FINITE_MATH_ONLY__ == 1.
42802
42803 2011-09-15  Andreas Schwab  <schwab@redhat.com>
42804
42805         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42806         __ieee754_sqrt instead of sqrt.
42807         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42808         __ieee754_sqrtf instead of sqrtf.
42809         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42810         __floorf instead of floorf.
42811         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42812         __floorf, __truncf instead of floorf, truncf.
42813
42814 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
42815
42816         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42817
42818         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42819         __extern_always_inline.
42820         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42821         32-bit.
42822
42823 2011-09-14  Andreas Schwab  <schwab@redhat.com>
42824
42825         * elf/rtld.c (dl_main): Also relocate in dependency order when
42826         doing symbol dependency testing.
42827
42828 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
42829
42830         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42831         Always define `refsym'.
42832
42833 2011-09-13  Andreas Schwab  <schwab@redhat.com>
42834
42835         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42836         (__FD_ELT): Renamed from __FDELT.
42837         * misc/bits/select2.h (__FD_ELT): Likewise.
42838         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42839         __FD_MASK instead of __FDELT, __FDMASK.
42840         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42841         Likewise.
42842         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42843         Likewise.
42844
42845         * elf/Makefile (gen-ldd): Fix pattern.
42846
42847         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42848         (init_tls): Likewise.
42849
42850 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
42851
42852         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42853
42854 2011-09-12  Andreas Schwab  <schwab@redhat.com>
42855
42856         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42857         `struct cmsghdr *' instead of `void *'.
42858         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42859         Likewise.
42860
42861 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
42862
42863         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42864         if non-absolute.
42865         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42866         ldd_rewrite_script.
42867
42868 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
42869
42870         * configure.in: Remove --with-tls option.
42871         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42872         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42873         out in case it is missing.
42874         * sysdeps/ia64/elf/configure.in: Likewise.
42875         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42876         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42877         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42878         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42879         * sysdeps/sh/elf/configure.in: Likewise.
42880         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42881         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42882         * sysdeps/x86_64/elf/configure.in: Likewise.
42883         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42884         * sysdeps/mach/hurd/tls.h: Likewise.
42885
42886         [BZ #13067]
42887         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42888
42889         [BZ #13090]
42890         * configure.in: Fix use of AC_INIT.
42891
42892         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42893
42894 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
42895
42896         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42897         __set_errno.
42898         * malloc/hooks.c: Likewise.
42899
42900         [BZ #11929]
42901         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
42902         variables statically.
42903         (narenas): Initialize.
42904         (list_lock): Initialize.
42905         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
42906         initializtion of main_arena and list_lock.  Small cleanups.
42907         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42908         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
42909         Add initializers to main_arena and mp_.
42910         (malloc_state): Remove pagesize member.  Change all users to use
42911         GLRO(dl_pagesize).
42912
42913         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42914         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
42915         is always initialized.
42916
42917         * malloc/malloc.c: Removed unused configurations and dead code.
42918         * malloc/arena.c: Likewise.
42919         * malloc/hooks.c: Likewise.
42920         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42921
42922         * include/tls.h: Removed.  USE___THREAD must always be defined.
42923         * bits/libc-tsd.h: Don't handle !USE___THREAD.
42924         * elf/dl-libc.c: Likewise.
42925         * elf/dl-tsd.c: Likewise.
42926         * include/errno.h: Likewise.
42927         * include/netdb.h: Likewise.
42928         * include/resolv.h: Likewise.
42929         * inet/herrno-loc.c: Likewise.
42930         * inet/herrno.c: Likewise.
42931         * malloc/arena.c: Likewise.
42932         * malloc/hooks.c: Likewise.
42933         * malloc/malloc.c: Likewise.
42934         * resolv/res-state.c: Likewise.
42935         * resolv/res_libc.c: Likewise.
42936         * sysdeps/i386/dl-machine.h: Likewise.
42937         * sysdeps/ia64/dl-machine.h: Likewise.
42938         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42939         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42940         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42941         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42942         * sysdeps/sh/dl-machine.h: Likewise.
42943         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42944         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42945         * sysdeps/unix/i386/sysdep.S: Likewise.
42946         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42947         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42949         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42950         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42952         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42953         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42954         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42955         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42956         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42957         * sysdeps/x86_64/dl-machine.h: Likewise.
42958         * tls.make.c: Likewise.
42959
42960         * configure.in: Remove --with-__thread option.  Make tests for
42961         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42962         tls_model attribute fail if no support is available.  Remove
42963         USE_IN_LIBIO.
42964         * Makeconfig: Adjust for dropped configure option.  All features are
42965         now mandatory.
42966         * Makerules: Likewise.
42967         * Versions.def: Likewise.
42968         * argp/argp-fmtstream.c: Likewise.
42969         * argp/argp-fmtstream.h: Likewise.
42970         * argp/argp-help.c: Likewise.
42971         * assert/assert.c: Likewise.
42972         * config.h.in: Likewise.
42973         * config.make.in: Likewise.
42974         * configure: Likewise.
42975         * configure.in: Likewise.
42976         * csu/Versions: Likewise.
42977         * csu/init.c: Likewise.
42978         * elf/tst-audit2.c: Likewise.
42979         * elf/tst-tls10.c: Likewise.
42980         * elf/tst-tls10.h: Likewise.
42981         * elf/tst-tls11.c: Likewise.
42982         * elf/tst-tls12.c: Likewise.
42983         * elf/tst-tls14.c: Likewise.
42984         * elf/tst-tlsmod11.c: Likewise.
42985         * elf/tst-tlsmod12.c: Likewise.
42986         * elf/tst-tlsmod13.c: Likewise.
42987         * elf/tst-tlsmod13a.c: Likewise.
42988         * elf/tst-tlsmod14a.c: Likewise.
42989         * elf/tst-tlsmod15b.c: Likewise.
42990         * elf/tst-tlsmod16a.c: Likewise.
42991         * elf/tst-tlsmod16b.c: Likewise.
42992         * elf/tst-tlsmod7.c: Likewise.
42993         * elf/tst-tlsmod8.c: Likewise.
42994         * elf/tst-tlsmod9.c: Likewise.
42995         * gmon/gmon.c: Likewise.
42996         * grp/fgetgrent_r.c: Likewise.
42997         * grp/putgrent.c: Likewise.
42998         * hurd/fopenport.c: Likewise.
42999         * include/libc-symbols.h: Likewise.
43000         * include/tls.h: Likewise.
43001         * intl/gettextP.h: Likewise.
43002         * intl/loadinfo.h: Likewise.
43003         * locale/global-locale.c: Likewise.
43004         * locale/localeinfo.h: Likewise.
43005         * mach/devstream.c: Likewise.
43006         * malloc/arena.c: Likewise.
43007         * malloc/set-freeres.c: Likewise.
43008         * misc/err.c: Likewise.
43009         * misc/getttyent.c: Likewise.
43010         * misc/mntent_r.c: Likewise.
43011         * posix/getopt.c: Likewise.
43012         * posix/wordexp.c: Likewise.
43013         * pwd/fgetpwent_r.c: Likewise.
43014         * resolv/Versions: Likewise.
43015         * resolv/res_hconf.c: Likewise.
43016         * shadow/fgetspent_r.c: Likewise.
43017         * shadow/putspent.c: Likewise.
43018         * stdio-common/printf_fphex.c: Likewise.
43019         * stdio-common/tmpfile.c: Likewise.
43020         * stdlib/abort.c: Likewise.
43021         * stdlib/fmtmsg.c: Likewise.
43022         * sunrpc/auth_unix.c: Likewise.
43023         * sunrpc/clnt_perr.c: Likewise.
43024         * sunrpc/clnt_tcp.c: Likewise.
43025         * sunrpc/clnt_udp.c: Likewise.
43026         * sunrpc/clnt_unix.c: Likewise.
43027         * sunrpc/openchild.c: Likewise.
43028         * sunrpc/svc_simple.c: Likewise.
43029         * sunrpc/svc_tcp.c: Likewise.
43030         * sunrpc/svc_udp.c: Likewise.
43031         * sunrpc/svc_unix.c: Likewise.
43032         * sunrpc/xdr.c: Likewise.
43033         * sunrpc/xdr_array.c: Likewise.
43034         * sunrpc/xdr_rec.c: Likewise.
43035         * sunrpc/xdr_ref.c: Likewise.
43036         * sunrpc/xdr_stdio.c: Likewise.
43037
43038 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43039
43040         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43041
43042 2011-07-03  Andreas Jaeger  <aj@suse.de>
43043
43044         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43045         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43046         regenerate with gen-libm-tests.pl.
43047
43048 2010-05-12  Petr Baudis  <pasky@suse.cz>
43049
43050         [BZ #11589]
43051         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43052         around j0() zero points by switching to j1().
43053         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43054         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43055         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43056         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43057
43058 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43059
43060         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43061         instead of 0.
43062         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43063         instead of 0.
43064         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43065         Patch in part by Pavel Roskin <proski@gnu.org>.
43066
43067         [BZ #13138]
43068         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43069         realloc.
43070         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43071         Free memory block if necessary.
43072
43073         [BZ #12847]
43074         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43075         be NULL.  Don't lock in this case.
43076
43077 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43078
43079         * elf/elf.h (ELFOSABI_GNU): New macro.
43080         (ELFOSABI_LINUX): Define to that.
43081
43082 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43083
43084         * string/strncat.c (strncat): Undef the symbol in case it has been
43085         defined in bits/string.h.
43086
43087 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43088
43089         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43090
43091         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43092         link map.
43093
43094 2011-08-17  Andreas Jaeger  <aj@suse.de>
43095
43096         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43097
43098 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43099             Ian Lance Taylor  <iant@google.com>
43100
43101         * math/libm-test.inc (lround_test): New testcase.
43102         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43103
43104 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43105
43106         * Makefile: Remove support for automatic cvs check-ins.
43107         * Makerules: Likewise.
43108         * config.make.in: Likewise.
43109         * configure.in: Likewise.
43110         * intl/Makefile: Likewise.
43111         * locale/Makefile: Likewise.
43112         * po/Makefile: Likewise.
43113         * posix/Makefile: Likewise.
43114         * sysdeps/gnu/Makefile: Likewise.
43115         * sysdeps/mach/hurd/Makefile: Likewise.
43116         * sysdeps/sparc/sparc32/Makefile: Likewise.
43117
43118         [BZ #13118]
43119         * posix/Makefile (bug-regex32-ENV): Define.
43120         Patch by John Stanley <jpsinthemix@verizon.net>.
43121
43122         * misc/Makefile (headers): Add bits/select2.h.
43123         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43124         * misc/bits/select2.h: New file.
43125         * include/bits/select2.h: New file.
43126         * debug/Makefile (routines): Add fdelt_chk.
43127         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43128         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43129         FD_ISSET.
43130         * debug/fdelt_chk.c: New file.
43131
43132         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43133         * wcsmbs/test-wmemcmp.c: Likewise.
43134         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43135         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43136
43137 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43138
43139         * string/Makefile (strop-tests): Add memcmp.
43140         * string/test-wmemcmp.c: New file.
43141         * string/test-memcmp.c: Add wmemcmp support.
43142
43143 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43144
43145         [BZ #13153]
43146         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43147         2011-07-19 change.
43148
43149         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43150         garbage value in a __mach_port_mod_refs call in the cases of the
43151         task-self and thread-self ports.
43152
43153 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43154
43155         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43156
43157 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43158
43159         * elf/dl-load.c (lose): Check for non-null L.
43160
43161 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43162
43163         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43164
43165         * elf/dl-libc.c (dlerror_run): Pass back error code from
43166         dl_catch_error.
43167
43168         [BZ #13123]
43169         * elf/dl-load.c (lose): Free l_origin if it is valid.
43170
43171         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43172         names.
43173         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43174         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43175         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43176         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43177         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43178         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43179
43180 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43181
43182         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43183         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43184         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43185         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43186         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43187         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43188         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43189         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43190         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43191         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43192
43193 2011-08-15  Alan Modra  <amodra@gmail.com>
43194
43195         [BZ #13092]
43196         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43197         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43198         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43199         ppc_mcount to static-only-routines.
43200         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43201         __mcount_internal.
43202         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43203         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43204
43205 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43206
43207         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43208         for finite and infinity parameters.
43209
43210 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43211
43212         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43213         and add nop instructions for throughput optimization.
43214         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43215
43216 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43217
43218         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43219         aligned copy for power7 with vector-scalar instructions.
43220         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43221
43222 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43223
43224         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43225         AVX check.
43226
43227 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43228
43229         [BZ #13144]
43230         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43231         last change.
43232
43233 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43234
43235         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43236         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43237         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43238         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43239         clock_gettime.
43240
43241 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43242
43243         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43244         Forgot to demangle the pointer.
43245
43246         * sysdeps/i386/sysdep.h: Define atom_text_section.
43247         * sysdeps/x86_64/sysdep.h: Likewise.
43248         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43249         section with atom_text_section.
43250         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43251         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43252         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43253         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43254         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43255
43256         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43257         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43258         already be defined.  Change to take two parameters and don't assign
43259         result to variable.  Adjust all users.
43260         Define INTERNAL_GETTIME if not already defined.
43261         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43262         call.
43263         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43264         HAVE_CLOCK_GETTIME_VSYSCALL.
43265         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43266
43267         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43268         gettimeofday vsyscall, just use time.
43269
43270 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43271
43272         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43273         <errno.h>.
43274
43275 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43276
43277         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43278         syscall on x86-64.
43279         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43280         syscall.
43281         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43282         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43283         syscall if possible.
43284
43285 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43286
43287         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43288         e_ident.  Don't pass to find_mapsXX.
43289         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43290
43291 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43292
43293         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43294         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43295         * sysdeps/x86_64/multiarch/strchr.S: Update.
43296         Check bit_slow_BSF bit.
43297         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43298         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43299         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43300
43301 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43302
43303         [BZ #13134]
43304         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43305         before glibc 2.15.
43306         (tryshell): Define.
43307         (__spawni): Change last parameter to be flag.  Test
43308         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43309         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43310         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43311         * posix/spawni.c: Likewise.
43312         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43313         * posix/spawnp.c: Likewise.  Change normal version to use
43314         SPAWN_XFLAGS_USE_PATH.
43315         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43316         SPAWN_XFLAGS_TRY_SHELL.
43317
43318         [BZ #13150]
43319         * posix/glob.h: Remove gcc 1.x support.
43320
43321         [BZ #13068]
43322         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43323
43324 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43325
43326         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43327         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43328         strrchr-sse2-bsf
43329         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43330         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43331         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43332         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43333         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43334         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43335
43336 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43337
43338         * sysdeps/x86_64/wcscmp.S: New file.
43339
43340         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43341         wcscmp-c wcscmp-sse2
43342         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43343         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43344         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43345         * wcsmbs/wcscmp.c: Allow renaming.
43346
43347 2011-09-05  David S. Miller  <davem@davemloft.net>
43348
43349         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43350         stack slot, rather than the struct return pointer slot.
43351         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43352         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43354         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43355
43356 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43357
43358         * po/ja.po: Update from translation team.
43359
43360         [BZ #13144]
43361         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43362         kernel in 64-bit binaries.
43363
43364 2011-09-01  David S. Miller  <davem@davemloft.net>
43365
43366         * elf/elf.h (HWCAP_SPARC_*): Move to..
43367         * sysdeps/sparc/sysdep.h: this new file and add new values.
43368         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43369         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43370         _DL_HWCAP_COUNT to 24.
43371         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43372         entries.
43373         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43374         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43375         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43376         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43377         instead of magic constants.
43378         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43379
43380 2011-08-31  David S. Miller  <davem@davemloft.net>
43381
43382         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43383         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43384         Reimplement to do errno handling inline.
43385         (SYSCALL_ERROR_HANDLER): New macro.
43386         (__SYSCALL_STRING): Do not do errno handling in asm.
43387         (__CLONE_SYSCALL_STRING): Delete.
43388         (__INTERNAL_SYSCALL_STRING): Delete.
43389         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43390         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43391         (PSEUDO): Reimplement to do errno handling inline.
43392         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43393         (SYSCALL_ERROR_HANDLER): New macro.
43394         (__SYSCALL_STRING): Do not do errno handling in asm.
43395         (__CLONE_SYSCALL_STRING): Delete.
43396         (__INTERNAL_SYSCALL_STRING): Delete.
43397         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43398         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43399         i386.
43400         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43401         (inline_syscall*): Add 'err' argument.
43402         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43403         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43404         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43405         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43406
43407         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43408         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43409
43410 2011-08-30  Andreas Schwab  <schwab@redhat.com>
43411
43412         * elf/rtld.c (dl_main): Relocate objects in dependency order.
43413
43414 2011-08-29  Jiri Olsa <jolsa@redhat.com>
43415
43416         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43417         directive.
43418
43419 2011-08-24  David S. Miller  <davem@davemloft.net>
43420
43421         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43422
43423 2011-08-24  Andreas Schwab  <schwab@redhat.com>
43424
43425         * elf/Makefile: Add rules to build and run unload8 test.
43426         * elf/unload8.c: New file.
43427         * elf/unload8mod1.c: New file.
43428         * elf/unload8mod1x.c: New file.
43429         * elf/unload8mod2.c: New file.
43430         * elf/unload8mod3.c: New file.
43431
43432         * elf/dl-close.c (_dl_close_worker): Reset private search list if
43433         it wasn't used.
43434
43435 2011-08-23  David S. Miller  <davem@davemloft.net>
43436
43437         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43438         subtract stack bias.
43439         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43440         %sp not %fp in calculations.
43441         (_JMPBUF_UNWINDS_ADJ): Likewise.
43442
43443         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43444         (aio_suspend): Call it to force an exception region around the
43445         AIO_MISC_WAIT() invocation.
43446
43447 2011-08-23  Andreas Schwab  <schwab@redhat.com>
43448
43449         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43450         backslash.
43451
43452 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
43453
43454         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43455         protection macro.
43456         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43457         and <dl-machine.h>.
43458         (Elf64_FuncDesc): Remove.
43459
43460 2011-08-22  David S. Miller  <davem@davemloft.net>
43461
43462         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43463         sigaltstack check, add missing cfi directives.
43464         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43465         missing cfi directives, and sigaltstack handling.
43466
43467 2011-08-16  Andreas Schwab  <schwab@redhat.com>
43468
43469         [BZ #11724]
43470         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43471         object is seen twice.
43472         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43473
43474         * elf/Makefile (distribute): Add tst-initorder2.c.
43475         (tests): Add tst-initorder2.
43476         (modules-names): Add tst-initorder2a tst-initorder2b
43477         tst-initorder2c tst-initorder2d.  Add rules to build them.
43478         ($(objpfx)tst-initorder2.out): New rule.
43479         * elf/tst-initorder2.c: New file.
43480         * elf/tst-initorder2.exp: New file.
43481
43482 2011-08-22  Andreas Schwab  <schwab@redhat.com>
43483
43484         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43485
43486         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43487         dependencies back to end of function.
43488
43489         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43490         $(elfobjdir)/ld.so.
43491
43492 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
43493
43494         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43495         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43496         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43497         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43498         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43499         of __vdso_gettimeofday.
43500         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43501         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
43502         attribute_hidden.
43503         (_libc_vdso_platform_setup): Remove initialization of
43504         __vdso_gettimeofday and __vdso_time.
43505
43506 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43507
43508         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43509         and fgetc_unlocked.
43510         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43511         getc_unlocked.
43512
43513         * elf/dl-open.c (add_to_global): Report additions to the global scope
43514         for LD_DEBUG=scopes.
43515         (dl_open_worker): Also print scope of newly loaded dependencies.
43516         (_dl_show_scope): Indicate if there is no scope.
43517
43518         [BZ #13114]
43519         * stdio-common/Makefile (tests): Add bug24.
43520         * stdio-common/bug24.c: New file.
43521
43522 2011-08-19  Andreas Jaeger  <aj@suse.de>
43523
43524         [BZ #13114]
43525         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43526         non-existant file when using close-on-exec mode.
43527
43528 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43529
43530         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43531         the very first instruction.
43532
43533         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43534         the CFI state in the end.
43535         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43536         inclusion of dl-trampoline.h.
43537         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43538
43539 2011-08-19  Andreas Schwab  <schwab@redhat.com>
43540
43541         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43542         expectations for long double.
43543
43544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43545         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43546
43547 2011-08-14  David S. Miller  <davem@davemloft.net>
43548
43549         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43550         artificual limit depends upon the system page size.
43551
43552 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43553
43554         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43555         * resolv/Makefile: Define CFLAGS-libresolv.
43556
43557 2011-08-17  Andreas Schwab  <schwab@redhat.com>
43558
43559         * nss/makedb.c (compute_tables): Make variables used in nested
43560         function static.
43561
43562 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43563
43564         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43565         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43566         if buffer was too small.
43567
43568         * elf/pldd.c (main): Attach to all threads in the process.
43569         Rewrite /proc handling to use *at functions.
43570
43571 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
43572
43573         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43574         specifies first scope to show.
43575         (dl_open_worker): Update callers.  Move printing scope of new
43576         object to before the relocation.
43577         * elf/rtld.c (dl_main): Update _dl_show_scope call.
43578         * sysdeps/generic/ldsodefs.h: Update declaration.
43579
43580         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43581         string for the scope number.
43582
43583 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
43584
43585         * nscd/servicescache.c (cache_addserv): Make sure written is always
43586         initialized.
43587
43588 2011-08-14  Roland McGrath  <roland@hack.frob.com>
43589
43590         * sysdeps/i386/i486/bits/atomic.h
43591         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43592         statement expression, so as to suppress "set but not used" warning.
43593         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43594
43595         * string/strncat.c (STRNCAT): Use prototype definition.
43596
43597         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43598         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43599         -Iprograms here.
43600         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43601         (localedef-modules): Add localedef.
43602         (locale-modules): Add locale.
43603
43604         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43605         * elf/rtld.c (dl_main): Invert order of assignment in last change,
43606         to avoid a warning.
43607
43608 2011-08-14  David S. Miller  <davem@davemloft.net>
43609
43610         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43611         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43612
43613 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
43614
43615         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43616         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43617         * elf/rtld.c (dl_main): Set l_name of vDSO.
43618         Call _dl_show_scope when DL_DEBUG_SCOPES.
43619         (process_dl_debug): Recognize scopes flag and also set it for all.
43620         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43621         Declare _dl_show_scope.
43622
43623         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43624         (do_dlopen): Pass caller_dlopen to dl_open.
43625         (__libc_dlopen_mode): Initialize caller_dlopen.
43626
43627         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43628         of libc.  Make tolower call locale-independent.  Optimize a bit by
43629         using isdigit instead of isalnum.
43630         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43631
43632 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
43633
43634         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43635         was a dependency or dynamically loaded.
43636
43637 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
43638
43639         * intl/l10nflist.c: Allow architecture-specific pop function.
43640         * sysdeps/x86_64/l10nflist.c: New file.
43641
43642         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43643         classification.
43644
43645 2011-08-10  Andreas Schwab  <schwab@redhat.com>
43646
43647         * include/dirent.h: Add libc_hidden_proto for scandirat and
43648         scandirat64.  Don't declare __scandirat64.
43649         * dirent/scandirat.c: Add libc_hidden_def.
43650         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43651         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43652
43653 2011-08-10  David S. Miller  <davem@davemloft.net>
43654
43655         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43656         enum.
43657         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43658         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43659         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43660
43661 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
43662
43663         * Versions.def [libc]: Add GLIBC_2.15.
43664         * dirent/Makefile (routines): Add scandirat and scandirat64.
43665         * dirent/Versions [libc]: Export scandirat and scandirat64 for
43666         GLIBC_2.15.
43667         * dirent/dirent.h: Declare scandirat and scandirat64.
43668         * dirent/scandirat.c: New file.
43669         * dirent/scandirat64.c: New file.
43670         * sysdeps/wordsize-64/scandirat.c: New file.
43671         * sysdeps/wordsize-64/scandirat64.c: New file.
43672         * dirent/opendir.c: Define opendirat.
43673         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
43674         using scandirat.
43675         * dirent/scandir64.c: Adjust for scandir.c change.
43676         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
43677         __scandirat64, and __scandir_cancel_handler.
43678         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
43679         additional parameter and use openat instead of open (outside of ld.so).
43680         Add new __opendir as wrapper around __opendirat.
43681         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43682         here without requiring old scandirat implementation.
43683
43684 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
43685
43686         * dirent/scandir.c (cancel_handler): Renamed to
43687         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
43688         defined.  Adjust users.
43689         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43690         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43691
43692 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
43693
43694         * string/test-string.h (IMPL): Use __STRING to expand name and then
43695         stringify it.
43696
43697         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
43698         of cleanups.
43699
43700 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43701
43702         * string/Makefile: Update.
43703         (strop-tests): Append strncat.
43704         * string/test-wcscmp.c: New file.
43705         New comprehensive test for wcscmp.
43706         * string/test-strcmp.c: Update.
43707         (WIDE): New define.
43708
43709 2011-07-22  Andreas Schwab  <schwab@redhat.com>
43710
43711         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43712         line.
43713
43714 2011-07-26  Andreas Schwab  <schwab@redhat.com>
43715
43716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43717         encoding to ACE if AI_IDN.
43718
43719 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
43720
43721         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43722         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43723
43724 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43725
43726         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43727         Fix overflow bug in strncat.
43728         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43729
43730         * string/test-strncat.c: Update.
43731         Add new tests for checking overflow bugs.
43732
43733 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43734
43735         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43736         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43737         * sysdeps/i386/i686/multiarch/strcat.S: New file.
43738         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43739         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43740         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43741         * sysdeps/i386/i686/multiarch/strncat.S: New file.
43742         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43743         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43744
43745         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43746         (USE_AS_STRCAT): Define.
43747         Add strcat and strncat support.
43748         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43749
43750 2011-07-25  Andreas Schwab  <schwab@redhat.com>
43751
43752         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43753         __n bigger than INT_MAX+1.
43754         (__strncmp_g): Likewise.
43755
43756 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
43757
43758         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43759         * libio/stido.h: Likewise.
43760
43761         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43762         (AF_NFC): Define.
43763         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43764         (AF_NFC): Define.
43765
43766         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43767         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43768         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43769         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43770         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43771
43772         [BZ #13021]
43773         * scripts/test-installation.pl: Don't expect libnss_test1 to be
43774         installed.
43775
43776         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43777         typo.
43778         (_dl_x86_64_save_sse): Likewise.
43779
43780 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
43781
43782         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43783         OSXSAVE.
43784         (_dl_x86_64_save_sse): Likewise.
43785
43786         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43787
43788         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43789
43790 2011-07-21  Andreas Schwab  <schwab@redhat.com>
43791
43792         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43793         change.
43794         (_dl_x86_64_save_sse): Use correct AVX check.
43795
43796 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43797
43798         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43799         bug in strncpy/strncat.
43800         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43801
43802 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
43803
43804         * string/tester.c (test_strcat): Add tests for different alignments
43805         of source and destination.
43806         (test_strncat): Likewise.
43807
43808 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43809
43810         [BZ #12852]
43811         * posix/glob.c (glob): Check passed in values before using them in
43812         expressions to avoid some overflows.
43813         (glob_in_dir): Likewise.
43814
43815         [BZ #13007]
43816         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43817         check for AVX enablement so that we don't crash with old kernels and
43818         new hardware.
43819         * elf/tst-audit4.c: Add same checks here.
43820         * elf/tst-audit6.c: Likewise.
43821
43822         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43823
43824 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
43825
43826         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43827
43828 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43829
43830         * po/cs.po: Update from translation team.
43831         * po/bg.po: Likewise.
43832
43833 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
43834
43835         * misc/sys/cdefs.h: Add support for const attribute.
43836         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43837         to gnu_dev_{major,minor,makedev} functions.
43838
43839 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
43840
43841         * intl/dcigettext.c (get_output_charset): Add missing bracket.
43842
43843 2011-07-20  Andreas Schwab  <schwab@redhat.com>
43844
43845         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43846         strlen results.
43847
43848 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43849
43850         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43851         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43852         register in order to avoid conflicts with the soft frame pointer
43853         being held in r11 when necessary.
43854         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43855         (INTERNAL_VSYSCALL_NCS): Likewise.
43856
43857 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
43858
43859         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43860         * elf/dl-fini.c (_dl_fini): Adjust caller.
43861         * elf/dl-close.c (_dl_close_worker): Likewise.
43862         * sysdeps/generic/ldsodefs.h: Adjust declaration.
43863
43864 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43865
43866         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43867         "aux_cache->nlibs < 0".
43868
43869         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43870         in the reload-count case.
43871
43872 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43873
43874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43875         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43876         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43877         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43878         * sysdeps/x86_64/multiarch/strcat.S: New file.
43879         * sysdeps/x86_64/multiarch/strncat.S: New file.
43880         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43881         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43882         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43883         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43884         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43885         (USE_AS_STRCAT): Define.
43886         Add strcat and strncat support.
43887         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43888         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43889         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43890         * string/strncat.c: Update.
43891         (USE_AS_STRNCAT): Define.
43892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43893         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43894         and i7.
43895         * sysdeps/x86_64/multiarch/init-arch.h
43896         (bit_Prefer_PMINUB_for_stringop): New.
43897         (index_Prefer_PMINUB_for_stringop): Likewise.
43898         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43899         bit_Prefer_PMINUB_for_stringop.
43900
43901 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43902
43903         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43904         buffer64.
43905         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43906         of casting of buffer.
43907         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43908         buffer32 and buffer64.
43909         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43910         writes instead of casting of buffer.
43911         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43912         buffer32.
43913         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43914         casting of buffer.
43915
43916 2011-07-19  Andreas Schwab  <schwab@redhat.com>
43917
43918         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43919
43920 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43921
43922         * nscd/nscd.c (termination_handler): Don't do anything for a database
43923         if it has not yet been initialized.
43924
43925 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43926
43927         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43928
43929 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43930
43931         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43932
43933 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43934
43935         * po/nl.po: Update from translation team.
43936         * po/sv.po: Likewise.
43937
43938 2011-07-16  Roland McGrath  <roland@hack.frob.com>
43939
43940         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43941         now disallowed by GCC.
43942
43943         * configure.in (use-default-link): Default to yes if a test -shared
43944         link meets our qualifications.
43945         * configure: Regenerated.
43946
43947         * config.make.in (output-format): New variable.
43948         * configure.in: Check for ld --print-output-format support.
43949         * configure: Regenerated.
43950         * Makerules ($(common-objpfx)format.lds)
43951         [$(output-format) != unknown]: Just use $(output-format),
43952         instead of the linker-script munging.
43953
43954 2011-07-14  Roland McGrath  <roland@hack.frob.com>
43955
43956         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43957         of $(common-objpfx)shlib.lds.
43958         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43959
43960         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43961         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43962
43963         * configure.in (-z relro check): Adjust test code to add a large
43964         writable data section after it.
43965         * configure: Regenerated.
43966
43967 2011-07-11  Roland McGrath  <roland@hack.frob.com>
43968
43969         * configure.in (-z relro check): Fix test code to make the variable
43970         truly const.
43971         * configure: Regenerated.
43972
43973 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
43974
43975         * nscd/nscd.h (struct traced_file): Define.
43976         (struct database_dyn): Remove inotify_descr, reset_res, and filename
43977         elements.  Add traced_files.
43978         (inotify_fd): Declare.
43979         (register_traced_file): Declare.
43980         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43981         (inotify_fd): Export.
43982         (resolv_conf_descr): Remove.
43983         (nscd_init): Move inotify descriptor creation to main.
43984         Don't register files for notification here.
43985         (register_traced_file): New function.
43986         (invalidate_cache): Don't use reset_res to determine whether to call
43987         res_init, go through the list of registered files.
43988         (main_loop_poll): The inotify descriptors are now stored in the
43989         structures for the traced files.
43990         (main_loop_epoll): Likewise
43991         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
43992         to __nss_disable_nscd.
43993         * nscd/cache.c (prune_cache): There is no single inotify descriptor
43994         for a database anymore.  Check the records for all the registered
43995         files instead.
43996         * nss/Makefile (libnss_files-routines): Add files-init.
43997         (libnss_db-routines): Add db-init.
43998         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43999         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44000         * nss/nss_db/db-init.c: New file.
44001         * nss/nss_files/files-init.c: New file.
44002         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44003         __nss_lookup_function.
44004         (__nss_lookup_function): Call nss_load_library.
44005         (nss_load_all_libraries): New function.
44006         (__nss_disable_nscd): Take parameter with callback function for files
44007         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44008         used for the cached services.
44009         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44010         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44011         options for features to all the files in nscd.
44012
44013         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44014
44015 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44016
44017         * csu/elf-init.c (__libc_csu_init): Comment typo.
44018
44019 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44020
44021         * po/pl.po: Update from translation team.
44022         * po/ja.po: Likewise.
44023         * po/ru.po: Likewise.
44024         * po/ko.po: Likewise.
44025         * po/fr.po: Likewise.
44026
44027 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44028
44029         * configure.in (.ctors/.dtors header and trailer check):
44030         Use an empirical test on a built program.
44031         * configure: Regenerated.
44032
44033         * configure.in (-z relro check): Use an empirical test on a built DSO.
44034         Detect, but do not require, on ia64.
44035         * configure: Regenerated.
44036
44037         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44038         Update tests that use readelf to use $READELF instead.
44039         * configure: Regenerated.
44040
44041 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44042
44043         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44044         if the result is not used.
44045
44046 2011-07-05  Andreas Jaeger  <aj@suse.de>
44047
44048         [BZ#9696]
44049         * stdlib/tst-strtod.c: Add testcase.
44050
44051 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44052
44053         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44054         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44055         The latter has a higher limit.  Take additional parameter to pass to
44056         the new function.
44057         (__pathconf): Pass file to __statfs_link_max.
44058         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44059         __statfs_link_max.
44060         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44061         __statfs_link_max.
44062
44063         [BZ #12868]
44064         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44065         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44066         Handle Lustre.
44067         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44068         (__statfs_filesize_max): Likewise.
44069         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44070
44071 2011-07-05  Andreas Jaeger  <aj@suse.de>
44072
44073         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44074
44075 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44076
44077         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44078         `status' variable.
44079         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44080         Likewise.
44081
44082 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44083
44084         * Makefile (strop-tests): Add strncat.
44085         * string/test-strncat.c: New file.
44086
44087 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44088
44089         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44090
44091 2011-06-21  Andreas Jaeger  <aj@suse.de>
44092
44093         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44094         Copy rule from iconvdata/Makefile.
44095
44096 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44097
44098         [BZ #12922]
44099         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44100         but no long options are defined, just return 'W'.
44101
44102 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44103
44104         [BZ #9696]
44105         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44106
44107 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44108
44109         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44110         netgroups to read.
44111         (innetgr): Likewise.
44112
44113 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44114
44115         * config.make.in (install_root): Default to $(DESTDIR).
44116
44117 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44118
44119         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44120
44121 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44122
44123         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44124
44125         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44126         containing directory rather than embedding absolute directory names.
44127
44128         * scripts/check-local-headers.sh: Rewritten using awk.
44129         Match by word, not by line.  Print error messages for matches.
44130         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44131
44132         * Makerules [shlib-lds-flags empty]:
44133         ($(common-objpfx)libc_pic.opts): New target.
44134         ($(common-objpfx)libc_pic.os.clean): New target.
44135         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44136
44137         * config.make.in (OBJCOPY): New variable.
44138         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44139         * configure: Regenerated.
44140
44141         * config.make.in (use-default-link): New variable.
44142         * configure.in (use_default_link): Grok --with-default-link to set it.
44143         * configure: Regenerated.
44144         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44145         (shlib-lds, shlib-lds-flags): Define to empty.
44146
44147         * Makerules (shlib-lds): New variable.
44148         (shlib-lds-flags): New variable.
44149         (build-shlib, build-moduile, build-module-asneeded): Use it.
44150         ($(common-objpfx)libc.so): Use $(shlib-lds).
44151         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44152         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44153
44154         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44155         DT_FLAGS/DT_FLAGS_1 with zero flags.
44156
44157         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44158         linker script munging.
44159
44160 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44161
44162         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44163         as 128-bit value.
44164         * crypt/sha512.c (sha512_process_block): Perform total addition using
44165         128-bit if possible.
44166         (__sha512_finish_ctx): Likewise.
44167         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44168         as 64-bit value.
44169         * crypt/sha256.c (SWAP64): Define.
44170         (sha256_process_block): Perform total addition using 64-bit if
44171         possible.
44172         (__sha256_finish_ctx): Likewise.
44173
44174 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44175
44176         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44177         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44178         * nscd/hstcache.c (cache_addhst): Likewise.
44179         * nscd/grpcache.c (cache_addgr): Likewise.
44180         * nscd/aicache.c (addhstaiX): Likewise
44181         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44182
44183 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44184
44185         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44186         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44187         * nscd/hstcache.c (cache_addhst): Likewise.
44188         * nscd/grpcache.c (cache_addgr): Likewise.
44189         * nscd/aicache.c (addhstaiX): Likewise
44190
44191 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44192
44193         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44194         domain only when needed.
44195
44196 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44197
44198         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44199         is always restored.
44200
44201 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44202
44203         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44204         are re-adding the entry.
44205         * nscd/servicescache.c (cache_addserv): Likewise.
44206
44207 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44208
44209         * sysdeps/generic/dl-irel.h: fix protection against multiple
44210         inclusions.
44211         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44212
44213 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44214
44215         [BZ #12935]
44216         * malloc/memusage.sh: Fix quoting in message.
44217         * debug/xtrace.sh: Likewise.
44218
44219         * configure.in: Remove support for --experimental-malloc option, make
44220         it the default.
44221         * config.make.in: Likewise.
44222         * malloc/Makefile: Likewise.
44223
44224 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44225
44226         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44227         two-byte characters.
44228
44229 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44230
44231         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44232         AC_CACHE_CHECK invocation.
44233         * configure: Regenerated.
44234
44235         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44236
44237 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44238
44239         [BZ #12350]
44240         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44241         bit from old_res_options.
44242
44243         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44244
44245         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44246         value type for setfct.
44247
44248 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44249
44250         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44251         __gettimeofday instead of gettimeofday.
44252
44253 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44254
44255         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44256
44257 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44258
44259         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44260
44261         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44262         info.
44263
44264 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44265
44266         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44267         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44268         strcpy-sse2-unaligned strncpy-sse2-unaligned
44269         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44270         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44271         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44272         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44273         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44274         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44275         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44276         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44277         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44278         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44279         (STRCPY): Support SSE2 and SSSE3 versions.
44280
44281 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44282
44283         [BZ #12874]
44284         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44285         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44286         kernels which artificially limit size of requests.
44287
44288 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44289
44290         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44291         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44292         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44293         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44294         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44295         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44296         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44297         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44298         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44299         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44300         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44301         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44302         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44303         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44304         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44306         Enable unaligned load optimization for Intel Core i3, i5 and i7
44307         processors.
44308         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44309         Define.
44310         (index_Fast_Unaligned_Load): Define.
44311         (HAS_FAST_UNALIGNED_LOAD): Define.
44312
44313 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44314
44315         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44316
44317 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44318
44319         [BZ #12907]
44320         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44321         until it is clear that the information is realy needed.
44322         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44323
44324 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44325
44326         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44327
44328 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44329
44330         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44331         /sys/devices/system/cpu/online if it is usable.
44332
44333         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44334         reading the information from the /proc filesystem to once a second.
44335
44336 2011-06-21  Andreas Jaeger  <aj@suse.de>
44337
44338         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44339         NULL after inclusion of kernel headers.
44340
44341 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44342
44343         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44344         calls to internal_setent.
44345
44346         [BZ #12885]
44347         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44348         addresses using gethostbyname4_r ignore IPv4 addresses.
44349
44350         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44351         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44352
44353         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44354
44355 2011-06-20  David S. Miller  <davem@davemloft.net>
44356
44357         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44358         inclusions.
44359         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44360
44361         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44362         (elf_irel): Use it.
44363         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44364         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44365         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44366         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44367         * sysdeps/x86_64/dl-irel.h: Likewise.
44368
44369         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44370         * elf/dl-sym.c: Likewise.
44371
44372 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44373
44374         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44375         need to dereference resplen2.
44376
44377 2011-06-14  Andreas Schwab  <schwab@redhat.com>
44378
44379         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44380
44381 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44382
44383         * Makeconfig: Define vardbdir and inst_vardbdir.
44384         * nss/Makefile: Add rules to install db-Makefile.
44385
44386         * nss/nss_db/db-XXX.c: Cleanup.
44387
44388         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44389         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44390         GLIBC_PRIVATE.
44391         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44392         * nss/makedb.c: Implement -g option to specify that value strings
44393         are generated and should not be added to table iterated over for
44394         get*ent calls.
44395         * nss/nss_db/db-initgroups.c: New file.
44396
44397         * nss/getent.c: Add support for initgroups lookups through getgrouplist
44398         interface.
44399
44400         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44401         (internal_getgrouplist): Adjust to name change.
44402         Update use_initgroups_entry if this is not the first call.
44403         * nss/databases.def: Add initgroups entry.
44404
44405         * nss/makedb.c (compute_tables): Check result of multiple hash table
44406         sizes to minimize maximum chain length.
44407
44408 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
44409
44410         * Versions.def: Add entry for libnss_db.
44411         * shlib-versions: Likewise.
44412         * nss/Makefile: Add rules to build libnss_db.
44413         * nss/Versions: Add libnss_db information.  Organize libnss_files
44414         entries better.
44415         * nss/db-Makefile: Add gshadow support.  Change rules for the new
44416         makedb progra.  Some minor improvements to generate smaller files.
44417         * nss/nss_db/nss_db.h: Move NSS database header data structures to
44418         here from...
44419         * nss/makedb.c: ...here.
44420         Improve database format to be smaller and require less memory at
44421         runtime.
44422         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
44423         db anymore.
44424         * nss/nss_db/db-netgrp.c: Likewise.
44425         * nss/nss_db/db-open.c: Likewise.
44426         * nss/nss_files/flies-XXX.x: Adjust comments.
44427         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44428         * nss/nss_files/files-grp.c: Likewise.
44429         * nss/nss_files/files-hosts.c: Likewise.
44430         * nss/nss_files/files-network.c: Likewise.
44431         * nss/nss_files/files-proto.c: Likewise.
44432         * nss/nss_files/files-pwd.c: Likewise.
44433         * nss/nss_files/files-rpc.c: Likewise.
44434         * nss/nss_files/files-service.c: Likewise.
44435         * nss/nss_files/files-sgrp.c: Likewise.
44436         * nss/nss_files/files-spwd.c: Likewise.
44437         * nss/nss_db/db-alias.c: Removed.
44438         * nss/nss_db/dummy-db.h: Removed.
44439
44440 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
44441
44442         * nss/makedb.c: Rewritten to not use database library.
44443         * nss/Makefile: Update to build new makedb program.
44444
44445 2011-06-14  Andreas Jaeger  <aj@suse.de>
44446
44447         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44448         memset declaration.
44449
44450 2011-06-10  Andreas Schwab  <schwab@redhat.com>
44451
44452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44453         tmpbuf.
44454
44455 2011-06-10  Roland McGrath  <roland@hack.frob.com>
44456
44457         * Makerules (shlib.lds): Fail if the linker script comes out empty.
44458         * elf/Makefile ($(objpfx)ld.so): Likewise.
44459
44460         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44461         Don't list ld.so twice in dependencies.
44462
44463         * posix/bug-regex31.c: Include <stdlib.h>.
44464
44465         * nscd/hstcache.c (cache_addhst): Remove unused variable.
44466
44467         * nis/nss_compat/compat-spwd.c
44468         (getspent_next_nss_netgr): Remove unused variable.
44469         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44470
44471         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44472         nonmembers" output to use the right array.
44473
44474         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44475
44476         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44477
44478         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44479         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44480         * catgets/gencat.c (read_input_file): Likewise.
44481         * locale/programs/locarchive.c (enlarge_archive): Likewise.
44482
44483         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44484         variable definition inside #if's controlling its use.
44485
44486         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44487
44488         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44489
44490         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44491
44492         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44493         unreachable code.
44494
44495         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44496
44497         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44498         * configure: Regenerated.
44499
44500         * Makerules: Revert last change.
44501         * elf/Makefile: Likewise.
44502
44503 2011-06-09  Roland McGrath  <roland@hack.frob.com>
44504
44505         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44506         * elf/Makefile ($(objpfx)librtld.os): Likewise.
44507         (reloc-link): Likewise.
44508
44509 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
44510
44511         * elf/Makefile: Add rules to build pldd.
44512         * elf/pldd.c: New file.
44513         * elf/pldd-xx.c: New file.
44514
44515 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
44516
44517         * version.h: Update for 2.15 development version.
44518
44519 2011-06-07  David S. Miller  <davem@davemloft.net>
44520
44521         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44522         ifuncs.
44523         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44524         elf_machine_lazy_rel): Likewise.
44525         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44526         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44527         elf_machine_lazy_rel): Likewise.
44528         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44529         dl_hwcap via passed in argument.
44530         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44531         Likewise.
44532
44533 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44534
44535         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
44536
44537 2011-06-06  Roland McGrath  <roland@hack.frob.com>
44538
44539         [BZ #12849]
44540         * manual/fdl-1.1.texi: New file, verbatim from:
44541         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44542         * manual/lgpl-2.1.texi: New file, verbatim from:
44543         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44544         * manual/Makefile (licenses): New variable, list those new file names.
44545         (texis): Use it.
44546         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44547
44548         * manual/fdl.texi: File removed.
44549         * manual/lesser.texi: File removed.
44550         * manual/libc.texinfo (Copying, Documentation License):
44551         Use new @include file names, put @appendix directive before @include.
44552
44553 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
44554
44555         [BZ #12841]
44556         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44557         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44558         (mq_open): Add __NTH.
44559
44560 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
44561
44562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44563         Assume Intel Core i3/i5/i7 processor if AVX is available.
44564
44565 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44566
44567         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44568         typo.
44569
44570 2011-05-31  Andreas Schwab  <schwab@redhat.com>
44571
44572         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44573         memory.  Use alloca_account.  Fix memory leak when retrying.
44574
44575 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44576
44577         * version.h (RELEASE): Bump for 2.14 release.
44578         * include/features.h (__GLIBC_MINOR__): Bump to 14.
44579
44580         * config.make.in (RANLIB): Remove entry.
44581
44582 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
44583
44584         * po/Makefile (po-sed-cmd): Add ksh to extensions.
44585         (libc.pot): Work around missing support for .ksh extension in xgettext.
44586
44587         [BZ #12684]
44588         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44589         if both request failed.
44590         (send_dg): In case of server errors clear resplen or *resplen2.
44591
44592         [BZ #12454]
44593         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44594         when there are multiple maps.
44595         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44596         (_dl_fini): Remove test here.
44597
44598         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44599
44600 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
44601
44602         [BZ #12350]
44603         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44604         bit from old_res_options.
44605         (gaih_inet): Likewise.
44606
44607         [BZ #11099]
44608         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44609         as signed.
44610
44611         * resolv/res_init.c (res_setoptions): Make the code more compact.
44612
44613         [BZ #11558]
44614         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44615         set RES_USEVC.
44616
44617         [BZ #11634]
44618         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44619
44620         * malloc/malloc.h: Mark malloc hook variables as deprecated.
44621
44622         [BZ #11781]
44623         * malloc/malloc.h: Declare malloc hook variables as volatile.
44624
44625         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44626         in last patch.
44627
44628         [BZ #11799]
44629         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44630         raise in the comment.
44631         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44632         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44633         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44634
44635 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
44636
44637         [BZ #12811]
44638         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44639         grow the buffers more if it already has to be sufficient.
44640         (build_wcs_upper_buffer): Likewise.
44641         * posix/regexec.c (check_matching): Likewise.
44642         (clean_state_log_if_needed): Likewise.
44643         (extend_buffers): Don't enlarge buffers beyond size of the input
44644         buffer.
44645         Patches mostly by Emil Wojak <emil@wojak.eu>.
44646         * posix/bug-regex32.c: New file.
44647         * posix/Makefile (tests): Add bug-regex32.
44648
44649         * locale/findlocale.c (_nl_find_locale): Return right away if
44650         _nl_explode_name failed.
44651         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44652
44653         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44654
44655         * debug/xtrace.sh: Unify messages.
44656         * malloc/memusage.sh: Likewise.
44657
44658         [BZ #12813]
44659         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44660         time symbol from vDSO.  Substitute with vsyscall if not available.
44661         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44662         __vdso_time.
44663
44664         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44665         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44666         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44667         Add sendmmsg and internal_sendmmsg.
44668         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44669         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44670         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44671
44672         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44673         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44674         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44675
44676 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
44677
44678         [BZ #12813]
44679         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44680         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
44681         available.
44682         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44683         __vdso_getcpu.
44684
44685         [BZ #12814]
44686         * iconvdata/Makefile (tests): Add bug-iconv9.
44687         * iconvdata/bug-iconv9.c: New file.
44688
44689 2011-05-27  Andreas Schwab  <schwab@redhat.com>
44690
44691         [BZ #12814]
44692         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44693
44694 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
44695
44696         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44697         (struct user_regs_struct): Change intcs field back to cs.
44698
44699 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
44700
44701         * po/ja.po: Update from translation team.
44702
44703 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
44704
44705         [BZ #12795]
44706         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44707         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44708
44709 2011-05-20  Andreas Schwab  <schwab@redhat.com>
44710
44711         * stdlib/longlong.h: Update from GCC.
44712
44713 2011-05-23  Andreas Schwab  <schwab@redhat.com>
44714
44715         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44716         parameter name.
44717         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44718         Add parameter name.
44719         (__sysconf): Pass it down.
44720
44721 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
44722
44723         [BZ #12671]
44724         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44725         some situations.
44726         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44727         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44728         add in in __libc_use_alloca calls.  Adjust callers.
44729         (glob): Use malloc in some situations.
44730
44731         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44732         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44733         pltexit.
44734
44735 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
44736
44737         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44738         and CLOCK_BOOTTIME_ALARM.
44739
44740         [BZ #12782]
44741         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44742         is returned.
44743
44744         * string/_strerror.c (__strerror_r): Print negative errors as signed
44745         numbers.
44746
44747         [BZ #12777]
44748         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44749         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44750         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44751
44752         * configure.in: Fix typo in redirection and correct removal of test
44753         files in two cases.
44754
44755         [BZ #12788]
44756         * locale/setlocale.c (new_composite_name): Fix test to check for
44757         identical name of all categories.
44758
44759         [BZ #12792]
44760         * libio/filedoalloc.c (local_isatty): New function.
44761         (_IO_file_doallocate): Use local_isatty.
44762         * stdio-common/perror.c (perror): In case a new stream is used
44763         forward the stream error.
44764         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44765         error flag.
44766
44767 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
44768
44769         [BZ #11869]
44770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44771         alloca.
44772         * include/alloca.h (extend_alloca_account): Define.
44773
44774         [BZ #11857]
44775         * posix/regex.h: Fix comments with documentation of user-accessible
44776         fields after compilation and describe correct free'ing of pattern
44777         after re_compile_pattern.
44778         Patch by Reuben Thomas <rrt@sc3d.org>.
44779
44780 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
44781
44782         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44783         and -mno-altivec to prevent the compiler from using Altivec and/or
44784         VSX instructions when the corresponding registers are not available.
44785
44786 2011-05-19  Andreas Schwab  <schwab@redhat.com>
44787
44788         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44789
44790 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
44791
44792         * libio/freopen.c (freopen): Use __dup2, not dup2.
44793         * libio/freopen64.c (freopen64): Likewise.
44794
44795 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44796
44797         [BZ #12775]
44798         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44799         * math/Makefile (tests): Add test-powl.
44800         (CFLAGS-test-powl.c): Define.
44801         * math/test-powl.c: New file.
44802
44803 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44804
44805         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44806
44807 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
44808
44809         [BZ #11837]
44810         * iconvdata/gb18030.c: Update to GB18020-2005.
44811
44812 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
44813
44814         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44815         RE_SYNTAX_POSIX_AWK): Update to match recent development.
44816         Patch by Aharon Robbins <arnold@skeeve.com>.
44817
44818         [BZ #11892]
44819         * stdlib/putenv.c (putenv): Don't always create copy of the variable
44820         on the stack.
44821
44822         [BZ #11895]
44823         * misc/pselect.c (__pselect): Handle timeout value errors hidden
44824         through underflows.
44825
44826         [BZ #12766]
44827         * misc/error.c (error_at_line): Ensure file_name and old_file_name
44828         point to strings before performing equality test for error_one_per_line
44829         mode.
44830
44831         [BZ #11697]
44832         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44833
44834         [BZ #11820]
44835         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44836         (struct user_fpregs_struct): Avoid __uint*_t types.
44837
44838         [BZ #6420]
44839         * malloc/mtrace.c (tr_where): Add additional parameter to point to
44840         symbol info.  Use it instead of calling _dl_addr locally.
44841         (lock_and_info): New function.
44842         (tr_freehook): Call lock_and_info and pass symbol info as additional
44843         parameter to tr_where.
44844         (tr_mallochook): Likewise.
44845         (tr_reallochook): Likewise.
44846         (tr_memalignhook): Likewise.
44847
44848         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
44849         used and couldn't be at all thread-safe.
44850
44851 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
44852
44853         * libio/freopen.c (freopen): Don't close old file descriptor
44854         before the new one is opened.  Instead dup the new file descriptor
44855         to the old one after the new stream is created.
44856         * libio/freopen64.c (freopen64): Likewise.
44857         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44858         * libio/fileops.c (_IO_new_file_close_it): Handle new
44859         _IO_FLAGS2_NOCLOSE flag.
44860         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44861         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44862         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44863         _IO_FLAGS2_NOCLOSE flag.
44864         * include/unistd.h: Add hidden_proto for dup3.
44865         Define __have_dup3.
44866         * io/dup3.c: Define hidden symbol.
44867         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44868
44869         [BZ #7101]
44870         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44871         when an incomplete long option is used.
44872         * posix/tst-getopt_long1.c: New file.
44873         * posix/Makefile (tests): Add tst-getopt_long1.
44874
44875         [BZ #10138]
44876         * scripts/config.guess: Update from autoconf-2.68.
44877         * scripts/config.sub: Likewise.
44878
44879         [BZ #10157]
44880         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44881         tests into ...
44882         (has_cpuclock): ...this.  New function.
44883         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44884         macro here based on has_cpuclock code.
44885
44886         [BZ #10149]
44887         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44888         First byte (not low byte) is now always NUL.
44889         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44890
44891         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44892         Use non-cancelable interfaces.
44893
44894         [BZ #9809]
44895         * locale/iso-639.def: Add entry for Sorani.
44896
44897         [BZ #11901]
44898         * include/stdlib.h: Move include protection to the right place.
44899         Define abort_msg_s.  Declare __abort_msg with it.
44900         * stdlib/abort.c (__abort_msg): Adjust type.
44901         * assert/assert.c (__assert_fail_base): New function.  Majority
44902         of code from __assert_fail.  Allocate memory for __abort_msg with
44903         mmap.
44904         (__assert_fail): Now call __assert_fail_base.
44905         * assert/assert-perr.c: Remove bulk of implementation.  Use
44906         __assert_fail_base.
44907         * include/assert.hL Declare __assert_fail_base.
44908         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44909         mmap.
44910         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44911
44912 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
44913
44914         [BZ #11952]
44915         [BZ #12453]
44916         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44917         until all modules are registered in the DTV.
44918         * elf/Makefile: Add rules to build and run tst-tls19.
44919         * elf/tst-tls19.c: New file.
44920         * elf/tst-tls19mod1.c: New file.
44921         * elf/tst-tls19mod2.c: New file.
44922         * elf/tst-tls19mod3.c: New file.
44923         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44924
44925         [BZ #12083]
44926         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44927         correctly.
44928
44929         [BZ #12601]
44930         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44931         two-byte sequence errors.
44932         * iconvdata/Makefile (tests): Add bug-iconv8.
44933         * iconvdata/bug-iconv8.c: New file.
44934
44935         [BZ #12626]
44936         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44937         buf2 definition.
44938
44939         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44940
44941         [BZ #12432]
44942         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44943         (dummy_getcfa): New function.
44944         (init): Get _Unwind_GetCFA address, use dummy if not found.
44945         (backtrace_helper): In recursion check, also check whether CFA changes.
44946         (__backtrace): Completely initialize arg.
44947
44948         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44949         storing incomplete byte sequence in state object.  Avoid testing for
44950         guaranteed too small input if we know there is enough data available.
44951
44952 2011-05-11  Andreas Schwab  <schwab@redhat.com>
44953
44954         * Makeconfig (+link-pie): Indent.
44955         * Rules (binaries-pie): Define if $(have-fpie) and
44956         $(build-shared).
44957         (binaries-shared): Also filter out $(binaries-pie).
44958         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44959         * nscd/Makefile (others-pie): Add nscd.
44960         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44961         ($(objpfx)nscd): Remove command override.
44962         * login/Makefile (others-pie): Add pt_chown.
44963         ($(objpfx)pt_chown): Remove command override.
44964         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44965         remove command overrides.
44966
44967 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
44968
44969         * libio/tst_putwc.c: Fix error messages.
44970
44971         [BZ #12724]
44972         * libio/fileops.c (_IO_new_file_close_it): Always flush when
44973         currently writing and seek to current position when not.
44974         * libio/Makefile (tests): Add bug-fclose1.
44975         * libio/bug-fclose1.c: New file.
44976
44977 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
44978
44979         [BZ #12511]
44980         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44981         don't set DF_1_NODELETE here.
44982         (do_lookup_x): When entering new entry test for copy relocation
44983         and if necessary set DF_1_NODELETE flag.
44984         * elf/tst-unique4.cc: New file.
44985         * elf/tst-unique4.h: New file.
44986         * elf/tst-unique4lib.cc: New file.
44987         * elf/Makefile: Add rules to build and run tst-unique4.
44988         Patch by Piotr Bury <pbury@goahead.com>.
44989
44990 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
44991
44992         [BZ #12052]
44993         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44994
44995         [BZ #12625]
44996         * misc/mntent_r.c (addmntent): Flush the stream after the output
44997
44998         [BZ #12393]
44999         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45000         (is_trusted_path_normalize): Skip initial colon.  Append slash
45001         to empty buffer.  Duplicate is_trusted_path code but allow
45002         constructed patch to be prefix.
45003         (is_dst): Allow $ORIGIN followed by /.
45004         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45005         Correct testing of result of is_trusted_path_normalize
45006         (decompose_rpath): Fix warning.
45007
45008 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45009
45010         [BZ #11257]
45011         * grp/initgroups.c (internal_getgrouplist): When we found the service
45012         list through the initgroups entry in nsswitch.conf do not always
45013         continue on a successful lookup.  Don't always use the
45014         __nss_group_database value if it is set.
45015         * nss/nsswitch.conf (initgroups): Change action for successful db
45016         lookup to continue for compatibility.
45017
45018 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45019
45020         [BZ #11532]
45021         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45022         and CP774 modules.
45023         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45024         and CP774 modules.
45025         * iconvdata/tst-tables.sh: Likewise.
45026         * iconvdata/cp770.c: New file.
45027         * iconvdata/cp771.c: New file.
45028         * iconvdata/cp772.c: New file.
45029         * iconvdata/cp773.c: New file.
45030         * iconvdata/cp774.c: New file.
45031         * iconvdata/testdata/CP770: New file.
45032         * iconvdata/testdata/CP770..UTF8: New file.
45033         * iconvdata/testdata/CP771: New file.
45034         * iconvdata/testdata/CP771..UTF8: New file.
45035         * iconvdata/testdata/CP772: New file.
45036         * iconvdata/testdata/CP772..UTF8: New file.
45037         * iconvdata/testdata/CP773: New file.
45038         * iconvdata/testdata/CP773..UTF8: New file.
45039         * iconvdata/testdata/CP774: New file.
45040         * iconvdata/testdata/CP774..UTF8: New file.
45041
45042         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45043         END CHARMAP line.
45044         * iconvdata/gen-8bit-gap.sh: Likewise.
45045         * iconvdata/gen-8bit.sh: Likewise.
45046
45047         * locale/iso-639.def: Add ary entry.
45048
45049         [BZ #11258]
45050         * locale/C-translit.h.in: Add U20A1 transliteration.
45051
45052         [BZ #12178]
45053         * locale/iso-639.def: Add wae entry.
45054         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45055
45056         [BZ #12545]
45057         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45058         for n.
45059
45060         [BZ #12711]
45061         * locale/C-translit.h.in: Add entry for U20B9.
45062         Patch by pravin.d.s@gmail.com.
45063
45064 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45065
45066         [BZ #12713]
45067         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45068         ENAMETOOLONG use generic getcwd.
45069         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45070         in rtld.  Use *stat64.
45071         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45072         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45073         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45074         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45075         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45076         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45077         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45078         __fstatat64 macros.
45079         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45080         * dirent/rewinddir.c: Add libc_hidden_def.
45081         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45082         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45083
45084         * include/dirent.h (__alloc_dir): Add flags parameter.
45085         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45086         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45087         __alloc_dir.
45088         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45089         from fdopendir if O_CLOEXEC is already set.
45090
45091 2011-03-15  Alan Modra  <amodra@gmail.com>
45092
45093         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45094         l_tls_firstbyte_offset non-zero.  Save padding offset in
45095         l_tls_firstbyte_offset for later use.
45096         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45097         freeing static tls block.
45098
45099 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45100
45101         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45102         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45103         being defined by the kernel headers.
45104
45105 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45106
45107         [BZ #12734]
45108         * resolv/resolv.h: Define RES_NOTLDQUERY.
45109         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45110         no-tld-query and set RES_NOTLDQUERY.
45111         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45112         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45113         modern BIND to search name as TLD unless forbidden.
45114
45115 2011-05-07  Petr Baudis  <pasky@suse.cz>
45116             Ulrich Drepper  <drepper@gmail.com>
45117
45118         [BZ #12393]
45119         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45120         (is_trusted_path): ...to here.
45121         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45122         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45123         using is_trusted_path_normalize() in setuid scripts.
45124
45125 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45126
45127         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45128         __BEGIN/__END_DECLS.
45129
45130 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45131
45132         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45133         NSS_STATUS_NOTFOUND if no record was found.
45134
45135 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45136
45137         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45138         (headers-not-in-tirpc): Remove rpc/netdb.h
45139         * resolv/netdb.h: Revert last change.
45140
45141 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45142
45143         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45144         circular dependency between libgcc.a and libc.a.
45145
45146 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45147
45148         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45149         * nis/Makefile: Don't install rpcsvc/*.
45150         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45151         instead of <rpc/types.h>.
45152         (MAXHOSTNAMELEN): Define.
45153
45154 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45155
45156         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45157
45158 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45159
45160         [BZ #12714]
45161         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45162         gethostbyname4_r when IPv6 results are possible.
45163
45164 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45165
45166         [BZ #12723]
45167         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45168         _PC_PIPE_BUF handling.
45169
45170 2011-04-30  Bruno Haible  <bruno@clisp.org>
45171
45172         [BZ #12717]
45173         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45174         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45175         to 'int'.
45176         * inet/getnameinfo.c (getnameinfo): Likewise.
45177
45178 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45179
45180         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45181         to groups setting in database lookup.
45182         * nss/nsswitch.conf: Add initgroups entry.
45183
45184 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45185
45186         [BZ #12685]
45187         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45188         mode string.
45189         Patch by Eric Blake <eblake@redhat.com>.
45190
45191 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45192
45193         * sunrpc/Makefile (need-export-routines): Add svc_run.
45194         (routines): Remove svc_run.
45195         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45196         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45197         * sunrpc/svc_run.c (svc_run): Likewise.
45198         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45199
45200 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45201
45202         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45203         problem in reallocation in last patch.
45204
45205 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45206
45207         * sunrpc/Makefile: Move inclusion of Rules.
45208
45209 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45210
45211         * nss/nss_files/files-initgroups.c: New file.
45212         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45213         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45214         _nss_files_initgroups_dyn.
45215
45216 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45217
45218         * elf/elf.h (R_ARM_IRELATIVE): Define.
45219
45220 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45221
45222         * po/ru.po: Update from translation team.
45223
45224 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45225
45226         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45227         dependencies.
45228
45229 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45230
45231         [BZ #12653]
45232         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45233         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45234         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45235         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45236         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45237
45238 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45239
45240         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45241         differing bytes.
45242         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45243         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45244         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45245
45246 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45247
45248         [BZ #12420]
45249         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45250         storing it.
45251         * stdlib/bug-getcontext.c: New file.
45252         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45253
45254 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45255
45256         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45257         instructions into .machine "z9-109".
45258         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45259         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45260
45261 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45262
45263         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45264         between environment variables and auxiliary vector.
45265
45266 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45267
45268         * Makefile: Add rules to build linkobj/libc.so.
45269         * include/libc-symbols.h: Define libc_hidden_nolink.
45270         * include/rpc/auth.h: Mark functions which are to be hidden.
45271         * include/rpc/auth_des.h: Likewise.
45272         * include/rpc/auth_unix.h: Likewise.
45273         * include/rpc/clnt.h: Likewise.
45274         * include/rpc/des_crypt.h: Likewise.
45275         * include/rpc/key_prot.h: Likewise.
45276         * include/rpc/pmap_clnt.h: Likewise.
45277         * include/rpc/pmap_prot.h: Likewise.
45278         * include/rpc/pmap_rmt.h: Likewise.
45279         * include/rpc/rpc_msg.h: Likewise.
45280         * include/rpc/svc.h: Likewise.
45281         * include/rpc/svc_auth.h: Likewise.
45282         * include/rpc/xdr.h: Likewise.
45283         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45284         * nss/Makefile: Likewise.
45285         * sunrpc/Makefile: Don't install headers.  Build library with normal
45286         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45287         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45288         for the compat linking library.  Remove use of INTDEF/INTUSE.
45289         * sunrpc/auth_none.c: Likewise.
45290         * sunrpc/auth_unix.c: Likewise.
45291         * sunrpc/authdes_prot.c: Likewise.
45292         * sunrpc/authuxprot.c: Likewise.
45293         * sunrpc/clnt_gen.c: Likewise.
45294         * sunrpc/clnt_perr.c: Likewise.
45295         * sunrpc/clnt_raw.c: Likewise.
45296         * sunrpc/clnt_simp.c: Likewise.
45297         * sunrpc/clnt_tcp.c: Likewise.
45298         * sunrpc/clnt_udp.c: Likewise.
45299         * sunrpc/clnt_unix.c: Likewise.
45300         * sunrpc/des_crypt.c: Likewise.
45301         * sunrpc/des_soft.c: Likewise.
45302         * sunrpc/get_myaddr.c: Likewise.
45303         * sunrpc/key_call.c: Likewise.
45304         * sunrpc/key_prot.c: Likewise.
45305         * sunrpc/netname.c: Likewise.
45306         * sunrpc/pm_getmaps.c: Likewise.
45307         * sunrpc/pm_getport.c: Likewise.
45308         * sunrpc/pmap_clnt.c: Likewise.
45309         * sunrpc/pmap_prot.c: Likewise.
45310         * sunrpc/pmap_prot2.c: Likewise.
45311         * sunrpc/pmap_rmt.c: Likewise.
45312         * sunrpc/publickey.c: Likewise.
45313         * sunrpc/rpc_cmsg.c: Likewise.
45314         * sunrpc/rpc_common.c: Likewise.
45315         * sunrpc/rpc_dtable.c: Likewise.
45316         * sunrpc/rpc_prot.c: Likewise.
45317         * sunrpc/rpc_thread.c: Likewise.
45318         * sunrpc/rtime.c: Likewise.
45319         * sunrpc/svc.c: Likewise.
45320         * sunrpc/svc_auth.c: Likewise.
45321         * sunrpc/svc_authux.c: Likewise.
45322         * sunrpc/svc_raw.c: Likewise.
45323         * sunrpc/svc_run.c: Likewise.
45324         * sunrpc/svc_simple.c: Likewise.
45325         * sunrpc/svc_tcp.c: Likewise.
45326         * sunrpc/svc_udp.c: Likewise.
45327         * sunrpc/svc_unix.c: Likewise.
45328         * sunrpc/svcauth_des.c: Likewise.
45329         * sunrpc/xcrypt.c: Likewise.
45330         * sunrpc/xdr.c: Likewise.
45331         * sunrpc/xdr_array.c: Likewise.
45332         * sunrpc/xdr_float.c: Likewise.
45333         * sunrpc/xdr_intXX_t.c: Likewise.
45334         * sunrpc/xdr_mem.c: Likewise.
45335         * sunrpc/xdr_rec.c: Likewise.
45336         * sunrpc/xdr_ref.c: Likewise.
45337         * sunrpc/xdr_sizeof.c: Likewise.
45338         * sunrpc/xdr_stdio.c: Likewise.
45339
45340 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45341
45342         [BZ #12650]
45343         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45344         * sysdeps/ia64/dl-tls.h: Likewise.
45345         * sysdeps/powerpc/dl-tls.h: Likewise.
45346         * sysdeps/s390/dl-tls.h: Likewise.
45347         * sysdeps/sh/dl-tls.h: Likewise.
45348         * sysdeps/sparc/dl-tls.h: Likewise.
45349         * sysdeps/x86_64/dl-tls.h: Likewise.
45350         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45351
45352 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45353
45354         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45355         rpath element also skip the following colon.
45356         (expand_dynamic_string_token): Add is_path parameter and pass
45357         down to DL_DST_REQUIRED and _dl_dst_substitute.
45358         (decompose_rpath): Call expand_dynamic_string_token with
45359         non-zero is_path.  Ignore empty rpaths.
45360         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45361         with zero is_path.
45362
45363 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45364
45365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45366         Make cancelable.
45367
45368 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45369
45370         [BZ #12655]
45371         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45372         Patch by Filipe David Manana <fdmanana@apache.org>.
45373
45374 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45375
45376         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45377         Maintain aligned stack.
45378         (CHECK_RSP): Remove unused macro.
45379
45380 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
45381
45382         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45383         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45384
45385 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
45386
45387         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45388
45389         * include/features.h: Mention __USE_XOPEN2K8 in comment.
45390
45391 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
45392
45393         [BZ #12518]
45394         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45395         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45396         * sysdeps/x86_64/memmove.c: New file.
45397         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45398         (memcpy): Renamed to ...
45399         (__new_memcpy): This.
45400         (memcpy): Provide GLIBC_2_14 memcpy.
45401         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45402         (memcpy): Provide GLIBC_2_2_5 memcpy.
45403
45404 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45405
45406         [BZ #12631]
45407         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45408
45409 2011-03-30  Andreas Schwab  <schwab@redhat.com>
45410
45411         * misc/syncfs.c: New file.
45412         * misc/Makefile (routines): Add syncfs.
45413         * posix/unistd.h: Declare syncfs.
45414         * sysdeps/unix/syscalls.list: Add syncfs.
45415
45416 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45417
45418         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45419         open_by_handle_at.
45420         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45421         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45422         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45423         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45424         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45425         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45426         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45427
45428 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45429
45430         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45431         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45432         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45433         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45434         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45435         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45436         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45437
45438         * io/Makefile: Compile fallocate.c, fallocate64.c, and
45439         sync_file_range.c with -fexceptions.
45440         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45441         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45442         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45443         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45444         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45445         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45446         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45447         sync_file_range as cancellation point
45448         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
45449         now a wrapper around __call_sync_file_range with cancellation handling.
45450         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45451         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
45452         function name to __call_sync_file_range.
45453         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45454         Add call_sync_file_range.
45455
45456 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45457
45458         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45459         bits/timex.h.
45460
45461 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45462
45463         * iconv/iconv.h: Fix typo in comment.
45464         * io/fcntl.h: Likewise.
45465         * libio/stdio.h: Likewise.
45466         * posix/spawn.h: Likewise.
45467         * posix/unistd.h: Likewise.
45468         * stdlib/stdlib.h: Likewise.
45469         * time/time.h: Likewise.
45470         * wcsmbs/wchar.h: Likewise.
45471
45472         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45473         open_by_handle): Add.
45474         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45475         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
45476         Augment a few comments.
45477         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45478         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45479         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45480         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45481         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45482         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45483         open_by_handle.
45484
45485         * io/fcntl.h (AT_EMPTY_PATH): Define.
45486
45487 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
45488
45489         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45490         * sysdeps/unix/sysv/linux/bits/time.h: New file.
45491         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45492         to...
45493         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
45494         * Versions.def: Add GLIBC_2.14.
45495         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45496         Export.
45497
45498 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
45499
45500         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45501         round counter.
45502         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45503
45504 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45505
45506         [BZ #12597]
45507         * string/test-strncmp.c (do_page_test): New function.
45508         (check2): Likewise.
45509         (test_main): Call check2.
45510         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45511
45512 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
45513
45514         [BZ #12587]
45515         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45516         Handle cache information in CPU leaf 4.
45517         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45518
45519 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
45520
45521         [BZ #12583]
45522         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45523         character representation.
45524         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45525
45526 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
45527
45528         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45529         END(__isnan) to END(__isnanf) to match function entry point/label
45530         EALIGN(__isnanf,...).
45531
45532 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
45533
45534         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45535
45536 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
45537
45538         [BZ #12510]
45539         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45540         copy from the symbol referenced in the relocation to initialize the
45541         used variable.
45542         Patch by Piotr Bury <pbury@goahead.com>.
45543         * elf/Makefile: Add rules to build and tst-unique3.
45544         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45545         * elf/tst-unique3.cc: New file.
45546         * elf/tst-unique3.h: New file.
45547         * elf/tst-unique3lib.cc: New file.
45548         * elf/tst-unique3lib2.cc: New file.
45549
45550         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45551
45552 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
45553
45554         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45555         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
45556         to _start.
45557
45558 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
45559
45560         * elf/dl-load.c (_dl_map_object): If we are looking for the first
45561         to-be-loaded object along a path to loader is ld.so.
45562
45563 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45564             Ulrich Drepper  <drepper@gmail.com>
45565
45566         * sysdeps/x86_64/memset.S: After aligning destination, code
45567         branches to different locations depending on the value of
45568         misalignment, when multiarch is enabled. Fix this.
45569
45570 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45571
45572         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45573         Set _x86_64_preferred_memory_instruction for AMD processsors.
45574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45575         Set bit_Prefer_SSE_for_memop for AMD processors.
45576
45577 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
45578
45579         * libio/fmemopen.c (fmemopen): Optimize a bit.
45580
45581 2011-03-03  Andreas Schwab  <schwab@redhat.com>
45582
45583         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45584
45585 2011-03-03  Roland McGrath  <roland@redhat.com>
45586
45587         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45588
45589 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
45590
45591         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45592         __bzero_ultra1 instead of __memset_ultra1.
45593
45594 2011-02-23  Andreas Schwab  <schwab@redhat.com>
45595             Ulrich Drepper  <drepper@gmail.com>
45596
45597         [BZ #12509]
45598         * include/link.h (struct link_map): Add l_orig_initfini.
45599         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45600         returning unsuccessfully.
45601         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45602         close of a file loaded at startup, restore the original l_initfini
45603         list.
45604         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45605         list, store the pointer.
45606         * elf/Makefile ($(objpfx)noload-mem): New rule.
45607         (noload-ENV): Define.
45608         (tests): Add $(objpfx)noload-mem.
45609         * elf/noload.c: Include <memcheck.h>.
45610         (main): Call mtrace.  Close all opened handles.
45611
45612 2011-02-17  Andreas Schwab  <schwab@redhat.com>
45613
45614         [BZ #12454]
45615         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45616         dependencies are missing.
45617
45618 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45619
45620         Fix __if_freereq crash: Unlike the generic version which uses free,
45621         Hurd needs munmap.
45622         * sysdeps/mach/hurd/ifreq.h: New file.
45623
45624 2011-01-27  Petr Baudis  <pasky@suse.cz>
45625             Ulrich Drepper  <drepper@gmail.com>
45626
45627         [BZ 12445]#
45628         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45629         to extend_alloca().
45630         * stdio-common/bug23.c: New file.
45631         * stdio-common/Makefile (tests): Add bug23.
45632
45633 2010-09-28  Andreas Schwab  <schwab@redhat.com>
45634             Ulrich Drepper  <drepper@gmail.com>
45635
45636         [BZ #12489]
45637         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45638         before performing relro protection.  At old place add assertion
45639         to make sure nothing changed.
45640
45641 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
45642             Glauber de Oliveira Costa  <glommer@gmail.com>
45643
45644         * elf/elf.h: Add new ARM TLS relocs.
45645
45646 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
45647
45648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45649         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45650         cast from r3.
45651         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
45652         'tests' variable.
45653         * sysdeps/wordsize-64/tst-writev.c: New file.
45654
45655 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
45656
45657         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45658         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45659         insns in _dl_start to prevent a TOC reference before relocs are
45660         resolved.
45661
45662 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
45663
45664         [BZ #12469]
45665         * Makeconfig: Remove RANLIB definition.
45666         * Makerules: Don't use RANLIB.
45667         * aclocal.m4: Remove ranlib test.
45668         * configure.in: No need to check for ranlib.
45669         * elf/rtld-Rules: Don't use RANLIB.
45670
45671 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45672
45673         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45674         protection macro.
45675         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45676         inclusion protection macro.
45677
45678         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45679         SIGRTMIN and SIGRTMAX and print information in that case only when
45680         SIGRTMIN is defined.
45681
45682 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
45683
45684         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45685         arginfo fn returning -1.
45686
45687         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45688         and thousands string is zero terminated.
45689
45690 2011-02-03  Andreas Schwab  <schwab@redhat.com>
45691
45692         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45693         sysdeps/unix/sysv/linux/bits/socket.h.
45694
45695 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45696
45697         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45698         (__CPU_COUNT): Remove old macros.
45699         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45700         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45701         (__CPU_ALLOC, __CPU_FREE): Add macros.
45702         (__sched_cpualloc, __sched_cpufree): Add declarations.
45703
45704 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
45705
45706         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45707         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45708         * nscd/aicache.c (addhstaiX): Return timeout of added value.
45709         (readdhstai): Return value of addhstaiX call.
45710         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45711         (addgrbyX): Return value returned by cache_addgr.
45712         (readdgrbyname): Return value returned by addgrbyX.
45713         (readdgrbygid): Likewise.
45714         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45715         (addpwbyX): Return value returned by cache_addpw.
45716         (readdpwbyname): Return value returned by addhstbyX.
45717         (readdpwbyuid): Likewise.
45718         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45719         (addservbyX): Return value returned by cache_addserv.
45720         (readdservbyname): Return value returned by addservbyX:
45721         (readdservbyport): Likewise.
45722         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45723         (addhstbyX): Return value returned by cache_addhst.
45724         (readdhstbyname): Return value returned by addhstbyX.
45725         (readdhstbyaddr): Likewise.
45726         (readdhstbynamev6): Likewise.
45727         (readdhstbyaddrv6): Likewise.
45728         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45729         (readdinitgroups): Return value returned by addinitgroupsX.
45730         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45731         (prune_cache): Keep track of timeout value of re-added entries.
45732         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45733         * nscd/nscd.h: Adjust prototypes of readd* functions.
45734
45735 2011-02-04  Roland McGrath  <roland@redhat.com>
45736
45737         * nis/nis_server.c (nis_servstate): Use the right name for 0.
45738         (nis_stats): Likewise.
45739         * nis/nis_modify.c (nis_modify): Likewise.
45740         * nis/nis_remove.c (nis_remove): Likewise.
45741         * nis/nis_add.c (nis_add): Likewise.
45742
45743         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45744
45745         * posix/fnmatch_loop.c: Add some consts.
45746
45747         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45748
45749 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
45750
45751         [BZ #12460]
45752         * config.make.in (config-cflags-novzeroupper): Define.
45753         * configure.in: Substitute libc_cv_cc_novzeroupper.
45754         * elf/Makefile (AVX-CFLAGS): Define.
45755         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45756         (CFLAGS-tst-auditmod4a.c): Likewise.
45757         (CFLAGS-tst-auditmod4b.c): Likewise.
45758         (CFLAGS-tst-auditmod6b.c): Likewise.
45759         (CFLAGS-tst-auditmod6c.c): Likewise.
45760         (CFLAGS-tst-auditmod7b.c): Likewise.
45761         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45762
45763 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
45764
45765         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45766         function to the callback.
45767         Patch partly by Jiri Olsa <jolsa@redhat.com>.
45768
45769 2011-02-02  Andreas Schwab  <schwab@redhat.com>
45770
45771         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45772         of errno.
45773
45774 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
45775
45776         [BZ #11724]
45777         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45778         of constructors.
45779         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45780         of destructors.
45781         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45782
45783         [BZ #11724]
45784         * elf/Makefile: Add rules to build and run new test.
45785         * elf/tst-initorder.c: New file.
45786         * elf/tst-initorder.exp: New file.
45787         * elf/tst-initordera1.c: New file.
45788         * elf/tst-initordera2.c: New file.
45789         * elf/tst-initordera3.c: New file.
45790         * elf/tst-initordera4.c: New file.
45791         * elf/tst-initorderb1.c: New file.
45792         * elf/tst-initorderb2.c: New file.
45793         * elf/tst-order-a1.c: New file.
45794         * elf/tst-order-a2.c: New file.
45795         * elf/tst-order-a3.c: New file.
45796         * elf/tst-order-a4.c: New file.
45797         * elf/tst-order-b1.c: New file.
45798         * elf/tst-order-b2.c: New file.
45799         * elf/tst-order-main.c: New file.
45800         New test case by George Gensure <werkt0@gmail.com>.
45801
45802 2010-10-01  Andreas Schwab  <schwab@redhat.com>
45803
45804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45805         decoding ACE if AI_CANONIDN.
45806
45807 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
45808
45809         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45810
45811 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
45812
45813         * version.h (RELEASE): Bump for 2.13 release.
45814         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45815
45816         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45817
45818         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45819         MADV_NOHUGEPAGE.
45820         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45821         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45822         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45823         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45824         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45825         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45826
45827         * posix/getconf.c: Update copyright year.
45828         * catgets/gencat.c: Likewise.
45829         * csu/version.c: Likewise.
45830         * debug/catchsegv.sh: Likewise.
45831         * debug/xtrace.sh: Likewise.
45832         * elf/ldconfig.c: Likewise.
45833         * elf/ldd.bash.in: Likewise.
45834         * elf/sprof.c (print_version): Likewise.
45835         * iconv/iconv_prog.c: Likewise.
45836         * iconv/iconvconfig.c: Likewise.
45837         * locale/programs/locale.c: Likewise.
45838         * locale/programs/localedef.c: Likewise.
45839         * malloc/memusage.sh: Likewise.
45840         * malloc/mtrace.pl: Likewise.
45841         * nscd/nscd.c (print_version): Likewise.
45842         * nss/getent.c: Likewise.
45843
45844         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45845         PF_CAIF, and PF_ALG.
45846         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45847
45848 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
45849
45850         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45851         (modules-names): Use them.
45852         (ifunc-test-modules, ifunc-pie-tests): Define.
45853         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45854         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45855         (test-extras): Likewise.
45856         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45857         $(compile-command.c).
45858         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45859         (all-built-dso): Define.
45860         (check-textrel.out, check-execstack.out): Depend on it.
45861
45862         * configure.in: Don't override --enable-multi-arch.
45863
45864 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
45865
45866         [BZ #6812]
45867         * nscd/hstcache.c (tryagain): Define.
45868         (cache_addhst): Return tryagain not notfound for temporary errors.
45869         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45870         failed.
45871
45872 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
45873
45874         [BZ #10563]
45875         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45876         to make the syscall.
45877         * sysdeps/unix/sysv/linux/setgroups.c: New file.
45878
45879         [BZ #12378]
45880         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45881         and fall back to matching as normal character if the string ends before
45882         the matching ']' is found.  This is what POSIX requires.
45883         * posix/testfnm.c: Adjust test result.
45884         * posix/globtest.sh: Adjust test result.  Add new test.
45885         * posix/tst-fnmatch.input: Likewise.
45886         * posix/tst-fnmatch2.c: Add new test.
45887
45888 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
45889
45890         * elf/Makefile (check-execstack): Revert last change.  Depend on
45891         check-execstack.h.
45892         (check-execstack.h): New target.
45893         (generated): Add check-execstack.h.
45894         * elf/check-execstack.c: Include "check-execstack.h".
45895         (main): Revert last change.
45896         (handle_file): Return zero if GNU_STACK is absent and
45897         DEFAULT_STACK_PERMS doesn't include PF_X.
45898
45899 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
45900
45901         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45902         in child fails because the descriptor is already closed.
45903         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45904         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45905         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45906
45907         [BZ #12397]
45908         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45909         syscall.
45910
45911         [BZ #10484]
45912         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45913         temporary buffer used to handle multi lookups locally.
45914         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45915
45916 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45917
45918         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45919         loader is ld.so.
45920
45921 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
45922
45923         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45924         alignment for SSE2.
45925
45926 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45927
45928         [BZ #12394]
45929         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45930         characters.  When rounding increased number of integer digits recompute
45931         number of groups.
45932         * stdio-common/tst-grouping.c: New file.
45933         * stdio-common/Makefile: Add rules to build and run tst-grouping.
45934
45935 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
45936
45937         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45938         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
45939
45940         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45941         void.
45942         * bits/select.h: Likewise.
45943
45944 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
45945
45946         * po/ja.po: Update from translation team.
45947
45948 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
45949
45950         [BZ #11155]
45951         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45952         implementation just like for lxstat, fxstatat, et al.
45953
45954 2010-12-27  Jim Meyering  <meyering@redhat.com>
45955
45956         [BZ #12348]
45957         * posix/regexec.c (build_trtable): Return failure indication upon
45958         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
45959
45960 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
45961
45962         [BZ #12201]
45963         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45964         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45965         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45966         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45967
45968         [BZ #12207]
45969         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45970
45971         [BZ #12204]
45972         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45973         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45974
45975 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
45976
45977         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45978         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45979         script has SORT_BY_INIT_PRIORITY.
45980         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45981         NO_CTORS_DTORS_SECTIONS is defined.
45982         * elf/soinit.c: Likewise.
45983         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45984         NO_CTORS_DTORS_SECTIONS is defined.
45985         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45986         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45987         * sysdeps/sh/init-first.c: Likewise.
45988         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45989
45990 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
45991
45992         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45993         always use the slow path.
45994
45995 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
45996
45997         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45998         similar rule which adds the sysdep directories to the header search in
45999         order to pick up the correct platform stackinfo.h.
46000         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46001         perform test if it is, otherwise return successfully without testing.
46002         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46003         DEFAULT_STACK_PERMS define in stackinfo.h.
46004         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46005         defined in stackinfo.h.
46006         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46007         DEFAULT_STACK_PERMS defined in stackinfo.h.
46008         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46009         * sysdeps/ia64/stackinfo.h: Likewise.
46010         * sysdeps/s390/stackinfo.h: Likewise.
46011         * sysdeps/sh/stackinfo.h: Likewise.
46012         * sysdeps/sparc/stackinfo.h: Likewise.
46013         * sysdeps/x86_64/stackinfo.h: Likewise.
46014         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46015         PF_X for powerpc64.  Retain PF_X for powerpc32.
46016
46017 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46018
46019         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46020         accurately.
46021         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46022         GETDENTS_64BIT_ALIGNED.
46023
46024 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46025
46026         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46027
46028 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46029
46030         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46031         _GNU_SOURCE.
46032
46033         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46034         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46035         Remove __restrict.
46036         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46037         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46038
46039 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46040
46041         [BZ #11655]
46042         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46043         are initialized.
46044
46045 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46046
46047         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46048
46049 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46050
46051         * po/it.po: Update from translation team.
46052
46053 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46054
46055         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46056         unused codes.
46057
46058 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46059
46060         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46061
46062 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46063
46064         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46065         specially.
46066         (gaih_getanswer_slice): Likewise.
46067
46068 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46069
46070         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46071
46072 2010-05-31  Petr Baudis  <pasky@suse.cz>
46073
46074         [BZ #11149]
46075         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46076         silently even in the chroot mode.
46077
46078 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46079
46080         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46081         last patch a bit.  Pretty printing
46082
46083 2010-05-31  Petr Baudis <pasky@suse.cz>
46084
46085         [BZ #10085]
46086         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46087         initialization of skip_initgroups_dyn.
46088
46089 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46090
46091         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46092         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46093
46094 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46095
46096         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46097
46098 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46099
46100         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46101         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46102         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46103         ($(objpfx)tst-fnmatch-mem): New rule.
46104         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46105         * posix/tst-fnmatch.c (main): Call mtrace.
46106
46107 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46108
46109         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46110         Support Intel processor model 6 and model 0x2c.
46111
46112 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46113
46114         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46115           signed comparison.
46116
46117 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46118
46119         [BZ #12205]
46120         * string/test-strncasecmp.c (check_result): New function.
46121         (do_one_test): Use it.
46122         (check1): New function.
46123         (test_main): Use it.
46124         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46125         Support strcasecmp and strncasecmp.
46126
46127 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46128
46129         [BZ #12194]
46130         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46131         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46132
46133 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46134
46135         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46136         IFUNC support.
46137         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46138         memset-x86-64.
46139         * sysdeps/x86_64/multiarch/bzero.S: New file.
46140         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46141         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46142         * sysdeps/x86_64/multiarch/memset.S: New file.
46143         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46144         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46145         Set bit_Prefer_SSE_for_memop for Intel processors.
46146         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46147         Define.
46148         (index_Prefer_SSE_for_memop): Define.
46149         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46150
46151 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46152
46153         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46154         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46155
46156 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46157
46158         [BZ #12191]
46159         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46160         (__x86_64_raw_data_cache_size_half): Likewise.
46161         (__x86_64_raw_shared_cache_size): Likewise.
46162         (__x86_64_raw_shared_cache_size_half): Likewise.
46163
46164         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46165         (__x86_64_raw_data_cache_size_half): Likewise.
46166         (__x86_64_raw_shared_cache_size): Likewise.
46167         (__x86_64_raw_shared_cache_size_half): Likewise.
46168         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46169         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46170         and __x86_64_raw_shared_cache_size_half.  Round
46171         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46172         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46173         to multiple of 256 bytes.
46174
46175 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46176
46177         [BZ #12167]
46178         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46179         of inacessible symlinks.  Verify result of symlink before returning it.
46180         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46181         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46182
46183 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46184
46185         * math/math.h (isinf): Fix typo in comment.
46186
46187 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46188
46189         * po/da.po: Update from translation team.
46190
46191 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46192
46193         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46194         is added to the list.
46195
46196 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46197             Ulrich Drepper  <drepper@gmail.com>
46198
46199         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46200         the global list here.  Move code to...
46201         (_dl_add_to_namespace_list): ...here.  New function.
46202         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46203         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46204         * elf/dl-load.c (lose): Don't remove the element from the list.
46205         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46206         (_dl_map_object): Likewise.
46207
46208 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46209
46210         [BZ #12159]
46211         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46212         into all bytes of SSE register.
46213         Patch by Richard Li <richardpku@gmail.com>.
46214
46215 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46216
46217         [BZ #12140]
46218         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46219         perturbing.
46220
46221 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46222
46223         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46224         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46225         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46226         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46228         submachine.
46229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46230
46231 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46232
46233         * include/dlfcn.h (__RTLD_SECURE): Define.
46234         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46235         mode & __RTLD_SECURE instead.
46236         (open_path): Rename preloaded parameter to secure.
46237         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46238         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46239         * elf/dl-deps.c (openaux): Likewise.
46240         * elf/rtld.c (struct map_args): Remove is_preloaded.
46241         (map_doit): Don't use it.
46242         (dl_main): Likewise.
46243         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46244         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46245
46246 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46247
46248         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46249         (sysd-rules-targets): Remove duplicates.
46250         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46251         rtld-%.$o dependency.
46252
46253 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46254
46255         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46256         _dl_map_object do it.
46257
46258 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46259
46260         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46261         fast fma builtins, define the macros in the C99 standard.
46262         (FP_FAST_FMAF): Likewise.
46263         (FP_FAST_FMAL): Likewise.
46264         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46265
46266         * bits/mathdef.h: Update copyright year.
46267         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46268
46269 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46270
46271         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46272         builtins, define the macros in the C99 standard.
46273         (FP_FAST_FMAF): Likewise.
46274         (FP_FAST_FMAL): Likewise.
46275         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46276         multiply/add.
46277         (FP_FAST_FMAF): Likewise.
46278
46279 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46280
46281         [BZ #3268]
46282         * math/libm-test.inc (fma_test): Some new testcases.
46283         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46284         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46285         y and infinite z.  Do multiplication by C already in long double.
46286         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46287         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46288         y and infinite z.  Do bitwise or of inexact bit into u.d.
46289         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46290         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46291         * sysdeps/i386/fpu/s_fma.S: Removed.
46292         * sysdeps/i386/fpu/s_fmal.S: Removed.
46293
46294 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46295
46296         [BZ #3268]
46297         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46298         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46299         computation is not scheduled after fetestexcept.  Fix value
46300         of minimum denormal long double.
46301
46302 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46303
46304         [BZ #3268]
46305         * math/libm-test.inc (fma_test): Add some more tests.
46306         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46307         correctly.
46308
46309 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46310
46311         * scripts/data/localplt-s390-linux-gnu.data: New file.
46312         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46313
46314 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46315
46316         [BZ #3268]
46317         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46318         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46319         instead of dbl-64.
46320         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46321         inlines.
46322         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46324         if one of x and y is very large and the other is subnormal.
46325         * sysdeps/s390/fpu/s_fmaf.c: New file.
46326         * sysdeps/s390/fpu/s_fma.c: New file.
46327         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46328         * sysdeps/powerpc/fpu/s_fma.S: New file.
46329         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46330         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46331         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46332
46333 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46334
46335         [BZ #3268]
46336         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46337         fma tests.
46338         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46339         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46340         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46341         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46342         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46343         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46344         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46345
46346 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46347
46348         [BZ #12078]
46349         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46350         * posix/bug-regex31.input: Add test case.
46351
46352 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46353
46354         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46355         * posix/bug-regex31.input: New file.
46356
46357         [BZ #12078]
46358         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46359         (parse_sub_exp): Fix last change, use postorder.
46360
46361         * posix/bug-regex31.c: New file.
46362         * posix/Makefile: Add rules to build and run bug-regex31.
46363
46364         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46365
46366         [BZ #12078]
46367         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46368
46369         [BZ #12108]
46370         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46371         to have entries in sys_siglist.
46372
46373         [BZ #12093]
46374         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46375         be NULL.
46376
46377 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
46378
46379         [BZ #3268]
46380         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46381         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46382         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46383         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46384         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46385         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46386         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46387         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46388         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46389         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46390         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46391         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46392         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46393         * math/ftestexcept.c (fetestexcept): Likewise.
46394         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46395         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46396         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46397         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46398         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46399         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46400         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46401
46402 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46403
46404         [BZ #12107]
46405         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46406         newline.
46407
46408 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
46409
46410         * string/bug-strstr1.c: New file.
46411         * string/Makefile: Add rules to build and run bug-strstr1.
46412
46413 2010-10-05  Eric Blake  <eblake@redhat.com>
46414
46415         [BZ #12092]
46416         * string/str-two-way.h (two_way_long_needle): Always clear memory
46417         when skipping input due to the shift table.
46418
46419 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
46420
46421         [BZ #12005]
46422         * malloc/mcheck.c: Handle large requests.
46423
46424         [BZ #12077]
46425         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46426         for strncmp and strncasecmp.
46427         * string/stratcliff.c: Add tests for strcmp and strncmp.
46428         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46429
46430 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46431
46432         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46433         __set_fpscr.
46434
46435 2010-09-30  Andreas Jaeger  <aj@suse.de>
46436
46437         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46438         (CGROUP_SUPER_MAGIC): Define.
46439         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46440         Handle btrfs and cgroup file systems.
46441         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46442         Likewise.
46443
46444 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
46445
46446         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46447         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46448
46449 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46450
46451         [BZ #12067]
46452         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46453         trying to locate the ELF header.
46454
46455 2010-09-27  Andreas Schwab  <schwab@redhat.com>
46456
46457         [BZ #11611]
46458         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46459         Mask out sign-bit copies when constructing f_fsid.
46460
46461 2010-09-24  Petr Baudis <pasky@suse.cz>
46462
46463         * debug/stack_chk_fail_local.c: Add missing licence exception.
46464         * debug/warning-nop.c: Likewise.
46465
46466 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
46467
46468         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46469         implementing getdents64 using getdents syscall, set d_type if
46470         __ASSUME_GETDENTS32_D_TYPE.
46471
46472 2010-09-16  Andreas Schwab  <schwab@redhat.com>
46473
46474         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46475         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46476
46477 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
46478
46479         [BZ #12037]
46480         * posix/unistd.h: Undo change of feature selection for ftruncate from
46481         2010-01-11.
46482
46483 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
46484
46485         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46486         detection.
46487
46488 2010-09-20  Andreas Schwab  <schwab@redhat.com>
46489
46490         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46491         fanotify_mark.
46492         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46493
46494 2010-09-14  Andreas Schwab  <schwab@redhat.com>
46495
46496         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46497         variables after CHECK_SP call.
46498         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46499
46500 2010-09-13  Andreas Schwab  <schwab@redhat.com>
46501             Ulrich Drepper  <drepper@redhat.com>
46502
46503         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46504         re-relocationg ld.so.
46505         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46506         _dl_init_paths call.
46507         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
46508         here anymore.
46509
46510 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
46511
46512         * resolv/res_init.c (__res_vinit): Count the default server we added.
46513
46514 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
46515             Ulrich Drepper  <drepper@redhat.com>
46516
46517         [BZ #11968]
46518         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46519         (____longjmp_chk): Use %ebx for saving value across system call.
46520         Add unwind info.
46521
46522 2010-09-06  Andreas Schwab  <schwab@redhat.com>
46523
46524         * manual/Makefile: Don't mix pattern rules with normal rules.
46525
46526 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46527
46528         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46529         operation.
46530         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46531         * libio/iofopncook.c (_IO_cookie_init): Likewise.
46532         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46533         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46534         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46535         Likewise.
46536
46537 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
46538
46539         [BZ #11979]
46540         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46541         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46542
46543 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
46544
46545         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46546         * sysdeps/x86_64/addmul_1.S: Likewise.
46547         * sysdeps/x86_64/lshift.S: Likewise.
46548         * sysdeps/x86_64/mul_1.S: Likewise.
46549         * sysdeps/x86_64/rshift.S: Likewise.
46550         * sysdeps/x86_64/sub_n.S: Likewise.
46551         * sysdeps/x86_64/submul_1.S: Likewise.
46552
46553 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46554
46555         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46556         Define __sched_param instead of SCHED_* and sched_param when
46557         <bits/sched.h> is included with __need_schedparam defined.
46558         * bits/sched.h [__need_schedparam]
46559         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46560         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46561         (__defined_schedparam): Define to 1.
46562         (__sched_param): New structure, identical to sched_param.
46563         (__need_schedparam): Undefine.
46564
46565 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
46566
46567         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46568         (epoll_create1): Declare.
46569
46570         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46571
46572 2010-08-31  Andreas Schwab  <schwab@redhat.com>
46573
46574         [BZ #7066]
46575         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46576         shifting retval into place.
46577
46578 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
46579
46580         * nis/rpcsvc/nis.h: Update copyright notice.
46581         * nis/rpcsvc/nis.x: Likewise.
46582         * nis/rpcsvc/nis_callback.h: Likewise.
46583         * nis/rpcsvc/nis_callback.x: Likewise.
46584         * nis/rpcsvc/nis_object.x: Likewise.
46585         * nis/rpcsvc/nis_tags.h: Likewise.
46586         * nis/rpcsvc/yp.h: Likewise.
46587         * nis/rpcsvc/yp.x: Likewise.
46588         * nis/rpcsvc/ypupd.h: Likewise.
46589         * nis/yp_xdr.c: Likewise.
46590         * nis/ypupdate_xdr.c: Likewise.
46591
46592         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
46593         mainly the body of pmap_getport.  Add parameters to specify timeouts.
46594         (pmap_getport): Use __libc_rpc_getport.
46595         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46596         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46597         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46598
46599 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
46600
46601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46602         fanotify_mark.
46603
46604 2010-08-27  Roland McGrath  <roland@redhat.com>
46605
46606         * sysdeps/i386/i686/multiarch/Makefile
46607         (CFLAGS-varshift.c): New variable.
46608
46609 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
46610
46611         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46612         * sysdeps/i386/i686/multiarch/varshift.c: New file.
46613
46614         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46615
46616         * sysdeps/x86_64/strlen.S: Minimal code improvement.
46617
46618 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
46619
46620         * sysdeps/x86_64/strlen.S: Unroll the loop.
46621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46622         strlen-sse2 strlen-sse2-bsf.
46623         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46624         __strlen_no_bsf if bit_Slow_BSF is set.
46625         (__strlen_sse42): Removed.
46626         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46627         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46628
46629 2010-08-25  Roland McGrath  <roland@redhat.com>
46630
46631         * sysdeps/x86_64/multiarch/varshift.S: File removed.
46632         * sysdeps/x86_64/multiarch/varshift.c: New file.
46633         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46634         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46635         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46636         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46637
46638 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
46639
46640         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46641         strlen-sse2 strlen-sse2-bsf.
46642         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46643         __strlen_sse2_bsf if bit_Slow_BSF is unset.
46644         (__strlen_sse2): Removed.
46645         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46646         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46648         bit_Slow_BSF for Atom.
46649         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46650         (index_Slow_BSF): Define.
46651         (HAS_SLOW_BSF): Define.
46652
46653 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
46654
46655         [BZ #10851]
46656         * resolv/res_init.c (__res_vinit): When no server address at all
46657         is given default to loopback.
46658
46659 2010-08-24  Roland McGrath  <roland@redhat.com>
46660
46661         * configure.in: Remove config-name.h generation.
46662         * configure: Regenerated.
46663         * config-name.in: File removed.
46664         * scripts/config-uname.sh: New file.
46665         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46666         ($(objdir)config-name.h): New target.
46667
46668         * sunrpc/rpc_parse.h: Avoid nested comment.
46669
46670 2010-08-24  Richard Henderson  <rth@redhat.com>
46671             Ulrich Drepper  <drepper@redhat.com>
46672             H.J. Lu  <hongjiu.lu@intel.com>
46673
46674         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46676         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46677         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
46678         _mm_alignr_epi8 with _mm_loadu_si128.
46679         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46680         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46681         (__m128i_shift_right): Removed.
46682         * sysdeps/i386/i686/multiarch/varshift.h: New file.
46683         * sysdeps/i386/i686/multiarch/varshift.S: New file.
46684         * sysdeps/x86_64/multiarch/varshift.h: New file.
46685         * sysdeps/x86_64/multiarch/varshift.S: New file.
46686
46687 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
46688
46689         * configure.in: Move assembler checks to before sysdep dir checking.
46690
46691 2010-08-20  Petr Baudis  <pasky@suse.cz>
46692
46693         * LICENSES: Sync the sunrpc license.
46694
46695 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
46696
46697         * sunrpc/auth_des.c: Update copyright notice once again.
46698         * sunrpc/auth_none.c: Likewise.
46699         * sunrpc/auth_unix.c: Likewise.
46700         * sunrpc/authdes_prot.c: Likewise.
46701         * sunrpc/authuxprot.c: Likewise.
46702         * sunrpc/bindrsvprt.c: Likewise.
46703         * sunrpc/clnt_gen.c: Likewise.
46704         * sunrpc/clnt_perr.c: Likewise.
46705         * sunrpc/clnt_raw.c: Likewise.
46706         * sunrpc/clnt_simp.c: Likewise.
46707         * sunrpc/clnt_tcp.c: Likewise.
46708         * sunrpc/clnt_udp.c: Likewise.
46709         * sunrpc/clnt_unix.c: Likewise.
46710         * sunrpc/des_crypt.c: Likewise.
46711         * sunrpc/des_soft.c: Likewise.
46712         * sunrpc/get_myaddr.c: Likewise.
46713         * sunrpc/getrpcport.c: Likewise.
46714         * sunrpc/key_call.c: Likewise.
46715         * sunrpc/key_prot.c: Likewise.
46716         * sunrpc/openchild.c: Likewise.
46717         * sunrpc/pm_getmaps.c: Likewise.
46718         * sunrpc/pm_getport.c: Likewise.
46719         * sunrpc/pmap_clnt.c: Likewise.
46720         * sunrpc/pmap_prot.c: Likewise.
46721         * sunrpc/pmap_prot2.c: Likewise.
46722         * sunrpc/pmap_rmt.c: Likewise.
46723         * sunrpc/rpc/auth.h: Likewise.
46724         * sunrpc/rpc/auth_unix.h: Likewise.
46725         * sunrpc/rpc/clnt.h: Likewise.
46726         * sunrpc/rpc/des_crypt.h: Likewise.
46727         * sunrpc/rpc/key_prot.h: Likewise.
46728         * sunrpc/rpc/netdb.h: Likewise.
46729         * sunrpc/rpc/pmap_clnt.h: Likewise.
46730         * sunrpc/rpc/pmap_prot.h: Likewise.
46731         * sunrpc/rpc/pmap_rmt.h: Likewise.
46732         * sunrpc/rpc/rpc.h: Likewise.
46733         * sunrpc/rpc/rpc_des.h: Likewise.
46734         * sunrpc/rpc/rpc_msg.h: Likewise.
46735         * sunrpc/rpc/svc.h: Likewise.
46736         * sunrpc/rpc/svc_auth.h: Likewise.
46737         * sunrpc/rpc/types.h: Likewise.
46738         * sunrpc/rpc/xdr.h: Likewise.
46739         * sunrpc/rpc_clntout.c: Likewise.
46740         * sunrpc/rpc_cmsg.c: Likewise.
46741         * sunrpc/rpc_common.c: Likewise.
46742         * sunrpc/rpc_cout.c: Likewise.
46743         * sunrpc/rpc_dtable.c: Likewise.
46744         * sunrpc/rpc_hout.c: Likewise.
46745         * sunrpc/rpc_main.c: Likewise.
46746         * sunrpc/rpc_parse.c: Likewise.
46747         * sunrpc/rpc_parse.h: Likewise.
46748         * sunrpc/rpc_prot.c: Likewise.
46749         * sunrpc/rpc_sample.c: Likewise.
46750         * sunrpc/rpc_scan.c: Likewise.
46751         * sunrpc/rpc_scan.h: Likewise.
46752         * sunrpc/rpc_svcout.c: Likewise.
46753         * sunrpc/rpc_tblout.c: Likewise.
46754         * sunrpc/rpc_util.c: Likewise.
46755         * sunrpc/rpc_util.h: Likewise.
46756         * sunrpc/rpcinfo.c: Likewise.
46757         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46758         * sunrpc/rpcsvc/key_prot.x: Likewise.
46759         * sunrpc/rpcsvc/klm_prot.x: Likewise.
46760         * sunrpc/rpcsvc/mount.x: Likewise.
46761         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46762         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46763         * sunrpc/rpcsvc/rex.x: Likewise.
46764         * sunrpc/rpcsvc/rstat.x: Likewise.
46765         * sunrpc/rpcsvc/rusers.x: Likewise.
46766         * sunrpc/rpcsvc/sm_inter.x: Likewise.
46767         * sunrpc/rpcsvc/spray.x: Likewise.
46768         * sunrpc/rpcsvc/yppasswd.x: Likewise.
46769         * sunrpc/rtime.c: Likewise.
46770         * sunrpc/svc.c: Likewise.
46771         * sunrpc/svc_auth.c: Likewise.
46772         * sunrpc/svc_authux.c: Likewise.
46773         * sunrpc/svc_raw.c: Likewise.
46774         * sunrpc/svc_run.c: Likewise.
46775         * sunrpc/svc_simple.c: Likewise.
46776         * sunrpc/svc_tcp.c: Likewise.
46777         * sunrpc/svc_udp.c: Likewise.
46778         * sunrpc/svc_unix.c: Likewise.
46779         * sunrpc/svcauth_des.c: Likewise.
46780         * sunrpc/xcrypt.c: Likewise.
46781         * sunrpc/xdr.c: Likewise.
46782         * sunrpc/xdr_array.c: Likewise.
46783         * sunrpc/xdr_float.c: Likewise.
46784         * sunrpc/xdr_mem.c: Likewise.
46785         * sunrpc/xdr_rec.c: Likewise.
46786         * sunrpc/xdr_ref.c: Likewise.
46787         * sunrpc/xdr_sizeof.c: Likewise.
46788         * sunrpc/xdr_stdio.c: Likewise.
46789
46790         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46791         handling.
46792
46793 2010-08-19  Andreas Schwab  <schwab@redhat.com>
46794
46795         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46796
46797 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
46798
46799         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46800         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46801         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46802         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46803         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46804         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46805         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46806         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46807         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46808         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46809         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46810         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46811         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46812         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46813
46814 2010-07-26  Anton Blanchard  <anton@samba.org>
46815
46816         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46817         * malloc/arena.c (heap_trim): Likewise.
46818
46819 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
46820
46821         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46822         here.  Not...
46823         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46824         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46825
46826 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46827
46828         * sysdeps/i386/elf/Makefile: New file.
46829
46830 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46831
46832         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46833         from fanotify_init.
46834         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46835         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46836
46837 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
46838
46839         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46840         of strncasecmp_l.
46841         * sysdeps/multiarch/strcmp.S: Likewise.
46842
46843 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
46844
46845         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46846         strncase_l-nonascii.
46847         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46848         Add strncase_l-ssse3.
46849         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46850         * sysdeps/x86_64/strcmp.S: Likewise.
46851         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46852         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46853         * sysdeps/x86_64/strncase.S: New file.
46854         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46855         * sysdeps/x86_64/strncase_l.S: New file.
46856         * string/Makefile (strop-tests): Add strncasecmp.
46857         * string/test-strncasecmp.c: New file.
46858
46859         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46860         warning.
46861
46862         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46863         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46864
46865 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46866
46867         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46868
46869 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
46870
46871         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46872         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46873         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46874
46875 2010-05-01  Alan Modra  <amodra@gmail.com>
46876
46877         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46878         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46879         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46880         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46881         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46882         tidying.  Don't tail-call __sigjmp_save for static lib.
46883         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46884         save location.
46885         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46886         (CALL_MCOUNT): Add eh info, and nop after bl.
46887         (TAIL_CALL_SYSCALL_ERROR): New macro.
46888         (PSEUDO_RET): Use it.
46889         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46890         Correct save location of integer regs and cr.
46891         (_dl_profile_resolve): Correct cr save location.  Delete nops
46892         after bl when SHARED.  Reduce cfi size a little by better
46893         placement of cfi directives.
46894         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46895         make a stack frame.  Instead use parm save area as a temp.
46896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46897         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
46898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46899         Don't make a stack frame for parent, use parm save area.
46900         Increase child stack frame to 112 bytes.  Don't save unused reg,
46901         and adjust reg usage.  Set up cfi on error recovery and
46902         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46904         (__makecontext): Add dummy nop after jump to exit.
46905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46906         Use correct parm save area and cr save, reduce stack frame.
46907         Correct cfi for possible PSEUDO_RET frame setup.
46908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46909         Branch to local label emitted by PSEUDO_RET rather than
46910         __syscall_error.
46911
46912 2010-08-12  Andreas Schwab  <schwab@redhat.com>
46913
46914         [BZ #11904]
46915         * locale/programs/locale.c (print_assignment): New function.
46916         (show_locale_vars): Use it.
46917
46918 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
46919
46920         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46921         field.
46922         (struct statfs64): Likewise.
46923         (_STATFS_F_FLAGS): Define.
46924         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46925         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46926         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46927         (ST_VALID): Define locally.
46928         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46929         __statvfs_getflags, use the provided value.
46930         * sysdeps/unix/sysv/linux/kernel-features.h: Define
46931         __ASSUME_STATFS_F_FLAGS.
46932
46933         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46934
46935         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46936         Add sys/fanotify.h.
46937         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46938         fanotify_mask for GLIBC_2.13.
46939         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46940         fanotify_init and fanotify_mark.
46941         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46942         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46943
46944         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46945         Add prlimit.
46946         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46947         prlimit64 for GLIBC_2.13.
46948         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46949         prlimit64.
46950         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46951         syscall.
46952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46953         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46954         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46955         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46956         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
46957         add prlimit alias.
46958         * sysdeps/unix/sysv/linux/prlimit.c: New file.
46959
46960         [BZ #11903]
46961         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46962         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46963
46964         * nss/Makefile: Add rules to build and run tst-nss-test1.
46965         * shlib-versions: Add entry for libnss_test1.
46966         * nss/nss_test1.c: New file.
46967         * nss/tst-nss-test1.c: New file.
46968
46969         * nss/nsswitch.c (__nss_database_custom): Define new variable.
46970         (__nss_configure_lookup): Set appropriate entry in
46971         __nss_configure_lookup to true.
46972         * nss/nsswitch.h: Define enum with indeces of databases in
46973         databases and __nss_database_custom arrays.  Declare
46974         __nss_database_custom.
46975         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46976         to avoid using nscd when custom rules are installed.
46977         * nss/getXXbyYY_r.c: Likewise.
46978         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46979
46980         * nss/nss_files/files-parse.c: Whitespace fixes.
46981
46982 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
46983
46984         [BZ #11883]
46985         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46986         * posix/fnmatch_loop.c: Likewise.
46987
46988 2010-07-17  Andi Kleen  <ak@linux.intel.com>
46989
46990         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46991         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46992         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46993         * Versions.def [GLIBC_2.13]: Add.
46994
46995 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
46996
46997         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46998         Also fail if tpwd after pwuid call is NULL.
46999
47000 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47001
47002         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47003         when converting to ms.
47004
47005 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47006
47007         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47008         EOPNOTSUPP errors with ENOTTY.
47009         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47010         EOPNOTSUPP errors with ENOTTY.
47011
47012 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47013
47014         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47015         Add strcasecmp_l-ssse3.
47016         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47017         strcasecmp.
47018         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47019         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47020         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47021
47022 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47023
47024         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47025
47026         * string/Makefile (strop-tests): Add strcasecmp.
47027         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47028         strcasecmp_l-nonascii.
47029         (gen-as-const-headers): Add locale-defines.sym.
47030         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47031         * sysdeps/x86_64/strcasecmp.S: New file.
47032         * sysdeps/x86_64/strcasecmp_l.S: New file.
47033         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47034         * sysdeps/x86_64/locale-defines.sym: New file.
47035         * string/test-strcasecmp.c: New file.
47036
47037         * string/test-strcasestr.c: Test both ends of the range of characters.
47038         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47039
47040 2010-07-29  Roland McGrath  <roland@redhat.com>
47041
47042         [BZ #11856]
47043         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47044
47045 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47046
47047         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47048         for ld.so.
47049
47050 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47051
47052         * manual/memory.texi (Malloc Tunable Parameters): Document
47053         M_PERTURB.
47054
47055 2010-07-26  Roland McGrath  <roland@redhat.com>
47056
47057         [BZ #11840]
47058         * configure.in (-fgnu89-inline check): Set and substitute
47059         gnu89_inline, not libc_cv_gnu89_inline.
47060         * configure: Regenerated.
47061         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47062
47063 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47064
47065         * string/test-strnlen.c: New file.
47066         * string/Makefile (strop-tests): Add strnlen.
47067         * string/tester.c (test_strnlen): Add a few more test cases.
47068         * string/tst-strlen.c: Better error reporting.
47069
47070         * sysdeps/x86_64/strnlen.S: New file.
47071
47072 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47073
47074         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47075         lower-latency instructions.
47076
47077 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47078
47079         * string/test-strcasestr.c: New file.
47080         * string/test-strstr.c: New file.
47081         * string/Makefile (strop-tests): Add strstr and strcasestr.
47082         * string/str-two-way.h: Don't undefine MAX.
47083         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47084
47085 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47086
47087         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47088         strcasestr-nonascii.
47089         (CFLAGS-strcasestr-nonascii.c): Define.
47090         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47091         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47092         Remove unused attribute.
47093
47094 2010-07-20  Roland McGrath  <roland@redhat.com>
47095
47096         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47097         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47098         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47099         like LD_HWCAP_MASK can disable hwcaps.
47100
47101 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47102
47103         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47104
47105 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47106
47107         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47108         call in strcasestr.
47109         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47110         __strcasestr_sse42_nonascii.
47111         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47112         strcasestr-nonascii.c.
47113         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47114
47115 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47116
47117         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47118         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47119         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47120         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47121
47122 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47123
47124         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47125         fcntl.
47126
47127 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47128
47129         [BZ #11577]
47130         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47131         dl_signal_cerror.
47132
47133 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47134
47135         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47136         _PC_PIPE_BUF using F_GETPIPE_SZ.
47137
47138 2010-07-05  Roland McGrath  <roland@redhat.com>
47139
47140         * manual/arith.texi (Rounding Functions): Fix rint description
47141         implicit in round description.
47142
47143 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47144
47145         * elf/Makefile: Fix linking for a few tests to make recent linker
47146         happy.
47147
47148 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47149
47150         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47151         $(common-objpfx)libc_nonshared.a.
47152
47153 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47154
47155         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47156         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47157         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47158         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47159         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47160         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47161         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47162         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47177         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47178         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47179         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47180         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47181         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47182         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47183         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47184         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47185         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47186         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47187         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47188         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47203
47204 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47205
47206         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47207         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47208         * string/memmove.c (memmove): Renamed to ...
47209         (MEMMOVE): ...this.  Default to memmove.
47210         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47211         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47212         (END_CHK): Define.
47213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47214         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47215         mempcpy-ssse3-back memmove-ssse3-back.
47216         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47217         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47218         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47219         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47220         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47221         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47222         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47223         * sysdeps/x86_64/multiarch/memmove.c: New file.
47224         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47225         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47226         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47227         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47228         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47229         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47230         Define.
47231         (index_Fast_Copy_Backward): Define.
47232         (HAS_ARCH_FEATURE): Define.
47233         (HAS_FAST_REP_STRING): Define.
47234         (HAS_FAST_COPY_BACKWARD): Define.
47235
47236 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47237
47238         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47239         Restore proper fallback handling.
47240
47241 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47242
47243         [BZ #11701]
47244         * posix/group_member.c (__group_member): Correct checking loop.
47245
47246         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47247         OOM in getpwuid_r correctly.  Return error number when the caller
47248         should return, otherwise -1.
47249         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47250         call returning > 0 value.
47251         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47252
47253 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47254
47255         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47256         libc_nonshared.a from targets in modules-names.
47257
47258 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47259
47260         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47261         requires it.
47262
47263 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47264
47265         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47266         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47267         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47268         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47269
47270 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47271
47272         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47273
47274 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47275
47276         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47277         and F_GETPIPE_SZ.
47278         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47279         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47280         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47281         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47282         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47283         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47284
47285 2010-06-14  Roland McGrath  <roland@redhat.com>
47286
47287         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47288
47289 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47290
47291         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47292         __REDIRECT followed by __THROW.
47293         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47294         * posix/getopt.h (getopt): Likewise.
47295
47296 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47297
47298         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47299         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47300         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47301         in AT_FLAGS.
47302         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47303         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47304
47305 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47306
47307         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47308
47309 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47310
47311         [BZ #11640]
47312         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47313         Properly check family and model.
47314
47315 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47316
47317         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47318
47319 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47320
47321         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47322
47323 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47324
47325         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47326         symbol reference.
47327
47328 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47329
47330         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47331         symbol reference.
47332
47333 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47334
47335         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47336         and internal_recvmmsg.
47337         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47338         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47339         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47340         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47341
47342         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47343         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47344         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47345
47346 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47347
47348         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47349
47350 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47351
47352         POWER7 optimizations.
47353         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47354         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47355
47356 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47357
47358         * version.h: Update for 2.13 development version.
47359
47360 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47361
47362         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47363         exceptions.  Return 0.
47364
47365 2010-05-07  Roland McGrath  <roland@redhat.com>
47366
47367         * elf/ldconfig.c (main): Add a const.
47368
47369 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47370
47371         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47372         (args_options): Add no-idn option.
47373         (ahosts_keys_int): Add idn_flags to ai_flags.
47374         (parse_option): Handle 'i' option to clear idn_flags.
47375
47376         * malloc/malloc.c (_int_free): Possible race in the most recently
47377         added check.  Only act on the data if no current modification
47378         happened.
47379
47380 See ChangeLog.17 for earlier changes.