x86: Consolidate unnecessary nptl/ subdirectories.
[glibc.git] / ChangeLog
blobd95375372c8f32765df091cf4953d3f0b0e2d194
1 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7         Update #include.
8         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10         Update #include.
11         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18         * sysdeps/x86/bits/semaphore.h: ... here.
19         * sysdeps/x86/nptl/elide.h: Moved ...
20         * sysdeps/x86/elide.h: ... here.
21         * sysdeps/x86_64/nptl/Implies: File removed.
22         * sysdeps/i386/nptl/Implies: File removed.
24 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
26         [BZ #16539]
27         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28         return the argument for normal arguments with exponent below -64.
29         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30         Likewise.
31         * math/auto-libm-test-in: Add another test of expm1.
32         * math/auto-libm-test-out: Regenerated.
34         [BZ #16287]
35         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36         calling __erfcl for arguments at least 16.
37         * math/auto-libm-test-in: Add more tests of erf.
38         * math/auto-libm-test-out: Regenerated.
40         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
41         individual architectures.
42         * sysdeps/unix/sysv/linux/configure: Regenerated.
43         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
44         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
45         * sysdeps/unix/sysv/linux/powerpc/configure.ac
46         (ldd_rewrite_script): Define variable.
47         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49         file.
50         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
51         generated file.
52         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
53         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
54         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
55         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
56         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
57         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
58         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
59         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
61 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63         [BZ #17084]
64         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
65         Rename member __data.d to __data.__elision_data.
67 2014-06-24  Wilco  <wdijkstr@arm.com>
69         * NEWS: Add 16918 to fixed bug list.
71 2014-06-24  Wilco  <wdijkstr@arm.com>
73         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
75 2014-06-24  Wilco  <wdijkstr@arm.com>
77         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
78         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
79         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
80         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
81         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
82         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
83         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
84         Use _FPU_MASK_RM.
86 2014-06-24  Wilco  <wdijkstr@arm.com>
88         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
90 2014-06-24  Wilco  <wdijkstr@arm.com>
92         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
93         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
94         * sysdeps/arm/fesetround.c (fesetround): Remove space.
95         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
97 2014-06-24  Wilco  <wdijkstr@arm.com>
99         [BZ #16918]
100         * sysdeps/arm/feupdateenv.c (feupdateenv):
101         Rewrite to reduce FPSCR accesses and fix return value.
103 2014-06-24  Wilco  <wdijkstr@arm.com>
105         * sysdeps/arm/fclrexcpt.c (feclearexcept):
106         Optimize to avoid unnecessary FPSCR writes.
107         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
108         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
109         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
110         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
112 2014-06-24  Wilco  <wdijkstr@arm.com>
114         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
115         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
116         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
117         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
118         Call libc_fetestexcept_vfp.
119         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
120         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
121         __SOFTFP__ ifdef so that they can be built for softfp.
123 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
125         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
126         argument type signed char.
128         * Makerules (check-abi): Dump diff of symlist if the test
129         fails.
131 2014-06-23  Roland McGrath  <roland@hack.frob.com>
133         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
134         using abort.
136         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
137         Remove unused variable ST.
139 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
141         [BZ #16354]
142         [BZ #17061]
143         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
144         small arguments before calling __expm1.
145         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
146         small arguments before calling __expm1f.
147         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
148         small arguments before calling __expm1l.
149         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
150         Likewise.
151         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
152         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
153         spurious underflow for some cosh tests.
154         * math/auto-libm-test-out: Regenerated.
155         * sysdeps/i386/fpu/libm-test-ulps: Update.
157         [BZ #17050]
158         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
159         (__ieee754_y1): Set errno if return value overflows.
160         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
161         (__ieee754_y1f): Set errno if return value overflows.
162         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
163         (__ieee754_y1l): Set errno if return value overflows.
164         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
165         (__ieee754_y1l): Set errno if return value overflows.
166         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
167         * math/auto-libm-test-out: Regenerated.
169         * math/gen-auto-libm-tests.c: Document use of
170         ignore-zero-inf-sign.
171         (input_flag_type): Add value flag_ignore_zero_inf_sign.
172         (input_flags): Add ignore-zero-inf-sign.
173         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
174         * math/gen-libm-test.pl (generate_testfile): Handle
175         ignore-zero-inf-sign.
176         * math/auto-libm-test-in: Mark some cpow tests with
177         ignore-zero-inf-sign and some with xfail-rounding.
178         * math/auto-libm-test-out: Regenerated.
179         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
180         * sysdeps/i386/fpu/libm-test-ulps: Update.
181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
183         [BZ #16315]
184         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
185         overflowing or underflowing operations take place with sign of
186         result.
187         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
188         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
189         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
190         (__ieee754_pow): Recompute overflowing and underflowing results in
191         original rounding mode.
192         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
193         (__powl_helper): Allow negative argument X and scale negated value
194         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
195         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
196         overflowing or underflowing operations take place with sign of
197         result.
198         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
199         Include <math.h>.
200         * math/auto-libm-test-in: Add more tests of pow.
201         * math/auto-libm-test-out: Regenerated.
202         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
203         (pow_tonearest_test_data): Remove.
204         (pow_test_tonearest): Likewise.
205         (pow_towardzero_test_data): Likewise.
206         (pow_test_towardzero): Likewise.
207         (pow_downward_test_data): Likewise.
208         (pow_test_downward): Likewise.
209         (pow_upward_test_data): Likewise.
210         (pow_test_upward): Likewise.
211         (main): Don't call removed functions.
212         * sysdeps/i386/fpu/libm-test-ulps: Update.
213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
215 2014-06-23  Roland McGrath  <roland@hack.frob.com>
217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
218         Moved ...
219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
221         Moved ...
222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
224         Moved ...
225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
227         Moved ...
228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
230         File removed.
231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
232         File removed.
233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
234         File removed.
235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
236         File removed.
237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
238         File removed.
239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
240         File removed.
241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
242         File removed.
243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
244         File removed.
245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
246         File removed.
247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
248         File removed.
249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
250         File removed.
251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
252         File removed.
253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
254         Moved ...
255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
257         Moved ...
258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
259         ... here.
260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
261         Moved ...
262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
264         Moved ...
265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
267         Moved ...
268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
270         Moved ...
271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
273         Moved ...
274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
276         Moved ...
277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
279         Moved ...
280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
283         ... here.
284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
285         Moved ...
286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
288         Moved ...
289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
290         ... here.
291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
292         Moved ...
293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
294         ... here.
295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
296         Moved ...
297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
298         ... here.
299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
300         Moved ...
301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
303         Moved ...
304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
308         Moved ...
309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
310         ... here.
311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
312         Moved ...
313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
314         ... here.
315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
316         Moved ...
317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
319         Moved ...
320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
322         Moved ...
323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
325         Moved ...
326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
328         Moved ...
329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
330         ... here.
331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
332         Moved ...
333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
335         Moved ...
336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
338         Moved ...
339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
341         Moved ...
342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
346         Moved ...
347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
349         Moved ...
350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
352         Moved ...
353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
354         ... here.
355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
356         Moved ...
357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
358         ... here.
359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
360         Moved ...
361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
362         ... here.
363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
364         Moved ...
365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
367         Moved ...
368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
370         Moved ...
371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
373         Moved ...
374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
375         ... here.
376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
377         Moved ...
378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
379         ... here.
380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
381         Moved ...
382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
383         ... here.
384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
385         Moved ...
386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
388         Moved ...
389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
391 2014-06-23  Will Newton  <will.newton@linaro.org>
392             Wilco  <wdijkstr@arm.com>
394         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
395         implementation.  Include get-rounding-mode.h.
396         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
397         [!libc_feholdsetround_noex_ctx]: Define
398         libc_feholdsetround_noex_ctx.
399         [!libc_feholdsetround_noexf_ctx]: Define
400         libc_feholdsetround_noexf_ctx.
401         [!libc_feholdsetround_noexl_ctx]: Define
402         libc_feholdsetround_noexl_ctx.
403         (libc_feholdsetround_ctx): New function.
404         (libc_feresetround_ctx): New function.
405         (libc_feholdsetround_noex_ctx): New function.
406         (libc_feresetround_noex_ctx): New function.
408 2014-06-23  Roland McGrath  <roland@hack.frob.com>
410         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
411         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
412         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
413         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
414         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
415         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
417         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
418         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
419         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
420         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
421         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
422         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
423         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
424         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
425         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
426         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
427         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
428         Moved ...
429         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
430         ... here.
431         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
432         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
433         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
434         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
435         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
436         Moved ...
437         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
438         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
439         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
440         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
441         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
442         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
443         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
444         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
445         Moved ...
446         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
447         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
448         Moved ...
449         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
450         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
451         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
452         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
453         Moved ...
454         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
455         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
456         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
457         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
458         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
459         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
460         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
461         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
462         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
463         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
464         Moved ...
465         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
466         ... here.
467         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
468         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
469         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
470         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
471         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
472         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
473         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
474         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
475         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
476         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
477         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
478         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
479         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
480         Moved ...
481         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
482         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
483         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
484         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
485         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
486         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
487         Moved ...
488         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
489         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
490         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
491         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
492         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
494         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
495         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
496         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
497         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
498         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
499         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
500         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
501         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
502         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
503         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
504         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
505         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
506         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
507         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
508         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
509         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
510         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
511         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
512         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
513         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
514         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
515         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
516         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
517         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
518         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
519         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
520         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
521         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
523 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
525         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
526         (FALLOC_FL_COLLAPSE_RANGE): New macro.
527         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
528         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
529         (IPV6_PMTUDISC_INTERFACE): Likewise.
530         (IPV6_PMTUDISC_OMIT): Likewise.
532 2014-06-23  Andreas Schwab  <schwab@suse.de>
534         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
535         Remove unused errout label.
537 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
539         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
540         macro: hardware supports Vector Crypto instructions.
542 2014-06-23  Will Newton  <will.newton@linaro.org>
544         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
545         rather than __builtin_expect.
547         * elf/dl-lookup.c (undefined_msg): Remove variable.
548         (_dl_lookup_symbol_x): Replace undefined_msg with string
549         literal.
551         * elf/dl-lookup.c (do_lookup_unique): New function.
552         (do_lookup_x): Move STB_GNU_UNIQUE handling code
553         to a separate function.
555 2014-06-23  Andreas Schwab  <schwab@suse.de>
557         [BZ #17079]
558         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
559         before reading the next line.
561 2014-06-23  Will Newton  <will.newton@linaro.org>
563         * test-skeleton.c (signal_handler): Use printf and %m
564         rather than perror.  Use printf rather than fprintf to
565         stderr.  Use puts rather than fputs to stderr.
566         (main): Likewise.
568 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
570         * nscd/nscd.c (thread_info_t): Remove typedef.
571         (thread_info): Remove variable.
573 2014-06-21  Allan McRae  <allan@archlinux.org>
575         * NEWS: Mention CVE-2014-4043.
577 2014-06-20  Roland McGrath  <roland@hack.frob.com>
579         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
580         * nptl/smp.h: ... here.
582         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
584         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
585         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
586         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
587         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
589         * nptl/allocatestack.c: Include <stack-aliasing.h>.
590         * nptl/stack-aliasing.h: New file.
591         * sysdeps/i386/i686/stack-aliasing.h: New file.
592         * sysdeps/i386/i686/nptl/Makefile: File removed.
593         * sysdeps/x86_64/stack-aliasing.h: New file.
594         * sysdeps/x86_64/nptl/Makefile
595         (CFLAGS-pthread_create.c): Variable removed.
597         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
598         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
599         old file.
600         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
601         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
602         old file.
604 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
606         * sysdeps/unix/sysv/linux/arm/kernel-features.h
607         (__ASSUME_SIGFRAME_V2): Remove macro.
608         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
609         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
610         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
611         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
612         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
613         Declare as function.  Remove conditional macro definitions.
614         (__default_rt_sa_restorer): Likewise.
615         (__default_sa_restorer_v1): Remove declaration.
616         (__default_sa_restorer_v2): Likewise.
617         (__default_rt_sa_restorer_v1): Likewise.
618         (__default_rt_sa_restorer_v2): Likewise.
619         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
620         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
621         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
623 2014-06-20  Roland McGrath  <roland@hack.frob.com>
625         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
626         (libpthread-routines): Add sysdep.
627         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
628         * sysdeps/unix/sysv/linux/sparc/Versions
629         (libpthread: GLIBC_2.3.3): New version set.
630         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
631         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
632         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
633         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
634         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
635         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
636         Moved ...
637         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
638         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
639         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
640         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
641         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
642         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
643         * sysdeps/sparc/nptl/sem_init.c: ... here.
644         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
645         * sysdeps/sparc/nptl/sem_post.c: ... here.
646         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
647         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
648         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
649         * sysdeps/sparc/nptl/sem_wait.c: ... here.
650         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
651         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
652         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
653         (libpthread-routines): Add cpu_relax.
654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
655         File removed.
656         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
657         (librt: GLIBC_2.3.3): New version set.
658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
659         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
660         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
661         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
664         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
666         Moved ...
667         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
668         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
669         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
670         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
671         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
673         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
675         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
677         Moved ...
678         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
679         Update #include.
680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
681         Moved ...
682         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
683         Update #include.
684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
685         Moved ...
686         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
687         Update #include.
688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
689         Moved ...
690         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
691         Update #include.
692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
693         Moved ...
694         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
695         Update #include.
696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
697         Moved ...
698         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
699         Update #include.
700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
701         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
703         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
705         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
707         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
709         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
711         Moved ...
712         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
714         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
716         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
718 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
720         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
721         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
722         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
723         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
724         * nscd/nscd.c: Likewise.
725         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
726         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
727         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
728         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
730         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
731         <kernel-features.h>.
732         (init_mq_netlink): Remove conditional have_sock_cloexec
733         definitions.  Remove code conditional on have_sock_cloexec < 0.
734         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
735         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
736         * sysdeps/unix/sysv/linux/opensock.c: Do not include
737         <kernel-features.h>.
738         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
739         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
741 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
743         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
744         Add tests for memset_chk and memset.
746         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
747         with AVX2_Usable.
749 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
751         [BZ #16046]
752         * elf/tst-dl-iter-static.c: New file.
753         * elf/Makefile (tests-static): Add tst-dl-iter-static.
755         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
756         error.
758 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
760         * sysdeps/unix/sysv/linux/kernel-features.h
761         (__ASSUME_F_GETOWN_EX): Remove macro.
762         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
763         <kernel-features.h>.
764         (miss_F_GETOWN_EX): Remove variable or macro.
765         (do_fcntl): Do not check miss_F_GETOWN_EX.
766         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
768         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
769         Remove macro.
770         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
771         [!__ASSUME_AT_RANDOM]: Remove conditional code.
772         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
774         * sysdeps/unix/sysv/linux/kernel-features.h
775         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
776         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
777         [ADJ_OFFSET_SS_READ]: Make code unconditional.
778         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
780 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
782         [BZ #17075]
783         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
784         Fix calculation of the symbol's value.
785         * sysdeps/arm/tst-armtlsdescloc.c: New file.
786         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
787         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
788         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
789         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
790         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
791         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
792         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
793         (modules-names): Add `tst-armtlsdescmod',
794         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
795         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
796         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
797         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
798         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
799         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
800         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
801         ($(objpfx)tst-armtlsdescloc): New dependency.
802         ($(objpfx)tst-armtlsdescextnow): Likewise.
803         ($(objpfx)tst-armtlsdescextlazy): Likewise.
804         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
805         TLS scheme support.
806         * sysdeps/arm/configure: Regenerate.
808 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
810         * include/fcntl.h (__atfct_seterrno): Remove prototype.
811         (__atfct_seterrno_2): Likewise.
812         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
813         <kernel-features.h>.
814         (__ASSUME_ATFCTS): Do not undefine and redefine.
815         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
816         (__have_atfcts): Remove conditional definition.
817         (__fxstatat([__NR_fstatat64]: Make code unconditional.
818         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
819         unreachable if [__ASSUME_ATFCTS].
820         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
821         not undefine and redefine.
822         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
823         <kernel-features.h>.
824         (faccessat) [__NR_faccessat]: Make code unconditional.
825         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
826         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
827         <kernel-features.h>.
828         (fchmodat) [__NR_fchmodat]: Make code unconditional.
829         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
830         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
831         <kernel-features.h>.
832         (fchownat) [__NR_fchownat]: Make code unconditional.
833         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
834         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
835         <kernel-features.h>.
836         (futimesat) [__NR_futimesat]: Make code unconditional.
837         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
838         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
839         <kernel-features.h>.
840         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
841         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
842         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
843         <kernel-features.h>.
844         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
845         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
846         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
847         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
848         <kernel-features.h>.
849         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
850         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
851         * sysdeps/unix/sysv/linux/linkat.c: Do not include
852         <kernel-features.h>.
853         (linkat) [__NR_linkat]: Make code unconditional.
854         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
855         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
856         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
857         <kernel-features.h>.
858         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
859         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
860         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
861         <kernel-features.h>.
862         (mkdirat) [__NR_mkdirat]: Make code unconditional.
863         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
864         * sysdeps/unix/sysv/linux/openat.c: Do not include
865         <kernel-features.h>.
866         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
867         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
868         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
869         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
870         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
871         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
872         <kernel-features.h>.
873         (readlinkat) [__NR_readlinkat]: Make code unconditional.
874         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
875         result of INLINE_SYSCALL directly, not via int variable.
876         * sysdeps/unix/sysv/linux/renameat.c: Do not include
877         <kernel-features.h>.
878         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
879         (renameat) [__NR_renameat]: Make code unconditional.
880         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
881         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
882         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
883         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
884         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
885         (__ASSUME_ATFCTS): Do not undefine and redefine.
886         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
887         <kernel-features.h>.
888         (symlinkat) [__NR_symlinkat]: Make code unconditional.
889         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
890         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
891         <kernel-features.h>.
892         (unlinkat) [__NR_unlinkat]: Make code unconditional.
893         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
894         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
895         (__ASSUME_ATFCTS): Do not undefine and redefine.
896         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
897         <kernel-features.h>.
898         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
899         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
900         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
901         <kernel-features.h>.
902         (__xmknodat) [__NR_mknodat]: Make code unconditional.
903         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
905 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
907         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
909 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
911         [BZ #17069]
912         * posix/regcomp.c (parse_reg_exp): Deallocate partially
913         constructed tree before returning error.
914         * posix/bug-regexp36.c: Expand test case.
916 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
918         [BZ #6803]
919         * math/libm-test.inc (scalbln_test_date):
920         Add errno expectations.
921         * math/w_scalblnf.c: New File.
922         Add wrapper which checks for setting errno to ERANGE.
923         Add weak_alias for corresponding scalbln function.
924         * math/w_scalbln.c: Likewise.
925         * math/w_scalblnl.c: Likewise.
926         * math/Makefile (libm-calls): Add w_scalbln.
927         * sysdeps/ieee754/flt-32/s_scalblnf.c:
928         Remove weak_alias for corresponding scalbln function.
929         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
930         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
931         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
932         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
933         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
934         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
935         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
936         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
937         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
938         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
939         Remove long_double_symbol for scalblnl function in libm, libc.
940         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
941         Add wrapper which checks for setting errno to ERANGE.
942         Add long_double_symbol for scalblnl function in libm, libc.
943         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
944         Remove long_double_symbol for scalblnl in libm.
945         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
946         Add wrapper which checks for setting errno to ERANGE.
947         Add long_double_symbol for scalblnl function in libm.
948         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
949         Do not use wrapper because of own implementation.
951 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
953         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
954         3 bytes for __pad1 for x32.
955         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
957 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
958             H.J. Lu  <hongjiu.lu@intel.com>
960         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
961         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
962         * sysdeps/x86_64/multiarch/memset.S: Likewise.
963         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
964         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
966 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
968         [BZ #17069]
969         * posix/regcomp.c (parse_expression): Deallocate partially
970         constructed tree before returning error.
971         * posix/Makefile.c (tests): Add bug-regex36.
972         (generated): Add bug-regex36.mtrace.
973         (tests-special): Add $(objpfx)bug-regex36-mem.out
974         (bug-regex36-ENV): New variable.
975         ($(objpfx)bug-regex36-mem.out): New rule.
976         * posix/bug-regex36.c: New file.
978 2014-06-19  Will Newton  <will.newton@linaro.org>
980         * malloc/malloc.c (systrim): If extra is zero then return
981         early.
983 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
985         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
987 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
989         * sysdeps/aarch64/strchr.S: New file.
991 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
993         [BZ #17022]
994         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
995         from arguments -2 or below.
996         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
997         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
999 2014-06-18  Andreas Schwab  <schwab@suse.de>
1001         [BZ #17062]
1002         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1003         of a bracket expr not to run off the end of the string.
1004         * posix/Makefile (tests): Add tst-fnmatch3.
1005         * posix/tst-fnmatch3.c: New file.
1007 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1009         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1010         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1011         [$(cross-compiling) = no]: Likewise.
1012         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1013         [$(cross-compiling) = no]: Likewise.
1015 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1017         [BZ #17031]
1018         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1019         double, adjusted for any remainder from the high double.
1020         * math/libm-test.inc (nearbyint): Add tests.
1021         (rint): Likewise.
1023 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1025         * nptl/sysdeps/powerpc/Makefile: Moved ...
1026         * sysdeps/powerpc/nptl/Makefile: ... here.
1027         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1028         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1029         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1030         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1031         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1032         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1033         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1034         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1035         * nptl/sysdeps/powerpc/tls.h: Moved ...
1036         * sysdeps/powerpc/nptl/tls.h: ... here.
1038 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1040         [BZ #16681]
1041         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1042         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1043         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1044         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1045         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1046         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1047         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1048         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1049         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1051 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1053         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1055 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1057         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1058         defined operator.
1060         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1061         $TIMEOUTFACTOR.
1063 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1065         [BZ #17058]
1066         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1067         non-executed part of the test.
1069 2014-06-16  Andreas Schwab  <schwab@suse.de>
1071         * string/bits/string2.h (strdup, strndup): Update feature guard.
1073 2014-06-14  David S. Miller  <davem@davemloft.net>
1075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1077 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1079         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1080         that was previously under [RESET_PID].
1081         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1083         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1084         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1085         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1086         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1087         (__libc_vfork): New strong alias.
1088         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1090 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1092         * sysdeps/generic/elide.h: New file.
1094 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1096         * Makefile (installed-headers): Adjust path of pthread.h header.
1098 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1100         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1101         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1102         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1103         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1105         * nptl/sysdeps/s390/Makefile: Moved ...
1106         * sysdeps/s390/nptl/Makefile: ... here.
1107         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1108         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1109         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1110         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1111         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1112         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1113         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1114         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1115         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1116         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1117         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1118         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1119         * nptl/sysdeps/s390/tls.h: Moved ...
1120         * sysdeps/s390/nptl/tls.h: ... here.
1122         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1123         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1125 2014-06-13  David S. Miller  <davem@davemloft.net>
1127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1130         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1134         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1135         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1136         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1137         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1138         Remove RESET_PID cpp guards.
1139         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1140         Remove RESET_PID cpp guards.
1141         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1143 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1145         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1146         __sp to uintptr_t.
1148 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1150         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1151         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1152         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1153         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1154         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1155         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1156         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1157         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1158         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1159         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1160         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1161         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1162         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1163         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1164         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1165         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1166         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1167         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1168         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1169         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1171         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1172         (pthread_rwlock_rdlock): Add elision.
1173         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1174         (pthread_rwlock_wrlock): Add elision.
1175         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1176         (pthread_rwlock_trywrlock): Add elision.
1177         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1178         (pthread_rwlock_tryrdlock): Add elision.
1179         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1180         (pthread_rwlock_tryrdlock): Add elision unlock.
1181         * nptl/sysdeps/pthread/pthread.h:
1182         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1183         (PTHREAD_RWLOCK_INITIALIZER,
1184         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1185         Handle new elision field.
1186         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1187         * sysdeps/arm/nptl/bits/pthreadtypes.h
1188         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1189         * sysdeps/sh/nptl/bits/pthreadtypes.h
1190         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1191         * sysdeps/tile/nptl/bits/pthreadtypes.h
1192         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1193         * sysdeps/a/nptl/bits/pthreadtypes.h
1194         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1195         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1196         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1197         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1198         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1199         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1200         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1201         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1202         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1203         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1204         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1205         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1206         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1207         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1208         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1209         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1210         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1211         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1212         (elision_init): Set try_xbegin to zero when no RTM.
1213         * sysdeps/x86/nptl/bits/pthreadtypes.h
1214         (pthread_rwlock_t): Change __pad1 to __rwelision.
1215         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1217 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1219         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1220         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1221         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1222         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1224 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1226         [BZ #16996]
1227         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1228         that the cached result has been set before returning it.
1230 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1232         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1233         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1234         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1235         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1236         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1237         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1239         * nptl/sysdeps/sparc/Makefile: Moved ...
1240         * sysdeps/sparc/nptl/Makefile: ... here.
1241         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1242         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1243         * nptl/sysdeps/sparc/tls.h: Moved ...
1244         * sysdeps/sparc/nptl/tls.h: ... here.
1245         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1246         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1247         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1248         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1249         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1250         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1251         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1252         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1253         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1254         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1255         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1256         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1257         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1258         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1259         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1260         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1261         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1262         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1263         Update #include.
1264         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1265         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1266         Update #include.
1267         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1268         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1269         Update #include.
1270         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1271         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1272         Update #include.
1274         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1276         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1277         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1279         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1280         (struct list_links): Type removed.
1281         (struct thread_node, struct timer_node): Replace struct list_links
1282         with struct list_head.
1283         (list_unlink_ip): Likewise.
1284         * sysdeps/pthread/timer_routines.c
1285         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1286         (list_append, list_insbefore): Likewise.
1287         (list_init): Function removed.
1288         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1289         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1290         * sysdeps/pthread/Makefile: ... here, new file.
1292         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1293         * sysdeps/nptl/Implies: ... here.
1294         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1295         * nptl/sysdeps/pthread/list.h: Moved ...
1296         * include/list.h: ... here.
1297         * nptl/sysdeps/pthread/createthread.c: Moved ...
1298         * nptl/createthread.c: ... here.
1299         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1300         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1301         * nptl/pt-longjmp.c: ... here.
1302         * nptl/sysdeps/pthread/Makefile: Moved ...
1303         * sysdeps/nptl/Makefile: ... here.
1304         * nptl/sysdeps/pthread/Subdirs: Moved ...
1305         * sysdeps/nptl/Subdirs: ... here.
1306         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1307         * sysdeps/nptl/aio_misc.h: ... here.
1308         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1309         * sysdeps/nptl/bits/libc-lock.h: ... here.
1310         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1311         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1312         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1313         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1314         * nptl/sysdeps/pthread/configure: Moved ...
1315         * sysdeps/nptl/configure: ... here.
1316         * nptl/sysdeps/pthread/configure.ac: Moved ...
1317         * sysdeps/nptl/configure.ac: ... here.
1318         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1319         * sysdeps/nptl/gai_misc.h: ... here.
1320         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1321         * sysdeps/nptl/librt-cancellation.c: ... here.
1322         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1323         * sysdeps/nptl/malloc-machine.h: ... here.
1324         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1325         * sysdeps/nptl/pthread-functions.h: ... here.
1326         * nptl/sysdeps/pthread/pthread.h: Moved ...
1327         * sysdeps/nptl/pthread.h: ... here.
1328         * nptl/sysdeps/pthread/setxid.h: Moved ...
1329         * sysdeps/nptl/setxid.h: ... here.
1330         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1331         * sysdeps/nptl/sigfillset.c: ... here.
1332         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1333         * sysdeps/nptl/tcb-offsets.h: ... here.
1334         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1335         * sysdeps/nptl/tst-mqueue8x.c: ... here.
1336         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1337         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1338         * nptl/sysdeps/pthread/allocalim.h: Moved ...
1339         * sysdeps/pthread/allocalim.h: ... here.
1340         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1341         * sysdeps/pthread/bits/sigthread.h: ... here.
1342         * nptl/sysdeps/pthread/flockfile.c: Moved ...
1343         * sysdeps/pthread/flockfile.c: ... here.
1344         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1345         * sysdeps/pthread/ftrylockfile.c: ... here.
1346         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1347         * sysdeps/pthread/funlockfile.c: ... here.
1348         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1349         * sysdeps/pthread/posix-timer.h: ... here.
1350         * nptl/sysdeps/pthread/timer_create.c: Moved ...
1351         * sysdeps/pthread/timer_create.c: ... here.
1352         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1353         * sysdeps/pthread/timer_delete.c: ... here.
1354         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1355         * sysdeps/pthread/timer_getoverr.c: ... here.
1356         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1357         * sysdeps/pthread/timer_gettime.c: ... here.
1358         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1359         * sysdeps/pthread/timer_routines.c: ... here.
1360         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1361         * sysdeps/pthread/timer_settime.c: ... here.
1362         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1363         * sysdeps/pthread/tst-timer.c: ... here.
1364         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1365         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1367         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1368         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1370         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1371         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1372         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1373         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1374         Update #include target.
1375         * nptl/sysdeps/i386/i686/Makefile: Moved ...
1376         * sysdeps/i386/i686/nptl/Makefile: ... here.
1377         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1378         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1379         Update #include target.
1380         * nptl/sysdeps/i386/i686/tls.h: Moved ...
1381         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
1382         * nptl/sysdeps/i386/Makefile: Moved ...
1383         * sysdeps/i386/nptl/Makefile: ... here.
1384         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1385         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1386         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1387         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1388         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1389         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1390         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1391         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1392         * sysdeps/i386/nptl/pthreaddef.h: ... here.
1393         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1394         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1395         * nptl/sysdeps/i386/tls.h: Moved ...
1396         * sysdeps/i386/nptl/tls.h: ... here.
1398         * sysdeps/sh/Makefile [$(subdir) = csu]
1399         (gen-as-const-headers): Add tcb-offsets.sym.
1400         * nptl/sysdeps/sh/Makefile: File removed.
1401         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1402         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1403         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1404         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1405         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1406         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1407         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1408         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1409         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1410         * sysdeps/sh/nptl/pthreaddef.h: ... here.
1411         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1412         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1413         * nptl/sysdeps/sh/tls.h: Moved ...
1414         * sysdeps/sh/nptl/tls.h: ... here.
1415         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1416         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1417         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1418         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1419         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1420         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1421         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1422         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1423         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1424         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1425         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1426         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1427         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1428         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1429         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1430         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1431         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1432         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1433         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1434         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1435         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1436         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1437         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1438         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1439         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1440         Moved ...
1441         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1442         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1443         Moved ...
1444         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1445         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1446         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1447         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1448         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1449         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1450         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1451         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1452         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1453         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1454         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1455         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1456         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1457         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1458         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1459         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1460         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1461         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1462         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1464 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1466         * posix/spawn_faction_addopen.c: Include string.h.
1468 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1470         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1471         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1472         * nptl/sysdeps/x86_64/Makefile: Moved ...
1473         * sysdeps/x86_64/nptl/Makefile: ... here.
1474         * nptl/sysdeps/x86_64/configure: Moved ...
1475         * sysdeps/x86_64/nptl/configure: ... here.
1476         * nptl/sysdeps/x86_64/configure.ac: Moved ...
1477         * sysdeps/x86_64/nptl/configure.ac: ... here.
1478         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1479         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1480         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1481         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1482         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1483         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1484         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1485         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1486         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1487         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1488         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1489         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1490         * nptl/sysdeps/x86_64/tls.h: Moved ...
1491         * sysdeps/x86_64/nptl/tls.h: ... here.
1492         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1493         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1494         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1495         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1497         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1499 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1503 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
1505         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1506         type.
1507         [POSIX] (off_t): Likewise.
1508         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1509         [POSIX] (S_ISBLK): Require macro.
1510         [POSIX] (S_ISCHR): Likewise.
1511         [POSIX] (S_ISDIR): Likewise.
1512         [POSIX] (S_ISFIFO): Likewise.
1513         [POSIX] (S_ISREG): Likewise.
1514         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1515         optional-macro.
1516         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1517         type.
1518         [POSIX] (time_t): Likewise.
1519         [POSIX] (timer_t): Likewise.
1521 2014-06-11  Florian Weimer  <fweimer@redhat.com>
1523         [BZ #17048]
1524         * posix/spawn_int.h (struct __spawn_action): Make the path string
1525         non-const to support deallocation.
1526         * posix/spawn_faction_addopen.c
1527         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1528         * posix/spawn_faction_destroy.c
1529         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
1530         path in all spawn_do_open actions.
1531         * posix/tst-spawn.c (do_test): Exercise the copy operation in
1532         posix_spawn_file_actions_addopen.
1534 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
1536         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1537         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1538         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1539         conditional code always true.
1540         (__libc_vfork): New alias.
1542 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1544         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1545         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1547         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1549         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1550         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1552         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1553         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1555         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1556         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1558 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1560         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1561         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1562         multiarch strcmp for PPC64.
1563         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1564         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1566         multiarch optimizations.
1567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1568         (__libc_ifunc_impl_list): Likewise.
1570 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1572         * benchtests/scripts/validate_benchout.py: New script.
1573         * benchtests/Makefile (bench-func): Call it.
1574         * benchtests/scripts/benchout.schema.json: New file.
1576 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
1578         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1579         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1580         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1581         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1582         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1583         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1584         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1585         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1586         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1587         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1588         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1589         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1590         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1591         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1592         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1593         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1595         Moved ...
1596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1597         ... here.
1598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1599         Moved ...
1600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1602         Moved ...
1603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1604         ... here.
1605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1606         Moved ...
1607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1608         ... here.
1609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1610         Moved ...
1611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1613         Moved ...
1614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1615         ... here.
1616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1617         Moved ...
1618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1619         ... here.
1620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1621         Moved ...
1622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1624         Moved ...
1625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1626         ... here.
1627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1628         Moved ...
1629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1630         ... here.
1631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1632         Moved ...
1633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1634         ... here.
1635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1636         Moved ...
1637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1639         Moved ...
1640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1641         ... here.
1642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1643         Moved ...
1644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1645         ... here.
1646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1647         Moved ...
1648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1649         ... here.
1650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1651         Moved ...
1652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1654         Moved ...
1655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1656         ... here.
1657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1658         Moved ...
1659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1660         ... here.
1661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1662         Moved ...
1663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1665         Moved ...
1666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1667         ... here.
1668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1669         Moved ...
1670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1672         Moved ...
1673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1675         Moved ...
1676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1677         ... here.
1678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1679         Moved ...
1680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1681         ... here.
1682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1683         Moved ...
1684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1685         ... here.
1686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1687         Moved ...
1688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1690         Moved ...
1691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1692         ... here.
1693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1694         Moved ...
1695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1696         ... here.
1697         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1698         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1699         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1700         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1701         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1702         Moved ...
1703         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1704         ... here.
1705         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1706         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1707         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1708         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1709         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1710         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1711         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1712         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1713         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1714         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1715         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1716         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1717         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1718         Moved ...
1719         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1720         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1721         Moved ...
1722         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1723         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1724         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1725         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1726         Moved ...
1727         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1728         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1729         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1730         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1731         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1732         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1733         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1735 2014-06-10  Wilco  <wdijkstr@arm.com>
1737         * math/test-fenv-return.c: New file.
1738         * math/Makefile: Add new test test-fenv-return.
1740 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
1742         [BZ #17042]
1743         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1744         when x - 1 is zero.
1745         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1746         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1747         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1748         0.0L for an argument of 1.0L.
1749         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1750         Likewise.
1751         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1752         value when x - 1 is zero.
1753         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1754         * sysdeps/i386/fpu/libm-test-ulps: Update.
1755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1757 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
1759         [BZ #15119]
1760         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1762 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1764         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1765         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1767 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1769         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1770         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1772         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1773         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1775         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1776         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1778         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1779         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1781         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1782         if not already defined.
1783         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1784         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1785         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1786         (TLS_INIT_TP): Use it.
1787         (TLS_DEFINE_INIT_TP): New macro.
1788         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1790 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
1792         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1793         constant.
1794         [POSIX] (IXANY): Likewise.
1795         [POSIX] (OLCUC): Likewise.
1796         [POSIX || POSIX2008] (CBAUD): Do not allow.
1797         [POSIX || POSIX2008] (DEFECHO): Likewise.
1798         [POSIX || POSIX2008] (ECHOCTL): Likewise.
1799         [POSIX || POSIX2008] (ECHOKE): Likewise.
1800         [POSIX || POSIX2008] (ECHOPRT): Likewise.
1801         [POSIX || POSIX2008] (EXTA): Likewise.
1802         [POSIX || POSIX2008] (EXTB): Likewise.
1803         [POSIX || POSIX2008] (FLUSHO): Likewise.
1804         [POSIX || POSIX2008] (LOBLK): Likewise.
1805         [POSIX || POSIX2008] (PENDIN): Likewise.
1806         [POSIX || POSIX2008] (SWTCH): Likewise.
1807         [POSIX || POSIX2008] (VDISCARD): Likewise.
1808         [POSIX || POSIX2008] (VDSUSP): Likewise.
1809         [POSIX || POSIX2008] (VLNEXT): Likewise.
1810         [POSIX || POSIX2008] (VREPRINT): Likewise.
1811         [POSIX || POSIX2008] (VSTATUS): Likewise.
1812         [POSIX || POSIX2008] (VWERASE): Likewise.
1813         (B*): Change to B[0123456789]*.
1814         * conform/data/time.h-data [POSIX || UNIX98]
1815         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1816         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1817         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1818         [POSIX] (tm_*): Do not allow.
1820 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
1822         * Makefile (install): Don't set LANGUAGE.
1823         * Makefile.in (install): Likewise.
1824         * assert/Makefile (test-assert-ENV): Remove variable.
1825         (test-assert-perr-ENV): Likewise.
1826         * elf/Makefile (neededtest4-ENV): Likewise.
1827         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1828         [$(cross-compiling) = no]: Don't set LANGUAGE.
1829         * io/ftwtest-sh (LANG): Remove variable.
1830         * libio/Makefile (tst-widetext-ENV): Likewise.
1831         * manual/install.texi (Running make install): Don't refer to
1832         environment settings for make install.
1833         * INSTALL: Regenerated.
1834         * nptl/tst-tls6.sh: Don't set LANG.
1835         * posix/globtest.sh (LANG): Remove variable.
1836         * string/Makefile (tester-ENV): Likewise.
1837         (inl-tester-ENV): Likewise.
1838         (noinl-tester-ENV): Likewise.
1839         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1840         [$(cross-compiling) = no]: Don't set LANGUAGE.
1841         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1842         without explicit environment settings.
1844 2014-06-06  Roland McGrath  <roland@hack.frob.com>
1846         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1847         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1848         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1849         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1851 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
1853         * crypt/crypt-private.h [DOS]: Add some includes taken from the
1854         other files in the crypt directory.
1855         * crypt/crypt.c: Remove duplicate includes.
1856         * crypt/crypt-entry.c: Likewise.
1857         * crypt/crypt_util.c: Likewise.
1859 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
1861         * Makeconfig (run-program-env): New variable.
1862         (run-program-prefix-before-env): Likewise.
1863         (run-program-prefix-after-env): Likewise.
1864         (run-program-prefix): Define in terms of new variables.
1865         (built-program-cmd-before-env): New variable.
1866         (built-program-cmd-after-env): Likewise.
1867         (built-program-cmd): Define in terms of new variables.
1868         (test-program-prefix-before-env): New variable.
1869         (test-program-prefix-after-env): Likewise.
1870         (test-program-prefix): Define in terms of new variables.
1871         (test-program-cmd-before-env): New variable.
1872         (test-program-cmd-after-env): Likewise.
1873         (test-program-cmd): Define in terms of new variables.
1874         * Rules (make-test-out): Use $(run-program-env).
1875         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1876         (help): Do not mention environment variables.  Mention
1877         --timeoutfactor option.
1878         (timeoutfactor): New variable.
1879         (blacklist_exports): Remove function.
1880         (exports): Remove variable.
1881         (command): Do not include ${exports}.
1882         * manual/install.texi (Configuring and compiling): Do not mention
1883         test wrappers preserving environment variables.  Mention that last
1884         assignment to a variable must take precedence.
1885         * INSTALL: Regenerated.
1886         * benchtests/Makefile (run-bench): Use $(run-program-env).
1887         * catgets/Makefile ($(objpfx)test1.cat): Use
1888         $(built-program-cmd-before-env), $(run-program-env) and
1889         $(built-program-cmd-after-env).
1890         ($(objpfx)test2.cat): Do not specify environment variables
1891         explicitly.
1892         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1893         $(run-program-env) and $(built-program-cmd-after-env).
1894         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1895         $(run-program-env) and $(test-program-cmd-after-env).
1896         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1897         explicitly.
1898         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1899         run_program_env and test_program_cmd_after_env arguments.
1900         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1901         * elf/tst-pathopt.sh: Use run_program_env argument.
1902         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1903         $(test-wrapper-env) and $(run-program-env).
1904         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1905         run_program_env arguments.
1906         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1907         * intl/Makefile ($(objpfx)tst-gettext.out): Use
1908         $(test-program-prefix-before-env), $(run-program-env) and
1909         $(test-program-prefix-after-env).
1910         ($(objpfx)tst-gettext2.out): Likewise.
1911         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1912         run_program_env and test_program_prefix_after_env arguments.
1913         * intl/tst-gettext2.sh: Likewise.
1914         * intl/tst-gettext4.sh: Do not set environment variables
1915         explicitly.
1916         * intl/tst-gettext6.sh: Likewise.
1917         * intl/tst-translit.sh: Likewise.
1918         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1919         $(test-program-prefix-before-env), $(run-program-env) and
1920         $(test-program-prefix-after-env).
1921         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1922         run_program_env and test_program_prefix_after_env arguments.
1923         * math/Makefile (run-regen-ulps): Use $(run-program-env).
1924         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1925         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
1926         explicitly with each use of ${test_wrapper_env}.
1927         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1928         $(test-program-prefix-before-env), $(run-program-env) and
1929         $(test-program-prefix-after-env).
1930         * posix/tst-getconf.sh: Do not set environment variables
1931         explicitly.
1932         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1933         run_program_env and test_program_prefix_after_env arguments.
1934         * stdio-common/tst-printf.sh: Do not set environment variables
1935         explicitly.
1936         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1937         $(test-program-prefix-before-env), $(run-program-env) and
1938         $(test-program-prefix-after-env).
1939         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1940         run_program_env and test_program_prefix_after_env arguments.
1941         Split $test calls into $test_pre and $test.
1942         * timezone/Makefile (build-testdata): Use
1943         $(built-program-cmd-before-env), $(run-program-env) and
1944         $(built-program-cmd-after-env).
1946 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1948         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1949         strlen for non SHARED builds.
1951 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1953         * nptl/allocatestack.c (check_list): Inlined function...
1954         (__reclaim_stacks): ... here.
1956 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1958         [BZ #15698]
1959         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1960         memory overrun.
1962 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
1964         * Rules (make-test-out): Include
1965         LOCPATH=$(common-objpfx)localedata in default environment.
1966         * debug/Makefile (tst-chk1-ENV): Remove variable.
1967         (tst-chk2-ENV): Likewise.
1968         (tst-chk3-ENV): Likewise.
1969         (tst-chk4-ENV): Likewise.
1970         (tst-chk5-ENV): Likewise.
1971         (tst-chk6-ENV): Likewise.
1972         (tst-lfschk1-ENV): Likewise.
1973         (tst-lfschk2-ENV): Likewise.
1974         (tst-lfschk3-ENV): Likewise.
1975         (tst-lfschk4-ENV): Likewise.
1976         (tst-lfschk5-ENV): Likewise.
1977         (tst-lfschk6-ENV): Likewise.
1978         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1979         (tst-iconv7-ENV): Likewise.
1980         * intl/Makefile (LOCPATH-ENV): Likewise.
1981         (tst-codeset-ENV): Likewise.
1982         (tst-gettext3-ENV): Likewise.
1983         (tst-gettext5-ENV): Likewise.
1984         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1985         (tst-fopenloc-ENV): Likewise.
1986         (tst-fgetws-ENV): Remove variable.
1987         (tst-ungetwc1-ENV): Likewise.
1988         (tst-ungetwc2-ENV): Likewise.
1989         (bug-ungetwc2-ENV): Likewise.
1990         (tst-swscanf-ENV): Likewise.
1991         (bug-ftell-ENV): Likewise.
1992         (tst-fgetwc-ENV): Likewise.
1993         (tst-fseek-ENV): Likewise.
1994         (tst-ftell-partial-wide-ENV): Likewise.
1995         (tst-ftell-active-handler-ENV): Likewise.
1996         (tst-ftell-append-ENV): Likewise.
1997         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1998         (tst-regexloc-ENV): Likewise.
1999         (bug-regex1-ENV): Likewise.
2000         (tst-regex-ENV): Likewise.
2001         (tst-regex2-ENV): Likewise.
2002         (bug-regex5-ENV): Likewise.
2003         (bug-regex6-ENV): Likewise.
2004         (bug-regex17-ENV): Likewise.
2005         (bug-regex18-ENV): Likewise.
2006         (bug-regex19-ENV): Likewise.
2007         (bug-regex20-ENV): Likewise.
2008         (bug-regex22-ENV): Likewise.
2009         (bug-regex23-ENV): Likewise.
2010         (bug-regex25-ENV): Likewise.
2011         (bug-regex26-ENV): Likewise.
2012         (bug-regex30-ENV): Likewise.
2013         (bug-regex32-ENV): Likewise.
2014         (bug-regex33-ENV): Likewise.
2015         (bug-regex34-ENV): Likewise.
2016         (bug-regex35-ENV): Likewise.
2017         (tst-rxspencer-ENV): Likewise.
2018         (tst-rxspencer-no-utf8-ENV): Likewise.
2019         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2020         (tst-sscanf-ENV): Likewise.
2021         (tst-swprintf-ENV): Likewise.
2022         (tst-swscanf-ENV): Likewise.
2023         (test-vfprintf-ENV): Likewise.
2024         (scanf13-ENV): Likewise.
2025         (bug14-ENV): Likewise.
2026         (tst-grouping-ENV): Likewise.
2027         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2028         (tst-strtod3-ENV): Likewise.
2029         (tst-strtod4-ENV): Likewise.
2030         (tst-strtod5-ENV): Likewise.
2031         (testmb2-ENV): Likewise./
2032         * string/Makefile (tst-strxfrm-ENV): Likewise.
2033         (tst-strxfrm2-ENV): Likewise.
2034         (bug-strcoll1-ENV): Likewise.
2035         (test-strcasecmp-ENV): Likewise.
2036         (test-strncasecmp-ENV): Likewise.
2037         * time/Makefile (tst-strptime-ENV): Likewise.
2038         (tst-ftime_l-ENV): Likewise.
2039         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2040         (tst-mbrtowc-ENV): Likewise.
2041         (tst-wcrtomb-ENV): Likewise.
2042         (tst-mbrtowc2-ENV): Likewise.
2043         (tst-c16c32-1-ENV): Likewise.
2044         (tst-mbsnrtowcs-ENV): Likewise.
2046 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2048         * manual/resource.texi (How to get information about the memory
2049         subsystem?): Fix typo.
2050         Reported by Peon de la Parra Ivan <peon@keba.com>
2052 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2054         [BZ #16882]
2055         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2056         (pthread_spin_lock): Branch out of spin loop to proper location.
2057         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2058         (pthread_spin_lock): Likewise.
2060         * nptl/tst-spin4.c: New test.
2061         * nptl/Makefile (tests): Add tst-spin4.
2063 2014-06-03  Andreas Schwab  <schwab@suse.de>
2065         [BZ #15946]
2066         * resolv/res_send.c (send_dg): Reload file descriptor after
2067         calling reopen.
2069 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2071         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2073 2014-06-03  Richard Henderson  <rth@redhat.com>
2075         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2076         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2077         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2078         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2079         in the SAVE_PID block.
2080         (__libc_vfork): New alias.
2081         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2083         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2084         child in registers, not on the stack.  Remove RESET_PID conditionals.
2085         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2087 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2089         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2091 2014-06-03  Wilco  <wdijkstr@arm.com>
2093         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2094         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2095         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2096         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2097         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2098         Likewise.
2100 2014-06-03  Wilco  <wdijkstr@arm.com>
2102         * sysdeps/aarch64/fpu/math_private.h
2103         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2104         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2105         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2106         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2107         Fix declarations.
2109 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2111         * crypt/crypt-private.h: Include ufc-crypt.h.
2112         (__b64_from_24bit): Declare extern.
2113         * crypt/crypt_util.c(__b64_from_24bit): New function.
2114         (b64t): New static const variable.
2115         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2116         (b64t): Remove variable.
2117         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2118         * crypt/sha256-crypt.c: Include crypt-private.h.
2119         (b64t): Remove variable.
2120         (__sha256_crypt_r): Remove b64_from_24bit and replace
2121         with __b64_from_24bit.
2122         * crypt/sha512-crypt.c: Likewise.
2124 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2126         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2127         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2128         Label the code __libc_vfork rather than __vfork.
2129         [!NOT_IN_libc] (vfork): Define as weak alias.
2130         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2131         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2132         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2134 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2136         * malloc/malloc.c (malloc_info): Fix format specifier for
2137         n_mmaps.
2139 2014-06-02  Wilco  <wdijkstr@arm.com>
2141         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2142         FPCR write.
2144 2014-06-02  Wilco  <wdijkstr@arm.com>
2146         [BZ #17009]
2147         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2148         Rewrite to reduce FPCR/FPSR accesses.
2150 2014-06-01  David S. Miller  <davem@davemloft.net>
2152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2154 2014-05-31  David S. Miller  <davem@davemloft.net>
2156         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2157         to occur in round to nearest mode when |x| >= 2.0
2159 2014-05-30  Richard Henderson  <rth@twiddle.net>
2161         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2162         (PSEUDO_RET_NOERRNO): Remove.
2163         (ret): Don't redefine.
2164         (ret_NOERRNO): Define in terms of ret.
2165         (ret_ERRVAL): Likewise.
2167         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2168         use of PSEUDO_RET; perform the error check directly.
2170 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2172         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2173         with __int128_t.
2175 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2177         * malloc/malloc (malloc_info): Fix formatting.
2179 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2180             Roland McGrath  <roland@hack.frob.com>
2182         * malloc/malloc (malloc_info): Also print mmapped statistics.
2184 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2186         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2187         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2189 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2191         * malloc/malloc.c (malloc_info): Inline mi_arena.
2193 2014-05-29  Richard Henderson  <rth@twiddle.net>
2195         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2196         Remove comma before expanding ASM_ARGS_##nr.
2197         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2198         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2199         of ASM_ARGS_##nr.
2200         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2201         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2202         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2203         (ASM_ARGS_1): Add leading comma.
2205         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2206         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2207         to __errno_location.
2208         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2209         Remove the expected plt for __errno_location.
2211         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2212         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2213         call to __read_tp.
2215         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2216         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2217         it and break it down.
2218         (DOCARGS_0, DOCARGS_1): Do nothing.
2219         (DOCARGS_2): Update to store into the new stack frame.
2220         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2221         (UNDOCARGS_1): Update to restore from the new stack frame.
2222         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2223         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2225         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2226         (SINGLE_THREAD_P): New parameter for result regno.
2227         (PSEUDO): Update to match; use cbz instead of beq.
2229         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2230         Use ENTRY to define the _nocancel entry point.  Share the syscall
2231         and syscall error check paths with the cancel path.
2232         (PSEUDO_END): New.
2234         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2235         whitespace; tabs before and after asm mnemonics.
2237 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2239         [BZ #15132]
2240         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2241         Call fstat64 or stat64 internally, depending on arguments passed.
2242         Replace stat buffer argument with file descriptor argument.
2243         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2244         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2245         Pass fd to __internal_statvfs instead of calling fstat64.
2246         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2247         Pass fd to __internal_statvfs64 instead of calling fstat64.
2248         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2249         Pass -1 to __internal_statvfs instead of calling stat64.
2250         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2251         Pass -1 to __internal_statvfs64 instead of calling stat64.
2253 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2255         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2256         that was previously under [RESET_PID].
2257         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2259         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2260         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2262 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2264         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2266         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2267         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2269 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2271         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2273 2014-05-27  Andreas Schwab  <schwab@suse.de>
2275         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2276         TLS_INIT_TP macro.
2277         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2278         * elf/rtld.c (init_tls, dl_main): Likewise.
2279         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2280         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2281         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2282         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2283         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2284         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2285         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2286         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2287         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2288         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2289         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2290         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2291         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2292         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2293         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2294         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2295         * sysdeps/generic/tls.h: Update description.
2297 2014-05-27  Will Newton  <will.newton@linaro.org>
2299         [BZ #16990]
2300         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2301         and restore r2 rather than just restoring.
2303 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2305         [BZ #16724]
2306         * libio/tst-ftell-append.c: New test case.
2307         * libio/Makefile (tests): Add test case.
2308         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2309         append mode.
2310         * libio/wfileops.c (do_ftell_wide): Likewise.
2312 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2316         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2317         ...
2318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2320         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2321         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2322         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2323         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2324         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2325         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2326         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2327         Moved ...
2328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2330         Moved ...
2331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2332         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2333         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2334         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2335         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2336         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2337         ...
2338         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2339         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2340         Moved ...
2341         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2342         here.
2343         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2344         ...
2345         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2346         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2347         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2349         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2350         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2351         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2352         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2354         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2355         merge into ...
2356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2357         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2358         ...
2359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2360         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2361         ...
2362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2363         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2364         Moved ...
2365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2366         here.
2367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2368         Moved ...
2369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2370         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2371         Moved ...
2372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2375         conditional [RESET_PID].
2376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2377         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2378         removed.
2379         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2380         removed.
2382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2383         <tcb-offsets.h>.
2384         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2385         (__libc_vfork): New strong alias.
2386         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2387         removed.
2388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2389         Removed.
2391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2392         <tcb-offsets.h>.
2393         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2394         (__libc_vfork): New strong alias.
2395         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2396         removed.
2397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2398         removed.
2400 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
2402         * malloc/malloc.c (mi_arena): New function.
2403         (malloc_info): Remove nested function mi_arena. Call non-nosted
2404         function mi_arena.
2406 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2408         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2409         by insrwi.
2410         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2411         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2412         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2413         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2414         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2415         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2416         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2418 2014-05-26  Andreas Schwab  <schwab@suse.de>
2420         [BZ #16984]
2421         * locale/programs/repertoire.c (repertoire_read): Add slash
2422         between I18NPATH element and file name.
2423         * locale/programs/locfile.c (locfile_read): Likewise.
2425 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2427         * nptl/pthread_mutexattr_settype.c
2428         (__pthread_mutexattr_settype):
2429         Disable lock elision for PTHREAD_MUTEX_NORMAL.
2431 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2433         * nptl/tst-mutex5 (do_test):
2434         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2436 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2438         * benchtests/README: Document 'init' directive.
2439         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2440         BENCH_INIT.
2441         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2442         (parse_file): Recognize 'init' directive.
2444 2014-05-26  Kyle McMartin  <kyle@redhat.com>
2446         [BZ #16796]
2447         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2448         alignment of struct pthread.
2450 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2452         [BZ #16878]
2453         * nscd/netgroupcache.c (addgetnetgrentX): Look for
2454         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2455         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2456         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2458 2014-05-25  Richard Henderson  <rth@twiddle.net>
2460         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2461         (SINGLE_THREAD_P_PIC): Remove.
2462         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2463         (SINGLE_THREAD_P_PIC): Remove.
2465         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2466         branch to syscall error ...
2467         (PSEUDO): ... here.
2468         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2469         from __local_syscall_error to .Lsyscall_error.
2470         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2471         (SYSCALL_ERROR): Update label name.
2473         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2474         Do not use DOARGS/UNDOARGS.
2475         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2476         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2477         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2478         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2479         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2481         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2482         block comment.
2484         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2485         define if !NOT_IN_libc.
2486         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2487         define with non-default symbol versions.
2489 2014-05-23  Richard Henderson  <rth@twiddle.net>
2491         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2492         (vfork, __vfork): Define via compat_symbol.
2494         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2495         [!HAVE_IFUNC] (vfork_compat): Remove.
2496         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2498 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2500         [BZ #16978]
2501         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2502         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2503         variable.
2505 2014-05-23  Richard Henderson  <rth@twiddle.net>
2507         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2508         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2509         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2510         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2512         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2513         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2514         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2515         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2516         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2517         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2518         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2519         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2520         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2521         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2522         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2523         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2524         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2525         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2526         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2527         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2528         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2529         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2530         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2531         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2532         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2533         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2534         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2535         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2536         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2537         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2538         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2539         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2540         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2541         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2542         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2543         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2544         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2545         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2546         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2547         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2548         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2549         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2550         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2551         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2552         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2553         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2554         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2555         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2556         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2557         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2558         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2559         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2560         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2561         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2562         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2563         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2564         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2565         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2566         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2567         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2569         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2570         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2571         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
2572         before exiting on error.
2573         (__libc_vfork): New strong alias.
2574         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2575         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2577         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2578         that was previously under [RESET_PID].
2579         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2581         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2583 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2585         [BZ #16977]
2586         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2587         value when x - 1 is zero.
2588         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2589         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2590         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2591         0.0L for an argument of 1.0L.
2592         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2593         Likewise.
2594         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2595         value when x - 1 is zero.
2596         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2597         * sysdeps/i386/fpu/libm-test-ulps: Update.
2598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2600 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2602         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2603         alphasort and versionsort.
2605 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2607         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2608         macro.
2609         [copysignf]: Likewise.
2611 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2613         * crypt/md5-crypt.c: Fix formatting.
2615 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2617         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2618         (b64_from_24bit): New function.
2620 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2622         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2623         libc_hidden_builtin_def to ifunc.
2624         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2625         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2627 2014-05-21  Roland McGrath  <roland@hack.frob.com>
2629         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2630         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2632 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
2634         * nscd/Depend (linuxthreads): Remove.
2635         (nptl): Add.
2636         * resolv/Depend (linuxthreads): Remove.
2637         * rt/Depend (linuxthreads): Remove.
2639         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2640         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2641         $(common-objpfx)elf/.
2642         (link-libc-before-gnulib): Likewise.
2643         (elfobjdir): Remove variable.
2644         * Makefile (install): Use $(elf-objpfx) instead of
2645         $(common-objpfx)elf/.
2646         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2647         $(elfobjdir)/.
2648         (link-libc-deps): Likewise.
2649         ($(common-objpfx)libc.so): Likewise.
2650         ($(common-objpfx)linkobj/libc.so): Likewise.
2651         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2652         instead of $(common-objpfx)elf/.
2653         (symbolic-link-list): Likewise.
2654         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2655         [$(cross-compiling) = no]: Likewise.
2656         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2657         $(elfobjdir)/.
2658         (static-gnulib-arch): Likewise.
2659         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2660         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2661         $(common-objpfx)elf/.
2663 2014-05-21  Richard Henderson  <rth@redhat.com>
2665         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2666         (SINGLE_THREAD_P): Use the correct width load.  Fold
2667         into the ldr offset.
2669         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2670         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2672 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
2674         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2675         (libgcc_s_resume): Use __attribute_used__.
2676         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2677         Likewise.
2679 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2681         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2682         optimization when used with float constants.
2684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2686 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
2688         [BZ #16915]
2689         * locale/nl_langinfo_l.c: Make direct reference to every
2690         _nl_current_CATEGORY symbol.
2691         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2692         (tests-static): Add tst-langinfo-static.
2693         (tests-special): Add tst-langinfo-static.out.
2694         ($(objpfx)tst-langinfo.out): Redirect output.
2695         ($(objpfx)tst-langinfo-static.out): New.
2696         * localedata/tst-langinfo.sh: Send output to stdout.
2697         * localedata/tst-langinfo-static.c: New file.
2699         [BZ #16965]
2700         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2701         when the shift amount is modulo the limb size.
2703 2014-05-20  Richard Henderson  <rth@redhat.com>
2705         [BZ #16967]
2706         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2707         Change type of sa_flags from unsigned int to int.
2709         [BZ #16966]
2710         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2712         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2714 2014-05-20  Will Newton  <will.newton@linaro.org>
2716         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2717         Test the return value of the system call in the nocancel case.
2719 2014-05-20  Will Newton  <will.newton@linaro.org>
2720             Yvan Roux  <yvan.roux@linaro.org>
2722         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2723         #include of asm/ptrace.h.
2724         (PTRACE_GET_THREAD_AREA): Remove #undef.
2725         (PTRACE_GETHBPREGS): Likewise.
2726         (PTRACE_SETHBPREGS): Likewise.
2727         (struct user_regs_struct): New structure.
2728         (struct user_fpsimd_struct): New structure.
2729         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2730         #include of asm/ptrace.h and second #include of sys/user.h.
2731         (PTRACE_GET_THREAD_AREA): Remove #undef.
2732         (PTRACE_GETHBPREGS): Likewise.
2733         (PTRACE_SETHBPREGS): Likewise.
2734         (ELF_NGREG): Use new struct user_regs_struct.
2735         (elf_fpregset_t): Use new struct user_fpsimd_struct.
2737 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2739         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2740         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2742 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
2744         [BZ #16958]
2745         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2746         membar to avoid block loads/stores to overlap previous stores.
2748 2014-05-17  Richard Henderson  <rth@redhat.com>
2750         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2751         Create the __##syscall_name##_nocancel entry point.
2752         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2753         Remove; let the sysdep-cancel.h code create it.
2755 2014-05-17  David S. Miller  <davem@davemloft.net>
2757         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2758         Protect with __USE_GNU.
2759         (TIOCSET_TEMPT): Likewise.
2760         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2761         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2762         these are already provided in bits/ioctl-types.h
2764 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2766         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2767         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2769         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2770         Use wait4 regardless of [__NR_waitpid].
2772 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2774         PR libgcc/60166
2775         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2776         (_FP_NANSIGN_Q): Set the quiet bit.
2778 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
2780         * benchtests/Makefile
2781         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2782         not $(common-objpfx)math/libm.so.
2783         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2784         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2785         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2786         $(common-objpfx)dlfcn/libdl.so.
2787         ($(objpfx)tst-audit8): Depend on $(libm), not
2788         $(common-objpfx)math/libm.so.
2789         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2790         not $(common-objpfx)dlfcn/libdl.so.
2791         * math/Makefile
2792         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2793         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
2794         [$(build-shared) = yes].
2795         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2796         $(common-objpfx)nptl/libpthread.so.
2797         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2798         $(common-objpfx)math/libm.so$(libm.so-version) or
2799         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2800         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2801         $(common-objpfx)dlfcn/libdl.so.
2802         * setjmp/Makefile (link-libm): Remove variable.
2803         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2804         * stdio-common/Makefile (link-libm): Remove variable.
2805         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2806         * stdlib/Makefile (link-libm): Remove variable.
2807         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2808         ($(objpfx)tst-strtod-round): Likewise.
2809         ($(objpfx)tst-tininess): Likewise.
2810         ($(objpfx)tst-strtod-underflow): Likewise.
2811         ($(objpfx)tst-strtod6): Likewise.
2812         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2813         $(libdl), not $(common-objpfx)nptl/libpthread.so and
2814         $(common-objpfx)dlfcn/libdl.so.
2816 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2818         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2819         BSD terminal modes definitions.
2821 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2823         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2824         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2826         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2827         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2828         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2829         Don't do #include_next.
2830         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2831         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2832         Don't do #include_next.
2833         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2834         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2835         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2836         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2838 2014-05-16  Allan McRae  <allan@archlinux.org>
2840         * po/sv.po: Update Swedish translation from translation project.
2842         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2843         in sed expression.
2845 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
2847         [BZ #16917]
2848         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2849         errno if the TIOCGPTN ioctl fails with an error different than
2850         EINVAL.
2851         * login/tst-ptsname.c: New file.
2852         * login/Makefile (tests): Add tst-ptsname.
2854         [BZ #16943]
2855         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2856         and prlimit64.
2858 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2860         [BZ #16849]
2861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2862         herrno to return EAI_AGAIN.
2864 2014-05-14  Roland McGrath  <roland@hack.frob.com>
2866         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2867         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2868         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2869         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2870         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2871         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2872         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2873         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2874         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2875         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2876         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2877         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2878         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2879         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2880         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2881         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2882         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2883         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2884         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2885         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2886         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2887         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2888         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2889         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2890         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2891         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2892         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2893         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2894         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2895         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2897         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2899         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2901         Moved ...
2902         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2904         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2906         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2908         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2910         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2912         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2914         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2916         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2918         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2920         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2922         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2924         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2926         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2928         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2930         Moved ...
2931         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2933         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2935         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2937         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2939         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2941         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2943         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2945         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2947         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2949         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2951         Moved ...
2952         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2954         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2956         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2957         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2958         (libpthread-sysdep_routines): Add elision-related stuff here instead.
2959         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2960         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2961         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2962         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2963         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2964         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2965         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2966         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2967         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2968         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2969         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2970         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2971         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2972         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2973         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2974         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2975         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2976         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2977         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2978         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2979         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2980         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2981         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2982         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2983         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2984         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2985         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2986         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2988         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2989         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2991         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2992         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2993         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2994         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2995         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2996         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2997         Moved ...
2998         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2999         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3000         Moved ...
3001         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3002         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3003         Moved ...
3004         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3005         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3006         Moved ...
3007         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3008         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3009         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3010         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3011         Moved ...
3012         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3013         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3014         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3015         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3016         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3017         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3018         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3019         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3020         Moved ...
3021         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3022         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3023         Moved ...
3024         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3025         ... here.
3026         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3027         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3028         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3029         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3030         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3031         Moved ...
3032         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3033         ... here.
3034         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3035         Moved ...
3036         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3037         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3038         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3039         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3040         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3041         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3042         Moved ...
3043         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3044         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3045         Moved ...
3046         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3047         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3048         Moved ...
3049         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3050         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3051         Moved ...
3052         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3053         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3054         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3055         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3056         Moved ...
3057         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3058         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3059         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3060         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3061         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3062         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3063         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3064         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3065         Moved ...
3066         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3067         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3068         Moved ...
3069         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3070         ... here.
3071         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3072         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3073         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3074         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3075         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3076         Moved ...
3077         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3078         ... here.
3079         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3080         Moved ...
3081         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3082         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3083         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3084         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3085         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3086         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3087         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3088         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3089         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3090         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3091         Moved ...
3092         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3093         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3094         Moved ...
3095         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3096         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3097         Moved ...
3098         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3099         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3100         Moved ...
3101         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3102         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3103         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3104         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3105         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3106         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3107         Moved ...
3108         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3109         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3110         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3111         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3112         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3113         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3114         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3115         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3116         Moved ...
3117         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3118         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3119         Moved ...
3120         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3121         ... here.
3122         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3123         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3124         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3125         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3126         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3127         Moved ...
3128         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3129         ... here.
3130         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3131         Moved ...
3132         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3133         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3134         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3135         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3136         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3137         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3138         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3139         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3140         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3141         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3142         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3144         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3145         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3147         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3148         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3150         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3151         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3152         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3153         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3154         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3155         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3156         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3157         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3158         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3159         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3160         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3161         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3162         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3163         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3164         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3165         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3166         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3167         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3168         Moved ...
3169         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3170         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3171         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3172         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3173         Moved ...
3174         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3175         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3176         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3177         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3178         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3179         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3180         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3181         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3182         Moved ...
3183         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3184         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3185         Moved ...
3186         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3187         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3188         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3189         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3190         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3191         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3192         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3193         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3194         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3195         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3196         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3197         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3198         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3199         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3200         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3201         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3202         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3204         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3205         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3206         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3207         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3208         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3210         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3211         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3212         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3213         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3214         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3215         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3216         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3217         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3218         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3219         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3221         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3222         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3224         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3225         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3226         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3227         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3228         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3229         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3230         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3231         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3232         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3233         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3234         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3235         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3236         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3237         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3238         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3239         Update #include.
3240         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3241         Likewise.
3242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3243         Likewise.
3244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3245         Likewise.
3246         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3247         Likewise.
3248         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3249         Likewise.
3250         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3251         Likewise.
3252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3253         Likewise.
3254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3255         Likewise.
3256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3257         Likewise.
3258         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3259         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3260         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3261         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3262         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3263         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3264         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3265         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3266         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3267         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3268         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3269         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3270         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3271         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3272         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3274         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3275         that was previously under [RESET_PID].
3276         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3277         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3278         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3280         * sysdeps/i386/nptl/Implies: New file.
3281         * sysdeps/x86_64/nptl/Implies: New file.
3282         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3283         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3284         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3285         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3287         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3288         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3289         (__libc_vfork): New strong alias.
3290         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3291         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3293         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3294         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3295         (__libc_vfork): New strong alias.
3296         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3297         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3299         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3300         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3301         (__libc_vfork): New strong alias.
3302         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3303         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3304         * nptl/pt-vfork.c: New file.
3305         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3306         (libpthread: GLIBC_2.20): New version set (empty).
3308 2014-05-14  Will Newton  <will.newton@linaro.org>
3310         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3311         rather than #if.
3313 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3315         [BZ #16564]
3316         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3317         arguments with exponent 65 or above.
3318         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3319         arguments 0x1p113L or above.
3320         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3321         to arguments 0x1p107L or above.
3322         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3323         positive arguments with exponent 65 or above.
3324         * math/auto-libm-test-in: Add more tests of log1p.
3325         * math/auto-libm-test-out: Regenerated.
3327         [BZ #16928]
3328         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3329         non-finite arguments is +0.
3330         * math/s_cacosf.c (__cacosf): Likewise.
3331         * math/s_cacosl.c (__cacosl): Likewise.
3332         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3333         * sysdeps/i386/fpu/libm-test-ulps: Update.
3334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3336         [BZ #16927]
3337         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3338         value.
3339         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3340         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3341         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3342         for explicit high bit of mantissa when testing for argument equal
3343         to 1.
3344         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3345         * sysdeps/i386/fpu/libm-test-ulps: Update.
3346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3348         [BZ #16516]
3349         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3350         (__erf): Scale by 16 instead of 8 in potentially underflowing
3351         case.  Ensure exception if result actually underflows.
3352         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3353         (__erff): Scale by 16 instead of 8 in potentially underflowing
3354         case.  Ensure exception if result actually underflows.
3355         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3356         (efx8): Remove variable.
3357         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3358         case.  Ensure exception if result actually underflows.
3359         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3360         (efx8): Remove variable.
3361         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3362         case.  Ensure exception if result actually underflows.
3363         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3364         (efx8): Remove variable.
3365         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3366         case.  Ensure exception if result actually underflows.
3367         * math/auto-libm-test-in: Add more tests of erf.
3368         * math/auto-libm-test-out: Regenerated.
3370 2014-05-14  Andreas Schwab  <schwab@suse.de>
3372         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3373         Remove code conditionalized on USE___THREAD.
3375         * config.h.in (HAVE_PT_CHOWN): Define as 0.
3376         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3377         not definedness.
3379 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3381         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3382         Define unconditionally.
3383         (__ASSUME_O_CLOEXEC): Likewise.
3384         (__ASSUME_SOCK_CLOEXEC): Likewise.
3385         (__ASSUME_IN_NONBLOCK): Likewise.
3386         (__ASSUME_PIPE2): Likewise.
3387         (__ASSUME_EVENTFD2): Likewise.
3388         (__ASSUME_SIGNALFD4): Likewise.
3389         (__ASSUME_DUP3): Likewise.
3390         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3391         (__ASSUME_DUP3): Do not define.
3392         (__ASSUME_EVENTFD2): Likewise.
3393         (__ASSUME_IN_NONBLOCK): Likewise.
3394         (__ASSUME_O_CLOEXEC): Likewise.
3395         (__ASSUME_PIPE2): Likewise.
3396         (__ASSUME_SIGNALFD4): Likewise.
3397         (__ASSUME_SOCK_CLOEXEC): Likewise.
3398         (__ASSUME_UTIMES): Undefine.
3399         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3400         (__ASSUME_UTIMES): Do not define.
3401         (__ASSUME_O_CLOEXEC): Likewise.
3402         (__ASSUME_SOCK_CLOEXEC): Likewise.
3403         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3404         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3405         0x020621].
3406         (__ASSUME_PIPE2): Likewise.
3407         (__ASSUME_EVENTFD2): Likewise.
3408         (__ASSUME_SIGNALFD4): Likewise.
3409         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3410         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3411         Do not define.
3412         (__ASSUME_EVENTFD2): Likewise.
3413         (__ASSUME_SIGNALFD4): Likewise.
3414         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3415         (__ASSUME_32BITUIDS): Likewise.
3416         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3417         (__ASSUME_IPC64): Likewise.
3418         (__ASSUME_ST_INO_64_BIT): Likewise.
3419         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3420         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3421         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3422         (__ASSUME_UTIMES): Do not define.
3423         (__ASSUME_PSELECT): Likewise.
3424         (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
3433         (__ASSUME_UTIMES): Likewise.
3434         (__ASSUME_O_CLOEXEC): Likewise.
3435         (__ASSUME_SOCK_CLOEXEC): Likewise.
3436         (__ASSUME_IN_NONBLOCK): Likewise.
3437         (__ASSUME_PIPE2): Likewise.
3438         (__ASSUME_EVENTFD2): Likewise.
3439         (__ASSUME_SIGNALFD4): Likewise.
3440         (__ASSUME_DUP3): Likewise.
3441         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3442         (__ASSUME_UTIMES): Likewise.
3443         (__ASSUME_O_CLOEXEC): Likewise.
3444         (__ASSUME_SOCK_CLOEXEC): Likewise.
3445         (__ASSUME_IN_NONBLOCK): Likewise.
3446         (__ASSUME_PIPE2): Likewise.
3447         (__ASSUME_EVENTFD2): Likewise.
3448         (__ASSUME_SIGNALFD4): Likewise.
3449         (__ASSUME_DUP3): Likewise.
3450         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3451         Likewise.
3452         (__ASSUME_UTIMES): Likewise.
3453         (__ASSUME_EVENTFD2): Likewise.
3454         (__ASSUME_SIGNALFD4): Likewise.
3455         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3456         (__ASSUME_O_CLOEXEC): Likewise.
3457         (__ASSUME_SOCK_CLOEXEC): Likewise.
3458         (__ASSUME_IN_NONBLOCK): Likewise.
3459         (__ASSUME_PIPE2): Likewise.
3460         (__ASSUME_EVENTFD2): Likewise.
3461         (__ASSUME_SIGNALFD4): Likewise.
3462         (__ASSUME_DUP3): Likewise.
3463         (__ASSUME_UTIMES): Undefine.
3465         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3466         feclearexcept.  Remove symbol versioning code.
3467         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
3468         symbol versioning code.
3469         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
3470         symbol versioning code.
3471         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3472         feupdateenv.  Remove symbol versioning code.
3473         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3474         fegetexceptflag.  Remove symbol versioning code.
3475         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3476         fesetexceptflag.  Remove symbol versioning code.
3477         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3478         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
3479         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3480         (__posix_fadvise64_l32): Remove prototype.
3481         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3482         code.
3484 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3486         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3487         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3488         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3489         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3491 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
3493         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3494         current working directory
3496 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3498         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3499         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3500         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3501         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3502         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3503         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3504         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3505         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3506         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3507         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3508         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3509         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3510         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3511         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3512         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3513         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3514         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3515         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3516         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3517         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3518         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3519         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3520         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3521         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3522         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3523         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3524         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3525         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3526         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3527         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3528         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3529         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3530         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3531         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3532         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3533         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3534         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3535         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3536         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3537         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3538         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3539         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3541         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3542         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3544         * sysdeps/unix/sysv/linux/arm/Makefile
3545         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3546         Add rt-aeabi_unwind_cpp_pr1.
3547         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3548         Add nptl-aeabi_unwind_cpp_pr1.
3549         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3550         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3551         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3552         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3553         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3554         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3556         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3557         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3558         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3559         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3561         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3562         Deconditionalize the code that was previously under [RESET_PID].
3563         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3565         * sysdeps/generic/exit-thread.h: New file.
3566         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3567         * include/unistd.h (__exit_thread): Remove declaration.
3568         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3569         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3570         * csu/libc-start.c: Include <exit-thread.h>.
3571         (LIBC_START_MAIN): Pass no argument to __exit_thread.
3572         * nptl/pthread_create.c: Include <exit-thread.h>.
3573         (start_thread): Call __exit_thread in place of __exit_thread_inline.
3574         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3575         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3576         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3577         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3578         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3579         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3580         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3581         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3582         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3583         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3584         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3585         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3586         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3587         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3588         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3589         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3591 2014-05-13  Andreas Schwab  <schwab@suse.de>
3593         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3595 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
3597         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3598         (__ASSUME_UTIMES): Do not condition on kernel version.
3599         (__ASSUME_PSELECT): Define unconditionally.
3600         (__ASSUME_PPOLL): Likewise.
3601         (__ASSUME_ATFCTS): Likewise.
3602         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3603         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3604         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3605         (__ASSUME_UTIMENSAT): Define unconditionally.
3606         (__ASSUME_PRIVATE_FUTEX): Likewise.
3607         (__ASSUME_FALLOCATE): Likewise.
3608         (__ASSUME_O_CLOEXEC): Likewise.
3609         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3610         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3611         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3612         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3613         (__ASSUME_IN_NONBLOCK): Likewise.
3614         (__ASSUME_PIPE2): Likewise.
3615         (__ASSUME_EVENTFD2): Likewise.
3616         (__ASSUME_SIGNALFD4): Likewise.
3617         (__ASSUME_DUP3): Likewise.
3618         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3619         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3620         (__ASSUME_AT_RANDOM): Likewise.
3621         (__ASSUME_PREADV): Likewise.
3622         (__ASSUME_PWRITEV): Likewise.
3623         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3624         (__ASSUME_F_GETOWN_EX): Define unconditionally.
3625         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3626         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3627         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3628         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3629         (__ASSUME_O_CLOEXEC): Define unconditionally.
3630         (__ASSUME_PSELECT): Do not undefine conditionally.
3631         (__ASSUME_PPOLL): Likewise.
3632         (__ASSUME_ATFCTS): Likewise.
3633         (__ASSUME_SET_ROBUST_LIST): Likewise.
3634         (__ASSUME_UTIMENSAT): Likewise.
3635         (__ASSUME_FDATASYNC): Define unconditionally.
3636         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3637         (__ASSUME_SIGFRAME_V2): Likewise.
3638         )__ASSUME_EVENTFD2): Likewise.
3639         (__ASSUME_SIGNALFD4): Likewise.
3640         (__ASSUME_PSELECT): Do not undefine conditionally.
3641         (__ASSUME_PPOLL): Likewise.
3642         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3643         (__ASSUME_PSELECT): Define unconditionally.
3644         (__ASSUME_PPOLL): Likewise.
3645         (__ASSUME_O_CLOEXEC): Likewise.
3646         (__ASSUME_SOCK_CLOEXEC): Likewise.
3647         (__ASSUME_IN_NONBLOCK): Likewise.
3648         (__ASSUME_PIPE2): Likewise.
3649         (__ASSUME_EVENTFD2): Likewise.
3650         (__ASSUME_SIGNALFD4): Likewise.
3651         (__ASSUME_DUP3): Likewise.
3652         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3653         (__ASSUME_O_CLOEXEC): Likewise.
3654         (__ASSUME_SOCK_CLOEXEC): Likewise.
3655         (__ASSUME_IN_NONBLOCK): Likewise.
3656         (__ASSUME_PIPE2): Likewise.
3657         (__ASSUME_EVENTFD2): Likewise.
3658         (__ASSUME_SIGNALFD4): Likewise.
3659         (__ASSUME_DUP3): Likewise.
3660         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3661         (__ASSUME_EVENTFD2): Likewise.
3662         (__ASSUME_SIGNALFD4): Likewise.
3663         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3665 2014-05-12  Andreas Schwab  <schwab@suse.de>
3667         [BZ #16932]
3668         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3669         (_nss_nis_gethostbyname4_r): Return error if item length is larger
3670         than maximum RPC packet size.
3671         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3672         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3673         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3674         (_nss_nis_getservbyport_r): Likewise.
3676 2014-05-12  Will Newton  <will.newton@linaro.org>
3678         * malloc/Makefile (tests): Add tst-mallopt.
3679         * malloc/tst-mallopt.c: New file.
3681 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3683         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3684         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3686 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3688         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3689         (tst-tlsmod6.so): Likewise.
3691 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3693         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3695 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
3697         [BZ #16064]
3698         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3699         and <dl-procinfo.h>.
3700         (__fegetenv): Save SSE state in envp->__eip if supported.
3701         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3702         envp->__eip if supported.
3703         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3704         and <dl-procinfo.h>.
3705         (__fesetenv): Always set __eip, __cs_selector, __opcode,
3706         __data_offset and __data_selector in environment to 0.  Set SSE
3707         state if supported.
3708         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3709         test-fenv-sse.
3710         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3711         -mfpmath=sse.
3712         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3714 2014-05-09  Will Newton  <will.newton@linaro.org>
3716         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3717         and libc_relro_required for ARM.
3718         * sysdeps/arm/preconfigure: Regenerate.
3720 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3721             Stefan Liebler  <stli@linux.vnet.ibm.com>
3723         * config.make.in (enable-lock-elision): New Makefile variable.
3724         * configure.ac: Likewise.
3725         * configure: Regenerate.
3726         * sysdeps/s390/configure.ac:
3727         Add check for gcc transactions support.
3728         * sysdeps/s390/configure: Regenerate.
3729         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3730         Build elision files if enabled.
3731         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3732         Add lock elision support for s390.
3733         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3734         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3735         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3736         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3737         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3738         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3739         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3740         Likewise.
3741         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3742         Likewise.
3743         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3744         Likewise.
3745         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3746         Likewise.
3747         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3748         (__lll_timedlock_elision, __lll_lock_elision)
3749         (__lll_unlock_elision, __lll_trylock_elision)
3750         (lll_timedlock_elision, lll_lock_elision)
3751         (lll_unlock_elision, lll_trylock_elision): Add.
3752         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3753         (pthread_mutex_t): Add lock elision support for s390.
3755 2014-05-14  Wilco  <wdijkstr@arm.com>
3757         * sysdeps/arm/fclrexcpt.c: Cleanup.
3758         * sysdeps/arm/fedisblxcpt.c: Cleanup.
3759         * sysdeps/arm/feenablxcpt.c: Cleanup.
3760         * sysdeps/arm/fegetenv.c: Cleanup.
3761         * sysdeps/arm/fegetexcept.c: Cleanup.
3762         * sysdeps/arm/fegetround.c: Cleanup.
3763         * sysdeps/arm/feholdexcpt.c: Cleanup.
3764         * sysdeps/arm/fesetenv.c: Cleanup.
3765         * sysdeps/arm/fesetround.c: Cleanup.
3766         * sysdeps/arm/feupdateenv.c: Cleanup.
3767         * sysdeps/arm/fgetexcptflg.c: Cleanup.
3768         * sysdeps/arm/fraiseexcpt.c: Cleanup.
3769         * sysdeps/arm/fsetexcptflg.c: Cleanup.
3770         * sysdeps/arm/ftestexcept.c: Cleanup.
3771         * sysdeps/arm/get-rounding-mode.h: Cleanup.
3772         * sysdeps/arm/setfpucw.c: Cleanup.
3774 2014-05-09  Will Newton  <will.newton@linaro.org>
3776         * sysdeps/arm/armv7/strcmp.S: New file.
3777         * NEWS: Mention addition of ARMv7 optimized strcmp.
3779 2014-05-08  Roland McGrath  <roland@hack.frob.com>
3781         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3782         look for %.ac rather than %.in.
3784         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3785         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3786         * sysdeps/mach/hurd/configure: Regenerated.
3787         * sysdeps/unix/sysv/linux/configure: Regenerated.
3789         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3791 2014-05-07  Steve Ellcey  <sellcey@mips.com>
3793         [BZ# 16922]
3794         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3795         (LONG_SUB): Ditto.
3796         (PTR_SUB): Ditto.
3798 2014-05-07  Andreas Schwab  <schwab@suse.de>
3800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3801         when skipping over non-matching result from nscd.
3803 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
3805         [BZ #16876]
3806         * nptl/sockperf.c (client): Check socket return value.
3808         [BZ #16877]
3809         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3810         nscd security class.
3812 2014-05-06  Roland McGrath  <roland@hack.frob.com>
3814         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3815         * sysdeps/arm/unwind.h: ... here.
3817 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
3819         [BZ# 16916]
3820         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3821         Define.
3823 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3825         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3826         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3827         multiarch strncpy for PPC64.
3828         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3829         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3830         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3831         multiarch optimizations.
3832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3833         (__libc_ifunc_impl_list): Likewise.
3834         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3835         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3836         multiarch stpncpy for PPC64.
3837         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3838         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3840 2014-05-06  Andreas Schwab  <schwab@suse.de>
3842         [BZ #16912]
3843         * gmon/mcount.c (_MCOUNT_DECL): Use
3844         atomic_compare_and_exchange_bool_acq instead of
3845         catomic_compare_and_exchange_bool_acq.
3847 2014-05-05  Roland McGrath  <roland@hack.frob.com>
3849         * elf/Makefile (others, install-bin): Remove pldd.
3850         (pldd-modules): Variable removed.
3851         ($(objpfx)pldd): Target removed.
3852         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3853         (others, install-bin): Append pldd here.
3854         ($(objpfx)pldd): New target.
3856         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3857         to 0, so the first #if test emitted later doesn't see it undefined.
3858         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3859         * sysdeps/gnu/errlist.c: Regenerated.
3861 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3863         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3864         [libc_hidden_builtin_def]: Define to empty value.
3865         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3866         [libc_hidden_builtin_def]: Likewise.
3867         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3868         [libc_hidden_builtin_def]: Likewise.
3869         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3870         [libc_hidden_builtin_def]: Likewise.
3871         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3872         __redirect_memcpy and define ifunc as default hidden symbol.
3873         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3874         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3876 2014-05-04  Adam Conrad  <adconrad@0c3.net>
3878         * locale/iso-4217.def: Reintroduce XDR currency.
3880 2014-05-04  Allan McRae  <allan@archlinux.org>
3882         * po/eo.po: Update Esperanto translation from translation project.
3884 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
3886         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3887         and FEATURE_INDEX_MAX to 1.
3888         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3890 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3892         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3893         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3894         * iconvdata/big5.c (ONE_DIRECTION): Define.
3895         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3896         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3897         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3898         * iconvdata/cp932.c (ONE_DIRECTION): Define.
3899         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3900         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3901         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3902         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3903         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3904         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3905         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3906         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3907         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3908         * iconvdata/gbk.c (ONE_DIRECTION): Define.
3909         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3910         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3911         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3912         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3913         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3914         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3915         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3916         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3917         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3918         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3919         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3920         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3921         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3922         * iconvdata/iso646.c (ONE_DIRECTION): Define.
3923         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3924         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3925         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3926         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3927         * iconvdata/johab.c (ONE_DIRECTION): Define.
3928         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3929         * iconvdata/sjis.c (ONE_DIRECTION): Define.
3930         * iconvdata/t.61.c (ONE_DIRECTION): Define.
3931         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3932         * iconvdata/tscii.c (ONE_DIRECTION): Define.
3933         * iconvdata/uhc.c (ONE_DIRECTION): Define.
3934         * iconvdata/unicode.c (ONE_DIRECTION): Define.
3935         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3936         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3937         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3939 2014-05-01  Roland McGrath  <roland@hack.frob.com>
3941         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3942         (_IO_JUMPS_OFFSET): Define to 0.
3944         * nptl/sysdeps/pthread/bits/libc-lock.h
3945         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3946         (__libc_lock_define_initialized_recursive): Always define using
3947         initializer.  Modern compilers treat uninitialized (implicit zero) and
3948         explicit zero initializers the same (i.e. put the datum in bss).
3950 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3952         * nscd/nscd-client.h: Include <string.h>.
3954 2014-05-01  David S. Miller  <davem@davemloft.net>
3956         [BZ #16885]
3957         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3958         multiple zero bytes exist at the end of a string.
3959         Reported by Aurelien Jarno <aurelien@aurel32.net>
3961         * string/test-strcmp.c (check): Add explicit test for situations where
3962         there are multiple zero bytes after the first.
3964 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3966         [BZ #16890]
3967         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3968         when compiling wprintf.
3969         * stdio-common/tstdiomisc.c (t3): New function.
3970         (main): Call it.
3972 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3974         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3975         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3976         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3977         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3979 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3981         * stdlib/longlong.h: Updated from GCC.
3983 2014-05-01  Will Newton  <will.newton@linaro.org>
3984             Bernard Ogden  <bernie.ogden@linaro.org>
3986         * NEWS: Update fixed bug list.
3988         [BZ #15119]
3989         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3991 2014-04-30  David S. Miller  <davem@davemloft.net>
3993         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3994         (libc_feholdexcept_setround_sparc_ctx): New function.
3995         (libc_fesetenv_sparc_ctx): Likewise.
3996         (libc_feupdateenv_sparc_ctx): Likewise.
3997         (libc_feholdsetround_sparc_ctx): Likewise.
3998         (libc_feholdexcept_setround_ctx): Define.
3999         (libc_feholdexcept_setroundf_ctx): Likewise.
4000         (libc_feholdexcept_setroundl_ctx): Likewise.
4001         (libc_fesetenv_ctx): Likewise.
4002         (libc_fesetenvf_ctx): Likewise.
4003         (libc_fesetenvl_ctx): Likewise.
4004         (libc_feupdateenv_ctx): Likewise.
4005         (libc_feupdateenvf_ctx): Likewise.
4006         (libc_feupdateenvl_ctx): Likewise.
4007         (libc_feresetround_ctx): Likewise.
4008         (libc_feresetroundf_ctx): Likewise.
4009         (libc_feresetroundl_ctx): Likewise.
4010         (libc_feholdsetround_ctx): Likewise.
4011         (libc_feholdsetroundf_ctx): Likewise.
4012         (libc_feholdsetroundl_ctx): Likewise.
4014         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4015         with __USE_GNU instead of XOPEN cpp guards.
4017         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4018         0.
4020         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4021         with XOPEN cpp guards.
4023 2014-04-30  Julian Brown  <julian@codesourcery.com>
4025         [BZ #16888]
4026         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4027         handling.
4029 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4031         [BZ #9894]
4032         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4033         Change to 2.6.32.
4034         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4035         * sysdeps/unix/sysv/linux/configure: Regenerated.
4036         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4037         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4038         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4039         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4040         * README: Update reference to required Linux kernel version.
4041         * manual/install.texi (Linux): Update reference to required Linux
4042         kernel headers version.
4043         * INSTALL: Regenerated.
4045         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4046         header inclusion.
4047         [POSIX] (limits.h): Likewise.
4048         [POSIX] (math.h): Likewise.
4049         [POSIX] (sys/wait.h): Likewise.
4050         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4051         function.
4052         [POSIX] (stddef.h): Do not allow header inclusion.
4054 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4056         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4058 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4060         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4061         Return immediately after lll_futex_wake.
4063 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4065         [BZ #16791]
4066         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4067         structure.
4068         (datahead_init_pos): Call datahead_init_common early.
4069         (datahead_init_neg): Likewise.
4071         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4072         datahead_init_neg): New functions.
4073         * nscd/aicache.c (addhstaiX): Use them.
4074         * nscd/grpcache.c (cache_addgr): Likewise.
4075         * nscd/hstcache.c (cache_addhst): Likewise.
4076         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4077         * nscd/netgroupcache.c (do_notfound): Likewise.
4078         (addgetnetgrentX): Likewise.
4079         (addinnetgrX): Likewise.
4080         * nscd/pwdcache.c (cache_addpw): Likewise.
4081         * nscd/servicescache.c (cache_addserv): Likewise.
4083 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4084             Atsushi Onoe  <atsushi@onoe.org>
4086         [BZ #14308]
4087         [BZ #12994]
4088         [BZ #13651]
4089         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4090         one response is valid.
4091         * resolv/res_send.c (send_dg): Check for validity of other
4092         response if the current response is a referral.
4094 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4096         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4098 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4100         [BZ #16823]
4101         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4102         Always divide by positive zero when computing -Inf result.
4103         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4104         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4106 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4108         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4109         FPSCR if value do not change.
4110         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4111         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4112         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4113         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4114         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4115         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4116         function.
4118 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4120         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4121         * sysdeps/unix/sysv/linux/hppa: Move directory from
4122         ports/systeps/unix/sysv/linux/hppa.
4123         * README: Update listing for hppa-*-linux-gnu.
4125 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4127         [BZ #16754]
4128         * manual/stdio.texi (Hook functions): Fix types of stream hook
4129         functions.
4130         [BZ #16854]
4131         * socket/sys/socket.h: Fix typo in comment.
4133 2014-04-28  Wilco  <wdijkstr@arm.com>
4135         * sysdeps/arm/fenv_private.h: New file.
4136         * sysdeps/arm/math_private.h: New file.
4137         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4139 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4141         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4142         with __int128_t.
4143         (La_x86_64_retval): Likewise.
4145 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4147         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4148         fpsr if value didn't change.
4149         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4150         to fpcr if value didn't change.
4151         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4152         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4153         fpsr or fpcr if value didn't change.
4154         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4155         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4156         fpcr if value didn't change.
4157         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4158         to fpsr if value didn't change.
4160 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4162         * nptl/tst-sem3.c: Use test-skeleton.c
4163         (main): Rename to do_test.  Use return instead of
4164         exit.
4165         * nptl/tst-sem4.c: Use test-skeleton.c
4166         (main): Rename to do_test.
4168 2014-04-22  David S. Miller  <davem@davemloft.net>
4170         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4171         (struct sigaction): New struct member __glibc_reserved0, change
4172         type of sa_flags to int.
4174 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4176         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4177         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4179 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4181         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4182         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4184 2014-04-22  Will Newton  <will.newton@linaro.org>
4185             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4187         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4188         (__longjmp): Add longjmp and longjmp_target SystemTap
4189         probes.
4190         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4191         (__sigsetjmp): Add setjmp SystemTap probe.
4193 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4195         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4196         match manual order.
4198 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4200         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4202         * sysdeps/powerpc/fpu/fenv_private.h
4203         (libc_feholdexcept_setroundl_ctx): Define to
4204         libc_feholdexcept_setround_ppc_ctx.
4205         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4206         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4207         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4208         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4210 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4212         * sysdeps/aarch64/math-tests.h: New file.
4214 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4216         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4217         New.
4218         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4219         Check and set bit_AVX2_Usable.
4220         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4221         macro.
4222         (bit_AVX2): Likewise.
4223         (index_AVX2_Usable): Likewise.
4224         (CPUID_AVX2): Likewise.
4225         (HAS_AVX2): Likewise.
4227 2014-04-17  Will Newton  <will.newton@linaro.org>
4229         * manual/setjmp.texi (System V contexts): Add note that
4230         calling setcontext on a context created by a call to a
4231         signal handler is undefined.  Update text to note that
4232         setcontext from a signal handler is possible but not
4233         recommended.
4235         [BZ #16629]
4236         * stdlib/tst-setcontext.c: Include signal.h.
4237         (main): Check that the signal stack before and
4238         after swapcontext is the same.
4240         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4241         Re-implement to restore registers in user code and avoid
4242         rt_sigreturn system call.
4244 2014-04-17  Wilco  <wdijkstr@arm.com>
4246         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4247         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4248         * math/test-fenv.c: Skip exception trap tests on targets which only
4249         support non-stop mode.
4251 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4252             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4254         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4255         (libc_feholdsetround_aarch64_ctx)
4256         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4257         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4258         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4259         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4260         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4261         (libc_feresetround_noexl_ctx): Define.
4263 2014-04-16  Richard Henderson  <rth@redhat.com>
4265         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4267         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4268         unwind tables.
4270         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4271         const from the non-libc, non-ldso copy.
4273         * sysdeps/alpha/libm-test-ulps: Regenerate.
4275 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4276             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4278         * sysdeps/aarch64/fpu/math_private.h: New file.
4280 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4282         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4284 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4286         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4287         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4288         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4289         Intel MPX bound registers before _dl_profile_fixup.
4290         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4291         registers after _dl_profile_fixup.  Save and restore bound
4292         registers bnd0/bnd1 when calling _dl_call_pltexit.
4293         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4294         (LR_BND_OFFSET): Likewise.
4295         (LRV_BND0_OFFSET): Likewise.
4296         (LRV_BND1_OFFSET): Likewise.
4298 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4300         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4301         to...
4302         * sysdeps/mach/hurd/i386/tls.h: ... here.
4303         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4304         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4305         fields.
4307 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4309         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4311 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4313         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4315 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4317         [BZ #14770]
4318         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4319         * sysdeps/s390/configure: Regenerate.
4321         [BZ #16824]
4322         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4323         Set round-to-nearest internally to reduce error accumulation.
4325 2014-04-16  Alan Modra  <amodra@gmail.com>
4327         [BZ #16740]
4328         [BZ #16619]
4329         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4330         * math/libm-test.inc (frexp_test_data): Add tests.
4331         * NEWS: Update fixed bug list.
4333 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4335         * benchtests/Makefile: Depend on libraries in build directory.
4336         (bench-math): Separate out math tests.
4337         (bench-pthread): Separate out pthread tests.
4338         (bench): Include math and pthread tests.
4340 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
4342         [BZ #16831]
4343         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4344         _dl_debug_initialize.
4346         * configure.ac: Remove SELinux header check.
4347         * configure: Regenerate.
4348         * nscd/selinux.c (perms): Array of const char* to permission names.
4349         (nscd_request_avc_has_perm): Call security_deny_unknown to find
4350         default policy. Call string_to_security_class and string_to_av_perm to
4351         translate strings. Enforce default policy and call avs_has_perm with
4352         results of translated strings.
4354 2014-04-13  David S. Miller  <davem@davemloft.net>
4356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4358 2014-04-12  Allan McRae  <allan@archlinux.org>
4360         [BZ #16838]
4361         * manual/string.texi (Collation Functions): Fix qsort argument
4362         order in example.
4363         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4365 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
4367         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4368         Make the test a no-op if there are no exceptions defined.
4370 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4372         * elf/Makefile (tests): make tst-dlopen-aout conditional on
4373         enable-hardcoded-path-in-tests
4375 2014-04-11  Will Newton  <will.newton@linaro.org>
4377         * benchtests/Makefile (extra-objs): Add json-lib.o.
4378         (bench-func): Tidy up JSON output.
4379         * benchtests/bench-skeleton.c: Include json-lib.h.
4380         (main): Use JSON library functions to do output of
4381         benchmark results.
4382         * benchtests/bench-timing-type.c (main): Output the
4383         timing type simply, leaving formatting to the user.
4384         * benchtests/json-lib.c: New file.
4385         * benchtests/json-lib.h: Likewise.
4387 2014-04-11  Torvald Riegel  <triegel@redhat.com>
4389         [BZ #15215]
4390         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4391         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
4392         memory barriers.  Add comments.
4393         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4394         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4395         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4396         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4397         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4398         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4400 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4402         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4403         * sysdeps/s390/s390-64/configure.ac: ... this ...
4404         * sysdeps/s390/configure.ac: ... to here.
4405         * sysdeps/s390/s390-32/configure: Delete file.
4406         * sysdeps/s390/s390-64/configure: Delete file.
4407         * sysdeps/s390/configure: Regenerate.
4409 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
4411         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4413 2014-04-11  Will Newton  <will.newton@linaro.org>
4415         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4416         to zero if it is not defined elsewhere.  (mtrim): Test
4417         the value of MALLOC_DEBUG with #if rather than #ifdef.
4419 2014-04-10 Torvald Riegel  <triegel@redhat.com>
4421         * benchtests/pthread_once-inputs: New file.
4422         * benchtests/pthread_once-source.c: New file.
4423         * benchtests/README: Update documentation.
4425 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4426             H.J. Lu  <hongjiu.lu@intel.com>
4428         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4429         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4430         * sysdeps/x86_64/configure: Regenerated.
4431         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4432         macro.
4433         (REGISTER_SAVE_RAX): Likewise.
4434         (REGISTER_SAVE_RCX): Likewise.
4435         (REGISTER_SAVE_RDX): Likewise.
4436         (REGISTER_SAVE_RSI): Likewise.
4437         (REGISTER_SAVE_RDI): Likewise.
4438         (REGISTER_SAVE_R8): Likewise.
4439         (REGISTER_SAVE_R9): Likewise.
4440         (REGISTER_SAVE_BND0): Likewise.
4441         (REGISTER_SAVE_BND1): Likewise.
4442         (REGISTER_SAVE_BND2): Likewise.
4443         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
4444         bound registers when calling _dl_fixup.
4446 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4448         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4449         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4450         of its definition.
4451         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4452         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4453         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4454         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4455         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4456         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4457         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4459 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
4461         [BZ #15514]
4462         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4463         pathconf(_PC_NAME_MAX).
4465 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4467         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4468         Remove macro usage.
4469         (__PTHREAD_SPINS): Move definition to ...
4470         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4471         (__PTHREAD_SPINS): ... here.
4472         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4473         (__PTHREAD_SPIN): Likewise.
4474         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4475         (__PTHREAD_SPIN): Likewise.
4476         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4477         (__PTHREAD_SPIN): Likewise.
4478         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4479         (__PTHREAD_SPIN): Likewise.
4480         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4481         (__PTHREAD_SPIN): Likewise.
4482         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4483         (__PTHREAD_SPIN): Likewise.
4484         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4485         (__PTHREAD_SPIN): Likewise.
4486         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4487         (__PTHREAD_SPIN): Likewise.
4488         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4489         (__PTHREAD_SPIN): Likewise.
4490         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4491         (__PTHREAD_SPIN): Likewise.
4492         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4493         (__PTHREAD_SPIN): Likewise.
4494         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4495         (__PTHREAD_SPIN): Likewise.
4497         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4498         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4499         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4500         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4501         imply folder.
4502         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4503         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4504         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4505         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4506         correct imply path.
4507         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4508         strlen symbol for non multi-arch builds.
4509         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4510         missing hidden_def and weak_alias.
4512 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
4514         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4516 2014-04-07  Will Newton  <will.newton@linaro.org>
4518         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4519         and contents.  [!_LIBC] Remove #ifndef and contents.
4520         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
4521         * string/memccpy.c (__memccpy): Use ANSI prototype.
4522         * string/memfrob.c (memfrob): Likewise.
4523         * string/strcoll.c (STRCOLL): Likewise.
4524         * string/strlen.c (strlen): Likewise.
4525         * string/strtok.c (STRTOK): Likewise.
4526         * string/strcat.c: Remove unused #include of memcopy.h.
4527         (strcat): Use ANSI prototype.
4528         * string/strchr.c: Remove unused #include of memcopy.h.
4529         (strchr): Use ANSI prototype.
4530         * string/strcmp.c: Remove unused #include of memcopy.h.
4531         (strcmp): Use ANSI prototype.
4532         * string/strcpy.c: Remove unused #include of memcopy.h.
4533         (strcpy): Use ANSI prototype.
4535 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4537         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4538         * config.make.in (config-extra-cppflags): Set it from
4539         libc_extra_cppflags.
4540         * configure.ac (libc_extra_cflags): Make it accumulate over
4541         configure fragments.
4542         (libc_extra_cppflags): New flag.
4543         * configure. Regenerate.
4544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4545         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4546         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4549         [BZ #16815]
4550         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4551         result for FE_DOWNWARD rounding mode.
4552         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4553         Likewise.
4554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4556 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
4558         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4559         in function argument name.
4561 2014-04-03  David Svoboda  <svoboda@cert.org>
4563         [BZ #5666]
4564         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4565         explicitly.
4567 2014-04-03  Roland McGrath  <roland@hack.frob.com>
4569         * elf/dl-unmap-segments.h: New file.
4570         * sysdeps/generic/ldsodefs.h
4571         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4572         * elf/dl-close.c: Include <dl-unmap-segments.h>.
4573         * elf/dl-fptr.c: Likewise.
4574         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4575         * sysdeps/aarch64/tlsdesc.c: Likewise.
4576         * sysdeps/arm/tlsdesc.c: Likewise.
4577         * sysdeps/i386/tlsdesc.c: Likewise.
4578         * sysdeps/tile/dl-runtime.c: Likewise.
4579         * sysdeps/x86_64/tlsdesc.c: Likewise.
4580         * elf/dl-load.h: New file.
4581         * elf/dl-load.c: Include it.
4582         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4583         Macros moved to dl-load.h.
4584         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4585         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4586         Use _dl_unmap_segments in place of __munmap.
4587         Break out segment-mapping loop into ...
4588         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4590 2014-04-03  Will Newton  <will.newton@linaro.org>
4592         * elf/dl-lookup.c (do_lookup_x): Remove comment
4593         referring to nested function and move variable
4594         declarations down to before first use.
4596 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
4598         [BZ #16799]
4599         [BZ #16800]
4600         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4601         with 0 numerator.
4602         * math/s_catanf.c (__catanf): Likewise.
4603         * math/s_catanh.c (__catanh): Likewise.
4604         * math/s_catanhf.c (__catanhf): Likewise.
4605         * math/s_catanhl.c (__catanhl): Likewise.
4606         * math/s_catanl.c (__catanl): Likewise.
4607         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4608         by positive zero when computing -Inf result.
4609         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4610         (catanh_test): Likewise.
4611         * sysdeps/i386/fpu/libm-test-ulps: Update.
4612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4614         [BZ #16789]
4615         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4616         instead of using underflowing value in computing result.
4617         * math/s_clog10.c (__clog10): Likewise.
4618         * math/s_clog10f.c (__clog10f): Likewise.
4619         * math/s_clog10l.c (__clog10l): Likewise.
4620         * math/s_clogf.c (__clogf): Likewise.
4621         * math/s_clogl.c (__clogl): Likewise.
4622         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4623         (clog10_test): Likewise.
4624         * sysdeps/i386/fpu/libm-test-ulps: Update.
4625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4627 2014-04-02  Alan Modra  <amodra@gmail.com>
4629         [BZ #16739]
4630         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4631         output when value is near a power of two.  Use int64_t for lx and
4632         remove casts.  Use decimal rather than hex exponent constants.
4633         Don't use long double multiplication when double will suffice.
4634         * math/libm-test.inc (nextafter_test_data): Add tests.
4635         * NEWS: Add 16739 and 16786 to bug list.
4637         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4639         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4641 2014-04-01  Will Newton  <will.newton@linaro.org>
4643         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4644         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
4646 2014-04-01  Florian Weimer  <fweimer@redhat.com>
4648         [BZ #13347]
4649         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4650         * nptl/tst-setuid2.c: New file.
4651         * nptl/Makefile (xtests): Add tst-setuid2.
4653 2014-04-01  Alan Modra  <amodra@gmail.com>
4655         [BZ #16786]
4656         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4658 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4660         [BZ #6803]
4661         [BZ #6804]
4662         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4663         set errno as appropriate.
4664         * math/w_scalbf.c (__scalbf): Likewise.
4665         * math/w_scalbl.c (__scalbl): Likewise.
4666         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4667         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4668         * math/libm-test.inc (scalb_test_data): Add errno expectations.
4669         Add more NaN tests.
4671         [BZ #16349]
4672         * math/w_atan2.c: Include <errno.h>.
4673         (__atan2): Set errno for result underflowing to zero.
4674         * math/w_atan2f.c: Include <errno.h>.
4675         (__atan2f): Set errno for result underflowing to zero.
4676         * math/w_atan2l.c: Include <errno.h>.
4677         (__atan2l): Set errno for result underflowing to zero.
4678         * math/auto-libm-test-in: Don't allow missing errno for some atan2
4679         tests.
4680         * math/auto-libm-test-out: Regenerated.
4682 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4684         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4685         Encode instruction correctly in little endian.
4686         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4687         Likewise.
4688         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4689         Likewise.
4690         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4691         Likewise.
4692         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4693         Likewise.
4695 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4697         [BZ #9894]
4698         * sysdeps/unix/sysv/linux/kernel-features.h
4699         [__sparc__ && !__arch64__ && !__sparc_v9__]
4700         (__ASSUME_SET_ROBUST_LIST): Do not define.
4701         [__sparc__ && !__arch64__ && !__sparc_v9__]
4702         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4703         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4704         Likewise.
4705         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4706         (__ASSUME_FUTEX_LOCK_PI): Undefine.
4707         (__ASSUME_REQUEUE_PI): Likewise.
4708         (__ASSUME_SET_ROBUST_LIST): Likewise.
4709         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4710         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4711         Undefine.
4712         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4713         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4714         Likewise.
4715         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4716         Likewise.
4717         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4718         Likewise.
4719         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4720         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4721         Undefine.
4722         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4723         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4724         Likewise.
4726         [BZ #16648]
4727         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4728         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4729         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4731 2014-03-31  Will Newton  <will.newton@linaro.org>
4733         * benchtests/Makefile (bench): Add ffs and ffsll to list
4734         of tests.
4735         * benchtests/ffs-inputs: New file.
4736         * benchtests/ffsll-inputs: Likewise.
4738 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
4740         [BZ #16770]
4741         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4742         too large before casting to int.
4743         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4744         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4745         * math/libm-test.inc (scalb_test_data): Add more tests.
4747 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4749         * benchtests/Makefile (DETAILED_OPT): New make option.
4750         (bench-func): Run benchmark program with -d if DETAILED_OPT is
4751         set.
4752         * benchtests/bench-skeleton.c: Include stdbool.h.
4753         (main): Store and print timings per input.
4754         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4755         member to each argument value.
4756         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4757         (_print_arg_data): Initialize per-input timing to 0.
4759         * benchtests/Makefile (timing-type): New binary.
4760         (bench-clean): Also remove bench-timing-type.
4761         (bench): New target for timing-type.
4762         (bench-func): Print output in JSON format.
4763         * benchtests/bench-skeleton.c (main): Print output in JSON
4764         format.
4765         * benchtests/bench-timing-type.c: New file.
4766         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4767         (TIMING_PRINT_STATS): Remove.
4768         * benchtests/scripts/bench.py (_print_arg_data): Store variant
4769         name separately.
4771         * benchtests/bench-modf.c: Remove.
4772         * benchtests/modf-inputs: New inputs file.
4774 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
4776         [BZ #16362]
4777         * math/s_clog10.c (M_PI_LOG10E): New macro.
4778         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4779         imaginary parts are 0.
4780         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4781         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4782         imaginary parts are 0.
4783         * math/s_clog10l.c (M_PI_LOG10El): New macro.
4784         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4785         imaginary parts are 0.
4786         * math/libm-test.inc (clog10_test_data): Update expected results
4787         for when real and imaginary parts are 0.
4789 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
4791         * elf/dl-load.c: Finish conversion of __builtin_expect into
4792         __glibc_{un}likely.
4794 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
4796         [BZ #16348]
4797         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4798         1+x for argument with exponent below -67.
4799         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4800         Likewise.
4801         * math/auto-libm-test-in: Add more tests of exp.
4802         * math/auto-libm-test-out: Regenerated.
4804 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4806         [BZ #16759]
4807         * inet/getnetgrent_r.c (get_nonempty_val): New function.
4808         (nscd_getnetgrent): Use it.
4810         [BZ #16760]
4811         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4812         of stpcpy.
4814 2014-03-27  Andi Kleen  <ak@linux.intel.com>
4816         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4817         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4818         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4819         (lll_robust_unlock): Remove out of line section. Use cfi
4820         intrinsics.
4821         (LLL_STUB_UNWIND_INFO*): Remove.
4822         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4823         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4824         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4825         (lll_robust_unlock): Remove out of line section. Use cfi
4826         intrinsics.
4827         (LLL_STUB_UNWIND_INFO*): Remove.
4829 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4831         [BZ #16758]
4832         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4833         blank values.
4835 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4837         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4839 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
4841         [BZ #16198]
4842         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4843         fnstenv.
4844         * math/test-fenv-preserve.c: New file.
4845         * math/Makefile (tests): Add test-fenv-preserve.
4847 2014-03-26  Will Newton <will.newton@linaro.org>
4849         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4851 2014-03-25  Roland McGrath  <roland@hack.frob.com>
4853         * scripts/versionlist.awk: Partition the version sets and emit all
4854         GLIBC_* (sorted) before all others (sorted).
4856 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4858         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4859         GLIBC_2.2.5 version.
4861 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4863         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4864         calls.
4866         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4867         previous change.
4869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4871 2014-03-25  Andreas Schwab  <schwab@suse.de>
4873         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4874         label to be used after in6ailist is initialized.
4876 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4878         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4879         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4881 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4883         [BZ #16357]
4884         [BZ #16599]
4885         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4886         min_plus_half.
4887         (fp_formats): Update initializers.
4888         (init_fp_formats): Initialize new field.
4889         (output_for_one_input_case): Allow underflow for results up to
4890         min_plus_half.
4891         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4892         * math/auto-libm-test-in: Don't mark some underflows from asin and
4893         atanh as spurious.
4894         * math/auto-libm-test-out: Regenerated.
4895         * sysdeps/i386/fpu/libm-test-ulps: Update.
4896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4898 2014-03-25  Andreas Schwab  <schwab@suse.de>
4900         * libio/Makefile (tst-ftell-partial-wide-ENV)
4901         (tst-ftell-active-handler-ENV): Define.
4903 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
4905         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4907 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4909         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4911 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4913         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4914         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4915         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4917 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4919         [BZ #16634]
4920         * elf/dl-load.c (open_verify): Add mode parameter.
4921         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4922         (open_path): Change from boolean 'secure' to complete flag 'mode'
4923         (_dl_map_object): Adjust.
4924         * elf/Makefile (tests): Add tst-dlopen-aout.
4925         * elf/tst-dlopen-aout.c: New test.
4927 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
4929         [BZ #16714]
4930         * sysdeps/unix/sysv/linux/s390/bits/stat.h
4931         (struct stat): Rename member pad0 to __glibc_reserved0.
4933         [BZ #16712]
4934         * sysdeps/s390/s390-32/bits/wordsize.h
4935         (__WORDSIZE32_SIZE_ULONG): New define.
4936         * sysdeps/s390/s390-64/bits/wordsize.h
4937         (__WORDSIZE32_SIZE_ULONG): Likewise.
4938         * sysdeps/generic/stdint.h (SIZE_MAX):
4939         Define as UL if __WORDSIZE32_SIZE_ULONG.
4941         [BZ #16713]
4942         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4943         (__glibc_reserved0): New variable.
4944         (sa_flags): Change type to int.
4946         * posix/Makefile (before-compile): Use += before-compile instead
4947         of a :=.
4949         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4950         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4952 2014-03-20  Andreas Schwab  <schwab@suse.de>
4954         [BZ #16743]
4955         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4956         non-matching result from nscd.
4958 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4960         * scripts/bench.py: Moved to ...
4961         * benchtests/scripts/bench.py: ... here.
4962         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4964 2014-03-24  Andreas Schwab  <schwab@suse.de>
4966         [BZ #16002]
4967         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4968         alloca_account and account alloca use for struct in6ailist.
4970 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4972         [BZ #16284]
4973         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4974         rounding mode to recompute results that overflow to infinity or
4975         underflow to zero.
4976         * math/auto-libm-test-in: Don't mark tests as expected to fail for
4977         bug 16284.
4978         * math/auto-libm-test-out: Regenerated.
4979         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4980         (ccosh_test): Likewise.
4981         (csin_test_data): Use plus_oflow.
4982         (csin_test): Use ALL_RM_TEST.
4983         (csinh_test_data): Use plus_oflow.
4984         (csinh_test): Use ALL_RM_TEST.
4985         * sysdeps/i386/fpu/libm-test-ulps: Update.
4986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4988 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
4990         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4991         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4992         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4994         [BZ #16731]
4995         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4996         when x - 1 is zero.
4997         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4998         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4999         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5000         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5001         argument is 1.
5002         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5003         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5004         zero.
5005         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5006         * sysdeps/i386/fpu/libm-test-ulps: Update.
5007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5009 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5011         * scripts/bench.pl: Remove file.
5012         * scripts/bench.py: New benchmark script.
5013         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5014         * benchtests/README: Mention python dependency.
5015         * scripts/pylintrc: New file.
5016         * scripts/pylint: New file.
5018         * bits/mathdef.h: Use #ifdef instead of #if.
5019         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5020         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5021         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5022         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5023         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5024         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5026 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5027             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5029         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5031         and strpbrk-ppc64 objects.
5032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5033         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5034         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5035         multiarch strpbrk for POWER7.
5036         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5037         multiarch strpbrk for PPC64.
5038         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5039         ifunc selector.
5040         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5041         strpbrk for POWER7.
5043 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5045         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5046         (atan_test): Likewise.
5047         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5048         (atanh_test): Use ALL_RM_TEST.
5049         (atan2_test_data): Likewise.
5050         (cabs_test): Likewise.
5051         (cacosh_test): Likewise.
5052         (carg_test): Likewise.
5053         (casin_test): Likewise.
5054         (casinh_test): Likewise.
5055         (cbrt_test): Likewise.
5056         (csqrt_test): Likewise.
5057         (erf_test): Likewise.
5058         (erfc_test): Likewise.
5059         (pow10_test): Likewise.
5060         (exp2_test): Likewise.
5061         (hypot_test): Likewise.
5062         (j0_test): Likewise.
5063         (j1_test): Likewise.
5064         (lgamma_test): Likewise.
5065         (gamma_test): Likewise.
5066         (sincos_test): Likewise.
5067         (tanh_test): Likewise.
5068         (y0_test): Likewise.
5069         (y1_test): Likewise.
5070         * sysdeps/i386/fpu/libm-test-ulps: Update.
5071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5073 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5075         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5077         and strcspn-ppc64 objects.
5078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5079         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5080         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5081         multiarch strcspn for POWER7.
5082         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5083         multiarch strcspn for PPC64.
5084         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5085         ifunc selector.
5086         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5087         strcspn for POWER7.
5089 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5091         * math/gen-libm-test.pl (generate_testfile): Expect only function
5092         name as argument to AUTO_TESTS_* and pass results for all rounding
5093         modes to parse_args.
5094         (parse_auto_input): Separate inputs of automatic tests from
5095         outputs before storing in %auto_tests.
5096         * math/libm-test.inc (acos_test_data): Update call to
5097         AUTO_TESTS_f_f.
5098         (acos_test): Use ALL_RM_TEST.
5099         (acos_tonearest_test_data): Remove.
5100         (acos_test_tonearest): Likewise.
5101         (acos_towardzero_test_data): Likewise.
5102         (acos_test_towardzero): Likewise.
5103         (acos_downward_test_data): Likewise.
5104         (acos_test_downward): Likewise.
5105         (acos_upward_test_data): Likewise.
5106         (acos_test_upward): Likewise.
5107         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5108         (asin_test_data): Likewise.
5109         (asin_test): Use ALL_RM_TEST.
5110         (asin_tonearest_test_data): Remove.
5111         (asin_test_tonearest): Likewise.
5112         (asin_towardzero_test_data): Likewise.
5113         (asin_test_towardzero): Likewise.
5114         (asin_downward_test_data): Likewise.
5115         (asin_test_downward): Likewise.
5116         (asin_upward_test_data): Likewise.
5117         (asin_test_upward): Likewise.
5118         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5119         (atan_test_data): Likewise.
5120         (atanh_test_data): Likewise.
5121         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5122         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5123         (carg_test_data): Likewise.
5124         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5125         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5126         (ccosh_test_data): Likewise.
5127         (cexp_test_data): Likewise.
5128         (clog_test_data): Likewise.
5129         (clog10_test_data): Likewise.
5130         (cos_test_data): Update call to AUTO_TESTS_f_f.
5131         (cos_test): Use ALL_RM_TEST.
5132         (cos_tonearest_test_data): Remove.
5133         (cos_test_tonearest): Likewise.
5134         (cos_towardzero_test_data): Likewise.
5135         (cos_test_towardzero): Likewise.
5136         (cos_downward_test_data): Likewise.
5137         (cos_test_downward): Likewise.
5138         (cos_upward_test_data): Likewise.
5139         (cos_test_upward): Likewise.
5140         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5141         (cosh_test): Use ALL_RM_TEST.
5142         (cosh_tonearest_test_data): Remove.
5143         (cosh_test_tonearest): Likewise.
5144         (cosh_towardzero_test_data): Likewise.
5145         (cosh_test_towardzero): Likewise.
5146         (cosh_downward_test_data): Likewise.
5147         (cosh_test_downward): Likewise.
5148         (cosh_upward_test_data): Likewise.
5149         (cosh_test_upward): Likewise.
5150         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5151         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5152         (ctan_test_data): Likewise.
5153         (ctan_test): Use ALL_RM_TEST.
5154         (ctan_tonearest_test_data): Remove.
5155         (ctan_test_tonearest): Likewise.
5156         (ctan_towardzero_test_data): Likewise.
5157         (ctan_test_towardzero): Likewise.
5158         (ctan_downward_test_data): Likewise.
5159         (ctan_test_downward): Likewise.
5160         (ctan_upward_test_data): Likewise.
5161         (ctan_test_upward): Likewise.
5162         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5163         (ctanh_test): Use ALL_RM_TEST.
5164         (ctanh_tonearest_test_data): Remove.
5165         (ctanh_test_tonearest): Likewise.
5166         (ctanh_towardzero_test_data): Likewise.
5167         (ctanh_test_towardzero): Likewise.
5168         (ctanh_downward_test_data): Likewise.
5169         (ctanh_test_downward): Likewise.
5170         (ctanh_upward_test_data): Likewise.
5171         (ctanh_test_upward): Likewise.
5172         (erf_test_data): Update call to AUTO_TESTS_f_f.
5173         (erfc_test_data): Likewise.
5174         (exp_test_data): Likewise.
5175         (exp_test): Use ALL_RM_TEST.
5176         (exp_tonearest_test_data): Remove.
5177         (exp_test_tonearest): Likewise.
5178         (exp_towardzero_test_data): Likewise.
5179         (exp_test_towardzero): Likewise.
5180         (exp_downward_test_data): Likewise.
5181         (exp_test_downward): Likewise.
5182         (exp_upward_test_data): Likewise.
5183         (exp_test_upward): Likewise.
5184         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5185         (exp10_test): Use ALL_RM_TEST.
5186         (exp10_tonearest_test_data): Remove.
5187         (exp10_test_tonearest): Likewise.
5188         (exp10_towardzero_test_data): Likewise.
5189         (exp10_test_towardzero): Likewise.
5190         (exp10_downward_test_data): Likewise.
5191         (exp10_test_downward): Likewise.
5192         (exp10_upward_test_data): Likewise.
5193         (exp10_test_upward): Likewise.
5194         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5195         (expm1_test_data): Likewise.
5196         (expm1_test): Use ALL_RM_TEST.
5197         (expm1_tonearest_test_data): Remove.
5198         (expm1_test_tonearest): Likewise.
5199         (expm1_towardzero_test_data): Likewise.
5200         (expm1_test_towardzero): Likewise.
5201         (expm1_downward_test_data): Likewise.
5202         (expm1_test_downward): Likewise.
5203         (expm1_upward_test_data): Likewise.
5204         (expm1_test_upward): Likewise.
5205         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5206         (fma_test): Use ALL_RM_TEST.
5207         (fma_towardzero_test_data): Remove.
5208         (fma_test_towardzero): Likewise.
5209         (fma_downward_test_data): Likewise.
5210         (fma_test_downward): Likewise.
5211         (fma_upward_test_data): Likewise.
5212         (fma_test_upward): Likewise.
5213         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5214         (j0_test_data): Update call to AUTO_TESTS_f_f.
5215         (j1_test_data): Likewise.
5216         (jn_test_data): Update call to AUTO_TESTS_if_f.
5217         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5218         (log_test_data): Update call to AUTO_TESTS_f_f.
5219         (log10_test_data): Likewise.
5220         (log1p_test_data): Likewise.
5221         (log2_test_data): Likewise.
5222         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5223         (pow_tonearest_test_data): Likewise.
5224         (sin_test_data): Update call to AUTO_TESTS_f_f.
5225         (sin_test): Use ALL_RM_TEST.
5226         (sin_tonearest_test_data): Remove.
5227         (sin_test_tonearest): Likewise.
5228         (sin_towardzero_test_data): Likewise.
5229         (sin_test_towardzero): Likewise.
5230         (sin_downward_test_data): Likewise.
5231         (sin_test_downward): Likewise.
5232         (sin_upward_test_data): Likewise.
5233         (sin_test_upward): Likewise.
5234         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5235         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5236         (sinh_test): Use ALL_RM_TEST.
5237         (sinh_tonearest_test_data): Remove.
5238         (sinh_test_tonearest): Likewise.
5239         (sinh_towardzero_test_data): Likewise.
5240         (sinh_test_towardzero): Likewise.
5241         (sinh_downward_test_data): Likewise.
5242         (sinh_test_downward): Likewise.
5243         (sinh_upward_test_data): Likewise.
5244         (sinh_test_upward): Likewise.
5245         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5246         (sqrt_test): Use ALL_RM_TEST.
5247         (sqrt_tonearest_test_data): Remove.
5248         (sqrt_test_tonearest): Likewise.
5249         (sqrt_towardzero_test_data): Likewise.
5250         (sqrt_test_towardzero): Likewise.
5251         (sqrt_downward_test_data): Likewise.
5252         (sqrt_test_downward): Likewise.
5253         (sqrt_upward_test_data): Likewise.
5254         (sqrt_test_upward): Likewise.
5255         (tan_test_data): Update call to AUTO_TESTS_f_f.
5256         (tan_test): Use ALL_RM_TEST.
5257         (tan_tonearest_test_data): Remove.
5258         (tan_test_tonearest): Likewise.
5259         (tan_towardzero_test_data): Likewise.
5260         (tan_test_towardzero): Likewise.
5261         (tan_downward_test_data): Likewise.
5262         (tan_test_downward): Likewise.
5263         (tan_upward_test_data): Likewise.
5264         (tan_test_upward): Likewise.
5265         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5266         (tgamma_test_data): Likewise.
5267         (y0_test_data): Likewise.
5268         (y1_test_data): Likewise.
5269         (yn_test_data): Update call to AUTO_TESTS_if_f.
5270         (main): Do not call removed functions.
5272 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5274         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5275         (ldexp_test_data): Remove.
5276         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5277         scalbn_test_data.
5278         (scalb_test): Use ALL_RM_TEST.
5280 2014-03-19  Andreas Schwab  <schwab@suse.de>
5282         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5284 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5286         [BZ #16649]
5287         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5288         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5289         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5290         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5291         (__ASSUME_PREADV): Undefine.
5292         (__ASSUME_PWRITEV): Likewise.
5294 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5296         * bits/mman-linux.h: Add comment about non-Linux use.
5297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5298         bits/mman-linux.h resting place.
5300         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5301         * bits/mman-linux.h: ... here.
5303 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5305         * conform/conformtest.pl: Add standard definition when calling C
5306         preprocessor on data files.
5307         (checknamespace): Remove unused variable.
5309 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5311         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5312         minus_oflow, plus_uflow and minus_uflow in expected results.
5313         * math/libm-test.inc (scalbn_test_data): Add more tests of
5314         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5315         minus_uflow.
5316         (scalbn_test): Use ALL_RM_TEST.
5317         (scalbln_test_data): Add more tests of negative arguments.  Use
5318         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5319         (scalbln_test): Use ALL_RM_TEST.
5321 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5323         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5325 2014-03-18  Will Newton  <will.newton@linaro.org>
5327         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5328         inaccurate comment.
5330 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5332         * Makerules [!subdir] (check-abi): Exit with error status if a
5333         test failed.
5335 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5337         * math/libm-test.inc (nearbyint_test_data): Include all tests used
5338         for rint.  Include results for all rounding modes.
5339         (nearbyint_test): Use ALL_RM_TEST.
5340         (rint_test_data): Include all tests used for nearbyint.
5342 2014-03-17  Will Newton  <will.newton@linaro.org>
5344         * nptl/sysdeps/pthread/pthread.h: Revert previous
5345         change.
5347         * sysdeps/generic/ldsodefs.h: Revert previous
5348         change.
5350         * libio/genops.c: Revert previous change.
5351         * libio/libioP.h: Likewise.
5352         * stdio-common/vfprintf.c: Likewise.
5354         * sysdeps/generic/math_private.h: Revert previous
5355         change.
5357         * sysdeps/generic/math_private.h: Check whether
5358         HAVE_RM_CTX is defined with #ifdef rather
5359         than #if.
5361         * argp/argp-fmtstream.h: Check whether
5362         __STRICT_ANSI__ is defined with #ifdef rather
5363         than #if.
5364         * argp/argp.h: Likewise.
5366         * libio/genops.c: Check whether
5367         _IO_JUMPS_OFFSET is defined with #ifdef rather
5368         than #if.
5369         * libio/libioP.h: Likewise.
5370         * stdio-common/vfprintf.c: Likewise.
5372         * sysdeps/generic/ldsodefs.h: Check whether
5373         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5374         than #if.
5376         * nptl/sysdeps/pthread/pthread.h: Check
5377         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5378         its value.
5380 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5382         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5383         setting O_APPEND.
5384         * libio/tst-ftell-active-handler.c (do_append_test): Add a
5385         test case.
5387         [BZ #16680]
5388         * libio/fileops.c (_IO_file_open): Seek to end of file but
5389         don't cache the offset.
5390         (get_file_offset): Remove function.
5391         (do_ftell): Use cached offset when available.
5392         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5393         don't cache the offset.
5394         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5395         case.
5396         (do_one_test): Call it.
5397         (do_ftell_test): Fix up expected old offset for a+ mode.
5398         * libio/wfileops.c (do_ftell_wide): Used cached offset when
5399         available.
5401         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5402         up test status with function return status.
5403         (do_write_test): Likewise.
5404         (do_append_test): Likewise.
5406         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5407         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5408         Remove.
5410 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5412         * math/gen-libm-test.pl (parse_args): Handle results specified for
5413         each rounding mode separately.
5414         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5415         tests and results from lrint_tonearest_test_data,
5416         lrint_towardzero_test_data, lrint_downward_test_data and
5417         lrint_upward_test_data.
5418         (lrint_test): Use ALL_RM_TEST.
5419         (lrint_tonearest_test_data): Remove.
5420         (lrint_test_tonearest): Likewise.
5421         (lrint_towardzero_test_data): Likewise.
5422         (lrint_test_towardzero): Likewise.
5423         (lrint_downward_test_data): Likewise.
5424         (lrint_test_downward): Likewise.
5425         (lrint_upward_test_data): Likewise.
5426         (lrint_test_upward): Likewise.
5427         (llrint_test_data): Merge in per-rounding-mode tests and results
5428         from llrint_tonearest_test_data, llrint_towardzero_test_data,
5429         llrint_downward_test_data and llrint_upward_test_data.
5430         (llrint_test): Use ALL_RM_TEST.
5431         (llrint_tonearest_test_data): Remove.
5432         (llrint_test_tonearest): Likewise.
5433         (llrint_towardzero_test_data): Likewise.
5434         (llrint_test_towardzero): Likewise.
5435         (llrint_downward_test_data): Likewise.
5436         (llrint_test_downward): Likewise.
5437         (llrint_upward_test_data): Likewise.
5438         (llrint_test_upward): Likewise.
5439         (rint_test_data): Merge in per-rounding-mode tests and results
5440         from rint_tonearest_test_data, rint_towardzero_test_data,
5441         rint_downward_test_data and rint_upward_test_data.  Add
5442         per-rounding-mode results for tests not in those arrays.
5443         (rint_test): Use ALL_RM_TEST.
5444         (rint_tonearest_test_data): Remove.
5445         (rint_test_tonearest): Likewise.
5446         (rint_towardzero_test_data): Likewise.
5447         (rint_test_towardzero): Likewise.
5448         (rint_downward_test_data): Likewise.
5449         (rint_test_downward): Likewise.
5450         (rint_upward_test_data): Likewise.
5451         (rint_test_upward): Likewise.
5452         (main): Don't call removed functions.
5454 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5456         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5457         "Compiled on ..." crapola.  It is anti-useful.
5459 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
5461         * scripts/evaluate-test.sh: Handle fourth argument to determine
5462         whether test run should stop on failure.
5463         * Makeconfig (stop-on-test-failure): New variable.
5464         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5465         $(stop-on-test-failure).
5466         * Makefile (tests): Give a summary of results from testing and
5467         exit with failure status if they include an ERROR or FAIL.
5468         (xtests): Likewise.
5469         * manual/install.texi (Configuring and compiling): Mention
5470         stop-on-test-failure=y.
5471         * INSTALL: Regenerated.
5473 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5475         * scripts/versionlist.awk: New file.
5476         * Makerules [$(build-shared) = yes]
5477         (postclean-generated): Add Versions.def, not Versions.def.v and
5478         Versions.def.v.i.
5479         ($(common-objpfx)Versions.def.v.i): Target removed.
5480         ($(common-objpfx)Versions.def): New target.
5481         ($(common-objpfx)Versions.all): Depend on that rather that
5482         $(common-objpfx)Versions.def.v.
5483         * Versions.def: File removed.
5485         * Makeconfig (+gccwarn): Add -Wundef.
5486         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5487         a dl-sysdep.h breaking its contract.
5488         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5489         * include/stackinfo.h: New file.
5490         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5491         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5492         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5493         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5494         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5495         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5496         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5497         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5498         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5499         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5500         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5501         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5502         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5503         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5504         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5506 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5508         [BZ #16707]
5509         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5510         implementation.
5511         * math/libm-test.inc (round_test_data): Add more tests.
5513         [BZ #16706]
5514         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5515         implementation.
5516         * math/libm-test.inc (nearbyint_test_data): Add more tests.
5518         [BZ #16701]
5519         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5520         implementation.
5521         * math/libm-test.inc (ceil_test_data): Add more tests.
5523         * math/libm-test.inc (trunc_test_data): Add more tests related to
5524         BZ#16414.
5526 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5528         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5529         with #if rather than #ifdef.
5530         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5532 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
5534         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5535         first.  Disable AVX-512 GCC support if assembler doesn't support
5536         it.
5537         * sysdeps/x86_64/configure: Regenerated.
5539 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
5541         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5542         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5543         (__old_pthread_attr_setstack): Likewise.
5544         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5545         [!_STACK_GROWS_DOWN]: Likewise.
5547 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
5549         * config.make.in (have-bash2): Delete.
5550         * configure.ac (libc_cv_have_bash2): Delete.
5551         * configure: Regenerate.
5552         * elf/Makefile (common-ldd-rewrite): Rename to ...
5553         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
5554         (sh-ldd-rewrite): Delete.
5555         (bash-ldd-rewrite): Delete.
5556         (have-bash2): Delete checks.
5557         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5558         ldd-rewrite.
5560         * config.make.in (have-ksh): Delete.
5561         (KSH): Delete.
5562         * configure.ac (libc_cv_have_ksh): Delete.
5563         * configure: Regenerate.
5565         * elf/Makefile: Delete $(have-ksh) check.
5566         ($(objpfx)sotruss): Change KSH to BASH.
5567         * elf/sotruss.ksh: Rename to ...
5568         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
5569         function style to match POSIX.  Drop ksh vim mode setting.
5571         * manual/time.texi (Specifying the Time Zone with TZ): Change
5572         Tuesday to Thursday.
5574         * debug/tst-longjmp_chk2.c: Update header comment.
5575         (stackoverflow_handler): Add comment.  Call assert on pass value.
5577 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
5579         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5580         (HAVE_AVX512_ASM_SUPPORT): Likewise.
5581         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5582         (La_x86_64_vector): Add zmm.
5583         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5584         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5585         ($(objpfx)tst-audit10): New target.
5586         ($(objpfx)tst-audit10.out): Likewise.
5587         (tst-audit10-ENV): New.
5588         (AVX512-CFLAGS): Likewise.
5589         (CFLAGS-tst-audit10.c): Likewise.
5590         (CFLAGS-tst-auditmod10a.c): Likewise.
5591         (CFLAGS-tst-auditmod10b.c): Likewise.
5592         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5593         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5594         * sysdeps/x86_64/configure: Regenerated.
5595         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5596         AVX-512 zmm register support.
5597         (_dl_x86_64_save_sse): Likewise.
5598         (_dl_x86_64_restore_sse): Likewise.
5599         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5600         size vector registers.
5601         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5602         (ZMM_SIZE): Likewise.
5603         * sysdeps/x86_64/tst-audit10.c: New file.
5604         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5605         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5607 2014-03-13  Roland McGrath  <roland@hack.frob.com>
5609         * configure.ac (HAVE_EHDR_START): New check.
5610         * configure: Regenerated.
5611         * config.h.in (HAVE_EHDR_START): New #undef.
5612         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5613         assuming the lowest-addressed segment maps the start of the file.
5615 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
5617         * INSTALL: Regenerated.
5619 2014-03-13  Will Newton  <will.newton@linaro.org>
5621         * manual/setjmp.texi (System V contexts): Improve
5622         clarity and grammar of documentation.
5624 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5626         [BZ #16381]
5627         * elf/Makefile (tests): Add tst-pie2.
5628         (tests-pie): Add tst-pie2.
5629         * elf/tst-pie2.c: New file.
5630         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5631         for ET_EXEC.
5632         * elf/rtld.c (map_doit): Load executable as lt_executable.
5633         (dl_main): Likewise.
5635 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
5637         [BZ #16642]
5638         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5639         (__ASSUME_PSELECT): Undefine.
5641 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5643         [BZ #16689]
5644         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5645         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5646         static build.
5647         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5648         selector for static builds.
5650 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5652         [BZ #16695]
5653         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5654         key in the buffer.
5656 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5658         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5659         IFUNC selector for static builds.
5661 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
5663         * sysdeps/mips/math_private.h [__mips_hard_float]
5664         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5665         libc_feresetround_mips_ctx.
5666         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5667         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5668         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5670         [BZ #16677]
5671         * math/s_nextafter.c (__nextafter): Do not return value from
5672         overflowing computation.
5673         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5674         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5675         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5676         Likewise.
5677         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5678         Likewise.
5679         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5680         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5682 2014-03-11  Roland McGrath  <roland@hack.frob.com>
5684         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5685         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5686         Move sfi_sp use from the load-multiple (that no longer sets sp) to
5687         the new mov targetting sp.
5689 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5691         [BZ #16683]
5692         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5693         Define it for static builds as well.
5694         (NO_BZERO_IMPL): Likewise.
5696 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5698         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5699         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5700         multiarch strspn for PPC64.
5701         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5702         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5704         (__libc_ifunc_impl_list): Likewise.
5705         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5706         multiarch optimizations
5707         * string/strspn.c (strspn): Using macro to redefine symbol name.
5709 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5710             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5712         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5713         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5714         multiarch strncat for PPC64.
5715         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5716         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5718         (__libc_ifunc_impl_list): Likewise.
5719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5720         multiarch optimizations
5722 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5724         [BZ #16639]
5725         * nscd/nscd.service: Make service type forking.
5727 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5729         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5730         sign in non default rounding modes.
5731         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5733 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
5735         * math/libm-test.inc (ALL_RM_TEST): New macro.
5736         (ceil_test): Use ALL_RM_TEST.
5737         (cimag_test): Likewise.
5738         (conj_test): Likewise.
5739         (copysign_test): Likewise.
5740         (cproj_test): Likewise.
5741         (creal_test): Likewise.
5742         (fabs_test): Likewise.
5743         (floor_test): Likewise.
5744         (fmax_test): Likewise.
5745         (fmin_test): Likewise.
5746         (fmod_test): Likewise.
5747         (fpclassify_test): Likewise.
5748         (frexp_test): Likewise.
5749         (ilogb_test): Likewise.
5750         (isfinite_test): Likewise.
5751         (finite_test): Likewise.
5752         (isgreater_test): Likewise.
5753         (isgreaterequal_test): Likewise.
5754         (isinf_test): Likewise.
5755         (isless_test): Likewise.
5756         (islessequal_test): Likewise.
5757         (islessgreater_test): Likewise.
5758         (isnan_test): Likewise.
5759         (isnormal_test): Likewise.
5760         (issignaling_test): Likewise.
5761         (isunordered_test): Likewise.
5762         (logb_test): Likewise.
5763         (logb_downward_test_data): Remove.
5764         (logb_test_downward): Likewise.
5765         (lround_test): Use ALL_RM_TEST.
5766         (llround_test): Likewise.
5767         (modf_test): Likewise.
5768         (nexttoward_test): Likewise.
5769         (remainder_test): Likewise.
5770         (drem_test): Likewise.
5771         (remainder_tonearest_test_data): Likewise.
5772         (remainder_test_tonearest): Likewise.
5773         (drem_test_tonearest): Likewise.
5774         (remainder_towardzero_test_data): Likewise.
5775         (remainder_test_towardzero): Likewise.
5776         (drem_test_towardzero): Likewise.
5777         (remainder_downward_test_data): Likewise.
5778         (remainder_test_downward): Likewise.
5779         (drem_test_downward): Likewise.
5780         (remainder_upward_test_data): Likewise.
5781         (remainder_test_upward): Likewise.
5782         (drem_test_upward): Likewise.
5783         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
5784         (round_test): Use ALL_RM_TEST.
5785         (signbit_test): Likewise.
5786         (trunc_test): Likewise.
5787         (significand_test): Likewise.
5788         (main): Don't call removed functions.
5790 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5792         [BZ #16674]
5793         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5794         || __USE_XOPEN2K8].
5795         (ILL_ILLOPN): Likewise.
5796         (ILL_ILLADR): Likewise.
5797         (ILL_ILLTRP): Likewise.
5798         (ILL_PRVOPC): Likewise.
5799         (ILL_PRVREG): Likewise.
5800         (ILL_COPROC): Likewise.
5801         (ILL_BADSTK): Likewise.
5802         (FPE_INTDIV): Likewise.
5803         (FPE_INTOVF): Likewise.
5804         (FPE_FLTDIV): Likewise.
5805         (FPE_FLTOVF): Likewise.
5806         (FPE_FLTUND): Likewise.
5807         (FPE_FLTRES): Likewise.
5808         (FPE_FLTINV): Likewise.
5809         (FPE_FLTSUB): Likewise.
5810         (SEGV_MAPERR): Likewise.
5811         (SEGV_ACCERR): Likewise.
5812         (BUS_ADRALN): Likewise.
5813         (BUS_ADRERR): Likewise.
5814         (BUS_OBJERR): Likewise.
5815         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5816         (TRAP_TRACE): Likewise.
5817         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5818         __USE_XOPEN2K8].
5819         (CLD_KILLED): Likewise.
5820         (CLD_DUMPED): Likewise.
5821         (CLD_TRAPPED): Likewise.
5822         (CLD_STOPPED): Likewise.
5823         (CLD_CONTINUED): Likewise.
5824         (POLL_IN): Likewise.
5825         (POLL_OUT): Likewise.
5826         (POLL_MSG): Likewise.
5827         (POLL_ERR): Likewise.
5828         (POLL_PRI): Likewise.
5829         (POLL_HUP): Likewise.
5830         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5831         Likewise.
5832         (ILL_ILLOPN): Likewise.
5833         (ILL_ILLADR): Likewise.
5834         (ILL_ILLTRP): Likewise.
5835         (ILL_PRVOPC): Likewise.
5836         (ILL_PRVREG): Likewise.
5837         (ILL_COPROC): Likewise.
5838         (ILL_BADSTK): Likewise.
5839         (FPE_INTDIV): Likewise.
5840         (FPE_INTOVF): Likewise.
5841         (FPE_FLTDIV): Likewise.
5842         (FPE_FLTOVF): Likewise.
5843         (FPE_FLTUND): Likewise.
5844         (FPE_FLTRES): Likewise.
5845         (FPE_FLTINV): Likewise.
5846         (FPE_FLTSUB): Likewise.
5847         (SEGV_MAPERR): Likewise.
5848         (SEGV_ACCERR): Likewise.
5849         (BUS_ADRALN): Likewise.
5850         (BUS_ADRERR): Likewise.
5851         (BUS_OBJERR): Likewise.
5852         (BUS_MCEERR_AR): Likewise.
5853         (BUS_MCEERR_AO): Likewise.
5854         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5855         (TRAP_TRACE): Likewise.
5856         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5857         __USE_XOPEN2K8].
5858         (CLD_KILLED): Likewise.
5859         (CLD_DUMPED): Likewise.
5860         (CLD_TRAPPED): Likewise.
5861         (CLD_STOPPED): Likewise.
5862         (CLD_CONTINUED): Likewise.
5863         (POLL_IN): Likewise.
5864         (POLL_OUT): Likewise.
5865         (POLL_MSG): Likewise.
5866         (POLL_ERR): Likewise.
5867         (POLL_PRI): Likewise.
5868         (POLL_HUP): Likewise.
5869         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5870         (ILL_ILLOPN): Likewise.
5871         (ILL_ILLADR): Likewise.
5872         (ILL_ILLTRP): Likewise.
5873         (ILL_PRVOPC): Likewise.
5874         (ILL_PRVREG): Likewise.
5875         (ILL_COPROC): Likewise.
5876         (ILL_BADSTK): Likewise.
5877         (FPE_INTDIV): Likewise.
5878         (FPE_INTOVF): Likewise.
5879         (FPE_FLTDIV): Likewise.
5880         (FPE_FLTOVF): Likewise.
5881         (FPE_FLTUND): Likewise.
5882         (FPE_FLTRES): Likewise.
5883         (FPE_FLTINV): Likewise.
5884         (FPE_FLTSUB): Likewise.
5885         (SEGV_MAPERR): Likewise.
5886         (SEGV_ACCERR): Likewise.
5887         (BUS_ADRALN): Likewise.
5888         (BUS_ADRERR): Likewise.
5889         (BUS_OBJERR): Likewise.
5890         (BUS_MCEERR_AR): Likewise.
5891         (BUS_MCEERR_AO): Likewise.
5892         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5893         (TRAP_TRACE): Likewise.
5894         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5895         __USE_XOPEN2K8].
5896         (CLD_KILLED): Likewise.
5897         (CLD_DUMPED): Likewise.
5898         (CLD_TRAPPED): Likewise.
5899         (CLD_STOPPED): Likewise.
5900         (CLD_CONTINUED): Likewise.
5901         (POLL_IN): Likewise.
5902         (POLL_OUT): Likewise.
5903         (POLL_MSG): Likewise.
5904         (POLL_ERR): Likewise.
5905         (POLL_PRI): Likewise.
5906         (POLL_HUP): Likewise.
5907         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5908         Likewise.
5909         (ILL_ILLOPN): Likewise.
5910         (ILL_ILLADR): Likewise.
5911         (ILL_ILLTRP): Likewise.
5912         (ILL_PRVOPC): Likewise.
5913         (ILL_PRVREG): Likewise.
5914         (ILL_COPROC): Likewise.
5915         (ILL_BADSTK): Likewise.
5916         (ILL_BADIADDR): Likewise.
5917         (ILL_BREAK): Likewise.
5918         (FPE_INTDIV): Likewise.
5919         (FPE_INTOVF): Likewise.
5920         (FPE_FLTDIV): Likewise.
5921         (FPE_FLTOVF): Likewise.
5922         (FPE_FLTUND): Likewise.
5923         (FPE_FLTRES): Likewise.
5924         (FPE_FLTINV): Likewise.
5925         (FPE_FLTSUB): Likewise.
5926         (FPE_DECOVF): Likewise.
5927         (FPE_DECDIV): Likewise.
5928         (FPE_DECERR): Likewise.
5929         (FPE_INVASC): Likewise.
5930         (FPE_INVDEC): Likewise.
5931         (SEGV_MAPERR): Likewise.
5932         (SEGV_ACCERR): Likewise.
5933         (SEGV_PSTKOVF): Likewise.
5934         (BUS_ADRALN): Likewise.
5935         (BUS_ADRERR): Likewise.
5936         (BUS_OBJERR): Likewise.
5937         (BUS_MCEERR_AR): Likewise.
5938         (BUS_MCEERR_AO): Likewise.
5939         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5940         (TRAP_TRACE): Likewise.
5941         (TRAP_BRANCH): Likewise.
5942         (TRAP_HWBKPT): Likewise.
5943         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5944         __USE_XOPEN2K8].
5945         (CLD_KILLED): Likewise.
5946         (CLD_DUMPED): Likewise.
5947         (CLD_TRAPPED): Likewise.
5948         (CLD_STOPPED): Likewise.
5949         (CLD_CONTINUED): Likewise.
5950         (POLL_IN): Likewise.
5951         (POLL_OUT): Likewise.
5952         (POLL_MSG): Likewise.
5953         (POLL_ERR): Likewise.
5954         (POLL_PRI): Likewise.
5955         (POLL_HUP): Likewise.
5956         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5957         (ILL_ILLOPN): Likewise.
5958         (ILL_ILLADR): Likewise.
5959         (ILL_ILLTRP): Likewise.
5960         (ILL_PRVOPC): Likewise.
5961         (ILL_PRVREG): Likewise.
5962         (ILL_COPROC): Likewise.
5963         (ILL_BADSTK): Likewise.
5964         (FPE_INTDIV): Likewise.
5965         (FPE_INTOVF): Likewise.
5966         (FPE_FLTDIV): Likewise.
5967         (FPE_FLTOVF): Likewise.
5968         (FPE_FLTUND): Likewise.
5969         (FPE_FLTRES): Likewise.
5970         (FPE_FLTINV): Likewise.
5971         (FPE_FLTSUB): Likewise.
5972         (SEGV_MAPERR): Likewise.
5973         (SEGV_ACCERR): Likewise.
5974         (BUS_ADRALN): Likewise.
5975         (BUS_ADRERR): Likewise.
5976         (BUS_OBJERR): Likewise.
5977         (BUS_MCEERR_AR): Likewise.
5978         (BUS_MCEERR_AO): Likewise.
5979         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5980         (TRAP_TRACE): Likewise.
5981         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5982         __USE_XOPEN2K8].
5983         (CLD_KILLED): Likewise.
5984         (CLD_DUMPED): Likewise.
5985         (CLD_TRAPPED): Likewise.
5986         (CLD_STOPPED): Likewise.
5987         (CLD_CONTINUED): Likewise.
5988         (POLL_IN): Likewise.
5989         (POLL_OUT): Likewise.
5990         (POLL_MSG): Likewise.
5991         (POLL_ERR): Likewise.
5992         (POLL_PRI): Likewise.
5993         (POLL_HUP): Likewise.
5994         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5995         (ILL_ILLOPN): Likewise.
5996         (ILL_ILLADR): Likewise.
5997         (ILL_ILLTRP): Likewise.
5998         (ILL_PRVOPC): Likewise.
5999         (ILL_PRVREG): Likewise.
6000         (ILL_COPROC): Likewise.
6001         (ILL_BADSTK): Likewise.
6002         (FPE_INTDIV): Likewise.
6003         (FPE_INTOVF): Likewise.
6004         (FPE_FLTDIV): Likewise.
6005         (FPE_FLTOVF): Likewise.
6006         (FPE_FLTUND): Likewise.
6007         (FPE_FLTRES): Likewise.
6008         (FPE_FLTINV): Likewise.
6009         (FPE_FLTSUB): Likewise.
6010         (SEGV_MAPERR): Likewise.
6011         (SEGV_ACCERR): Likewise.
6012         (BUS_ADRALN): Likewise.
6013         (BUS_ADRERR): Likewise.
6014         (BUS_OBJERR): Likewise.
6015         (BUS_MCEERR_AR): Likewise.
6016         (BUS_MCEERR_AO): Likewise.
6017         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6018         (TRAP_TRACE): Likewise.
6019         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6020         __USE_XOPEN2K8].
6021         (CLD_KILLED): Likewise.
6022         (CLD_DUMPED): Likewise.
6023         (CLD_TRAPPED): Likewise.
6024         (CLD_STOPPED): Likewise.
6025         (CLD_CONTINUED): Likewise.
6026         (POLL_IN): Likewise.
6027         (POLL_OUT): Likewise.
6028         (POLL_MSG): Likewise.
6029         (POLL_ERR): Likewise.
6030         (POLL_PRI): Likewise.
6031         (POLL_HUP): Likewise.
6032         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6033         (ILL_ILLOPN): Likewise.
6034         (ILL_ILLADR): Likewise.
6035         (ILL_ILLTRP): Likewise.
6036         (ILL_PRVOPC): Likewise.
6037         (ILL_PRVREG): Likewise.
6038         (ILL_COPROC): Likewise.
6039         (ILL_BADSTK): Likewise.
6040         (FPE_INTDIV): Likewise.
6041         (FPE_INTOVF): Likewise.
6042         (FPE_FLTDIV): Likewise.
6043         (FPE_FLTOVF): Likewise.
6044         (FPE_FLTUND): Likewise.
6045         (FPE_FLTRES): Likewise.
6046         (FPE_FLTINV): Likewise.
6047         (FPE_FLTSUB): Likewise.
6048         (SEGV_MAPERR): Likewise.
6049         (SEGV_ACCERR): Likewise.
6050         (BUS_ADRALN): Likewise.
6051         (BUS_ADRERR): Likewise.
6052         (BUS_OBJERR): Likewise.
6053         (BUS_MCEERR_AR): Likewise.
6054         (BUS_MCEERR_AO): Likewise.
6055         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6056         (TRAP_TRACE): Likewise.
6057         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6058         __USE_XOPEN2K8].
6059         (CLD_KILLED): Likewise.
6060         (CLD_DUMPED): Likewise.
6061         (CLD_TRAPPED): Likewise.
6062         (CLD_STOPPED): Likewise.
6063         (CLD_CONTINUED): Likewise.
6064         (POLL_IN): Likewise.
6065         (POLL_OUT): Likewise.
6066         (POLL_MSG): Likewise.
6067         (POLL_ERR): Likewise.
6068         (POLL_PRI): Likewise.
6069         (POLL_HUP): Likewise.
6070         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6071         (ILL_ILLOPN): Likewise.
6072         (ILL_ILLADR): Likewise.
6073         (ILL_ILLTRP): Likewise.
6074         (ILL_PRVOPC): Likewise.
6075         (ILL_PRVREG): Likewise.
6076         (ILL_COPROC): Likewise.
6077         (ILL_BADSTK): Likewise.
6078         (ILL_DBLFLT): Likewise.
6079         (ILL_HARDWALL): Likewise.
6080         (FPE_INTDIV): Likewise.
6081         (FPE_INTOVF): Likewise.
6082         (FPE_FLTDIV): Likewise.
6083         (FPE_FLTOVF): Likewise.
6084         (FPE_FLTUND): Likewise.
6085         (FPE_FLTRES): Likewise.
6086         (FPE_FLTINV): Likewise.
6087         (FPE_FLTSUB): Likewise.
6088         (SEGV_MAPERR): Likewise.
6089         (SEGV_ACCERR): Likewise.
6090         (BUS_ADRALN): Likewise.
6091         (BUS_ADRERR): Likewise.
6092         (BUS_OBJERR): Likewise.
6093         (BUS_MCEERR_AR): Likewise.
6094         (BUS_MCEERR_AO): Likewise.
6095         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6096         (TRAP_TRACE): Likewise.
6097         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6098         __USE_XOPEN2K8].
6099         (CLD_KILLED): Likewise.
6100         (CLD_DUMPED): Likewise.
6101         (CLD_TRAPPED): Likewise.
6102         (CLD_STOPPED): Likewise.
6103         (CLD_CONTINUED): Likewise.
6104         (POLL_IN): Likewise.
6105         (POLL_OUT): Likewise.
6106         (POLL_MSG): Likewise.
6107         (POLL_ERR): Likewise.
6108         (POLL_PRI): Likewise.
6109         (POLL_HUP): Likewise.
6110         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6111         (ILL_ILLOPN): Likewise.
6112         (ILL_ILLADR): Likewise.
6113         (ILL_ILLTRP): Likewise.
6114         (ILL_PRVOPC): Likewise.
6115         (ILL_PRVREG): Likewise.
6116         (ILL_COPROC): Likewise.
6117         (ILL_BADSTK): Likewise.
6118         (FPE_INTDIV): Likewise.
6119         (FPE_INTOVF): Likewise.
6120         (FPE_FLTDIV): Likewise.
6121         (FPE_FLTOVF): Likewise.
6122         (FPE_FLTUND): Likewise.
6123         (FPE_FLTRES): Likewise.
6124         (FPE_FLTINV): Likewise.
6125         (FPE_FLTSUB): Likewise.
6126         (SEGV_MAPERR): Likewise.
6127         (SEGV_ACCERR): Likewise.
6128         (BUS_ADRALN): Likewise.
6129         (BUS_ADRERR): Likewise.
6130         (BUS_OBJERR): Likewise.
6131         (BUS_MCEERR_AR): Likewise.
6132         (BUS_MCEERR_AO): Likewise.
6133         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6134         (TRAP_TRACE): Likewise.
6135         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6136         __USE_XOPEN2K8].
6137         (CLD_KILLED): Likewise.
6138         (CLD_DUMPED): Likewise.
6139         (CLD_TRAPPED): Likewise.
6140         (CLD_STOPPED): Likewise.
6141         (CLD_CONTINUED): Likewise.
6142         (POLL_IN): Likewise.
6143         (POLL_OUT): Likewise.
6144         (POLL_MSG): Likewise.
6145         (POLL_ERR): Likewise.
6146         (POLL_PRI): Likewise.
6147         (POLL_HUP): Likewise.
6148         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6149         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6151         [BZ #16670]
6152         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6153         before #include of <time.h>.
6154         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6155         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6156         (test-xfail-UNIX98/sched.h/conform): Likewise.
6158 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6160         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6161         error absence of trapping exception support.
6162         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6164 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6166         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6167         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6168         * timezone/Makefile (testdata): Move definition above include of
6169         Rules.
6170         (test-zones): New variable.
6171         (tests-special): Add zone files.
6172         (build-testdata): Use $(evaluate-test).
6174         * elf/Makefile (tests-special): Rename tests to end with .out.
6175         ($(objpfx)noload-mem): Likewise.
6176         ($(objpfx)tst-leaks1-mem): Likewise.
6177         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6178         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6179         $(objpfx)test-iconvconfig.out.
6180         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6181         set -e inside subshell and redirect output to file.
6182         * iconvdata/Makefile (generated): Rename tests to end with .out.
6183         Correct type.
6184         (tests-special): Rename tests to end with .out.
6185         ($(objpfx)mtrace-tst-loading): Likewise.
6186         * intl/Makefile (generated): Likewise.
6187         (tests-special): Likewise.
6188         ($(objpfx)mtrace-tst-gettext): Likewise.
6189         * misc/Makefile (generated): Likewise.
6190         (tests-special): Likewise.
6191         ($(objpfx)tst-error1-mem): Likewise.
6192         * nptl/Makefile (tests-special): Likewise.
6193         ($(objpfx)tst-stack3-mem): Likewise.
6194         (generated): Likewise.
6195         * posix/Makefile (generated): Likewise.
6196         (tests-special): Likewise.
6197         (xtests-special): Likewise.
6198         ($(objpfx)tst-fnmatch-mem): Likewise.
6199         ($(objpfx)bug-regex2-mem): Likewise.
6200         ($(objpfx)bug-regex14-mem): Likewise.
6201         ($(objpfx)bug-regex21-mem): Likewise.
6202         ($(objpfx)bug-regex31-mem): Likewise.
6203         ($(objpfx)tst-vfork3-mem): Likewise.
6204         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6205         ($(objpfx)tst-pcre-mem): Likewise.
6206         ($(objpfx)tst-boost-mem): Likewise.
6207         ($(objpfx)bug-ga2-mem): Likewise.
6208         ($(objpfx)bug-glob2-mem): Likewise.
6209         * resolv/Makefile (generate): Likewise.
6210         (tests-special): Likewise.
6211         (xtests-special): Likewise.
6212         (generated): Likewise.
6213         ($(objpfx)mtrace-tst-leaks): Likewise.
6214         ($(objpfx)mtrace-tst-leaks2): Likewise.
6216         * scripts/merge-test-results.sh: New file.
6217         * Makefile (tests-special-notdir): New variable.
6218         (tests): Run merge-test-results.sh.
6219         (xtests): Likewise.
6220         * Rules (tests-special-notdir): New variable.
6221         (xtests-special-notdir): Likewise.
6222         (tests): Run merge-test-results.sh
6223         (xtests): Likewise.
6225         * Makeconfig (test-xfail-name): New variable.
6226         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6227         compute variable name for expected failures.
6228         * conform/Makefile (conformtest-headers-data): New variable.
6229         (conformtest-standards): Likewise.
6230         (conformtest-headers-ISO): Likewise.
6231         (conformtest-headers-ISO99): Likewise.
6232         (conformtest-headers-ISO11): Likewise.
6233         (conformtest-headers-POSIX): Likewise.
6234         (conformtest-headers-XPG3): Likewise.
6235         (conformtest-headers-XPG4): Likewise.
6236         (conformtest-headers-UNIX98): Likewise.
6237         (conformtest-headers-XOPEN2K): Likewise.
6238         (conformtest-headers-POSIX2008): Likewise.
6239         (conformtest-headers-XOPEN2K8): Likewise.
6240         (conformtest-header-list-base): Likewise.
6241         (conformtest-header-list-tests): Likewise.
6242         (conformtest-header-base): Likewise.
6243         (conformtest-header-tests): Likewise.
6244         (tests-special): Add $(conformtest-header-list-tests).  If
6245         [$(fast-check) && !$(cross-compiling)], add
6246         $(conformtest-header-tests) instead of
6247         $(objpfx)run-conformtest.out.
6248         (generated): Add $(conformtest-header-list-base).  If
6249         [$(fast-check) && !$(cross-compiling)], add
6250         $(conformtest-header-base).  Remove previous setting.
6251         ($(conformtest-header-list-tests)): New target.
6252         (test-xfail-run-conformtest): Remove variable.
6253         ($(objpfx)run-conformtest.out): Remove target.
6254         (test-xfail-ISO11/complex.h/conform): New variable.
6255         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6256         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6257         (test-xfail-XPG3/varargs.h/conform): Likewise.
6258         (test-xfail-XPG4/varargs.h/conform): Likewise.
6259         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6260         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6261         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6262         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6263         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6264         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6265         (test-xfail-XPG3/ftw.h/conform): Likewise.
6266         (test-xfail-XPG3/grp.h/conform): Likewise.
6267         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6268         (test-xfail-XPG3/limits.h/conform): Likewise.
6269         (test-xfail-XPG3/pwd.h/conform): Likewise.
6270         (test-xfail-XPG3/search.h/conform): Likewise.
6271         (test-xfail-XPG3/signal.h/conform): Likewise.
6272         (test-xfail-XPG3/stdio.h/conform): Likewise.
6273         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6274         (test-xfail-XPG3/string.h/conform): Likewise.
6275         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6276         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6277         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6278         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6279         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6280         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6281         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6282         (test-xfail-XPG3/termios.h/conform): Likewise.
6283         (test-xfail-XPG3/time.h/conform): Likewise.
6284         (test-xfail-XPG3/unistd.h/conform): Likewise.
6285         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6286         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6287         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6288         (test-xfail-XPG4/netdb.h/conform): Likewise.
6289         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6290         (test-xfail-XPG4/signal.h/conform): Likewise.
6291         (test-xfail-XPG4/stdio.h/conform): Likewise.
6292         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6293         (test-xfail-XPG4/stropts.h/conform): Likewise.
6294         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6295         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6296         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6297         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6298         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6299         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6300         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6301         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6302         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6303         (test-xfail-XPG4/termios.h/conform): Likewise.
6304         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6305         (test-xfail-XPG4/unistd.h/conform): Likewise.
6306         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6307         (test-xfail-POSIX/sched.h/conform): Likewise.
6308         (test-xfail-POSIX/signal.h/conform): Likewise.
6309         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6310         (test-xfail-POSIX/tar.h/conform): Likewise.
6311         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6312         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6313         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6314         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6315         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6316         (test-xfail-UNIX98/sched.h/conform): Likewise.
6317         (test-xfail-UNIX98/signal.h/conform): Likewise.
6318         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6319         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6320         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6321         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6322         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6323         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6324         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6325         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6326         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6327         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6328         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6329         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6330         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6331         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6332         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6333         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6334         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6335         (test-xfail-XOPEN2K/math.h/conform): Likewise.
6336         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6337         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6338         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6339         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6340         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6341         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6342         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6343         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6344         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6345         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6346         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6347         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6348         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6349         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6350         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6351         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6352         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6353         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6354         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6355         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6356         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6357         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6358         (test-xfail-POSIX2008/signal.h/conform): Likewise.
6359         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6360         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6361         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6362         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6363         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6364         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6365         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6366         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6367         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6368         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6369         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6370         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6371         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6372         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6373         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6374         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6375         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6376         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6377         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6378         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6379         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6380         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6381         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6382         (conformtest-cc-flags): Likewise.
6383         ($(conformtest-header-tests): New target.
6384         * conform/check-header-lists.sh: New file.
6385         * conform/run-conformtest.sh: Remove.
6387         * conform/conformtest.pl: Allow ' and \ in values given for
6388         constants.
6389         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6390         inclusion.
6391         [POSIX] (sys/types.h): Likewise.
6392         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6393         inclusion.
6394         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6395         inclusion.
6396         * conform/data/signal.h-data (SIGIO): Remove expectation.
6397         [XPG3] (SIGBUS): Do not expect.
6398         [POSIX || XPG3] (SIGPOLL): Likewise.
6399         [POSIX || XPG3] (SIGPROF): Likewise.
6400         [POSIX || XPG3] (SIGSYS): Likewise.
6401         [XPG3] (SIGTRAP): Likewise.
6402         [POSIX || XPG3] (SIGURG): Likewise.
6403         [POSIX || XPG3] (SIGVTALRM): Likewise.
6404         [POSIX || XPG3] (SIGXCPU): Likewise.
6405         [POSIX || XPG3] (SIGXFSZ): Likewise.
6406         [POSIX] (SA_SIGINFO): Expect.
6407         [XPG3] (siginfo_t): Do not expect type or contents.
6408         [POSIX] (si_pid): Do not expect element.
6409         [POSIX] (si_uid): Likewise.
6410         [POSIX] (si_addr): Likewise.
6411         [POSIX] (si_status): Likewise.
6412         [POSIX] (si_band): Likewise.
6413         [XPG4] (si_value): Likewise.
6414         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6415         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6416         [POSIX || XPG3] (ILL_ILLADR): Likewise.
6417         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6418         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6419         [POSIX || XPG3] (ILL_PRVREG): Likewise.
6420         [POSIX || XPG3] (ILL_COPROC): Likewise.
6421         [POSIX || XPG3] (ILL_BADSTK): Likewise.
6422         [POSIX || XPG3] (FPE_INTDIV): Likewise.
6423         [POSIX || XPG3] (FPE_INTOVF): Likewise.
6424         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6425         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6426         [POSIX || XPG3] (FPE_FLTUND): Likewise.
6427         [POSIX || XPG3] (FPE_FLTRES): Likewise.
6428         [POSIX || XPG3] (FPE_FLTINV): Likewise.
6429         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6430         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6431         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6432         [POSIX || XPG3] (BUS_ADRALN): Likewise.
6433         [POSIX || XPG3] (BUS_ADRERR): Likewise.
6434         [POSIX || XPG3] (BUS_OBJERR): Likewise.
6435         [POSIX || XPG3] (CLD_EXITED): Likewise.
6436         [POSIX || XPG3] (CLD_KILLED): Likewise.
6437         [POSIX || XPG3] (CLD_DUMPED): Likewise.
6438         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6439         [POSIX || XPG3] (CLD_STOPPED): Likewise.
6440         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6441         [POSIX || XPG3] (POLL_IN): Likewise.
6442         [POSIX || XPG3] (POLL_OUT): Likewise.
6443         [POSIX || XPG3] (POLL_MSG): Likewise.
6444         [POSIX || XPG3] (POLL_ERR): Likewise.
6445         [POSIX || XPG3] (POLL_PRI): Likewise.
6446         [POSIX || XPG3] (POLL_HUP): Likewise.
6447         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6448         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6449         (SIG*): Do not allow.
6450         [XPG3] (si_*): Likewise.
6451         [XPG3] (SI_*): Likewise.
6452         [XPG3 || XPG4] (sigev_*): Likewise.
6453         [XPG3 || XPG4] (SIGEV_*): Likewise.
6454         [XPG3 || XPG4] (sival_*): Likewise.
6455         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6456         [POSIX || XPG3] (BUS_*): Likewise.
6457         [POSIX || XPG3] (CLD_*): Likewise.
6458         [POSIX || XPG3] (FPE_*): Likewise.
6459         [POSIX || XPG3] (ILL_*): Likewise.
6460         [POSIX || XPG3] (POLL_*): Likewise.
6461         [POSIX || XPG3] (SEGV_*): Likewise.
6462         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6463         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6464         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6465         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6466         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6467         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6468         Specify type and value.
6469         (TVERSLEN): Likewise.
6470         (REGTYPE): Likewise.
6471         (AREGTYPE): Likewise.
6472         (LNKTYPE): Likewise.
6473         (SYMTYPE): Likewise.
6474         (CHRTYPE): Likewise.
6475         (BLKTYPE): Likewise.
6476         (DIRTYPE): Likewise.
6477         (FIFOTYPE): Likewise.
6478         (CONTTYPE): Likewise.
6479         (TSUID): Likewise.
6480         (TSGID): Likewise.
6481         (TSVTX): Likewise.
6482         (TUREAD): Likewise.
6483         (TUWRITE): Likewise.
6484         (TUEXEC): Likewise.
6485         (TGREAD): Likewise.
6486         (TGWRITE): Likewise.
6487         (TGEXEC): Likewise.
6488         (TOREAD): Likewise.
6489         (TOWRITE): Likewise.
6490         (TOEXEC): Likewise.
6491         [POSIX] (TSVTX): Expect constant.
6493 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
6495         * Makefile (tests): Change dependencies to ....
6496         (tests-special): ... additions to this variable.
6497         (tests): Depend on $(tests-special).
6498         * Makerules (check-abi-list): New variable.
6499         (check-abi): Depend on $(check-abi-list).
6500         [$(subdir) = elf] (tests-special): Add
6501         $(objpfx)check-abi-libc.out.
6502         [$(build-shared) = yes && subdir] (tests-special): Add
6503         $(check-abi-list).
6504         [$(build-shared) = yes && subdir] (tests): Do not depend on
6505         check-abi.
6506         * Rules (tests): Depend on $(tests-special).
6507         (xtests): Depend on $(xtests-special).
6508         * catgets/Makefile (tests): Change dependencies to ....
6509         (tests-special): ... additions to this variable.
6510         * conform/Makefile (tests): Change dependencies to ....
6511         (tests-special): ... additions to this variable.
6512         * elf/Makefile (tests): Change dependencies to ....
6513         (tests-special): ... additions to this variable.
6514         * grp/Makefile (tests): Change dependencies to ....
6515         (tests-special): ... additions to this variable.
6516         * iconv/Makefile (xtests): Change dependencies to ....
6517         (xtests-special): ... additions to this variable.
6518         * iconvdata/Makefile (tests): Change dependencies to ....
6519         (tests-special): ... additions to this variable.
6520         * intl/Makefile (tests): Change dependencies to ....
6521         (tests-special): ... additions to this variable.  Also add
6522         $(objpfx)tst-gettext.out.
6523         * io/Makefile (tests): Change dependencies to ....
6524         (tests-special): ... additions to this variable.
6525         * libio/Makefile (tests): Change dependencies to ....
6526         (tests-special): ... additions to this variable.
6527         * malloc/Makefile (tests): Change dependencies to ....
6528         (tests-special): ... additions to this variable.
6529         * misc/Makefile (tests): Change dependencies to ....
6530         (tests-special): ... additions to this variable.
6531         * nptl/Makefile (tests): Change dependencies to ....
6532         (tests-special): ... additions to this variable.
6533         * nptl_db/Makefile (tests): Change dependencies to ....
6534         (tests-special): ... additions to this variable.
6535         * posix/Makefile (tests): Change dependencies to ....
6536         (tests-special): ... additions to this variable.
6537         (xtests): Change dependencies to ....
6538         (xtests-special): ... additions to this variable.
6539         * resolv/Makefile (tests): Change dependencies to ....
6540         (tests-special): ... additions to this variable.
6541         (xtests): Change dependencies to ....
6542         (xtests-special): ... additions to this variable.
6543         * stdio-common/Makefile (tests): Change dependencies to ....
6544         (tests-special): ... additions to this variable.
6545         (do-tst-unbputc): Remove target.
6546         (do-tst-printf): Likewise.
6547         * stdlib/Makefile (tests): Change dependencies to ....
6548         (tests-special): ... additions to this variable.
6549         * string/Makefile (tests): Change dependencies to ....
6550         (tests-special): ... additions to this variable.
6551         * sysdeps/x86/Makefile (tests): Change dependencies to ....
6552         (tests-special): ... additions to this variable.
6554         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6555         whole file.
6556         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6557         whole file.
6558         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6559         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6561         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6562         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6563         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6564         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6565         * conform/data/libgen.h-data [XPG3]: Likewise.
6566         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6567         * conform/data/ndbm.h-data [XPG3]: Likewise.
6568         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6569         * conform/data/netdb.h-data [XPG3]: Likewise.
6570         * conform/data/netinet/in.h-data [XPG3]: Likewise.
6571         * conform/data/poll.h-data [XPG3]: Likewise.
6572         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6573         * conform/data/strings.h-data [XPG3]: Likewise.
6574         * conform/data/stropts.h-data [XPG3]: Likewise.
6575         * conform/data/sys/mman.h-data [XPG3]: Likewise.
6576         * conform/data/sys/resource.h-data [XPG3]: Likewise.
6577         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6578         Likewise.
6579         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6580         * conform/data/sys/time.h-data [XPG3]: Likewise.
6581         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6582         * conform/data/sys/uio.h-data [XPG3]: Likewise.
6583         * conform/data/sys/un.h-data [XPG3]: Likewise.
6584         * conform/data/syslog.h-data [XPG3]: Likewise.
6585         * conform/data/ucontext.h-data [XPG3]: Likewise.
6586         * conform/data/utmpx.h-data [XPG3]: Likewise.
6587         * conform/data/varargs.h-data [UNIX98]: Enable file.
6589         * manual/Makefile (INSTALL_INFO): Remove variable setting.
6591         * math/libm-test.inc (struct test_f_f_data): Move expected results
6592         into structure for each rounding mode.
6593         (struct test_ff_f_data): Likewise.
6594         (struct test_ff_f_data_nexttoward): Likewise.
6595         (struct test_fi_f_data): Likewise.
6596         (struct test_fl_f_data): Likewise.
6597         (struct test_if_f_data): Likewise.
6598         (struct test_fff_f_data): Likewise.
6599         (struct test_c_f_data): Likewise.
6600         (struct test_f_f1_data): Likewise.
6601         (struct test_fF_f1_data): Likewise.
6602         (struct test_ffI_f1_data): Likewise.
6603         (struct test_c_c_data): Likewise.
6604         (struct test_cc_c_data): Likewise.
6605         (struct test_f_i_data): Likewise.
6606         (struct test_ff_i_data): Likewise.
6607         (struct test_f_l_data): Likewise.
6608         (struct test_f_L_data): Likewise.
6609         (struct test_fFF_11_data): Likewise.
6610         (RM_): New macro.
6611         (RM_FE_DOWNWARD): Likewise.
6612         (RM_FE_TONEAREST): Likewise.
6613         (RM_FE_TOWARDZERO): Likewise.
6614         (RM_FE_UPWARD): Likewise.
6615         (RUN_TEST_LOOP_f_f): Update references to expected results.
6616         (RUN_TEST_LOOP_2_f): Likewise.
6617         (RUN_TEST_LOOP_fff_f): Likewise.
6618         (RUN_TEST_LOOP_c_f): Likewise.
6619         (RUN_TEST_LOOP_f_f1): Likewise.
6620         (RUN_TEST_LOOP_fF_f1): Likewise.
6621         (RUN_TEST_LOOP_fI_f1): Likewise.
6622         (RUN_TEST_LOOP_ffI_f1): Likewise.
6623         (RUN_TEST_LOOP_c_c): Likewise.
6624         (RUN_TEST_LOOP_cc_c): Likewise.
6625         (RUN_TEST_LOOP_f_i): Likewise.
6626         (RUN_TEST_LOOP_f_i_tg): Likewise.
6627         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6628         (RUN_TEST_LOOP_f_b): Likewise.
6629         (RUN_TEST_LOOP_f_b_tg): Likewise.
6630         (RUN_TEST_LOOP_f_l): Likewise.
6631         (RUN_TEST_LOOP_f_L): Likewise.
6632         (RUN_TEST_LOOP_fFF_11): Likewise.
6633         * math/gen-libm-test.pl (parse_args): Output four copies of
6634         expected results for each test.
6636         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6637         (__ASSUME_UTIMES): Remove.
6638         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6639         (__ASSUME_UTIMES): Likewise.
6641         * math/gen-auto-libm-tests.c: Update comment on output format.
6642         (output_for_one_input_case): Generate before-rounding and
6643         after-rounding information as conditions on output flags not
6644         floating-point format.
6645         * math/auto-libm-test-out: Regenerated.
6646         * math/gen-libm-test.pl (cond_value): New function.
6647         (or_cond_value): Use cond_value.
6648         (generate_testfile): Handle conditional exceptions.
6650 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
6652         * math/libm-test.inc (max_valid_error): New variable.
6653         (init_max_error): Take new argument specifying whether function
6654         results are exactly determined.  Set max_valid_error and bound
6655         other variables for errors based on this argument.
6656         (set_max_error): Do not record results above max_valid_error.
6657         (check_float_internal): Only accept errors of up to 0.5ulps if
6658         also at most max_valid_error.
6659         (START): Take new argument EXACT and pass it to init_max_error.
6660         (acos_test): Update call to START.
6661         (acos_test_tonearest): Likewise.
6662         (acos_test_towardzero): Likewise.
6663         (acos_test_downward): Likewise.
6664         (acos_test_upward): Likewise.
6665         (acosh_test): Likewise.
6666         (asin_test): Likewise.
6667         (asin_test_tonearest): Likewise.
6668         (asin_test_towardzero): Likewise.
6669         (asin_test_downward): Likewise.
6670         (asin_test_upward): Likewise.
6671         (asinh_test): Likewise.
6672         (atan_test): Likewise.
6673         (atanh_test): Likewise.
6674         (atan2_test): Likewise.
6675         (cabs_test): Likewise.
6676         (cacos_test): Likewise.
6677         (cacosh_test): Likewise.
6678         (carg_test): Likewise.
6679         (casin_test): Likewise.
6680         (casinh_test): Likewise.
6681         (catan_test): Likewise.
6682         (catanh_test): Likewise.
6683         (cbrt_test): Likewise.
6684         (ccos_test): Likewise.
6685         (ccosh_test): Likewise.
6686         (ceil_test): Likewise.
6687         (cexp_test): Likewise.
6688         (cimag_test): Likewise.
6689         (clog_test): Likewise.
6690         (clog10_test): Likewise.
6691         (conj_test): Likewise.
6692         (copysign_test): Likewise.
6693         (cos_test): Likewise.
6694         (cos_test_tonearest): Likewise.
6695         (cos_test_towardzero): Likewise.
6696         (cos_test_downward): Likewise.
6697         (cos_test_upward): Likewise.
6698         (cosh_test): Likewise.
6699         (cosh_test_tonearest): Likewise.
6700         (cosh_test_towardzero): Likewise.
6701         (cosh_test_downward): Likewise.
6702         (cosh_test_upward): Likewise.
6703         (cpow_test): Likewise.
6704         (cproj_test): Likewise.
6705         (creal_test): Likewise.
6706         (csin_test): Likewise.
6707         (csinh_test): Likewise.
6708         (csqrt_test): Likewise.
6709         (ctan_test): Likewise.
6710         (ctan_test_tonearest): Likewise.
6711         (ctan_test_towardzero): Likewise.
6712         (ctan_test_downward): Likewise.
6713         (ctan_test_upward): Likewise.
6714         (ctanh_test): Likewise.
6715         (ctanh_test_tonearest): Likewise.
6716         (ctanh_test_towardzero): Likewise.
6717         (ctanh_test_downward): Likewise.
6718         (ctanh_test_upward): Likewise.
6719         (erf_test): Likewise.
6720         (erfc_test): Likewise.
6721         (exp_test): Likewise.
6722         (exp_test_tonearest): Likewise.
6723         (exp_test_towardzero): Likewise.
6724         (exp_test_downward): Likewise.
6725         (exp_test_upward): Likewise.
6726         (exp10_test): Likewise.
6727         (exp10_test_tonearest): Likewise.
6728         (exp10_test_towardzero): Likewise.
6729         (exp10_test_downward): Likewise.
6730         (exp10_test_upward): Likewise.
6731         (pow10_test): Likewise.
6732         (exp2_test): Likewise.
6733         (expm1_test): Likewise.
6734         (expm1_test_tonearest): Likewise.
6735         (expm1_test_towardzero): Likewise.
6736         (expm1_test_downward): Likewise.
6737         (expm1_test_upward): Likewise.
6738         (fabs_test): Likewise.
6739         (fdim_test): Likewise.
6740         (floor_test): Likewise.
6741         (fma_test): Likewise.
6742         (fma_test_towardzero): Likewise.
6743         (fma_test_downward): Likewise.
6744         (fma_test_upward): Likewise.
6745         (fmax_test): Likewise.
6746         (fmin_test): Likewise.
6747         (fmod_test): Likewise.
6748         (fpclassify_test): Likewise.
6749         (frexp_test): Likewise.
6750         (hypot_test): Likewise.
6751         (ilogb_test): Likewise.
6752         (isfinite_test): Likewise.
6753         (finite_test): Likewise.
6754         (isgreater_test): Likewise.
6755         (isgreaterequal_test): Likewise.
6756         (isinf_test): Likewise.
6757         (isless_test): Likewise.
6758         (islessequal_test): Likewise.
6759         (islessgreater_test): Likewise.
6760         (isnan_test): Likewise.
6761         (isnormal_test): Likewise.
6762         (issignaling_test): Likewise.
6763         (isunordered_test): Likewise.
6764         (j0_test): Likewise.
6765         (j1_test): Likewise.
6766         (jn_test): Likewise.
6767         (ldexp_test): Likewise.
6768         (lgamma_test): Likewise.
6769         (gamma_test): Likewise.
6770         (lrint_test): Likewise.
6771         (lrint_test_tonearest): Likewise.
6772         (lrint_test_towardzero): Likewise.
6773         (lrint_test_downward): Likewise.
6774         (lrint_test_upward): Likewise.
6775         (llrint_test): Likewise.
6776         (llrint_test_tonearest): Likewise.
6777         (llrint_test_towardzero): Likewise.
6778         (llrint_test_downward): Likewise.
6779         (llrint_test_upward): Likewise.
6780         (log_test): Likewise.
6781         (log10_test): Likewise.
6782         (log1p_test): Likewise.
6783         (log2_test): Likewise.
6784         (logb_test): Likewise.
6785         (logb_test_downward): Likewise.
6786         (lround_test): Likewise.
6787         (llround_test): Likewise.
6788         (modf_test): Likewise.
6789         (nearbyint_test): Likewise.
6790         (nextafter_test): Likewise.
6791         (nexttoward_test): Likewise.
6792         (pow_test): Likewise.
6793         (pow_test_tonearest): Likewise.
6794         (pow_test_towardzero): Likewise.
6795         (pow_test_downward): Likewise.
6796         (pow_test_upward): Likewise.
6797         (remainder_test): Likewise.
6798         (drem_test): Likewise.
6799         (remainder_test_tonearest): Likewise.
6800         (drem_test_tonearest): Likewise.
6801         (remainder_test_towardzero): Likewise.
6802         (drem_test_towardzero): Likewise.
6803         (remainder_test_downward): Likewise.
6804         (drem_test_downward): Likewise.
6805         (remainder_test_upward): Likewise.
6806         (drem_test_upward): Likewise.
6807         (remquo_test): Likewise.
6808         (rint_test): Likewise.
6809         (rint_test_tonearest): Likewise.
6810         (rint_test_towardzero): Likewise.
6811         (rint_test_downward): Likewise.
6812         (rint_test_upward): Likewise.
6813         (round_test): Likewise.
6814         (scalb_test): Likewise.
6815         (scalbn_test): Likewise.
6816         (scalbln_test): Likewise.
6817         (signbit_test): Likewise.
6818         (sin_test): Likewise.
6819         (sin_test_tonearest): Likewise.
6820         (sin_test_towardzero): Likewise.
6821         (sin_test_downward): Likewise.
6822         (sin_test_upward): Likewise.
6823         (sincos_test): Likewise.
6824         (sinh_test): Likewise.
6825         (sinh_test_tonearest): Likewise.
6826         (sinh_test_towardzero): Likewise.
6827         (sinh_test_downward): Likewise.
6828         (sinh_test_upward): Likewise.
6829         (sqrt_test): Likewise.
6830         (sqrt_test_tonearest): Likewise.
6831         (sqrt_test_towardzero): Likewise.
6832         (sqrt_test_downward): Likewise.
6833         (sqrt_test_upward): Likewise.
6834         (tan_test): Likewise.
6835         (tan_test_tonearest): Likewise.
6836         (tan_test_towardzero): Likewise.
6837         (tan_test_downward): Likewise.
6838         (tan_test_upward): Likewise.
6839         (tanh_test): Likewise.
6840         (tgamma_test): Likewise.
6841         (trunc_test): Likewise.
6842         (y0_test): Likewise.
6843         (y1_test): Likewise.
6844         (yn_test): Likewise.
6845         (significand_test): Likewise.
6847         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6848         individual tests in comment.
6849         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6850         (prev_max_error): New variable.
6851         (prev_real_max_error): Likewise.
6852         (prev_imag_max_error): Likewise.
6853         (compare_ulp_data): Don't refer to test names in comment.
6854         (find_test_ulps): Remove function.
6855         (find_function_ulps): Likewise.
6856         (find_complex_function_ulps): Likewise.
6857         (init_max_error): Take function name as argument.  Look up ulps
6858         for that function.
6859         (print_ulps): Remove function.
6860         (print_max_error): Use prev_max_error instead of calling
6861         find_function_ulps.
6862         (print_complex_max_error): Use prev_real_max_error and
6863         prev_imag_max_error instead of calling find_complex_function_ulps.
6864         (check_float_internal): Take max_ulp parameter instead of calling
6865         find_test_ulps.  Don't call print_ulps.
6866         (check_float): Update call to check_float_internal.
6867         (check_complex): Update calls to check_float_internal.
6868         (START): Pass argument to init_max_error.
6869         * math/gen-libm-test.pl (%results): Don't include "kind"
6870         information.
6871         (parse_ulps): Don't handle ulps of individual tests.
6872         (print_ulps_file): Likewise.
6873         (output_ulps): Likewise.
6874         * math/README.libm-test: Update.
6875         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6876         individual tests.
6877         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6878         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6879         * sysdeps/arm/libm-test-ulps: Likewise.
6880         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6881         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6882         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6883         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6884         * sysdeps/microblaze/libm-test-ulps: Likewise.
6885         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6886         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6887         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6888         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6889         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6890         * sysdeps/sh/libm-test-ulps: Likewise.
6891         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6892         * sysdeps/tile/libm-test-ulps: Likewise.
6893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6895 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
6897         * math/libm-test.inc (print_complex_max_error): Check separately
6898         whether real and imaginary errors are within allowed range and
6899         pass 0 to print_complex_function_ulps instead of value within
6900         allowed range.
6902 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6904         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6905         formatting.
6906         (get_handles_fopen): Likewise.
6907         (do_write_test): Likewise.
6909         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6911         * libio/fileops.c (do_ftell): Use cached offset when
6912         available.
6913         * libio/iofwide.c (do_ftell_wide): Likewise.
6914         * libio/iofdopen.c (_IO_new_fdopen): Don't use
6915         _IO_file_attach.
6916         * libio/wfileops.c (_IO_fwide): Don't cache offset.
6918         [BZ #16532]
6919         * libio/libioP.h (get_file_offset): New function.
6920         * libio/fileops.c (get_file_offset): Likewise.
6921         (do_ftell): Likewise.
6922         (_IO_new_file_seekoff): Split out ftell logic.
6923         * libio/wfileops.c (do_ftell_wide): Likewise.
6924         (_IO_wfile_seekoff): Split out ftell logic.
6925         * libio/tst-ftell-active-handler.c: New test case.
6926         * libio/Makefile (tests): Add it.
6928 2014-03-03  Roland McGrath  <roland@hack.frob.com>
6930         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6931         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6933 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6935         [BZ #16639]
6936         * nscd/connections.c (nscd_init): Call do_exit.
6937         (start_threads): Call do_exit and notify_parent.
6938         (begin_drop_privileges): Call do_exit.
6939         (finish_drop_privileges): Likewise.
6940         * nscd/selinux.c (preserve_capabilities): Likewise.
6941         (install_real_capabilities): Likewise.
6942         (nscd_selinux_enabled): Likewise.
6943         (avc_create_thread): Likewise.
6944         (avc_alloc_lock): Likewise.
6945         (nscd_avc_init): Likewise.
6946         * nscd/nscd.c (parent_fd): New static variable.
6947         (main): Create a pipe between parent and child processes.
6948         Skip closing parent_fd.
6949         (monitor_child): New function.
6950         (do_exit): Likewise.
6951         (notify_parent): Likewise.
6952         * nscd/nscd.h (notify_parent): Likewise.
6953         (do_exit): Likewise.
6955 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
6957         * malloc/malloc.c (__libc_calloc): Revert last change.
6959 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6963 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6965         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6966         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6967         implementation.
6968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6969         (__libc_ifunc_impl_list): Likewise.
6970         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6971         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6972         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6973         * string/strrchr.c: Define STRRCHR.
6975 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
6977         * benchtest/bench-strtok.c (simple_strtok): Delete.
6978         (strtok_string): Use as benchmark.
6979         * string/strtok (STRTOK): New macro.
6981 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
6983         * manual/threads.texi: Add header and standard comments to all
6984         functions.
6986         * elf/dl-lookup.c (check_match): New function.
6987         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6988         (do_lookup_x): Remove nested function check_match. Use non-nested
6989         function check_match.
6991 2014-02-28  Roland McGrath  <roland@hack.frob.com>
6993         * csu/Makefile (generated, before-compile): Use += rather than =.
6994         * catgets/Makefile (generated, generated-dirs): Likewise.
6995         * debug/Makefile (generated): Likewise.
6996         * dlfcn/Makefile (generated): Likewise.
6997         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6998         * iconvdata/Makefile (before-compile, generated): Likewise.
6999         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7000         * libio/Makefile (generated): Likewise.
7001         * malloc/Makefile (generated): Likewise.
7002         * manual/Makefile (generated, generated-dirs): Likewise.
7003         * misc/Makefile (generated): Likewise.
7004         * posix/Makefile (generated): Likewise.
7005         * resolv/Makefile (generated): Likewise.
7006         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7007         * timezone/Makefile (generated, generated-dirs): Likewise.
7009         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7011 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7014         power8 implementation.
7015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7016         file: POWER8 llround ifunc implementation.
7017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7018         (__lllround): Add POWER8 implementation.
7019         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7020         POWER8 llround implementation.
7022         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7023         power8 implementation.
7024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7025         file: POWER8 llrint ifunc implementation.
7026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7027         Add POWER8 implementation.
7028         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7029         POWER8 llrint implementation.
7031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7032         power8 implementation.
7033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7034         file: POWER8 finite ifunc implementation.
7035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7036         Add POWER8 implementation.
7037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7038         Likewise.
7039         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7040         POWER8 finite implementation.
7041         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7044         power8 implementation.
7045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7046         file: POWER8 isinf ifunc implementation.
7047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7048         POWER8 implementation.
7049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7050         Likewise.
7051         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7052         isinf implementation.
7053         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7055         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7056         (INIT_ARCH): Add hwcap2 initialization.
7057         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7058         power8 implementation.
7059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7060         file: POWER8 isnan ifunc implementation.
7061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7062         POWER8 implementation.
7063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7064         Likewise.
7065         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7066         isnan implementation.
7067         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7069 2014-02-27  Joey Ye  <joey.ye@arm.com>
7071         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7072         (_FP_NANFRAC_Q): Set to zero.
7074 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7076         [BZ #16623]
7077         * math/auto-libm-test-in: New test inputs.
7078         * math/auto-libm-test-out: Regenerate.
7079         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7080         and DA.
7081         (__cos): Likewise.
7082         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7084 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7086         * scripts/evaluate-test.sh: Take new argument indicating whether
7087         failure is expected.
7088         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7089         indicating whether failure is expected.
7090         * conform/Makefile (test-xfail-run-conformtest): New variable.
7091         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7092         level.
7093         * posix/Makefile (test-xfail-annexc): New variable.
7094         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7096 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7098         * argp/Makefile: Include Makeconfig immediately after defining
7099         subdir.
7100         * assert/Makefile: Likewise.
7101         * benchtests/Makefile: Likewise.
7102         * catgets/Makefile: Likewise.
7103         * conform/Makefile: Likewise.
7104         * crypt/Makefile: Likewise.
7105         * csu/Makefile: Likewise.
7106         (all): Remove target.
7107         * ctype/Makefile: Include Makeconfig immediately after defining
7108         subdir.
7109         * debug/Makefile: Likewise.
7110         * dirent/Makefile: Likewise.
7111         * dlfcn/Makefile: Likewise.
7112         * gmon/Makefile: Likewise.
7113         * gnulib/Makefile: Likewise.
7114         * grp/Makefile: Likewise.
7115         * gshadow/Makefile: Likewise.
7116         * hesiod/Makefile: Likewise.
7117         * hurd/Makefile: Likewise.
7118         (all): Remove target.
7119         * iconvdata/Makefile: Include Makeconfig immediately after
7120         defining subdir.
7121         * inet/Makefile: Likewise.
7122         * intl/Makefile: Likewise.
7123         * io/Makefile: Likewise.
7124         * libio/Makefile: Likewise.
7125         (all): Remove target.
7126         * locale/Makefile: Include Makeconfig immediately after defining
7127         subdir.
7128         * login/Makefile: Likewise.
7129         * mach/Makefile: Likewise.
7130         (all): Remove target.
7131         * malloc/Makefile: Include Makeconfig immediately after defining
7132         subdir.
7133         (all): Remove target.
7134         * manual/Makefile: Include Makeconfig immediately after defining
7135         subdir.
7136         * math/Makefile: Likewise.
7137         * misc/Makefile: Likewise.
7138         * nis/Makefile: Likewise.
7139         * nss/Makefile: Likewise.
7140         * po/Makefile: Likewise.
7141         (all): Remove target.
7142         * posix/Makefile: Include Makeconfig immediately after defining
7143         subdir.
7144         * pwd/Makefile: Likewise.
7145         * resolv/Makefile: Likewise.
7146         * resource/Makefile: Likewise.
7147         * rt/Makefile: Likewise.
7148         * setjmp/Makefile: Likewise.
7149         * shadow/Makefile: Likewise.
7150         * signal/Makefile: Likewise.
7151         * socket/Makefile: Likewise.
7152         * soft-fp/Makefile: Likewise.
7153         * stdio-common/Makefile: Likewise.
7154         * stdlib/Makefile: Likewise.
7155         * streams/Makefile: Likewise.
7156         * string/Makefile: Likewise.
7157         * sunrpc/Makefile: Likewise.
7158         (all): Remove target.
7159         * sysvipc/Makefile: Include Makeconfig immediately after defining
7160         subdir.
7161         * termios/Makefile: Likewise.
7162         * time/Makefile: Likewise.
7163         * timezone/Makefile: Likewise.
7164         (all): Remove target.
7165         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7166         subdir.
7167         * wctype/Makefile: Likewise.
7169 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7171         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7172         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7173         (libc_feholdexcept_setround_mips): Ditto.
7174         (libc_feholdsetround): New.
7175         (libc_feholdsetroundf): New.
7176         (libc_feholdsetroundl): New.
7177         (libc_feupdateenv_test_mips): New.
7178         (libc_feupdateenv_test): New.
7179         (libc_feupdateenv_testf): New.
7180         (libc_feupdateenv_testl): New.
7181         (libc_feresetround): New.
7182         (libc_feresetroundf): New.
7183         (libc_feresetroundl): New.
7184         (libc_fetestexcept_mips): New.
7185         (libc_fetestexcept): New.
7186         (libc_fetestexceptf): New.
7187         (libc_fetestexceptl): New.
7188         (HAVE_RM_CTX): New.
7189         (libc_feholdexcept_setround_mips_ctx): New.
7190         (libc_feholdexcept_setround_ctx): New.
7191         (libc_feholdexcept_setroundf_ctx): New.
7192         (libc_feholdexcept_setroundl_ctx): New.
7193         (libc_fesetenv_mips_ctx): New.
7194         (libc_fesetenv_ctx): New.
7195         (libc_fesetenv_ctxf): New.
7196         (libc_fesetenv_ctxl): New.
7197         (libc_feupdateenv_mips_ctx): New.
7198         (libc_feupdateenv_ctx): New.
7199         (libc_feupdateenvf_ctx): New.
7200         (libc_feupdateenvl_ctx): New.
7201         (libc_feholdsetround_mips_ctx): New.
7202         (libc_feholdsetround_ctx): New.
7203         (libc_feholdsetroundf_ctx): New.
7204         (libc_feholdsetroundl_ctx): New.
7205         (libc_feresetround_mips_ctx): New.
7206         (libc_feresetround_ctx): New.
7207         (libc_feresetroundf_ctx): New.
7208         (libc_feresetroundl_ctx): New.
7210 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7212         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7214         * manual/ipc.texi: New file.
7215         * manual/Makefile (chapters): Add ipc.
7216         * manual/job.texi: Add "Inter-Process Communication" to next.
7217         * manual/process.texi: Add "Inter-Process Communication" to prev.
7219 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7223 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7225         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7227         * manual/arith.texi: Fix spaces after sentences.
7228         * manual/charset.texi: Likewise.
7229         * manual/errno.texi: Likewise.
7230         * manual/install.texi: Likewise.
7231         * manual/llio.texi: Likewise.
7232         * manual/locale.texi: Likewise.
7233         * manual/maint.texi: Likewise.
7234         * manual/math.texi: Likewise.
7235         * manual/memory.texi: Likewise.
7236         * manual/message.texi: Likewise.
7237         * manual/probes.texi: Likewise.
7238         * manual/resource.texi: Likewise.
7239         * manual/signal.texi: Likewise.
7240         * manual/socket.texi: Likewise.
7241         * manual/stdio.texi: Likewise.
7242         * manual/string.texi: Likewise.
7243         * manual/time.texi: Likewise.
7244         * manual/users.texi: Likewise.
7246 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7248         [BZ #16632]
7249         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7250         _DEFAULT_SOURCE is defined.
7252 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7253             Carlos O'Donell  <carlos@redhat.com>
7255         [BZ #16613]
7256         * elf/dl-tls.c (_dl_count_modids): New function.
7257         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7258         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7259         audit library and increment generation counter.
7260         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7261         * elf/tst-audit9.c: New file.
7262         * elf/tst-auditmod9a.c: New file.
7263         * elf/tst-auditmod9b.c: New file.
7264         * elf/Makefile: Add rules to build and run tst-audit9.
7266 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7268         [BZ #15347]
7269         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7271 2014-02-25  Will Newton  <will.newton@linaro.org>
7273         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7274         (__longjmp): Restore sp and lr before restoring callee
7275         saved registers.  Add longjmp and longjmp_target
7276         SystemTap probe point.
7277         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7278         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7279         Define to zero to match jmpbuf layout.
7280         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7281         (__sigsetjmp): Save sp and lr before saving callee
7282         saved registers.  Add setjmp SystemTap probe point.
7284 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7286         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7288 2014-02-24  Andreas Schwab  <schwab@suse.de>
7290         [BZ #15804]
7291         * elf/pldd.c (wait_for_ptrace_stop): New function.
7292         (main): Call it after attaching.
7294 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7296         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7297         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7298         Versions files is now verboten.
7299         * hurd/Versions (libc: GLIBC_2.0):
7300         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7301         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7302         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7303         * mach/Versions: Likewise.
7305         * csu/Versions: Remove unused %include.
7306         * resolv/Versions: Likewise.
7308 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7310         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7311         ($(objpfx)check-local-headers.out): Likewise.
7312         ($(objpfx)begin-end-check.out): Likewise.
7313         * Makerules (check-abi-%.out): Likewise.
7314         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7315         ($(objpfx)test2.cat): Likewise.
7316         ($(objpfx)de/libc.cat): Likewise.
7317         ($(objpfx)test-gencat.out): Likewise.
7318         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7319         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7320         ($(objpfx)noload-mem): Likewise.
7321         ($(objpfx)tst-pathopt.out): Likewise.
7322         ($(objpfx)tst-rtld-load-self.out): Likewise.
7323         ($(objpfx)tst-array1-cmp.out): Likewise.
7324         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7325         ($(objpfx)tst-array2-cmp.out): Likewise.
7326         ($(objpfx)tst-array3-cmp.out): Likewise.
7327         ($(objpfx)tst-array4-cmp.out): Likewise.
7328         ($(objpfx)tst-array5-cmp.out): Likewise.
7329         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7330         ($(objpfx)check-textrel.out): Likewise.
7331         ($(objpfx)check-execstack.out): Likewise.
7332         ($(objpfx)check-localplt.out): Likewise.
7333         ($(objpfx)order2-cmp.out): Likewise.
7334         ($(objpfx)tst-leaks1-mem): Likewise.
7335         ($(objpfx)tst-leaks1-static-mem): Likewise.
7336         ($(objpfx)tst-initorder-cmp.out): Likewise.
7337         ($(objpfx)tst-initorder2-cmp.out): Likewise.
7338         ($(objpfx)tst-unused-dep.out): Likewise.
7339         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7340         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7341         * iconv/Makefile (test-iconvconfig): Likewise.
7342         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7343         ($(objpfx)iconv-test.out): Likewise.
7344         ($(objpfx)tst-tables.out): Likewise.
7345         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7346         ($(objpfx)tst-gettext.out): Likewise.
7347         ($(objpfx)tst-translit.out): Likewise.
7348         ($(objpfx)tst-gettext2.out): Likewise.
7349         ($(objpfx)tst-gettext4.out): Likewise.
7350         ($(objpfx)tst-gettext6.out): Likewise.
7351         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7352         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7353         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7354         ($(objpfx)tst-fopenloc-mem.out): Likewise.
7355         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7356         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7357         * posix/Makefile ($(objpfx)globtest.out): Likewise.
7358         ($(objpfx)wordexp-tst.out): Likewise.
7359         ($(objpfx)annexc.out): Likewise.
7360         ($(objpfx)tst-fnmatch-mem): Likewise.
7361         ($(objpfx)bug-regex2-mem): Likewise.
7362         ($(objpfx)bug-regex14-mem): Likewise.
7363         ($(objpfx)bug-regex21-mem): Likewise.
7364         ($(objpfx)bug-regex31-mem): Likewise.
7365         ($(objpfx)tst-vfork3-mem): Likewise.
7366         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7367         ($(objpfx)tst-pcre-mem): Likewise.
7368         ($(objpfx)tst-boost-mem): Likewise.
7369         ($(objpfx)tst-getconf.out): Likewise.
7370         ($(objpfx)bug-ga2-mem): Likewise.
7371         ($(objpfx)bug-glob2-mem): Likewise.
7372         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7373         ($(objpfx)mtrace-tst-leaks2): Likewise.
7374         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7375         ($(objpfx)tst-printf.out): Likewise.
7376         ($(objpfx)tst-setvbuf1.out): Likewise.
7377         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7378         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7379         ($(objpfx)tst-fmtmsg.out): Likewise.
7380         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7381         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7383         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7384         * bits/sigaction.h [__USE_MISC]: Likewise.
7385         * bits/waitstatus.h: Update #endif comments.
7386         * ctype/ctype.h: Likewise.
7387         * dirent/dirent.h: Likewise.
7388         [__USE_MISC]: Remove redundant conditionals.
7389         * grp/grp.h: Update #endif comments.
7390         [__USE_GNU]: Remove redundant conditionals.
7391         [__USE_MISC]: Likewise.
7392         * inet/netinet/in.h [__USE_GNU]: Likewise.
7393         * io/sys/stat.h [__USE_MISC]: Likewise.
7394         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7395         * libio/bits/stdio.h: Update #endif comments.
7396         [__USE_MISC]: Remove redundant conditionals.
7397         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7398         * libio/stdio.h: Update #endif comments.
7399         [__USE_MISC]: Remove redundant conditionals.
7400         * math/bits/math-finite.h [__USE_MISC]: Likewise.
7401         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7402         * math/math.h: Update #else and #endif comments.
7403         [__USE_MISC]: Remove redundant conditionals.
7404         * misc/sys/uio.h: Update #endif comments.
7405         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7406         * posix/glob.h [__USE_MISC]: Likewise.
7407         * posix/sys/types.h: Update #endif comments.
7408         [__USE_MISC]: Remove redundant conditionals.
7409         * posix/sys/wait.h: Update #endif comments.
7410         [__USE_MISC]: Remove redundant conditionals.
7411         * posix/unistd.h: Update #endif comments.
7412         [__USE_MISC]: Remove redundant conditionals.
7413         * pwd/pwd.h [__USE_GNU]: Likewise.
7414         [__USE_MISC]: Likewise.
7415         * resolv/netdb.h [__USE_GNU]: Likewise.
7416         * signal/signal.h: Update #endif comments.
7417         [__USE_MISC]: Remove redundant conditionals.
7418         * stdlib/stdlib.h: Update #else and #endif comments.
7419         [__USE_MISC]: Remove redundant conditionals.
7420         [__USE_GNU]: Likewise.
7421         * string/bits/string2.h [__USE_MISC]: Likewise.
7422         * string/string.h: Update #endif comments.
7423         [__USE_MISC]: Remove redundant conditionals.
7424         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7425         Likewise.
7426         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7427         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7428         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7429         Likewise.
7430         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7431         Likewise.
7432         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7433         comments.
7434         [__USE_MISC]: Remove redundant conditionals.
7435         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7436         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7437         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7438         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7439         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7440         Likewise.
7441         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7442         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7443         Likewise.
7444         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7445         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7446         Likewise.
7447         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7448         Likewise.
7449         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7450         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7451         Likewise.
7452         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7453         Likewise.
7454         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7455         * sysdeps/x86/bits/string.h: Update #endif comments.
7456         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7457         conditionals.
7458         * time/sys/time.h: Update #endif comments.
7459         * time/time.h: Likewise.
7460         [__USE_MISC]: Remove redundant conditionals.
7462 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
7464         [BZ #16600]
7465         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7467 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
7469         * Versions.def (librt): Add GLIBC_2.17.
7471 2014-02-21  Adam Conrad  <adconrad@0c3.net>
7473         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7474         synonym for _SYS_AUXV_H to allow direct inclusion.
7475         * sysdeps/sparc/bits/hwcap.h: Likewise.
7476         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7477         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7478         * sysdeps/sparc/sysdep.h: Likewise.
7480 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7482         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7484 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7486         * benchtests/bench-strrchr.c: Print length instead of position.
7488 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
7490         [BZ #16611]
7491         * sysdeps/unix/sysv/linux/kernel-features.h
7492         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7493         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7494         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7495         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7496         Likewise.
7497         [__i386__ || __powerpc__ || __sh__ || __sparc__]
7498         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7499         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7500         (__ASSUME_SENDMMSG): Define instead of using previous
7501         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7502         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7503         (__ASSUME_SENDMMSG_SYSCALL): Define.
7504         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7505         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7506         Likewise.
7507         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7508         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7509         Likewise.
7510         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7511         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7512         Likewise.
7513         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7514         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7515         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7516         [__ASSUME_SENDMMSG]: Change conditionals to
7517         [__ASSUME_SENDMMSG_SOCKETCALL].
7518         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7519         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7520         Define.
7521         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7522         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7523         Likewise.
7524         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7525         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7526         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7527         [!__ASSUME_SENDMMSG]: Change conditional to
7528         [!__ASSUME_SENDMMSG_SOCKETCALL].
7529         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7530         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7531         Define.
7533         [BZ #16610]
7534         * sysdeps/unix/sysv/linux/kernel-features.h
7535         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7536         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7537         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7538         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7539         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7540         [__i386__ || __sparc__]
7541         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7542         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7543         (__ASSUME_RECVMMSG): Define instead of using previous
7544         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7545         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7546         (__ASSUME_RECVMMSG_SYSCALL): Define.
7547         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7548         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7549         Likewise.
7550         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7551         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7552         Likewise.
7553         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7554         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7555         Likewise.
7556         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7557         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7558         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7559         [__ASSUME_RECVMMSG]: Change condition to
7560         [__ASSUME_RECVMMSG_SOCKETCALL].
7561         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7562         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7563         Define.
7564         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7565         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7566         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7567         Likewise.
7568         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7569         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7570         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7571         [!__ASSUME_RECVMMSG]: Change condition to
7572         [!__ASSUME_RECVMMSG_SOCKETCALL].
7573         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7574         (__ASSUME_RECVMMSG_SYSCALL): Define.
7576         [BZ #16609]
7577         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7578         __powerpc__ || __s390__ || __sh__ || __sparc__]
7579         (__ASSUME_SOCKETCALL): Define.
7580         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7581         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7582         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7583         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7584         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7585         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7586         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7587         (__ASSUME_ACCEPT4): Define instead of using previous
7588         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7589         __powerpc__ || __sparc__ || __s390__)] condition.
7590         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7591         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7592         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7593         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7594         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7595         [!__ASSUME_ACCEPT4]: Change condition to
7596         [!__ASSUME_ACCEPT4_SOCKETCALL].
7597         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7598         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
7599         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7600         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7601         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7602         __ASSUME_ACCEPT4_SYSCALL.
7603         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7604         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7605         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7606         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7607         __ASSUME_ACCEPT4_SYSCALL.
7608         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7609         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7610         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7611         [__ASSUME_ACCEPT4]: Change condition to
7612         [__ASSUME_ACCEPT4_SOCKETCALL].
7613         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7614         (__ASSUME_SOCKETCALL): Define.
7615         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7616         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7617         (__ASSUME_SOCKETCALL): Define.
7618         (__ASSUME_ACCEPT4): Remove.
7619         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7620         Define.
7621         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7622         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7623         Likewise.
7624         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7625         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7627         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7628         macro.
7629         (HWCAP_ARM_LPAE): Likewise.
7630         (HWCAP_ARM_EVTSTRM): Likewise.
7631         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7632         Add vpfd32, lpae and evtstrm.
7633         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7634         Increase to 22.
7636 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
7638         * math/auto-libm-test-in: Add tests of clog10.
7639         * math/auto-libm-test-out: Regenerated.
7640         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7641         * sysdeps/i386/fpu/libm-test-ulps: Update.
7642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7644 2014-02-18  Andreas Schwab  <schwab@suse.de>
7646         [BZ #16574]
7647         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7648         Store non-zero if the second buffer was newly allocated.
7649         (send_dg): Likewise.
7650         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7651         to send_vc and send_dg.
7652         (res_nsend): Pass NULL for ansp2_malloced.
7653         * resolv/res_query.c (__libc_res_nquery): Add parameter
7654         answerp2_malloced and pass it down to __libc_res_nsend.
7655         (res_nquery): Pass additional NULL to __libc_res_nquery.
7656         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7657         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
7658         second answer buffer if answerp2_malloced was set.
7659         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7660         (__libc_res_nquerydomain): Add parameter
7661         answerp2_malloced and pass it down to __libc_res_nquery.
7662         (res_nquerydomain): Pass additional NULL to
7663         __libc_res_nquerydomain.
7664         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7665         additional NULL to __libc_res_nsend and __libc_res_nquery.
7666         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7667         additional NULL to __libc_res_nsearch.
7668         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
7669         parameter of __libc_res_nsearch to check for separately allocated
7670         second buffer.
7671         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7672         __libc_res_nquery.
7673         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7674         additional NULL to __libc_res_nquery.
7675         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7676         __libc_res_nsearch.
7677         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7678         * include/resolv.h: Update prototypes of __libc_res_nquery,
7679         __libc_res_nsearch, __libc_res_nsend.
7681 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
7683         * math/auto-libm-test-in: Add tests of fma.
7684         * math/auto-libm-test-out: Regenerated.
7685         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7686         (fma_towardzero_test_data): Likewise.
7687         (fma_downward_test_data): Likewise.
7688         (fma_upward_test_data): Likewise.
7689         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7690         mpc_mode.
7691         (rounding_modes): Add values for new field.
7692         (func_calc_method): Add value mpfr_fff_f.
7693         (func_calc_desc): Add mpfr_fff_f union field.
7694         (test_function): Add field exact_args.
7695         (FUNC): Add macro argument EXACT_ARGS.
7696         (FUNC_mpfr_f_f): Update call to FUNC.
7697         (FUNC_mpfr_f_f): Likewise.
7698         (FUNC_mpfr_ff_f): Likewise.
7699         (FUNC_mpfr_if_f): Likewise.
7700         (FUNC_mpc_c_f): Likewise.
7701         (FUNC_mpc_c_c): Likewise.
7702         (test_functions): Add fma.  Update calls to FUNC.
7703         (handle_input_arg): Add argument exact_args.
7704         (add_test): Update call to handle_input_arg.
7705         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
7706         (output_for_one_input_case): Update call to calc_generic_results.
7707         Recalculate exact zero results in each rounding mode.
7709         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7710         non-negative before setting low bit.
7711         * math/auto-libm-test-in: Mark one asin test possibly having
7712         spurious underflow.
7713         * math/auto-libm-test-out: Regenerated.
7714         * sysdeps/i386/fpu/libm-test-ulps: Update.
7715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7717 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
7719         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7720         * sysdeps/unix/sysv/linux/microblaze: Move directory from
7721         ports/sysdeps/unix/sysv/linux/microblaze.
7722         * README: Add missing listing for microblaze*-*-linux-gnu.
7724 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
7726         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7727         * sysdeps/unix/sysv/linux/ia64: Move directory from
7728         ports/sysdeps/unix/sysv/linux/ia64.
7729         * README: Update listing for ia64-*-linux-gnu.
7731 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
7732             Joseph Myers  <joseph@codesourcery.com>
7734         * Makeconfig (test-name): New variable.
7735         (evaluate-test): Likewise.
7736         * Makerules (do-test-clean): Remove .test-result files.
7737         (common-mostlyclean): Likewise.
7738         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7739         * scripts/evaluate-test.sh: New file.
7741 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
7743         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7744         separate $(objpfx)tst-fopenloc-cmp.out and
7745         $(objpfx)tst-fopenloc-mem.out targets.
7746         (tests): Update dependencies.
7747         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7748         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7749         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7750         (tst-rxspencer-no-utf8-ARGS): New variable.
7751         (tst-rxspencer-no-utf8-ENV): Likewise.
7752         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7753         instead of $(objpfx)tst-rxspencer-mem.
7754         ($(objpfx)tst-rxspencer-mem): Change target to
7755         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
7756         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7757         * posix/tst-rxspencer-no-utf8.c: New file.
7759         * elf/Makefile ($(objpfx)order.out): Remove rule.
7760         [$(run-built-tests) = yes] (tests): Depend on
7761         $(objpfx)order-cmp.out.
7762         ($(objpfx)order-cmp.out): New rule.
7763         [$(run-built-tests) = yes] (tests): Depend on
7764         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7765         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7766         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7767         $(objpfx)tst-array5-static-cmp.out.
7768         ($(objpfx)tst-array1.out): Remove rule.
7769         ($(objpfx)tst-array1-cmp.out): New rule.
7770         ($(objpfx)tst-array1-static.out): Remove rule.
7771         ($(objpfx)tst-array1-static-cmp.out): New rule.
7772         ($(objpfx)tst-array2.out): Remove rule.
7773         ($(objpfx)tst-array2-cmp.out): New rule.
7774         ($(objpfx)tst-array3.out): Remove rule.
7775         ($(objpfx)tst-array3-cmp.out): New rule.
7776         ($(objpfx)tst-array4.out): Remove rule.
7777         ($(objpfx)tst-array4-cmp.out): New rule.
7778         ($(objpfx)tst-array5.out): Remove rule.
7779         ($(objpfx)tst-array5-cmp.out): New rule.
7780         ($(objpfx)tst-array5-static.out): Remove rule.
7781         ($(objpfx)tst-array5-static-cmp.out): New rule.
7782         [$(run-built-tests) = yes] (tests): Depend on
7783         $(objpfx)order2-cmp.out.
7784         ($(objpfx)order2.out): Remove rule.
7785         ($(objpfx)order2-cmp.out): New rule.
7786         ($(objpfx)tst-initorder.out): Remove rule.
7787         [$(run-built-tests) = yes] (tests): Depend on
7788         $(objpfx)tst-initorder-cmp.out.
7789         ($(objpfx)tst-initorder-cmp.out): New rule.
7790         ($(objpfx)tst-initorder2.out): Remove rule.
7791         [$(run-built-tests) = yes] (tests): Depend on
7792         $(objpfx)tst-initorder2-cmp.out.
7793         ($(objpfx)tst-initorder2-cmp.out): New rule.
7794         [$(run-built-tests) = yes] (tests): Depend on
7795         $(objpfx)tst-unused-dep-cmp.out.
7796         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7797         ($(objpfx)tst-unused-dep-cmp.out): New rule.
7798         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7799         on $(objpfx)tst-setvbuf1-cmp.out.
7800         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7801         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7802         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7803         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7804         ($(objpfx)tst-svc.out): Remove rule.
7805         ($(objpfx)tst-svc-cmp.out): New rule.
7807 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
7809         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7810         * ctype/ctype.h [__USE_MISC]: Likewise.
7811         * dirent/dirent.h [__USE_MISC]: Likewise.
7812         * grp/grp.h [__USE_MISC]: Likewise.
7813         * io/fcntl.h [__USE_MISC]: Likewise.
7814         * io/sys/stat.h [__USE_MISC]: Likewise.
7815         * libio/stdio.h [__USE_MISC]: Likewise.
7816         * posix/unistd.h [__USE_MISC]: Likewise.
7817         * pwd/pwd.h [__USE_MISC]: Likewise.
7818         * stdlib.h [__USE_MISC]: Likewise.
7819         * string/bits/string2.h [__USE_MISC]: Likewise.
7820         * string/string.h [__USE_MISC]: Likewise.
7821         * time/time.h [__USE_MISC]: Likewise.
7823 2014-02-13  Andreas Schwab  <schwab@suse.de>
7825         [BZ #16574]
7826         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7827         second answer buffer if it was separately allocated.
7829 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7831         * sysdeps/mips/math-tests.h: Include <features.h>.
7832         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7833         (ROUNDING_TESTS_long_double): Do not define.
7834         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7835         (EXCEPTION_TESTS_long_double): Likewise.
7836         * sysdeps/mips/mips64/libm-test-ulps: Update.
7838         * include/features.h (__USE_BSD): Remove macro definitions.
7839         (__USE_SVID): Likewise.
7840         (_BSD_SOURCE): Likewise.
7841         (_SVID_SOURCE): Likewise.
7842         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7843         from definition of _DEFAULT_SOURCE.
7844         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7845         [_DEFAULT_SOURCE].
7846         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7847         * bits/mman.h [__USE_BSD]: Likewise.
7848         * bits/termios.h [__USE_BSD]: Likewise.
7849         * bits/waitstatus.h [__USE_BSD]: Likewise.
7850         * ctype/ctype.h [__USE_SVID]: Likewise.
7851         * dirent/dirent.h [__USE_BSD]: Likewise.
7852         * grp/grp.h [__USE_SVID]: Likewise.
7853         [__USE_BSD]: Likewise.
7854         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7855         * io/fcntl.h [__USE_BSD]: Likewise.
7856         * io/ftw.h [__USE_BSD]: Likewise.
7857         * io/sys/stat.h [__USE_BSD]: Likewise.
7858         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7859         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7860         * libio/stdio.h [__USE_SVID]: Likewise.
7861         [__USE_BSD]: Likewise.
7862         * math/math.h [__USE_SVID]: Likewise.
7863         [__USE_BSD]: Likewise.
7864         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7865         * misc/bits/syslog.h [__USE_BSD]: Likewise.
7866         * misc/search.h [__USE_SVID]: Likewise.
7867         * misc/sys/mman.h [__USE_BSD]: Likewise.
7868         * misc/sys/syslog.h [__USE_BSD]: Likewise.
7869         * misc/sys/uio.h [__USE_BSD]: Likewise.
7870         * posix/bits/unistd.h [__USE_BSD]: Likewise.
7871         * posix/glob.h [__USE_BSD]: Likewise.
7872         * posix/regex.h [__USE_BSD]: Likewise.
7873         * posix/sys/types.h [__USE_BSD]: Likewise.
7874         [__USE_SVID]: Likewise.
7875         * posix/sys/utsname.h [__USE_SVID]: Likewise.
7876         * posix/sys/wait.h [__USE_BSD]: Likewise.
7877         [__USE_SVID]: Likewise.
7878         * posix/unistd.h [__USE_BSD]: Likewise.
7879         [__USE_SVID]: Likewise.
7880         * pwd/pwd.h [__USE_SVID]: Likewise.
7881         * resolv/netdb.h [__USE_BSD]: Likewise.
7882         * setjmp/setjmp.h [__USE_BSD]: Likewise.
7883         * signal/signal.h [__USE_BSD]: Likewise.
7884         [__USE_SVID]: Likewise.
7885         * socket/sys/socket.h [__USE_BSD]: Likewise.
7886         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7887         * stdlib/stdlib.h [__USE_BSD]: Likewise.
7888         [__USE_SVID]: Likewise.
7889         * string/bits/string2.h [__USE_BSD]: Likewise.
7890         [__USE_SVID]: Likewise.
7891         * string/bits/string3.h [__USE_BSD]: Likewise.
7892         * string/endian.h [__USE_BSD]: Likewise.
7893         * string/string.h [__USE_SVID]: Likewise.
7894         [__USE_BSD]: Likewise.
7895         * string/strings.h [__USE_BSD]: Likewise.
7896         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7897         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7898         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7899         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7900         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7901         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7902         Likewise.
7903         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7904         Likewise.
7905         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7906         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7907         Likewise.
7908         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7909         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7910         Likewise.
7911         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7912         Likewise.
7913         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7914         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7915         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7916         Likewise.
7917         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7918         Likewise.
7919         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7920         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7921         * termios/termios.h [__USE_BSD]: Likewise.
7922         * time/sys/time.h [__USE_BSD]: Likewise.
7923         * time/time.h [__USE_BSD]: Likewise.
7924         [__USE_SVID]: Likewise.
7926         * Makefile (subdir_targets): Remove subdir_lint.out.
7928         * stdio-common/Makefile (do-tst-unbputc): Remove target.
7929         (do-tst-printf): Likewise.
7930         (tests): Depend directly on $(objpfx)tst-unbputc.out and
7931         $(objpfx)tst-printf.out.
7933         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7935         * Makerules (check-abi-%): Change target to
7936         $(objpfx)check-abi-%.out.
7937         (check-abi target): Update dependencies.
7938         (check-abi-pattern variable): Redirect output of diff to $@.
7939         (check-abi variable): Likewise.
7940         * elf/Makefile (check-abi): Update dependencies.
7942         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7943         unused.
7944         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7945         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7946         subnormal range.
7947         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7948         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7949         value has largest subnormal exponent.
7950         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7951         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7952         * sysdeps/aarch64/soft-fp/sfp-machine.h
7953         (_FP_TININESS_AFTER_ROUNDING): New macro.
7954         * sysdeps/alpha/soft-fp/sfp-machine.h
7955         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7956         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7957         Likewise.
7958         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7959         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7960         * sysdeps/mips/soft-fp/sfp-machine.h
7961         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7962         * sysdeps/powerpc/soft-fp/sfp-machine.h
7963         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7964         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7965         Likewise.
7966         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7967         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7968         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7969         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7970         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7971         Likewise.
7973 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
7975         [BZ #16545]
7976         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7977         model 1.
7979 2014-02-12  Richard Henderson  <rth@redhat.com>
7981         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7982         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7983         * sysdeps/unix/sysv/linux/alpha: Move directory from
7984         ports/sysdeps/unix/sysv/linux/alpha.
7985         * README: Update listing for alpha-*-linux-gnu.
7987 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
7989         * include/features.h: Update comment documenting feature test
7990         macros.
7991         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
7992         _DEFAULT_SOURCE.
7993         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7994         (_SVID_SOURCE): Likewise.
7995         (_DEFAULT_SOURCE): Update description of default features.
7996         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7997         with _GNU_SOURCE.
7998         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7999         (S_ISVTX): Likewise.
8000         * manual/math.texi (Mathematical Constants): Likewise.
8001         * manual/signal.texi (Interrupted Primitives): Likewise.
8002         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8003         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8004         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8005         Don't refer to _SVID_SOURCE in warning text.
8007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8009         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8010         already defined.
8011         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8012         * sysdeps/mips/dl-lookup.c: Remove.
8013         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8015 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8017         [BZ #16447]
8018         * math/auto-libm-test-in: Add testcase for expl.
8019         * math/auto-libm-test-out: Regenerate.
8020         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8021         calculation of unsafe.
8022         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8024 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8026         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8027         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8028         ports/sysdeps/unix/sysv/linux/aarch64.
8029         * README: Update listing for aarch64*-*-linux-gnu.
8031 2014-02-11  Will Newton  <will.newton@linaro.org>
8033         * manual/probes.texi (Mathematical Function Probes): Use
8034         "triggered" instead of "hit".
8036         * manual/probes.texi (Internal Probes): Add documentation
8037         of setjmp, longjmp and longjmp_target probes.
8039         * include/stap-probe.h: Add comment about probe argument
8040         format.
8042         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8043         definition.  (tr_where, tr_freehook, tr_mallochook,
8044         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8046 2014-02-11  David S. Miller  <davem@davemloft.net>
8048         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8049         processing int_tests.
8051 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8053         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8054         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8055         * sysdeps/unix/sysv/linux/mips: Move directory from
8056         ports/sysdeps/unix/sysv/linux/mips.
8057         * README: Update listing for mips-*-linux-gnu and
8058         mips64-*-linux-gnu.
8060 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8062         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8063         * sysdeps/unix/sysv/linux/m68k: Move directory from
8064         ports/sysdeps/unix/sysv/linux/m68k.
8065         * README: Update listing for m68k-*-linux-gnu.
8067 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8069         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8070         * sysdeps/unix/sysv/linux/generic: Move directory from
8071         ports/sysdeps/unix/sysv/linux/generic.
8072         * sysdeps/unix/sysv/linux/tile: Move directory from
8073         ports/sysdeps/unix/sysv/linux/tile.
8074         * README: Update listing for tile*-*-linux-gnu.
8076 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8078         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8079         __builtin_expect.
8080         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8081         * catgets/open_catalog.c (__open_catalog): Likewise.
8082         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8083         * debug/confstr_chk.c: Likewise.
8084         * debug/fread_chk.c (__fread_chk): Likewise.
8085         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8086         * debug/getgroups_chk.c: Likewise.
8087         * debug/mbsnrtowcs_chk.c: Likewise.
8088         * debug/mbsrtowcs_chk.c: Likewise.
8089         * debug/mbstowcs_chk.c: Likewise.
8090         * debug/memcpy_chk.c: Likewise.
8091         * debug/memmove_chk.c: Likewise.
8092         * debug/mempcpy_chk.c: Likewise.
8093         * debug/memset_chk.c: Likewise.
8094         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8095         * debug/strcat_chk.c (__strcat_chk): Likewise.
8096         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8097         * debug/strncat_chk.c (__strncat_chk): Likewise.
8098         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8099         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8100         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8101         * debug/wcpncpy_chk.c: Likewise.
8102         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8103         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8104         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8105         * debug/wcsncpy_chk.c: Likewise.
8106         * debug/wcsnrtombs_chk.c: Likewise.
8107         * debug/wcsrtombs_chk.c: Likewise.
8108         * debug/wcstombs_chk.c: Likewise.
8109         * debug/wmemcpy_chk.c: Likewise.
8110         * debug/wmemmove_chk.c: Likewise.
8111         * debug/wmempcpy_chk.c: Likewise.
8112         * debug/wmemset_chk.c: Likewise.
8113         * dirent/scandirat.c (SCANDIRAT): Likewise.
8114         * dlfcn/dladdr1.c (dladdr1): Likewise.
8115         * dlfcn/dladdr.c (dladdr): Likewise.
8116         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8117         * dlfcn/dlerror.c (__dlerror): Likewise.
8118         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8119         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8120         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8121         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8122         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8123         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8124         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8125         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8126         Likewise.
8127         * elf/dl-conflict.c: Likewise.
8128         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8129         * elf/dl-dst.h: Likewise.
8130         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8131         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8132         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8133         * elf/dl-init.c (call_init, _dl_init): Likewise.
8134         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8135         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8136         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8137         Likewise.
8138         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8139         Likewise.
8140         * elf/dl-minimal.c (__libc_memalign): Likewise.
8141         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8142         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8143         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8144         * elf/dl-sym.c (do_sym): Likewise.
8145         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8146         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8147         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8148         * elf/dl-writev.h (_dl_writev): Likewise.
8149         * elf/ldconfig.c (search_dir): Likewise.
8150         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8151         (dl_main): Likewise.
8152         * elf/setup-vdso.h (setup_vdso): Likewise.
8153         * grp/compat-initgroups.c (compat_call): Likewise.
8154         * grp/fgetgrent.c (fgetgrent): Likewise.
8155         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8156         * grp/putgrent.c (putgrent): Likewise.
8157         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8158         Likewise.
8159         * hurd/hurdinit.c: Likewise.
8160         * iconvdata/8bit-gap.c (struct): Likewise.
8161         * iconvdata/ansi_x3.110.c : Likewise.
8162         * iconvdata/big5.c : Likewise.
8163         * iconvdata/big5hkscs.c : Likewise.
8164         * iconvdata/cp1255.c: Likewise.
8165         * iconvdata/cp1258.c : Likewise.
8166         * iconvdata/cp932.c : Likewise.
8167         * iconvdata/euc-cn.c: Likewise.
8168         * iconvdata/euc-jisx0213.c : Likewise.
8169         * iconvdata/euc-jp.c: Likewise.
8170         * iconvdata/euc-jp-ms.c : Likewise.
8171         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8172         * iconvdata/gb18030.c : Likewise.
8173         * iconvdata/gbbig5.c (const): Likewise.
8174         * iconvdata/gbgbk.c: Likewise.
8175         * iconvdata/gbk.c : Likewise.
8176         * iconvdata/ibm1364.c : Likewise.
8177         * iconvdata/ibm930.c : Likewise.
8178         * iconvdata/ibm932.c: Likewise.
8179         * iconvdata/ibm933.c : Likewise.
8180         * iconvdata/ibm935.c : Likewise.
8181         * iconvdata/ibm937.c : Likewise.
8182         * iconvdata/ibm939.c : Likewise.
8183         * iconvdata/ibm943.c: Likewise.
8184         * iconvdata/iso_11548-1.c: Likewise.
8185         * iconvdata/iso-2022-cn.c : Likewise.
8186         * iconvdata/iso-2022-cn-ext.c : Likewise.
8187         * iconvdata/iso-2022-jp-3.c: Likewise.
8188         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8189         * iconvdata/iso-2022-kr.c : Likewise.
8190         * iconvdata/iso646.c (gconv_end): Likewise.
8191         * iconvdata/iso_6937-2.c : Likewise.
8192         * iconvdata/iso_6937.c : Likewise.
8193         * iconvdata/iso8859-1.c: Likewise.
8194         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8195         * iconvdata/shift_jisx0213.c : Likewise.
8196         * iconvdata/sjis.c : Likewise.
8197         * iconvdata/t.61.c : Likewise.
8198         * iconvdata/tcvn5712-1.c : Likewise.
8199         * iconvdata/tscii.c: Likewise.
8200         * iconvdata/uhc.c : Likewise.
8201         * iconvdata/unicode.c (gconv_end): Likewise.
8202         * iconvdata/utf-16.c (gconv_end): Likewise.
8203         * iconvdata/utf-32.c (gconv_end): Likewise.
8204         * iconvdata/utf-7.c (base64): Likewise.
8205         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8206         * iconv/gconv_close.c (__gconv_close): Likewise.
8207         * iconv/gconv_open.c (__gconv_open): Likewise.
8208         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8209         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8210         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8211         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8212         (ucs4le_internal_loop_single): Likewise.
8213         * iconv/iconv.c (iconv): Likewise.
8214         * iconv/iconv_close.c: Likewise.
8215         * iconv/loop.c (SINGLE): Likewise.
8216         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8217         * include/atomic.h: Likewise.
8218         * inet/inet6_option.c (option_alloc): Likewise.
8219         * intl/bindtextdom.c (set_binding_values): Likewise.
8220         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8221         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8222         * intl/localealias.c (read_alias_file): Likewise.
8223         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8224         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8225         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8226         * libio/fmemopen.c (fmemopen): Likewise.
8227         * libio/iofgets.c (_IO_fgets): Likewise.
8228         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8229         * libio/iofgetws.c (fgetws): Likewise.
8230         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8231         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8232         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8233         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8234         * locale/findlocale.c (_nl_find_locale): Likewise.
8235         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8236         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8237         Likewise.
8238         * locale/setlocale.c (setlocale): Likewise.
8239         * login/programs/pt_chown.c (main): Likewise.
8240         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8241         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8242         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8243         (mmap, mmap64, mremap, munmap): Likewise.
8244         * math/e_exp2l.c: Likewise.
8245         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8246         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8247         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8248         * math/s_catan.c (__catan): Likewise.
8249         * math/s_catanf.c (__catanf): Likewise.
8250         * math/s_catanh.c (__catanh): Likewise.
8251         * math/s_catanhf.c (__catanhf): Likewise.
8252         * math/s_catanhl.c (__catanhl): Likewise.
8253         * math/s_catanl.c (__catanl): Likewise.
8254         * math/s_ccosh.c (__ccosh): Likewise.
8255         * math/s_ccoshf.c (__ccoshf): Likewise.
8256         * math/s_ccoshl.c (__ccoshl): Likewise.
8257         * math/s_cexp.c (__cexp): Likewise.
8258         * math/s_cexpf.c (__cexpf): Likewise.
8259         * math/s_cexpl.c (__cexpl): Likewise.
8260         * math/s_clog10.c (__clog10): Likewise.
8261         * math/s_clog10f.c (__clog10f): Likewise.
8262         * math/s_clog10l.c (__clog10l): Likewise.
8263         * math/s_clog.c (__clog): Likewise.
8264         * math/s_clogf.c (__clogf): Likewise.
8265         * math/s_clogl.c (__clogl): Likewise.
8266         * math/s_csin.c (__csin): Likewise.
8267         * math/s_csinf.c (__csinf): Likewise.
8268         * math/s_csinh.c (__csinh): Likewise.
8269         * math/s_csinhf.c (__csinhf): Likewise.
8270         * math/s_csinhl.c (__csinhl): Likewise.
8271         * math/s_csinl.c (__csinl): Likewise.
8272         * math/s_csqrt.c (__csqrt): Likewise.
8273         * math/s_csqrtf.c (__csqrtf): Likewise.
8274         * math/s_csqrtl.c (__csqrtl): Likewise.
8275         * math/s_ctan.c (__ctan): Likewise.
8276         * math/s_ctanf.c (__ctanf): Likewise.
8277         * math/s_ctanh.c (__ctanh): Likewise.
8278         * math/s_ctanhf.c (__ctanhf): Likewise.
8279         * math/s_ctanhl.c (__ctanhl): Likewise.
8280         * math/s_ctanl.c (__ctanl): Likewise.
8281         * math/w_pow.c: Likewise.
8282         * math/w_powf.c: Likewise.
8283         * math/w_powl.c: Likewise.
8284         * math/w_scalb.c (sysv_scalb): Likewise.
8285         * math/w_scalbf.c (sysv_scalbf): Likewise.
8286         * math/w_scalbl.c (sysv_scalbl): Likewise.
8287         * misc/error.c (error_tail): Likewise.
8288         * misc/pselect.c (__pselect): Likewise.
8289         * nis/nis_callback.c (__nis_create_callback): Likewise.
8290         * nis/nis_call.c (__nisfind_server): Likewise.
8291         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8292         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8293         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8294         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8295         * nis/nis_lookup.c (nis_lookup): Likewise.
8296         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8297         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8298         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8299         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8300         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8301         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8302         * nis/nss_compat/compat-initgroups.c (add_group)
8303         (internal_getgrent_r): Likewise.
8304         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8305         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8306         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8307         (internal_getspnam_r): Likewise.
8308         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8309         (_nss_nis_getaliasbyname_r): Likewise.
8310         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8311         (_nss_nis_getntohost_r): Likewise.
8312         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8313         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8314         (_nss_nis_getgrgid_r): Likewise.
8315         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8316         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8317         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8318         (_nss_nis_gethostbyname4_r): Likewise.
8319         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8320         (initgroups_netid): Likewise.
8321         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8322         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8323         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8324         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8325         (_nss_nis_getprotobynumber_r): Likewise.
8326         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8327         (_nss_nis_getsecretkey): Likewise.
8328         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8329         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8330         (_nss_nis_getpwuid_r): Likewise.
8331         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8332         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8333         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8334         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8335         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8336         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8337         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8338         Likewise.
8339         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8340         (_nss_nisplus_getntohost_r): Likewise.
8341         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8342         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8343         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8344         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8345         Likewise.
8346         * nis/nss_nisplus/nisplus-initgroups.c
8347         (_nss_nisplus_initgroups_dyn): Likewise.
8348         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8349         (_nss_nisplus_getnetbyaddr_r): Likewise.
8350         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8351         (_nss_nisplus_getprotobynumber_r): Likewise.
8352         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8353         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8354         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8355         Likewise.
8356         * nis/nss_nisplus/nisplus-service.c
8357         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8358         (_nss_nisplus_getservbyport_r): Likewise.
8359         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8360         (_nss_nisplus_getspnam_r): Likewise.
8361         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8362         Likewise.
8363         * nscd/aicache.c (addhstaiX): Likewise.
8364         * nscd/cache.c (cache_search, prune_cache): Likewise.
8365         * nscd/connections.c (register_traced_file, send_ro_fd)
8366         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8367         (main_loop_epoll): Likewise.
8368         * nscd/grpcache.c (addgrbyX): Likewise.
8369         * nscd/hstcache.c (addhstbyX): Likewise.
8370         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8371         * nscd/mem.c (gc, mempool_alloc): Likewise.
8372         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8373         (addinnetgrX): Likewise.
8374         * nscd/nscd-client.h (__nscd_acquire_maplock)
8375         (__nscd_drop_map_ref): Likewise.
8376         * nscd/nscd_getai.c (__nscd_getai): Likewise.
8377         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8378         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8379         Likewise.
8380         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8381         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8382         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8383         (__nscd_get_map_ref): Likewise.
8384         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8385         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8386         Likewise.
8387         * nscd/pwdcache.c (addpwbyX): Likewise.
8388         * nscd/selinux.c (preserve_capabilities): Likewise.
8389         * nscd/servicescache.c (addservbyX): Likewise.
8390         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8391         * posix/fnmatch.c (fnmatch): Likewise.
8392         * posix/getopt.c (_getopt_internal_r): Likewise.
8393         * posix/glob.c (glob, glob_in_dir): Likewise.
8394         * posix/wordexp.c (exec_comm_child): Likewise.
8395         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8396         (getanswer_r, gaih_getanswer_slice): Likewise.
8397         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8398         * resolv/res_init.c: Likewise.
8399         * resolv/res_mkquery.c (res_nmkquery): Likewise.
8400         * resolv/res_query.c (__libc_res_nquery): Likewise.
8401         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8402         Likewise.
8403         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8404         * stdio-common/perror.c (perror): Likewise.
8405         * stdio-common/printf_fp.c (___printf_fp): Likewise.
8406         * stdio-common/tmpnam.c (tmpnam): Likewise.
8407         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8408         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8409         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8410         Likewise.
8411         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8412         * stdlib/putenv.c (putenv): Likewise.
8413         * stdlib/setenv.c (__add_to_environ): Likewise.
8414         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8415         * stdlib/strtol_l.c (INTERNAL): Likewise.
8416         * string/memmem.c (memmem): Likewise.
8417         * string/strerror.c (strerror): Likewise.
8418         * string/strnlen.c (__strnlen): Likewise.
8419         * string/test-memmem.c (simple_memmem): Likewise.
8420         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8421         * sunrpc/pm_getport.c (__get_socket): Likewise.
8422         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8423         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8424         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8425         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8426         Likewise.
8427         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8428         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8429         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8430         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8431         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8432         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8433         Likewise.
8434         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8435         Likewise.
8436         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8437         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8438         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8439         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8440         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8442         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8443         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8444         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8445         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8446         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8447         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8448         Likewise.
8449         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8450         Likewise.
8451         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8452         Likewise.
8453         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8454         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8455         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8456         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8457         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8458         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8459         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8460         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8461         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8462         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8463         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8464         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8465         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8466         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8467         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8468         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8469         Likewise.
8470         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8471         Likewise.
8472         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8473         Likewise.
8474         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8475         Likewise.
8476         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8477         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8478         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8479         Likewise.
8480         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8481         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8482         * sysdeps/posix/opendir.c (__opendirat): Likewise.
8483         * sysdeps/posix/sleep.c: Likewise.
8484         * sysdeps/posix/tempname.c: Likewise.
8485         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8486         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8487         Likewise.
8488         * sysdeps/powerpc/powerpc32/dl-machine.h
8489         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8490         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8491         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8492         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8493         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8494         Likewise.
8495         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8496         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8497         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8498         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8499         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8500         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8501         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8502         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8503         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8504         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8505         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8506         (elf_machine_lazy_rel): Likewise.
8507         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8508         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8509         (elf_machine_lazy_rel): Likewise.
8510         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8511         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8512         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8513         * sysdeps/unix/grantpt.c (grantpt): Likewise.
8514         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8515         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8516         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8517         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8518         Likewise.
8519         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8520         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8521         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8522         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8523         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8524         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8525         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8526         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8527         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8528         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8529         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8530         Likewise.
8531         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8532         (__posix_fallocate64_l64): Likewise.
8533         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8534         (posix_fallocate): Likewise.
8535         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8536         Likewise.
8537         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8538         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8539         (getifaddrs_internal): Likewise.
8540         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8541         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8542         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8543         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8544         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8545         (__posix_fallocate64_l64): Likewise.
8546         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8547         Likewise.
8548         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8549         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8550         (__get_clockfreq): Likewise.
8551         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8552         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8553         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8554         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8555         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8556         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8557         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8558         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8559         Likewise.
8560         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8561         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8562         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8563         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8564         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8565         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8566         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8567         Likewise.
8568         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8569         (posix_fallocate): Likewise.
8570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8571         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8572         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8573         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8574         (elf_machine_rela, elf_machine_rela_relative)
8575         (elf_machine_lazy_rel): Likewise.
8576         * time/asctime.c (asctime_internal): Likewise.
8577         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8578         * time/tzset.c (__tzset_parse_tz): Likewise.
8579         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8580         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8581         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8582         * wcsmbs/wcsmbsload.h: Likewise.
8584         [BZ #15894]
8585         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8587         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8588         (arena_get2): Remove THREAD_STATS conditionals.
8589         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8590         (__malloc_stats, int): Likewise.
8592 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
8594         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8595         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
8597         * manual/setjmp.texi: Fix typos/grammar errors.
8599         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8600         Only return early when n is <= 0.  Delete unused return statement.
8602         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8603         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8604         * debug/tst-longjmp_chk3.c: New file.
8606         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8607         (test_main): Replace code with set_fortify_handler call.
8608         * debug/test-strcpy_chk.c: Likewise.
8609         * debug/tst-chk1.c: Likewise.
8610         * debug/tst-longjmp_chk.c: Likewise.
8611         * test-skeleton.c: Include fcntl.h & paths.h
8612         (set_fortify_handler): Define.
8614         * debug/tst-longjmp_chk.c: Add header comment and include
8615         ../test-skeleton.c.
8616         (do_test): Mark static.
8617         (TEST_FUNCTION): Define.
8619         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8620         (IP_PMTUDISC_INTERFACE): Likewise.
8621         (IP_MULTICAST_IF): Likewise.
8622         (IP_MULTICAST_TTL): Likewise.
8623         (IP_MULTICAST_LOOP): Likewise.
8624         (IP_ADD_MEMBERSHIP): Likewise.
8625         (IP_DROP_MEMBERSHIP): Likewise.
8626         (IP_UNBLOCK_SOURCE): Likewise.
8627         (IP_BLOCK_SOURCE): Likewise.
8628         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8629         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8630         (IP_MSFILTER): Likewise.
8631         (MCAST_JOIN_GROUP): Likewise.
8632         (MCAST_BLOCK_SOURCE): Likewise.
8633         (MCAST_UNBLOCK_SOURCE): Likewise.
8634         (MCAST_LEAVE_GROUP): Likewise.
8635         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8636         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8637         (MCAST_MSFILTER): Likewise.
8638         (IP_MULTICAST_ALL): Likewise.
8639         (IP_UNICAST_IF): Likewise.
8641         * timezone/Makefile: Delete $(have-ksh) check.
8642         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8643         * timezone/tzselect.ksh: Add +x mode bits.
8645         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8646         (ANON_INODE_FS_MAGIC): Likewise.
8647         (BDEVFS_MAGIC): Likewise.
8648         (BINFMTFS_MAGIC): Likewise.
8649         (BTRFS_TEST_MAGIC): Likewise.
8650         (CRAMFS_MAGIC_WEND): Likewise.
8651         (DEBUGFS_MAGIC): Likewise.
8652         (ECRYPTFS_SUPER_MAGIC): Likewise.
8653         (EXT3_SUPER_MAGIC): Likewise.
8654         (EXT4_SUPER_MAGIC): Likewise.
8655         (FUTEXFS_SUPER_MAGIC): Likewise.
8656         (HOSTFS_SUPER_MAGIC): Likewise.
8657         (HUGETLBFS_MAGIC): Likewise.
8658         (MINIX3_SUPER_MAGIC): Likewise.
8659         (MTD_INODE_FS_MAGIC): Likewise.
8660         (NILFS_SUPER_MAGIC): Likewise.
8661         (OPENPROM_SUPER_MAGIC): Likewise.
8662         (PIPEFS_MAGIC): Likewise.
8663         (PSTOREFS_MAGIC): Likewise.
8664         (QNX6_SUPER_MAGIC): Likewise.
8665         (RAMFS_MAGIC): Likewise.
8666         (REISERFS_SUPER_MAGIC_STRING): Likewise.
8667         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8668         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8669         (SECURITYFS_MAGIC): Likewise.
8670         (SELINUX_MAGIC): Likewise.
8671         (SMACK_MAGIC): Likewise.
8672         (SOCKFS_MAGIC): Likewise.
8673         (SQUASHFS_MAGIC): Likewise.
8674         (STACK_END_MAGIC): Likewise.
8675         (TMPFS_MAGIC): Likewise.
8676         (USBDEVICE_SUPER_MAGIC): Likewise.
8677         (V9FS_MAGIC): Likewise.
8678         (XENFS_SUPER_MAGIC): Likewise.
8679         (CRAMFS_MAGIC): Fix typo in comment.
8680         (EXT2_SUPER_MAGIC): Update comment.
8681         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8683 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
8685         * sysdeps/arm: Move directory from ports/sysdeps/arm.
8686         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8687         * sysdeps/unix/sysv/linux/arm: Move directory from
8688         ports/sysdeps/unix/sysv/linux/arm.
8689         * README: Update listing for arm-*-linux-gnueabi.
8691         * README: Remove mention of am33.
8693 2014-02-07  Roland McGrath  <roland@hack.frob.com>
8695         * bits/sigset.h (__sigemptyset): Use a statement expression rather
8696         than the comma operator, to avoid "rhs of comma has no effect"
8697         compiler warnings.
8698         (__sigfillset, __sigandset, __sigorset): Likewise.
8699         * include/signal.h (__sigemptyset): Likewise.
8700         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8702 2014-02-07  Allan McRae  <allan@archlinux.org>
8704         * version.h (RELEASE): Set to "development".
8705         (VERSION): Set to "2.19.90"
8706         * NEWS: Add 2.20 section.
8708 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
8710         [BZ #16529]
8711         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8713 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8715         * manual/contrib.texi: Update entry for Carlos O'Donell,
8716         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8718 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
8720         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8722         * sysdeps/unix/sysv/linux/kernel-features.h
8723         [__LINUX_KERNEL_VERSION >= 0x020621]
8724         (__ASSUME_PROC_PID_TASK_COMM): Define.
8726 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8728         [BZ #16398]
8729         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8730         conversion when destination buffer does not have enough space.
8731         * libio/tst-ftell-partial-wide.c: New test case.
8732         * libio/Makefile (tests): Add tst-ftell-partial-wide.
8734         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8735         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
8736         Leonard and Allan McRae.
8738 2014-02-04  David S. Miller  <davem@davemloft.net>
8740         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8741         32-bit.
8743 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8746         New file
8747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8748         New file
8749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8750         New file.
8751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8752         New file.
8753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8754         New file.
8755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8756         New file.
8757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8758         New file.
8759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8760         New file.
8761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8762         New file.
8763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8764         New file.
8765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8766         New file.
8767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8768         New file.
8769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8770         New file.
8772 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8774         * nptl/shlib-versions: Change powerpc*le start to 2.17.
8775         * shlib-versions: Likewise.
8777 2014-02-04  Roland McGrath  <roland@hack.frob.com>
8778             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8780         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8781         (abilist-pattern): New variable, set to %-le.abilist.
8783         * Makerules (abilist-pattern): New variable.
8784         (vpath): Use $(abilist-pattern) in place of %.abilist.
8785         (check-abi-% pattern rule): Likewise.
8786         (check-abi, update-abi): Likewise.
8788 2014-02-04  Eric Wong  <normalperson@yhbt.net>
8790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8792 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
8794         * manual/startup.texi: Add next, previous, and top entries for
8795         the `Program Arguments' and `Environment Variables' nodes.
8797 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
8799         * manual/macros.texi: Add comments before MTASC-safety macros.
8801         * manual/users.texi: Document MTASC-safety properties.
8803         * manual/threads.texi (pthread_key_create, pthread_key_delete)
8804         (pthread_getspecific, pthread_setspecific): Format with
8805         @deftypefun, and add @safety note.
8806         * manual/signal.texi: Move comments that analyze the above
8807         functions to their home place.
8809 2014-02-03  Allan McRae  <allan@archlinux.org>
8811         * po/sl.po: Update Slovenian translation from translation project.
8813 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
8815         * manual/time.texi (timegm): Add missing blank after @c.
8816         Reported by Joseph Myers <joseph@codesourcery.com>.
8818 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
8820         * manual/check-safety.sh: New.
8821         * manual/Makefile ($(objpfx)stamp-summary): Run it.
8823         * manual/terminal.texi: Document MTASC-safety properties.
8825         * manual/filesys.texi: Document MTASC-safety properties.
8827         * manual/errno.texi: Document MTASC-safety properties.
8829         * manual/intro.texi: Document safety identifiers and
8830         conditionals.
8832         * manual/string.texi (wcstok): Fix prototype.
8833         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8835         * manual/time.texi: Document MTASC-safety properties.
8837         * manual/string.texi: Document MTASC-safety properties.
8839         * manual/threads.texi: Document MTASC-safety properties.
8841         * manual/stdio.texi: Document MTASC-safety properties.
8843         * manual/syslog.texi: Document MTASC-safety properties.
8845         * manual/sysinfo.texi: Document MTASC-safety properties.
8847         * manual/startup.texi: Document MTASC-safety properties.
8849         * manual/socket.texi: Document MTASC-safety properties.
8851         * manual/signal.texi: Document MTASC-safety properties.
8853 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
8855         * manual/setjmp.texi: Document MTASC-safety properties.
8857         * manual/search.texi: Document MTASC-safety properties.
8859         * manual/resource.texi: Document MTASC-safety properties.
8861         * manual/process.texi: Document MTASC-safety properties.
8863         * manual/platform.texi: Document MTASC-safety properties.
8865         * manual/pipe.texi: Document MTASC-safety properties.
8867         * manual/pattern.texi: Document MTASC-safety properties.
8869         * manual/message.texi: Document MTASC-safety properties.
8871         [BZ #12751]
8872         * manual/memory.texi: Document MTASC-safety properties.
8874         * manual/math.texi: Document MTASC-safety properties.
8876         * manual/locale.texi: Document MTASC-safety properties.
8878         * manual/llio.texi: Document MTASC-safety properties.
8880         * manual/libdl.texi: New.
8882         * manual/lang.texi: Document MTASC-safety properties.
8884         * manual/job.texi: Document MTASC-safety properties.
8886         * manual/getopt.texi: Document MTASC-safety properties.
8888         * manual/ctype.texi: Document MTASC-safety properties.
8890 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
8892         [BZ #16046]
8893         * csu/libc-tls.c (static_map): Remove variable.
8894         (__libc_setup_tls): Use main executable's link map for TLS data.
8895         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8896         casing for LM_ID_BASE and GL(dl_nns).
8897         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8898         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
8899         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8900         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8901         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8902         member.
8903         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8904         l_phnum members.
8906 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
8908         * manual/debug.texi: Document MTASC-safety properties.
8910 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
8912         [BZ #16510]
8913         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8914         of __x86_64__ when disabling x87 inline functions.
8916 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
8918         * manual/charset.texi: Document MTASC-safety properties.
8920         * manual/crypt.texi: Document MTASC-safety properties.
8922         * manual/conf.texi: Document MTASC-safety properties.
8924         * manual/arith.texi: Document MTASC-safety properties.
8926         * manual/argp.texi: Document MTASC-safety properties.
8928         * manual/macros.texi: Introduce macros to document multi
8929         thread, asynchronous signal and asynchronous cancellation
8930         safety properties.
8931         * manual/intro.texi: Introduce the properties themselves.
8933 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8935         * sysdeps/sh/sh4/Makefile: New file.
8937 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
8939         * math/gen-libm-test.pl ($srcdir): New variable.
8940         ($auto_input): Use it.
8942 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8944         [BZ #16506]
8945         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8946         access beyond array bounds when parsing netgroups file.
8948         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8949         the old buffer before realloc.
8951 2014-01-27  Allan McRae  <allan@archlinux.org>
8953         * po/fr.po: Update French translation from translation project.
8955 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8957         * sysdeps/sh/libm-test-ulps: Regenerate.
8959 2014-01-24  David S. Miller  <davem@davemloft.net>
8961         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8963 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8965         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8966         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8968 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8970         [BZ #16474]
8971         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8972         string pointers after reallocation.
8974 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8976         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8977         __SH4A__ instead of __SH_FPU_ANY__.
8979 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8981         * sysdeps/sh/fpu_control.h: New file.
8982         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8983         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8984         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8985         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8986         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8987         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8988         * sysdeps/sh/sys/ucontext.h: Remove.
8989         * sysdeps/sh/sys: Remove directory.
8991 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8993         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8994         s390/sys/ucontext.h.
8995         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8996         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8998 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9000         [BZ #15605]
9001         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9003 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9005         [BZ#16431]
9006         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9007         Adjust the vDSO correctly for internal calls.
9008         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9010 2014-01-20  Allan McRae  <allan@archlinux.org>
9012         * po/ca.po: Update Catalan translation from translation project.
9014 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9016         * sysdeps/s390/sotruss-lib.c: New file.
9018 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9020         [BZ#16430]
9021         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9022         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9023         local calls issues by not having a PLT stub required for IFUNC calls.
9024         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9026 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9028         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9029         * math/test-fpucw-static.c: Likewise.
9031 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9033         [BZ #16453]
9034         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9036 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9038         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9039         implementation for powerpc.
9041 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9043         [BZ #14782]
9044         * sysdeps/posix/system.c (__libc_system): Do not enable
9045         asynchronous cancellation.
9047 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9049         [BZ #16427]
9050         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9051         handling only for numbers special also in the IEEE case.
9053 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9055         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9057 2014-01-11  Allan McRae  <allan@archlinux.org>
9059         * po/bg.po: Update Bulgarian translation from translation project.
9061         * po/de.po: Update German translation from translation project.
9063 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9065         * sysdeps/generic/gcc-compat.h: New file.
9067 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9069         * benchtests/asin-inputs: Correct slow inputs.
9070         * benchtests/acos-inputs: Likewise.
9072 2014-01-10  Allan McRae  <allan@archlinux.org>
9074         * po:sv.po: Update Swedish translation from translation project.
9076         * po/vi.po: Update Vietnamese translation from translation project.
9078         * po/eo.po: Update Esperanto translation from translation project.
9080         * po/cs.po: Update Czech translation from translation project.
9082         * po/nl.po: Update Dutch translation from translation project.
9084         * po/pl.po: Update Polish translation from translation project.
9086         * po/ru.po: Update Russian translation from translation project.
9088         * po/uk.po: Update Ukrainian translation from translation project.
9090 2014-01-08  Brooks Moses  <bmoses@google.com>
9092         * elf/dl-load.c: Fix comment typo.
9094 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9096         * po/header.pot: Rename to...
9097         * po/pot.header: ... this.
9098         * po/Makefile: Use pot.header.
9100 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9101             Maxim Kuvyrkov  <maxim@kugelworks.com>
9103         [BZ #16394]
9104         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9105         SRC and DEST against LEN.
9107 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9109         [BZ #16414]
9110         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9111         implementation.
9112         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9114 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9118 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9120         [BZ #16408]
9121         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9122         for large positive arguments.
9124 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9126         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9128         * math/auto-libm-test-in: Mark various tests with
9129         xfail-rounding:ldbl-128ibm.
9130         * math/auto-libm-test-out: Regenerated.
9132         [BZ #16407]
9133         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9134         Increase overflow threshold.
9136 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9138         [BZ #14286]
9139         * stdio-common/vfprintf.c: Check for integer overflow.
9141 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9143         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9144         the first argument and return value of __tls_get_addr_internal.
9146 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9148         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9149         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9151 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9153         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9154         * sysdeps/s390/rtld-global-offsets.sym: New file.
9155         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9156         GLIBC_2.19 symbol.
9157         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9158         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9159         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9160         ... this.
9161         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9162         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9163         ... this.
9164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9165         Regenerate.
9166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9167         Regenerate.
9168         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9169         halfs of GPRs for high_gprs contexts.
9170         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9171         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9172         field.
9173         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9174         uc_flags field.
9175         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9176         64 bit versions:
9177         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9178         for high GPRs (uc_high_gprs) and for future extensions
9179         (__reserved).
9180         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9181         for future extensions (__reserved).
9182         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9183         64 bit versions:
9184         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9185         SC_HIGHGPRS offset definition.
9186         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9187         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9189         * Versions.def: Add GLIBC_2.19 for libpthread.
9190         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9191         siglongjmp for libpthread with GLIBC_2.19 symver.
9192         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9193         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9194         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9195         * sysdeps/s390/__longjmp.c: New file.
9196         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9197         * sysdeps/s390/longjmp.c: New file.
9198         * sysdeps/s390/setjmp.S: New file.
9199         * sysdeps/s390/sigjmp.S: New file.
9200         * sysdeps/s390/v1-longjmp.c: New file.
9201         * sysdeps/s390/v1-setjmp.h: New file.
9202         * sysdeps/s390/v1-sigjmp.c: New file.
9203         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9204         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9205         GLIBC_2.19 version.
9206         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9207         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9208         versioned symbols for ____longjmp_chk.
9209         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9210         Likewise.
9211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9212         Regenerate.
9213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9214         Regenerate.
9215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9216         Regenerate.
9217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9218         Regenerate.
9219         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9220         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9221         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9222         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9223         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9224         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9225         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9226         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9227         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9228         * sysdeps/s390/rtld-__longjmp.c: New file.
9229         * sysdeps/s390/rtld-setjmp.S: New file.
9231 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9233         [BZ #16400]
9234         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9235         Return -__logl (x) for small positive arguments without evaluating
9236         a polynomial.
9238 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9240         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9241         Rename to ...
9242         (__ptrace_peeksiginfo_args): ... this.
9243         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9244         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9245         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9247 2014-01-06  Allan McRae  <allan@archlinux.org>
9249         * inet/netinet/in.h: Fix typo in comment.
9251 2014-01-05  Andreas Jaeger  <aj@suse.de>
9253         * sysdeps/i386/fpu/libm-test-ulps: Update.
9255 2014-01-05  Allan McRae  <allan@archlinux.org>
9257         * po/libc.pot: Regenerated.
9259         * malloc/memusagestat.c: Fix gettext call formatting.
9261 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9263         * nscd/nscd.c: Improve usage() output.
9265 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9267         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9268         * sysdeps/unix/sysv/linux/configure: Regenerated.
9269         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9270         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9272 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9274         [BZ #16390]
9275         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9276         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9278 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9280         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9281         extra tokens at end of #undef directive.
9282         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9283         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9284         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9286 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9288         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9290         * math/auto-libm-test-in: Mark various tests with
9291         xfail-rounding:ldbl-128ibm.
9292         * math/auto-libm-test-out: Regenerated.
9294 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9296         [BZ #16386]
9297         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9298         numbers with subnormal high part when calculating exponent.
9300         [BZ #16385]
9301         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9302         fabs.
9304         [BZ #16384]
9305         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9306         M_LN2l.
9307         (__ieee754_acoshl): Use __log1pl not __log1p.
9309 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9311         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9312         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9313         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9314         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9315         (reused_arena, arena_get2): Convert to GNU style.
9316         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9317         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9318         (memalign_check, __malloc_set_state): Likewise.
9319         * malloc/mallocbug.c (main): Likewise.
9320         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9321         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9322         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9323         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9324         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9325         (__posix_memalign, malloc_info): Likewise.
9326         * malloc/malloc.h: Likewise.
9327         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9328         (mallochook, memalignhook, reallochook, mabort): Likewise.
9329         * malloc/mcheck.h: Likewise.
9330         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9331         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9332         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9333         * malloc/morecore.c (__default_morecore): Likewise.
9334         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9335         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9336         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9337         (print_and_abort): Likewise.
9338         * malloc/obstack.h: Likewise.
9339         * malloc/set-freeres.c (__libc_freeres): Likewise.
9340         * malloc/tst-mallocstate.c (main): Likewise.
9341         * malloc/tst-mtrace.c (main): Likewise.
9342         * malloc/tst-realloc.c (do_test): Likewise.
9344 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9346         [BZ #16366]
9347         * nscd/netgroupcache.c (do_notfound): New function.
9348         (addgetnetgrentX): Use it.
9350         [BZ # 16365]
9351         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9352         NSS_STATUS_NOTFOUND.
9354 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
9356         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9359 2014-01-01  Allan McRae  <allan@archlinux.org>
9361         * scripts/update-copyrights: Update configure input file suffix.
9363         * NEWS: Update copyright year.
9364         * catgets/gencat.c: Likewise.
9365         * csu/version.c: Likewise.
9366         * debug/catchsegv.sh: Likewise.
9367         * debug/pcprofiledump.c: Likewise.
9368         * debug/xtrace.sh: Likewise.
9369         * elf/ldconfig.c: Likewise.
9370         * elf/ldd.bash.in: Likewise.
9371         * elf/pldd.c: Likewise.
9372         * elf/sotruss.ksh: Likewise.
9373         * elf/sprof.c: Likewise.
9374         * iconv/iconv_prog.c: Likewise.
9375         * iconv/iconvconfig.c: Likewise.
9376         * locale/programs/locale.c: Likewise.
9377         * locale/programs/localedef.c: Likewise.
9378         * login/programs/pt_chown.c: Likewise.
9379         * malloc/memusage.sh: Likewise.
9380         * malloc/memusagestat.c: Likewise.
9381         * malloc/mtrace.pl: Likewise.
9382         * manual/libc.texinfo: Likewise.
9383         * nscd/nscd.c: Likewise.
9384         * nss/getent.c: Likewise.
9385         * nss/makedb.c: Likewise.
9386         * posix/getconf.c: Likewise.
9387         * scripts/test-installation.pl: Likewise.
9389         * All files with FSF copyright notices: Update copyright dates
9390         using scripts/update-copyrights.
9391         * intl/plural.c: Regenerated.
9392         * locale/programs/charmap-kw.h: Likewise.
9393         * locale/programs/locfile-kw.h: Likewise.
9395 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
9397         * sysdeps/unix/sysv/linux/configure: Regenerated.
9398         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9399         the linux/fanotify.h header.
9400         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9401         HAVE_LINUX_FANOTIFY_H is defined.
9403 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9405         * benchtests/cos-inputs: New inputs.
9406         * benchtests/sin-inputs: Likewise.
9408         * benchtests/atan-inputs: New inputs. Fix name of multiple
9409         precision fallback inputs.
9411         * benchtests/atanh-inputs: New inputs.
9412         * benchtests/tanh-inputs: Likewise.
9414         * benchtests/acosh-inputs: New inputs.
9415         * benchtests/asinh-inputs: Likewise.
9417         * benchtests/cosh-inputs: New inputs.
9418         * benchtests/sinh-inputs: Likewise.
9420         * benchtests/acos-inputs: Add more inputs.
9421         * benchtests/asin-inputs: Likewise.
9423 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
9425         [BZ #16375]
9426         * manual/arith.texi: Fix spelling.
9427         * manual/charset.texi: Likewise.
9428         * manual/errno.texi: Likewise.
9429         * manual/filesys.texi: Likewise.
9430         * manual/lang.texi: Likewise.
9431         * manual/llio.texi: Likewise.
9432         * manual/locale.texi: Likewise.
9433         * manual/message.texi: Likewise.
9434         * manual/resource.texi: Likewise.
9435         * manual/search.texi: Likewise.
9436         * manual/setjmp.texi: Likewise.
9437         * manual/stdio.texi: Likewise.
9438         * manual/string.texi: Likewise.
9439         * manual/sysinfo.texi: Likewise.
9440         * manual/time.texi: Likewise.
9442 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
9444         * po/sl.po: New file.
9446 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
9448         * .gitignore: Add core/.gdbinit/.gdb_history.
9450 2013-12-27  Allan McRae  <allan@archlinux.org>
9452         [BZ #16369]
9453         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9454         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9456 2013-12-24  Brooks Moses  <bmoses@google.com>
9458         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9459         all compilers that claim C++98 compliance, not just GCC.
9460         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9461         Likewise.
9463 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9465         * NEWS: Restore accidentally deleted bug-fix entries.
9467 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9468             Ondřej Bílka  <neleai@seznam.cz>
9470         [BZ #15073]
9471         * malloc/malloc.c (_int_free): Perform sanity check only if we
9472         have_lock.
9474 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
9476         [BZ #12986]
9477         * manual/stdio.texi (String Input Conversions): Clarify that character
9478         classes are not supported.
9480 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9484 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
9486         [BZ #16337]
9487         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9488         Calculate results for small negative arguments directly rather
9489         than using reflection formula with special underflow handling.
9491         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9492         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9493         sysdeps/unix/bsd/bsd4.4/syscalls.list.
9494         (fchflags): Likewise.
9495         (revoke): Likewise.
9496         (setlogin): Likewise.
9497         (sigaltstack): Likewise.
9498         (wait4): Likewise.
9499         (sigblock): Remove.
9500         (sigsetmask): Likewise.
9501         (wait3): Likewise.
9502         (waitpid): Likewise.
9503         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9504         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9505         file.
9506         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9507         * sysdeps/unix/bsd/Makefile: ... here.
9508         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9509         * sysdeps/unix/bsd/Versions: ... here.
9510         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9511         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9512         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9513         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9514         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9515         * sysdeps/unix/bsd/sigblock.c: ... here.
9516         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9517         * sysdeps/unix/bsd/sigsetmask.c: ... here.
9518         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9519         * sysdeps/unix/bsd/sigvec.c: ... here.
9520         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9521         * sysdeps/unix/bsd/tcdrain.c: ... here.
9522         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9523         * sysdeps/unix/bsd/tcgetattr.c: ... here.
9524         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9525         * sysdeps/unix/bsd/tcsetattr.c: ... here.
9526         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9527         * sysdeps/unix/bsd/wait.c: ... here.
9528         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9529         * sysdeps/unix/bsd/wait3.c: ... here.
9530         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9531         * sysdeps/unix/bsd/waitpid.c: ... here.
9533 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
9535         [BZ #16356]
9536         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9537         round-to-nearest for [!USE_AS_EXPM1L].
9538         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9539         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
9540         more tests of exp and exp10.  Expect some exp10 tests to miss
9541         exceptions or fail in directed rounding modes.
9542         * math/auto-libm-test-out: Regenerated.
9543         * math/libm-test.inc (exp10_tonearest_test_data): New array.
9544         (exp10_test_tonearest): New function.
9545         (exp10_towardzero_test_data): New array.
9546         (exp10_test_towardzero): New function.
9547         (exp10_downward_test_data): New array.
9548         (exp10_test_downward): New function.
9549         (exp10_upward_test_data): New array.
9550         (exp10_test_upward): New function.
9551         (main): Call the new functions.
9552         * sysdeps/i386/fpu/libm-test-ulps: Update.
9553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9555 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
9557         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9558         asinh, atan, atan2, atanh, cbrt, cos and cosh.
9559         * math/auto-libm-test-out: Regenerated.
9560         * math/libm-test.inc (acosh_test_data): Add more tests.
9561         (atanh_test_data): Likewise.
9562         (ceil_test_data): Likewise.
9563         (copysign_test_data): Likewise.
9564         * sysdeps/i386/fpu/libm-test-ulps: Update.
9565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9567         * timezone/checktab.awk: Update from tzcode 2013i.
9568         * timezone/private.h: Likewise.
9569         * timezone/scheck.c: Likewise.
9570         * timezone/tzfile.h: Likewise.
9571         * timezone/tzselect.ksh: Likewise.
9572         * timezone/zdump.c: Likewise.
9573         * timezone/zic.c: Likewise.
9575         * math/auto-libm-test-in: Add tests of cpow.
9576         * math/auto-libm-test-out: Regenerated.
9577         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9578         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9579         mpc_cc_c.
9580         (func_calc_desc): Add mpc_cc_c union field.
9581         (test_functions): Add cpow.
9582         (special_fill_2pi): New function.
9583         (special_real_inputs): Add 2pi.
9584         (calc_generic_results): Handle mpc_cc_c.
9585         * sysdeps/i386/fpu/libm-test-ulps: Update.
9586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9588         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9589         csqrt, ctan and ctanh.
9590         * math/auto-libm-test-out: Regenerated.
9591         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9592         (TEST_COND_x86): Likewise.
9593         (ccos_test_data): Use AUTO_TESTS_c_c.
9594         (ccosh_test_data): Likewise.
9595         (cexp_test_data): Likewise.
9596         (clog_test_data): Likewise.
9597         (csqrt_test_data): Likewise.
9598         (ctan_test_data): Likewise.
9599         (ctan_tonearest_test_data): Likewise.
9600         (ctan_towardzero_test_data): Likewise.
9601         (ctan_downward_test_data): Likewise.
9602         (ctan_upward_test_data): Likewise.
9603         (ctanh_test_data): Likewise.
9604         (ctanh_tonearest_test_data): Likewise.
9605         (ctanh_towardzero_test_data): Likewise.
9606         (ctanh_downward_test_data): Likewise.
9607         (ctanh_upward_test_data): Likewise.
9608         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9609         mpc_c_c.
9610         (func_calc_desc): Add mpc_c_c union field.
9611         (FUNC_mpc_c_c): New macro.
9612         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9613         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9614         ctanh.
9615         (special_fill_min_subnorm_p120): New function.
9616         (special_real_inputs): Add min_subnorm_p120.
9617         (calc_generic_results): Handle mpc_c_c.
9618         * sysdeps/i386/fpu/libm-test-ulps: Update.
9619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9621 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9623         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9624         (do_sin_slow): New functions.
9625         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9626         (cslow2, csloww1, csloww2): Use the new functions.
9628         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9629         Use M to change sign of result instead of X.  Assume X is
9630         positive.
9631         (csloww1): Likewise.
9632         (__sin): Adjust.
9633         (__cos): Adjust.
9635         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9636         arguments A and DA.
9637         (__sin): Adjust.
9638         (__cos): Likewise.
9640         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9641         (__cos): Likewise.
9642         (sloww1): Don't adjust sign of DX.
9643         (csloww1): Likewise.
9644         (sloww2): Use X directly and don't adjust sign of DX.
9645         (csloww2): Likewise.
9647 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9649         * math/auto-libm-test-in: Add tests of cabs and carg.
9650         * math/auto-libm-test-out: Regenerated.
9651         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9652         (carg_test_data): Likewise.
9653         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9654         mpc_c_f.
9655         (func_calc_desc): Add mpc_c_f union field.
9656         (test_functions): Add cabs and carg.
9657         (calc_generic_results): Handle mpc_c_f.
9659         * sysdeps/powerpc/powerpc32/libgcc-compat.S
9660         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9661         as a macro and a compat symbol.
9662         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9663         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9664         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9665         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9666         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9667         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9668         not use .hidden.
9669         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9670         Likewise.
9671         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9672         Likewise.
9673         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9674         Likewise.
9675         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9676         Likewise.
9677         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9678         Likewise.
9679         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9680         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9681         from GLIBC_2.3.2.
9683 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9687 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9689         * manual/texinfo.tex: Update to version 2013-11-26.10 with
9690         trailing whitespace removed.
9691         * scripts/config.guess: Update to version 2013-11-29.
9692         * scripts/config.sub: Update to version 2013-10-01.
9694         * math/auto-libm-test-in: Add tests of sincos.
9695         * math/auto-libm-test-out: Regenerated.
9696         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9697         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9698         mpfr_f_11.
9699         (func_calc_desc): Add mpfr_f_11 union field.
9700         (test_functions): Add sincos.
9701         (calc_generic_results): Handle mpfr_f_11.
9702         * sysdeps/i386/fpu/libm-test-ulps: Update.
9703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9705 2013-12-19  Andreas Schwab  <schwab@suse.de>
9707         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9708         CALL_MCOUNT.
9709         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9710         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9711         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9713 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9715         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9716         * sysdeps/i386/fpu/libm-test-ulps: Update.
9717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9719         [BZ #16293]
9720         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9721         round-to-nearest mode when using frndint.
9722         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9723         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9724         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9725         Likewise.
9726         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
9727         sinh test to fail.
9728         * math/auto-libm-test-out: Regenerated.
9729         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9730         (TEST_COND_x86): Likewise.
9731         (expm1_tonearest_test_data): New array.
9732         (expm1_test_tonearest): New function.
9733         (expm1_towardzero_test_data): New array.
9734         (expm1_test_towardzero): New function.
9735         (expm1_downward_test_data): New array.
9736         (expm1_test_downward): New function.
9737         (expm1_upward_test_data): New array.
9738         (expm1_test_upward): New function.
9739         (main): Run the new test functions.
9740         * sysdeps/i386/fpu/libm-test-ulps: Update.
9741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9743         * include/features.h: Update comment documenting feature test
9744         macros.  Mention _DEFAULT_SOURCE in comment.
9745         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9746         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9747         _BSD_SOURCE and _SVID_SOURCE.
9748         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9749         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9750         !_SVID_SOURCE]: Likewise.
9751         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9752         (__USE_POSIX_IMPLICITLY): Define.
9753         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9754         (_POSIX_SOURCE): Undefine and redefine.
9755         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9756         (_POSIX_C_SOURCE): Likewise.
9757         * manual/creature.texi (_DEFAULT_SOURCE): Document.
9758         (Feature Test Macros): Update documentation of default features.
9760 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9762         * benchtests/Makefile: Add bench-strtok.
9763         * benchtests/bench-strtok.c: New file: strtok benchtest.
9765 2013-12-19  Allan McRae  <allan@archlinux.org>
9767         * manual/install.texi: Suppress menu for plain text output.
9768         * INSTALL: Regenerated.
9770 2013-12-18  Brooks Moses  <bmoses@google.com>
9772         [BZ #15846]
9773         * misc/getauxval.c: Include errno.h.
9774         (__getauxval): Set errno to ENOENT if the requested type is not
9775         found.
9776         * misc/sys/auxv.h (getauxval): Document that it may set errno;
9777         don't declare with __attribute_const__.
9778         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9779         * manual/startup.texi: Document that getauxval sets errno.
9781 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9783         * math/auto-libm-test-in: Add tests of jn and yn.
9784         * math/auto-libm-test-out: Regenerated.
9785         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9786         (yn_test_data): Likewise.
9787         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9788         mpfr_if_f.
9789         (func_calc_desc): Add mpfr_if_f union field.
9790         (FUNC_mpfr_if_f): New macro.
9791         (test_functions): Add jn and yn.
9792         (calc_generic_results): Assert type of second input for
9793         mpfr_ff_f.  Handle mpfr_if_f.
9794         (output_for_one_input_case): Disable all checking for arguments
9795         fitting floating-point types in case of an integer argument.
9796         * sysdeps/i386/fpu/libm-test-ulps: Update.
9797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9800         Don't expect fegetround reference in libm.so.
9802 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9804         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9805         $(config-cflags-nofma).
9807 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9809         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9810         * math/auto-libm-test-out: Regenerated.
9812         [BZ #16338]
9813         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9814         to determine exponent and adjust argument to have exponent of -1.
9815         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9816         log2.
9817         * math/auto-libm-test-out: Regenerated.
9818         * sysdeps/i386/fpu/libm-test-ulps: Update.
9819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9821 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
9823         * manual/probes.texi: Remove cases when per-thread arenas are
9824         disabled.
9826 2013-12-18  Andreas Schwab  <schwab@suse.de>
9828         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9829         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9830         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9831         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9832         * sysdeps/i386/i686/multiarch/Makefile: Update.
9833         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9835 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9837         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9838         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9840 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
9842         [BZ #15968]
9843         Support TZ transition times < 00:00:00.
9844         This is needed for version-3 tz-format files; it supports time
9845         stamps past 2037 for America/Godthab (the only entry in the tz
9846         database for which this change is relevant).
9847         * manual/time.texi (TZ Variable): Document transition times
9848         from -167:59:59 through -00:00:01.
9849         * time/tzset.c (tz_rule): Time of day is now signed.
9850         (__tzset_parse_tz): Parse negative time of day.
9852         Document TZ transition times >= 25:00:00.
9853         * manual/time.texi (TZ Variable): Document transition times from
9854         25:00:00 through 167:59:59.  These are already supported, and this
9855         support will help with version-3 tz-format files.
9857         * manual/time.texi (TZ Variable): Modernize North America example
9858         to reflect current (i.e., 2007-and-later) daylight saving rules.
9860         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9862 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9864         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9865         * sysdeps/unix/bsd/bits/stat.h: Likewise.
9866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9867         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9868         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9869         * sysdeps/unix/bsd/bsdstat.h: Likewise.
9870         * sysdeps/unix/bsd/clock.c: Likewise.
9871         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9872         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9873         * sysdeps/unix/bsd/init-posix.c: Likewise.
9874         * sysdeps/unix/bsd/poll.c: Likewise.
9875         * sysdeps/unix/bsd/ptsname.c: Likewise.
9876         * sysdeps/unix/bsd/seekdir.c: Likewise.
9877         * sysdeps/unix/bsd/setegid.c: Likewise.
9878         * sysdeps/unix/bsd/seteuid.c: Likewise.
9879         * sysdeps/unix/bsd/setgid.c: Likewise.
9880         * sysdeps/unix/bsd/setrgid.c: Likewise.
9881         * sysdeps/unix/bsd/setruid.c: Likewise.
9882         * sysdeps/unix/bsd/setsid.c: Likewise.
9883         * sysdeps/unix/bsd/setuid.c: Likewise.
9884         * sysdeps/unix/bsd/sigaction.c: Likewise.
9885         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9886         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9887         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9888         * sysdeps/unix/bsd/telldir.c: Likewise.
9889         * sysdeps/unix/bsd/times.c: Likewise.
9890         * sysdeps/unix/bsd/usleep.c: Likewise.
9892         * misc/Makefile (install-lib): Remove libbsd-compat.a.
9893         ($(objpfx)libbsd-compat.a): Remove rule.
9895         * include/features.h (__FAVOR_BSD): Do not define.
9896         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9897         features conflicting with POSIX.
9898         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9899         (_BSD_SOURCE): Remove description of not being a subset of other
9900         feature test macros.
9901         * manual/job.texi (getpgrp): Do not document BSD version.
9902         (getpgid): Do not document by reference to BSD getpgrp.
9903         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9904         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9905         * signal/signal.h [__FAVOR_BSD]: Likewise.
9906         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9907         instead of making contents conditional on [__FAVOR_BSD].
9908         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9910 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9914 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9916         [BZ #16314]
9917         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9918         values below 2**-450, not 2**-500.
9919         * math/auto-libm-test-in: Don't allow spurious underflow from
9920         hypot.
9921         * math/auto-libm-test-out: Regenerated.
9923         [BZ #16316]
9924         [BZ #16330]
9925         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9926         values of ha and hb and sort them after adjusting subnormal
9927         arguments.
9928         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9929         Likewise.
9930         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9931         values of ea and eb and sort them after adjusting subnormal
9932         arguments.
9933         * math/auto-libm-test-in: Do not expect some hypot tests of
9934         subnormals to fail.  Add more hypot tests.
9935         * math/auto-libm-test-out: Regenerated.
9937 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9939         [BZ #13304]
9940         * sysdeps/sh/s_fma.c: New file.
9941         * sysdeps/sh/s_fmaf.c: New file.
9942         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
9943         version.
9944         * sysdeps/sh/Implies: Add sh/soft-fp.
9946 2013-12-16  Roland McGrath  <roland@hack.frob.com>
9948         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
9949         level of indirection to members `objname', `errstring', `malloced'.
9950         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9951         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
9952         it as the __longjmp argument (just pass 1 instead).
9953         (_dl_catch_error): Initialize C with argument pointers and address of
9954         volatile local ERRCODE rather than copying values out of C at return.
9956 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
9958         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9959         * math/auto-libm-test-out: Regenerated.
9960         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9961         (hypot_test_data): Likewise.
9962         (pow_test_data): Likewise.
9963         (pow_tonearest_test_data): Likewise.
9964         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9965         mpfr_ff_f.
9966         (func_calc_desc): Add mpfr_ff_f union field.
9967         (FUNC_mpfr_ff_f): New macro.
9968         (test_functions): Add atan2, hypot and pow.
9969         (special_fill_min): New function.
9970         (special_fill_minus_min): Likewise.
9971         (special_fill_min_subnorm): Likewise.
9972         (special_fill_minus_min_subnorm): Likewise.
9973         (special_real_inputs): Add min, -min, min_subnorm and
9974         -min_subnorm.
9975         (calc_generic_results): Handle mpfr_ff_f.
9976         * sysdeps/i386/fpu/libm-test-ulps: Update.
9977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9979 2013-12-16  Will Newton  <will.newton@linaro.org>
9981         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9982         (Aligned Memory Blocks): Add documentation for aligned_alloc
9983         and suggest it as an alternative to posix_memalign.
9984         (Hooks for Malloc): Document __memalign_hook is also called
9985         for aligned_alloc.  (Summary of Malloc): Add summary for
9986         aligned alloc.  Document __memalign_hook is also called
9987         for aligned_alloc.
9989 2013-12-16  Will Newton  <will.newton@linaro.org>
9991         * manual/memory.texi (Malloc Examples): Clarify default
9992         alignment documentation.  Suggest posix_memalign rather
9993         than memalign or valloc.
9994         (Aligned Memory Blocks): Remove suggestion to use memalign
9995         or valloc.  Remove obsolete comment about BSD.
9996         Document memalign errno values and mark the function obsolete.
9997         Document posix_memalign returned error codes.  Mark valloc
9998         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9999         called for posix_memalign and valloc.
10000         (Summary of Malloc): Add posix_memalign to function summary.
10001         __memalign_hook is also called for posix_memalign and valloc.
10003 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10005         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10006         TAYLOR_SIN.
10007         (__sin): Adjust.
10008         (__cos): Likewise.
10009         (sloww): Use mynumber union.  Expand ternary operator into
10010         if-else statements.
10011         (cslow): use mynumber union.
10013 2013-12-16  Allan McRae  <allan@archlinux.org>
10015         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10016         * configure: Regenerated.
10018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10020         [BZ #14120]
10021         * configure.ac: Added --enable-maintainer-mode. Check for
10022         autoconf when enabled.
10023         * configure: Regenerated.
10025         * nscd/nscd.service: New file.
10026         * nscd/nscd.tmpfiles: New file.
10028 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10030         [BZ #12100]
10031         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10032         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10033         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10034         (strstr): Add __strstr_sse2_unaligned ifunc.
10035         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10036         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10037         (strcasestr): Remove __strcasestr_sse42 ifunc.
10038         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10039         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10040         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10042 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10044         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10045         * sysdeps/sh/bits/fenv.h: ... here.
10046         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10048 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10050         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10052         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10053         hypotf multiarch implementations.
10054         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10055         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10056         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10057         multiarch hypot for PPC64.
10058         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10059         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10060         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10061         multiarch hypotf for PPC64.
10063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10064         modff multiarch implementations.
10065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10068         multiarch modf for PPC64.
10069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10072         multiarch modff for PPC64.
10074         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10075         and logl multiarch implementations.
10076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10079         multiarch logb for PPC64.
10080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10083         multiarch logb for PPC64.
10084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10087         multiarch logb for PPC64.
10089         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10090         isinff multiarch implementation.
10091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10092         file.
10093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10095         multiarch isinf for PPC64.
10096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10097         file.
10098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10099         multiarch isinff for PPC64.
10101         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10102         finitef multiarch implementation.
10103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10104         file.
10105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10107         multiarch finite for PPC64.
10108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10109         file.
10110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10111         multiarch finitef for PPC64.
10113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10114         lrint multiarch implementation.
10115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10116         file.
10117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10119         multiarch llrint for PPC64.
10120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10121         multiarch lrint for PPC64.
10123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10124         copysignf multiarch implementation.
10125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10126         file.
10127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10128         file.
10129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10130         multiarch copysign for PPC64.
10131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10132         multiarch copysignf for PPC64.
10134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10135         multiarch implementation.
10136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10137         file.
10138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10139         file.
10140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10141         file.
10142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10143         file.
10144         multiarch llround for PPC64.
10145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10146         multiarch trunc for PPC64.
10147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10148         multiarch truncf for PPC64.
10150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10151         multiarch implementation.
10152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10153         file.
10154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10155         file.
10156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10157         file.
10158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10159         file.
10160         multiarch llround for PPC64.
10161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10162         multiarch round for PPC64.
10163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10164         multiarch roundf for PPC64.
10166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10167         multiarch implementation.
10168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10169         file.
10170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10171         file.
10172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10173         file.
10174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10175         file.
10176         multiarch llround for PPC64.
10177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10178         multiarch floor for PPC64.
10179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10180         multiarch floorf for PPC64.
10182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10183         multiarch implementation.
10184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10185         file.
10186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10187         file.
10188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10189         file.
10190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10191         file.
10192         multiarch llround for PPC64.
10193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10194         multiarch ceil for PPC64.
10195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10196         multiarch ceilf for PPC64.
10198         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10199         multiarch implementation.
10200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10201         file.
10202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10203         file.
10204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10205         file.
10206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10207         multiarch llround for PPC64.
10208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10209         multiarch lround for PPC64.
10211         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10212         multiarch implementation.
10213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10216         file.
10217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10220         multiarch isnan for PPC64.
10221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10222         multiarch isnanf for PPC64.
10224         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10225         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10226         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10227         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10228         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10231         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10232         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10233         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10234         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10237         multiarch implementations.
10238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10239         (__libc_ifunc_impl_list): Likewise.
10240         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10241         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10242         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10243         multiarch stpcpy for PPC64.
10245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10246         multiarch implementations.
10247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10248         (__libc_ifunc_impl_list): Likewise.
10249         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10250         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10251         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10252         multiarch strcpy for PPC64.
10254         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10255         redefine function name.
10256         (_wordcopy_fwd_dest_aligned): Likewise.
10257         (_wordcopy_bwd_aligned): Likewise.
10258         (_wordcopy_bwd_dest_aligned): Likewise.
10259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10260         multiarch implementations.
10261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10262         (__libc_ifunc_impl_list): Likewise.
10263         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10264         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10265         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10266         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10267         multiarch wcscpy for PPC64.
10269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10270         multiarch implementations.
10271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10272         (__libc_ifunc_impl_list): Likewise.
10273         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10274         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10275         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10276         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10277         multiarch wcscpy for PPC64.
10279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10280         multiarch implementations.
10281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10282         (__libc_ifunc_impl_list): Likewise.
10283         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10284         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10285         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10286         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10287         multiarch wcsrchr for PPC64.
10289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10290         multiarch implementations.
10291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10292         (__libc_ifunc_impl_list): Likewise.
10293         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10294         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10295         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10296         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10297         multiarch wcschr for PPC64.
10299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10300         multiarch implementations.
10301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10302         (__libc_ifunc_impl_list): Likewise.
10303         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10304         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10305         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10306         multiarch strchrnul for PPC64.
10308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10309         implementations.
10310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10311         (__libc_ifunc_impl_list): Likewise.
10312         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10313         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10314         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10315         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10316         strchr for PPC64.
10318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10319         implementations.
10320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10321         (__libc_ifunc_impl_list): Likewise.
10322         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10323         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10324         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10325         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10326         strncmp for PPC64.
10328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10329         multiarch implementations.
10330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10331         (__libc_ifunc_impl_list): Likewise.
10332         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10333         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10334         strncasecmp for PPC64.
10335         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10336         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10337         multiarch strncasecmp_l for PPC64.
10339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10340         multiarch implementations.
10341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10342         (__libc_ifunc_impl_list): Likewise.
10343         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10344         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10345         multiarch strcasecmp for PPC64.
10346         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10347         file.
10348         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10349         multiarch strcasecmp_l for PPC64.
10351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10352         implementations.
10353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10354         (__libc_ifunc_impl_list): Likewise.
10355         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10356         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10357         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10358         strnlen for PPC64.
10360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10361         implementations.
10362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10363         (__libc_ifunc_impl_list): Likewise.
10364         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10365         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10366         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10367         strlen for PPC64.
10369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10370         implementations.
10371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10372         (__libc_ifunc_impl_list): Likewise.
10373         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10374         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10375         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10376         rawmemrchr for PPC64.
10378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10379         implementation.
10380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10381         (__libc_ifunc_impl_list): Likewise.
10382         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10383         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10384         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10385         memrchr for PPC64.
10387         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10388         implementation.
10389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10390         (__libc_ifunc_impl_list): Likewise.
10391         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10392         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10393         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10394         memchr for PPC64.
10396         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10397         implementation.
10398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10399         (__libc_ifunc_impl_list): Likewise.
10400         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10401         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10402         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10403         mempcpy for PPC64.
10405         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10406         avoid cretion of __bzero symbol.
10407         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10408         Likewise.
10409         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10410         Likewise.
10411         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10412         Likewise.
10413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10414         multiarch implementations.
10415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10416         (__libc_ifunc_impl_list): Likewise.
10417         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10418         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10419         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10420         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10421         bzero for PPC32.
10422         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10423         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10424         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10425         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10426         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10427         memset for PPC64.
10428         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10430         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10432         implementations.
10433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10434         (__libc_ifunc_impl_list): Likewise.
10435         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10436         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10437         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10438         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10439         memcmp for PPC64.
10441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10442         multiarch for POWER/PPC64.
10443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10444         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10445         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10446         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10447         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10448         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10449         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10450         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10451         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10452         memcpy for PPC64.
10454         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10455         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10456         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10457         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10458         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10459         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10460         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10461         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10462         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10463         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10464         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10465         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10466         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10467         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10468         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10477 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10479         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10481 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10483         * benchtests/Makefile (bench): Add exp2 and log2.
10484         (LDLIBS-bench-exp2): Add -lm.
10485         (LDLIBS-bench-log2): Likewise.
10486         * benchtests/exp2-inputs: New inputs file.
10487         * benchtests/log2-inputs: New inputs file.
10488         * benchtests/log-inputs: Add new inputs.
10489         * benchtests/tan-inputs: Likewise.
10491 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10493         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10494         definition...
10495         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10496         (csloww2): ... from here.
10498         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10499         instead of structures.
10500         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10501         (POLYNOMIAL): Likewise.
10502         (TAYLOR_SLOW): Likewise.
10503         (__sin): Likewise.
10504         (__cos): Likewise.
10505         (slow1): Likewise.
10506         (slow2): Likewise.
10507         (sloww): Likewise.
10508         (sloww1); Likewise.
10509         (sloww2): Likewise.
10510         (bsloww1): Likewise.
10511         (bsloww2): Likewise.
10512         (cslow2): Likewise.
10513         (csloww): Likewise.
10514         (csloww1): Likewise.
10515         (csloww2): Likewise.
10517 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
10519         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10520         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10521         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10522         * malloc/hooks.c (realloc_check): Likewise.
10524         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10525         * malloc/arena.c: Remove PER_THREAD conditional.
10526         [!PER_THREAD]: Remove code.
10527         (ptmalloc_unlock_all2): Likewise.
10528         (ptmalloc_init): Likewise.
10529         (_int_new_arena): Likewise.
10530         (arena_get2): Likewise.
10531         * malloc/hooks.c (__malloc_get_state): Likewise.
10532         (__malloc_set_state): Likewise.
10533         * malloc/malloc.c: Likewise.
10534         (struct malloc_state): Likewise.
10535         (struct malloc_par): Likewise.
10536         (__libc_realloc): Likewise.
10537         (__libc_mallopt): Likewise.
10539 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10541         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10543 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
10545         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10546         macro to a function.  Check for zero perturb_byte.
10547         (_int_malloc, _int_free): Remove zero perturb_byte checks.
10549         * malloc/malloc.c: (force_reg): Remove.
10550         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10551         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10552         force_reg by atomic_forced_read.
10553         * malloc/arena.c (ptmalloc_init): Likewise.
10554         * malloc/hooks.c (top_check): Likewise.
10556 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10560 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
10562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10564 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
10566         * math/auto-libm-test-in: Add tests of lgamma.
10567         * math/auto-libm-test-out: Regenerated.
10568         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10569         (M_LOG_2_SQRT_PIl): Likewise.
10570         (lgamma_test_data): Use AUTO_TESTS_f_f1.
10571         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10572         mpfr_f_f1.
10573         (func_calc_desc): Add mpfr_f_f1 union field.
10574         (ARGS1): New macro.
10575         (ARGS2): Likewise.
10576         (ARGS3): Likewise.
10577         (ARGS4): Likewise.
10578         (RET1): Likewise.
10579         (RET2): Likewise.
10580         (CALC): Likewise.
10581         (FUNC): Likewise.
10582         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10583         (test_functions): Add lgamma.
10584         (calc_generic_results): Handle mpfr_f_f1.
10585         * sysdeps/i386/fpu/libm-test-ulps: Update.
10586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10588 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10590         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10591         __mpn_add_n for PowerPC64/POWER7.
10592         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10593         __mpn_sub_n for PowerPC64/POWER7.
10595         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10596         __mpn_addmul_1 for PowerPC64.
10597         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10598         __mpn_submul_1 for PowerPC64.
10599         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10600         for PowerPC64.
10601         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10602         for PowerPC64.
10604 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
10606         [BZ #15089]
10607         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10609 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10611         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10613         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10614         add multiarch folders.
10615         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10616         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10617         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10618         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10619         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10620         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10621         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10622         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10623         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10624         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10625         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10634         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10636         New file.
10637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10638         New file.
10639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10640         multiarch __ieee754_hypot for PowerPC32.
10641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10642         New file.
10643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10644         New file.
10645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10646         multiarch __ieee754_hypotf for PowerPC32.
10648         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10649         long_double_symbol only if __logbl is defined.
10650         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10651         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10652         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10653         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10654         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10655         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10656         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10657         path for implementation.
10658         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10659         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10661         logb, and logbl multiarch implementations for PowerPC32.
10662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10663         file.
10664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10665         file.
10666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10667         multiarch logb for PowerPC32.
10668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10669         file.
10670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10671         file.
10672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10673         multiarch logbf for PowerPC32.
10674         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10676         file.
10677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10678         multiarch logbl implementation for PowerPC32.
10680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10681         and modff multiarch implementations.
10682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10683         New file.
10684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10685         New file.
10686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10687         multiarch modf for PowerPC32.
10688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10689         New file.
10690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10691         New file.
10692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10693         multiarch modff for PowerPC32.
10695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10696         and lrintf multiarch implementations.
10697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10698         New file.
10699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10700         New file.
10701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10702         multiarch lrint for PowerPC32.
10703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10704         file: multiarch lrintf for PowerPC32.
10706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10707         and lroundf multiarch implementations.
10708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10709         New file.
10710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10711         New file.
10712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10713         New file.
10714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10715         multiarch lround for PowerPC32.
10716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10717         file: multiarch lroundf for PowerPC32.
10719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10720         copysign and copysignf multiarch implementations.
10721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10722         New file.
10723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10724         New file.
10725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10726         file: multiarch copysign for PowerPC32.
10727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10728         file: multiarch copysignf for PowerPC32.
10730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10731         and truncf multiarch implementations.
10732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10733         New file.
10734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10735         file.
10736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10737         multiarch trunc for PowerPC32.
10738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10739         New file.
10740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10741         New file.
10742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10743         multiarch truncf for PowerPC32.
10745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10746         and roundf multiarch implementations.
10747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10748         New file.
10749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10750         file.
10751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10752         multiarch round for PowerPC32.
10753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10754         New file.
10755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10756         New file.
10757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10758         multiarch roundf for PowerPC32.
10760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10761         and floorf multiarch implementations.
10762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10763         New file.
10764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10765         file.
10766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10767         multiarch floor for PowerPC32.
10768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10769         New file.
10770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10771         New file.
10772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10773         multiarch floorf for PowerPC32.
10775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10776         and ceilf multiarch implementations.
10777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10778         New file.
10779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10780         file.
10781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10782         multiarch ceil for PowerPC32.
10783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10784         New file.
10785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10786         file.
10787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10788         multiarch ceilf for PowerPC32.
10790         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10791         is defined.
10792         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10793         FINITEF is defined.
10794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10795         and finitef multiarch implementations.
10796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10797         New file.
10798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10799         file.
10800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10801         multiarch finite for PowerPC32.
10802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10803         New file.
10804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10805         file: multiarch finitef for PowerPC32.
10807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10808         and isinff multiarch implementations.
10809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10810         file.
10811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10812         file.
10813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10814         multiarch isinf for PowerPC32.
10815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10816         New file.
10817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10818         multiarch isinff for PowerPC32.
10820         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10821         alias when __isnan is defined.
10822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10823         and isnanf multiarch implementations.
10824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10825         file.
10826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10827         file.
10828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10829         file.
10830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10831         file.
10832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10833         multiarch isnan for PowerPC32.
10834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10835         New file.
10836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10837         New file.
10838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10839         multiarch isnanf for PowerPC32.
10841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10842         and sqrtf multiarch implementations.
10843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10844         file.
10845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10846         file.
10847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10848         multiarch sqrt for PowerPC32.
10849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10850         file.
10851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10852         file.
10853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10854         multiarch sqrtf for PowerPC32.
10856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10857         and llroundf multiarch implementations.
10858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10859         New file.
10860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10861         New file.
10862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10863         New file.
10864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10865         file: multiarch llround for PowerPC32.
10866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10867         file: multiarch llroundf for PowerPC32.
10869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10870         multiarch PowerPC32 fpu implementations.
10871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10872         New file.
10873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10874         New file.
10875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10876         multiarch llrint for PowerPC32.
10877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10878         New file.
10879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10880         New file.
10881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10882         file.
10884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10886         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10887         file.
10888         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10889         file.
10890         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10891         file.
10892         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10893         multiarch wordcopy for PPC32.
10894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10895         wordcopy objects.
10896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10897         (__libc_ifunc_impl_list): Likewise.
10898         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10899         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10900         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10901         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10902         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10903         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10905         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10906         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10907         file.
10908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10909         file.
10910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10911         file.
10912         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10913         multiarch wcscpy for PPC32.
10914         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10915         multiarch objects.
10916         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10917         (__libc_ifunc_impl_list): Likewise.
10918         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10919         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10920         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10921         sysdeps/powerpc/power6/wcscpy.c.
10923         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10925         file.
10926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10927         file.
10928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10929         file.
10930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10931         multiarch wcsrchr for PPC32.
10932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10933         multiarch objects.
10934         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10935         (__libc_ifunc_impl_list): Likewise.
10936         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10937         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10938         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10939         sysdeps/powerpc/power6/wcsrchr.c.
10941         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10942         file.
10943         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10944         file.
10945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10946         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10947         multiarch wcschr for PPc32.
10948         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10949         multiarch objects.
10950         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10951         (__libc_ifunc_impl_list): Likewise.
10952         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10953         * sysdeps/powerpc/power6/wcschr.c: ... to here.
10954         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10955         sysdeps/powerpc/power6/wcschr.c.
10957         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10958         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10959         file.
10960         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10961         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10962         file: multiarch strchr for PPC32.
10963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10964         multiarch objects.
10965         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10966         (__libc_ifunc_impl_list): Likewise.
10968         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10969         name.
10970         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10971         file.
10972         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10973         file.
10974         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10975         multiarch strchrnul for PPC32.
10976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10977         multiarch objects.
10978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10979         (__libc_ifunc_impl_list): Likewise.
10981         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10982         file.
10983         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10984         multiarch strncasecmp for PPC32.
10985         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10986         file.
10987         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10988         multiarch strncasecmp_l for PPC32.
10989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10990         strncasecmp multiarch objects.
10991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10992         (__libc_ifunc_impl_list): Likewise.
10994         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10995         file.
10996         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10997         multiarch strncasecmp for PPC32.
10998         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10999         New file.
11000         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11001         multiarch strcasecmp_l for PPC32.
11002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11003         multiarch objects.
11004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11005         (__libc_ifunc_impl_list): Likewise.
11007         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11008         file.
11009         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11010         file.
11011         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11012         multiarch strncmp for PPC32.
11013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11014         multiarch objects.
11015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11016         (__libc_ifunc_impl_list): Likewise.
11018         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11019         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11020         file.
11021         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11022         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11024         multiarch objects.
11025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11026         (__libc_ifunc_impl_list): Likewise.
11028         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11029         file.
11030         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11031         file.
11032         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11034         multiarch objects.
11035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11036         (__libc_ifunc_impl_list): Likewise.
11038         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11039         file.
11040         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11041         file.
11042         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11043         multiarch rawmemchr for PPC32.
11044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11045         multiarch objects.
11046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11047         (__libc_ifunc_impl_list): Likewise.
11049         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11050         file.
11051         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11052         file.
11053         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11054         file: memrchr multiarch for PPC32.
11055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11056         multiarch objects.
11057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11058         (__libc_ifunc_impl_list): Likewise.
11060         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11061         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11062         file.
11063         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11064         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11065         multiarch memchr for PPC32.
11066         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11067         multiarch objects.
11068         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11069         (__libc_ifunc_impl_list): Likewise.
11071         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11072         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11073         file.
11074         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11075         file.
11076         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11077         file: multiarch mempcpy for PPC32.
11078         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11079         multiarch objects.
11080         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11081         (__libc_ifunc_impl_list): Likewise.
11083         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11084         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11085         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11086         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11087         multiarch bzero for PPC32.
11088         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11089         file.
11090         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11091         file.
11092         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11093         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11094         file: multiarch memset for PPC32.
11095         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11097         memset multiarch objects.
11098         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11099         (__libc_ifunc_impl_list): Likewise.
11101         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11102         file.
11103         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11104         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11105         memcmp for PPC32.
11106         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11108         multiarch objects.
11109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11110         (__libc_ifunc_impl_list): Likewise.
11112         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11113         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11114         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11115         file.
11116         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11117         file.
11118         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11119         file.
11120         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11121         multiarch memcpy for PPC32.
11122         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11123         multiarch objects.
11124         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11125         (__libc_ifunc_impl_list): Likewise.
11127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11128         support multiarch for POWER/PPC32.
11129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11130         Likewise.
11131         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11133         Implies file to make multiarch folder appers before the fpu and
11134         default folder for power4 configuration.
11136 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11138         * scripts/bench.pl: Append volatile keyword to type.
11140 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11142         * sysdeps/sh/sotruss-lib.c: New file.
11143         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11145 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11149 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11151         [BZ #6810]
11152         * math/w_tgamma.c: Include <errno.h>.
11153         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11154         * math/w_tgammaf.c: Include <errno.h>.
11155         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11156         * math/w_tgammal.c: Include <errno.h>.
11157         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11158         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11159         underflow.  Add more tgamma tests.
11160         * math/auto-libm-test-out: Regenerated.
11161         * sysdeps/i386/fpu/libm-test-ulps: Update.
11162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11164         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11165         sin, sinh, tan, tanh, tgamma, y0 and y1.
11166         * math/auto-libm-test-out: Regenerated.
11167         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11168         (TEST_COND_x86): Likewise.
11169         (M_E2l): Remove macro.
11170         (M_E3l): Likewise.
11171         (M_2_SQRT_PIl): Likewise.
11172         (M_SQRT_PIl): Likewise.
11173         (M_1_DIV_El): Likewise.
11174         (log_test_data): Use AUTO_TESTS_f_f.
11175         (log10_test_data): Likewise.
11176         (log1p_test_data): Likewise.
11177         (log2_test_data): Likewise.
11178         (sin_test_data): Likewise.
11179         (sin_tonearest_test_data): Likewise.
11180         (sin_towardzero_test_data): Likewise.
11181         (sin_downward_test_data): Likewise.
11182         (sin_upward_test_data): Likewise.
11183         (sinh_test_data): Likewise.
11184         (sinh_tonearest_test_data): Likewise.
11185         (sinh_towardzero_test_data): Likewise.
11186         (sinh_downward_test_data): Likewise.
11187         (sinh_upward_test_data): Likewise.
11188         (tan_test_data): Likewise.
11189         (tan_tonearest_test_data): Likewise.
11190         (tan_towardzero_test_data): Likewise.
11191         (tan_downward_test_data): Likewise.
11192         (tan_upward_test_data): Likewise.
11193         (tanh_test_data): Likewise.
11194         (tgamma_test_data): Likewise.
11195         (y0_test_data): Likewise.
11196         (y1_test_data): Likewise.
11197         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11198         (special_real_inputs): Add pi/4.
11199         * sysdeps/i386/fpu/libm-test-ulps: Update.
11200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11202 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11204         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11205         "longjmp_target" static probes.
11206         (__longjmp): Rename to __longjmp_symbol.
11207         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11208         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11209         on which longjmp to generate.
11210         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11211         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11212         probe.
11213         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11214         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11215         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11216         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11217         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11218         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11220         __longjmp_symbol based on which __longjmp to generate.
11221         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11222         probe.
11223         (setjmp): Rename to setjmp_symbol.
11224         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11225         (_setjmp): Rename to _setjmp_symbol.
11226         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11227         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11228         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11229         which setjmp to generate.
11230         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11231         "longjmp_target" static probes.
11233 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11235         * benchtests/README: Add note about output arguments.
11236         * benchtests/bench-sincos.c: Remove file.
11237         * benchtests/sincos-inputs: New file.
11238         * scripts/bench.pl: Identify output arguments and define
11239         static variables for them.
11241         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11243         [BZ #15941]
11244         * Makefile (INSTALL): Add install-plain.texi as the primary
11245         dependency.
11246         * manual/install-plain.texi: New file.
11247         * manual/install.texi: Include node directive only for
11248         non-plaintext output.
11250 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11252         * stdlib/longlong.h: Update from GCC.
11254         [BZ #6807]
11255         [BZ #15901]
11256         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11257         * math/w_j0f.c (y0f): Likewise.
11258         * math/w_j0l.c (__y0l): Likewise.
11259         * math/w_j1.c (y1): Likewise.
11260         * math/w_j1f.c (y1f): Likewise.
11261         * math/w_j1l.c (__y1l): Likewise
11262         * math/w_jn.c (yn): Likewise.
11263         * math/w_jnf.c (ynf): Likewise.
11264         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11265         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11266         value for Bessel function domain errors outside _SVID_ mode.
11267         Adjust sign of return value for yn (negative integer, 0).
11268         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11269         by zero in return for negative x and set sign appropriately for
11270         negative n.
11271         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11272         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11273         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11274         expectations in error cases.
11275         (y1_test_data): Likewise.
11276         (yn_test_data): Likewise.
11277         * sysdeps/i386/fpu/libm-test-ulps: Update.
11278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11280 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11282         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11283         "64" to "64-v1".  Add "64-v2".
11284         (abi-64-options): Rename to ...
11285         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11286         (abi-64-condition): Rename to ...
11287         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11288         (abi-64-ld-soname): Rename to ...
11289         (abi-64-v1-ld-soname): ... this.
11290         (abi-64-v2-options): Define.
11291         (abi-64-v2-condition): Likewise.
11292         (abi-64-v2-ld-soname): Likewise.
11293         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11294         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11299 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11300             Alan Modra  <amodra@gmail.com>
11302         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11303         New versions for use with the ELFv2 ABI.
11304         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11305         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11306         declaration.
11307         (struct La_ppc64v2_retval): Likewise.
11308         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11309         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11310         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11311         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11312         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11313         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11314         Do not save or restore CR.
11315         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11316         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11317         return values for ELFv2 ABI.  Fix location of FPR return registers.
11318         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11319         updated values for _CALL_ELF == 2.
11320         (La_regs, La_retval, int_retval): Likewise.
11322 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11324         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11325         (FRAME_MIN_SIZE_PARM): Likewise.
11326         (FRAME_BACKCHAIN): Likewise.
11327         (FRAME_CR_SAVE): Likewise.
11328         (FRAME_LR_SAVE): Likewise.
11329         (FRAME_TOC_SAVE): Likewise.
11330         (FRAME_PARM_SAVE): Likewise.
11331         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11332         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11333         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11334         (call_mcount_parm_offset): New macro.
11335         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11336         (PROF): Use symbolic stack frame offsets.
11337         (TAIL_CALL_SYSCALL_ERROR): Likewise.
11338         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11339         Redefine in terms of FRAME_MIN_SIZE.
11340         (_dl_runtime_resolve): Use symbolic stack frame offsets.
11341         (_dl_profile_resolve): Likewise.  Update comment.
11342         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11343         symbols stack frame offsets.
11344         (__sigsetjmp): Likewise.
11345         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11346         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11347         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11348         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11351         (FRAME_BACKCHAIN): Remove.
11352         (FRAME_CR_SAVE): Likewise.
11353         (FRAME_LR_SAVE): Likewise.
11354         (FRAME_COMPILER_DW): Likewise.
11355         (FRAME_LINKER_DW): Likewise.
11356         (FRAME_TOC_SAVE): Likewise.
11357         (FRAME_PARM_SAVE): Likewise.
11358         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11359         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11360         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11362         (CHECK_SP): Use symbolic stack frame offsets.
11363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11364         zone" instead of caller's parameter save area for temp storage.
11365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11366         Likewise.  Also, use symbolic stack frame offsets.
11367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11368         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11369         our own stack frame instead of the caller's.
11370         (__socket): Use symbolic stack frame offsets.
11372 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11373             Alan Modra  <amodra@gmail.com>
11375         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11376         Define.
11377         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11378         (PPC64_LOCAL_ENTRY_OFFSET): Define.
11379         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11380         New function.
11381         (elf_machine_fixup_plt): Call it.
11382         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
11383         reloc arguments.
11384         (elf_machine_rela): Update call to elf_machine_plt_conflict.
11385         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11386         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11387         r2 before calling target.
11389 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11390             Alan Modra  <amodra@gmail.com>
11392         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11393         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11394         versions of macros to support ELFv2 ABI.
11395         (LOCALENTRY): New macro.
11396         (ENTRY, EALIGN): Use it.
11397         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11398         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11399         fall through into ENTRY entry point.
11400         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11401         Only define if _CALL_ELF != 2.
11403         (elf_machine_matches_host): Verify ABI version matches.
11404         (RTLD_START): Use LOCALENTRY.
11405         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11406         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11407         (PLT_ENTRY_WORDS): New macro.
11408         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11409         (elf_machine_runtime_setup): Support ELFv2 ABI.
11410         (elf_machine_fixup_plt): Likewise.
11411         (elf_machine_plt_conflict): Likewise.
11412         (resolve_ifunc): Likewise.
11413         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11414         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11415         Likewise.
11416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11417         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11419         (makecontext): Support ELFv2 ABI.
11420         * elf/elf.h (EF_PPC64_ABI): Define.
11422 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11424         * sysdeps/powerpc/powerpc64/sysdep.h
11425         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11426         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11427         (ENTRY) [ASSEMBLER]: ... but instead here ...
11428         (EALIGN) [ASSEMBLER]: ... and here.
11429         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11430         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11431         (ENTRY_2) [!ASSEMBLER]: Use it.
11432         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11433         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
11434         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11435         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11436         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11438         Use PPC64_LOAD_FUNCPTR.
11440         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11442 2013-12-04  Alan Modra  <amodra@gmail.com>
11444         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11445         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11446         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11447         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11449         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11450         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11451         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11452         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11453         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11454         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11456 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11459         (__makecontext): Fix incorrect CFI when backtracing out of
11460         context created via makecontext.
11461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11462         (__setcontext): Fix incorrect CFI during switch to new context.
11463         (__novec_setcontext): Likewise.
11465 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11467         [BZ #4772]
11468         * time/strptime_l.c (__strptime_internal): Allow modifiers
11469         in strptime.
11470         * time/tst-strptime.c (day_tests): Add testcase.
11472 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11474         * scripts/bench.pl: Skip over blank lines.
11476 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11478         [BZ #926]
11479         * manual/time.texi (Calendar Time): Clarify what timezone functions
11480         use.
11482 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11486 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11488         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11489         implementation.
11490         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11491         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11492         * debug/memset_chk.c (__memset_chk): Likewise.
11493         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11494         * debug/strncpy_chk.c: Likewise.
11496 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11498         [BZ #15268]
11499         [BZ #15425]
11500         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11501         (__ieee754_exp): For possibly underflowing results, check size of
11502         result and force underflow exception if required.
11503         * math/auto-libm-test-in: Add more tests of exp.
11504         * math/auto-libm-test-out: Regenerated.
11505         * sysdeps/i386/fpu/libm-test-ulps: Update.
11506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11508         [BZ #16283]
11509         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11510         * math/w_exp2f.c (__exp2f): Likewise.
11511         * math/w_exp2l.c (__exp2l): Likewise.
11512         * math/auto-libm-test-in: Do not allow missing errno on exp2
11513         underflow.
11514         * math/auto-libm-test-out: Regenerated.
11516 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
11518         [BZ #16274]
11519         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11520         handle filename validation.
11521         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11522         (do_open): Delete.
11524 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11526         [BZ #6786]
11527         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11528         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11529         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11530         <float.h>.
11531         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11532         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11533         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11534         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11535         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11536         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11537         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11538         * math/auto-libm-test-in: Don't allow missing errno from erfc.
11539         Add more erfc tests.
11540         * math/auto-libm-test-out: Regenerated.
11541         * sysdeps/i386/fpu/libm-test-ulps: Update.
11542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11544         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11545         exp2, expm1, j0 and j1.
11546         * math/auto-libm-test-out: Regenerated.
11547         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11548         (erfc_test_data): Likewise.
11549         (exp_test_data): Likewise.
11550         (exp_tonearest_test_data): Likewise.
11551         (exp_towardzero_test_data): Likewise.
11552         (exp_downward_test_data): Likewise.
11553         (exp_upward_test_data): Likewise.
11554         (exp10_test_data): Likewise.
11555         (exp2_test_data): Likewise.
11556         (expm1_test_data): Likewise.
11557         (j0_test_data): Likewise.
11558         (j1_test_data): Likewise.
11559         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11560         (input_flag_type): Add flag_xfail_rounding.
11561         (input_flags): Add xfail-rounding.
11562         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11563         (output_for_one_input_case): Handle flag_xfail_rounding.
11564         * sysdeps/i386/fpu/libm-test-ulps: Update.
11565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11567 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
11569         [BZ #16289]
11570         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11571         division by 0.
11573 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11575         [BZ #16195]
11576         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11577         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11578         (STAP_PROBE0): New macro.
11579         (STAP_PROBE1): Likewise.
11580         (STAP_PROBE2): Likewise.
11581         (STAP_PROBE3): Likewise.
11582         (STAP_PROBE4): Likewise.
11584 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
11586         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11588 2013-12-02  Steve Ellcey  <sellcey@mips.com>
11590         * benchtests/Makefile (bench): Add sqrt.
11591         (LDLIBS-bench-sqrt): New.
11592         * benchtests/sqrt-input: New.
11594 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
11596         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11597         (GAIH_EAI): Likewise.
11598         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11599         (gaih_inet): Likewise.
11600         (getaddrinfo): Don't use GAIH_EAI.
11602         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11603         (struct gaih): Remove definition.
11605 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11607         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11608         Use HERRNOP directly.
11610 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11614 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
11616         * math/gen-auto-libm-tests.c (test_functions): Add more
11617         single-argument functions.
11618         (special_fill_pi_2): New function.
11619         (special_fill_minus_pi_2): Likewise.
11620         (special_fill_pi_6): Likewise.
11621         (special_fill_minus_pi_6): Likewise.
11622         (special_fill_pi_3): Likewise.
11623         (special_fill_2pi_3): Likewise.
11624         (special_fill_e): Likewise.
11625         (special_fill_1_e): Likewise.
11626         (special_fill_e_minus_1): Likewise.
11627         (special_real_inputs): Add more special inputs.
11628         (output_for_one_input_case): Do not require ERANGE on underflow to
11629         zero if round-to-nearest result does not underflow to zero, unless
11630         exact results required.
11631         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11632         atan, atanh, cbrt, cos and cosh.
11633         * math/auto-libm-test-out: Regenerated.
11634         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11635         (acos_tonearest_test_data): Likewise.
11636         (acos_towardzero_test_data): Likewise.
11637         (acos_downward_test_data): Likewise.
11638         (acos_upward_test_data): Likewise.
11639         (acosh_test_data): Likewise.
11640         (asin_test_data): Likewise.
11641         (asin_tonearest_test_data): Likewise.
11642         (asin_towardzero_test_data): Likewise.
11643         (asin_upward_test_data): Likewise.
11644         (asinh_test_data): Likewise.
11645         (atan_test_data): Likewise.
11646         (atanh_test_data): Likewise.
11647         (cbrt_test_data): Likewise.
11648         (cos_test_data): Likewise.
11649         (cos_tonearest_test_data): Likewise.
11650         (cos_towardzero_test_data): Likewise.
11651         (cos_downward_test_data): Likewise.
11652         (cos_upward_test_data): Likewise.
11653         (cosh_test_data): Likewise.
11654         (cosh_tonearest_test_data): Likewise.
11655         (cosh_towardzero_test_data): Likewise.
11656         (cosh_downward_test_data): Likewise.
11657         (cosh_upward_test_data): Likewise.
11658         * sysdeps/i386/fpu/libm-test-ulps: Update.
11659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11661 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
11663         [BZ #6787]
11664         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11665         * math/w_exp10f.c (__exp10f): Likewise.
11666         * math/w_exp10l.c (__exp10l): Likewise.
11667         * math/libm-test.inc (exp10_test_data): Add more tests and expect
11668         errno settings in existing tests.
11670         [BZ #14032]
11671         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11672         precision control set to double precision.
11673         * sysdeps/i386/fpu/w_sqrt.c: New file.
11674         * math/auto-libm-test-in: Add more tests.
11675         * math/auto-libm-test-out: Update.
11677         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11678         (sqrt_test_tonearest): New function.
11679         (sqrt_towardzero_test_data): New variable.
11680         (sqrt_test_towardzero): New function.
11681         (sqrt_downward_test_data): New variable.
11682         (sqrt_test_downward): New function.
11683         (sqrt_upward_test_data): New variable.
11684         (sqrt_test_upward): New function.
11685         (main): Call the new functions.
11687         * math/gen-auto-libm-tests.c: New file.
11688         * math/auto-libm-test-in: Likewise.
11689         * math/auto-libm-test-out: New generated file.
11690         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11691         variables.
11692         (%beautify): Add generated representations of zero.
11693         (top level): Set $auto_input and call parse_auto_input.
11694         (beautify): Remove trailing "f" from hex float constants.
11695         (parse_args): Handle XFAIL_TEST.
11696         (convert_condition): New function.
11697         (or_value): Likewise.
11698         (or_cond_value): Likewise.
11699         (generate_testfile): Handle AUTO_TESTS_* lines.
11700         (parse_auto_input): New function.
11701         * math/libm-test.inc (XFAIL_TEST): New macro.
11702         (ERRNO_UNCHANGED): Update value.
11703         (ERRNO_EDOM): Likewise.
11704         (ERRNO_ERANGE): Likewise.
11705         (IGNORE_RESULT): Likewise.
11706         (TEST_COND_flt_32): New macro.
11707         (TEST_COND_dbl_64): Likewise.
11708         (TEST_COND_ldbl_96_intel): Likewise.
11709         (TEST_COND_ldbl_96_m68k): Likewise.
11710         (TEST_COND_ldbl_128): Likewise.
11711         (TEST_COND_ldbl_128ibm): Likewise.
11712         (TEST_COND_long32): Likewise.
11713         (TEST_COND_long64): Likewise.
11714         (TEST_COND_before_rounding): Likewise.
11715         (TEST_COND_after_rounding): Likewise.
11716         (enable_test): Handle XFAIL_TEST flag.
11717         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11718         with finite results.
11719         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11720         auto-libm-test-out.
11722 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11723             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11725         [BZ #16214]
11726         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11727         __tls_get_addr_internal instead of __tls_get_offset in order to
11728         avoid GOT pointer dependency.  Make rtld export
11729         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11730         __tls_get_addr since we are a __tls_get_offset platform.
11731         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11732         GOT pointer being set up before.
11733         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11735 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
11737         * manual/math.texi (Errors in Math Functions): Document accuracy
11738         goals.
11740         [BZ #15004]
11741         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11742         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11743         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11744         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11745         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11746         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11747         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11748         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11749         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11750         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11751         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11752         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11753         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11754         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11755         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11756         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11758         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11759         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11760         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11761         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11762         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11763         Likewise.
11764         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11765         Likewise.
11766         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11767         Likewise.
11768         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11769         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11770         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11771         atomic-feupdateenv and flt-rounds.
11772         * sysdeps/powerpc/nofpu/Versions (libc): Add
11773         __atomic_feholdexcept, __atomic_feclearexcept,
11774         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11775         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11776         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11777         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11778         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11779         here.
11780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11781         Update.
11783         * manual/arith.texi (FP Exceptions): Document that exceptions may
11784         not be raised when matherr is used.
11785         (Math Error Reporting): Document overflow in directed rounding
11786         modes.  Document that errno may not be set when finite values are
11787         returned on overflow.  Document intent to set errno on underflow
11788         only for underflow to zero.
11790         [BZ #16271]
11791         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11792         round-to-nearest then adjust result for other rounding modes.
11793         * include/fenv.h (fegetround): Use libm_hidden_proto.
11794         * math/fegetround.c (fegetround): Use libm_hidden_def.
11795         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11796         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11797         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11798         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11799         Likewise.
11800         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11801         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11802         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11803         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11805 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11807         [BZ #16077]
11808         * nss/Versions (libnss_files): Add
11809         _nss_files_gethostbyname3_r.
11810         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11811         New function.
11812         (HOST_DB_LOOKUP): Remove macro.
11813         (_nss_files_gethostbyname_r): Implement function without the
11814         HOST_DB_LOOKUP macro.
11815         (_nss_files_gethostbyname2_r): Likewise.
11817 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
11819         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11821 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
11823         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11824         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11825         warning.
11827 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11829         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11830         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11831         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11832         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11833         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11834         __fe_nomask_env_priv and attribute_hidden.
11835         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11836         (libc_feupdateenv_test_ppc): Likewise.
11837         (libc_feresetround_ppc): Likewise.
11838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11839         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11840         compat_symbol macro.
11841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11842         (__fe_nomask_env): Likewise.
11843         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11845 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11847         * string/Makefile: Remove ifunc tests.
11848         * string/test-string.h: Define TEST_IFUNC.
11849         * string/test-bcopy-ifunc.c: Remove.
11850         * string/test-bzero-ifunc.c: Likewise.
11851         * string/test-memccpy-ifunc.c: Likewise.
11852         * string/test-memchr-ifunc.c: Likewise.
11853         * string/test-memcmp-ifunc.c: Likewise.
11854         * string/test-memcpy-ifunc.c: Likewise.
11855         * string/test-memmem-ifunc.c: Likewise.
11856         * string/test-memmove-ifunc.c: Likewise.
11857         * string/test-mempcpy-ifunc.c: Likewise.
11858         * string/test-memrchr-ifunc.c: Likewise.
11859         * string/test-memset-ifunc.c: Likewise.
11860         * string/test-rawmemchr-ifunc.c: Likewise.
11861         * string/test-stpcpy-ifunc.c: Likewise.
11862         * string/test-stpncpy-ifunc.c: Likewise.
11863         * string/test-strcasecmp-ifunc.c: Likewise.
11864         * string/test-strcasestr-ifunc.c: Likewise.
11865         * string/test-strcat-ifunc.c: Likewise.
11866         * string/test-strchr-ifunc.c: Likewise.
11867         * string/test-strchrnul-ifunc.c: Likewise.
11868         * string/test-strcmp-ifunc.c: Likewise.
11869         * string/test-strcpy-ifunc.c: Likewise.
11870         * string/test-strcspn-ifunc.c: Likewise.
11871         * string/test-strlen-ifunc.c: Likewise.
11872         * string/test-strncasecmp-ifunc.c: Likewise.
11873         * string/test-strncat-ifunc.c: Likewise.
11874         * string/test-strncmp-ifunc.c: Likewise.
11875         * string/test-strncpy-ifunc.c: Likewise.
11876         * string/test-strnlen-ifunc.c: Likewise.
11877         * string/test-strpbrk-ifunc.c: Likewise.
11878         * string/test-strrchr-ifunc.c: Likewise.
11879         * string/test-strspn-ifunc.c: Likewise.
11880         * string/test-strstr-ifunc.c: Likewise.
11882 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11884         * benchtests/Makefile: Remove ifunc tests.
11885         * benchtests/bench-string.h: Define TEST_IFUNC.
11886         * benchtests/bench-bcopy-ifunc.c: Remove.
11887         * benchtests/bench-bzero-ifunc.c: Likewise.
11888         * benchtests/bench-memccpy-ifunc.c: Likewise.
11889         * benchtests/bench-memchr-ifunc.c: Likewise.
11890         * benchtests/bench-memcmp-ifunc.c: Likewise.
11891         * benchtests/bench-memcpy-ifunc.c: Likewise.
11892         * benchtests/bench-memmem-ifunc.c: Likewise.
11893         * benchtests/bench-memmove-ifunc.c: Likewise.
11894         * benchtests/bench-mempcpy-ifunc.c: Likewise.
11895         * benchtests/bench-memrchr-ifunc.c: Likewise.
11896         * benchtests/bench-memset-ifunc.c: Likewise.
11897         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11898         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11899         * benchtests/bench-stpcpy-ifunc.c: Likewise.
11900         * benchtests/bench-stpncpy-ifunc.c: Likewise.
11901         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11902         * benchtests/bench-strcasestr-ifunc.c: Likewise.
11903         * benchtests/bench-strcat-ifunc.c: Likewise.
11904         * benchtests/bench-strchr-ifunc.c: Likewise.
11905         * benchtests/bench-strchrnul-ifunc.c: Likewise.
11906         * benchtests/bench-strcmp-ifunc.c: Likewise.
11907         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11908         * benchtests/bench-strcpy-ifunc.c: Likewise.
11909         * benchtests/bench-strcspn-ifunc.c: Likewise.
11910         * benchtests/bench-strlen-ifunc.c: Likewise.
11911         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11912         * benchtests/bench-strncat-ifunc.c: Likewise.
11913         * benchtests/bench-strncmp-ifunc.c: Likewise.
11914         * benchtests/bench-strncpy-ifunc.c: Likewise.
11915         * benchtests/bench-strnlen-ifunc.c: Likewise.
11916         * benchtests/bench-strpbrk-ifunc.c: Likewise.
11917         * benchtests/bench-strrchr-ifunc.c: Likewise.
11918         * benchtests/bench-strsep-ifunc.c: Likewise.
11919         * benchtests/bench-strspn-ifunc.c: Likewise.
11920         * benchtests/bench-strstr-ifunc.c: Likewise.
11922 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11924         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11926 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11928         * resolv/netdb.h: Use __glibc_reserved instead __unused.
11929         * rt/aio.h: Likewise.
11930         * sysdeps/gnu/bits/utmp.h: Likewise.
11931         * sysdeps/gnu/bits/utmpx.h: Likewise.
11932         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11933         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11934         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11935         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11936         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11937         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11938         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11939         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11940         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11941         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11942         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11943         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11944         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11946         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11947         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11948         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11949         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11950         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11951         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11952         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11953         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11954         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11955         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11956         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11957         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11958         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11959         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11960         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11961         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11962         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11963         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11964         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11965         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11966         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11967         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11968         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11969         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11970         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11971         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11972         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11973         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11975 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
11977         [BZ #16245]
11978         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11979         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11981 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
11983         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11984         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11985         Likewise.
11987 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11989         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11990         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11991         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11992         (__fesetround): Remove define.
11993         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11994         rounding and exceptions handling.
11995         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11996         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11997         (__fe_nomask_env): Likewise.
11998         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11999         __fegetround instead of fegetround.
12000         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12001         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12003 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12005         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12006         it's there.
12008         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12010 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12012         [BZ #11157]
12013         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12014         (encrypt_r): Likewise.
12015         * malloc/obstack.h (obstack_free): Likewise.
12016         * posix/unistd.h (encrypt): Likewise.
12018 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12020         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12021         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12022         DL_CALL_DT_FINI() that call the functions directly.
12023         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12024         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12025         * elf/dl-fini.c: Likewise.
12027 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12029         * malloc/hooks.c (memalign_check): Add alignment rounding.
12030         * malloc/malloc.c (_mid_memalign): New function.
12031         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12032         Implement by calling _mid_memalign.
12033         * manual/probes.texi (Memory Allocation Probes): Remove
12034         memory_valloc_retry and memory_pvalloc_retry.
12036 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12038         * locale/programs/locarchive.c (open_archive): Add const
12039         qualifier to ARCHIVEFNAME and copy default fname to
12040         DEFAULT_FNAME.
12042         [BZ #15601]
12043         * libio/tst-widetext.input: Rename Oriya to Odia.
12044         * locale/iso-639.def: Likewise.
12046         * manual/probes.texi (Mathematical Function Probes): Add
12047         documentation for sin, cos, asin and acos probes.
12048         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12049         (__sin32): Add slowasin probe.
12050         (__cos32): Add slowacos probe.
12051         (__mpsin): Add slowsin probe.
12052         (__mpcos): Add slowcos probe.
12054 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12056         [BZ #15483]
12057         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12058         thread-local __sim_exceptions_thread and global
12059         __sim_exceptions_global.
12060         (__sim_disabled_exceptions): Change to thread-local
12061         __sim_disabled_exceptions_thread and global
12062         __sim_disabled_exceptions_global.
12063         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12064         and global __sim_round_mode_global.
12065         (__simulate_exceptions): Use thread-local floating-point state and
12066         set global state from it as needed.
12067         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12068         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12069         __sim_round_mode_thread.
12070         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12071         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12072         and global __sim_exceptions_global.
12073         (__sim_disabled_exceptions): Change to thread-local
12074         __sim_disabled_exceptions_thread and global
12075         __sim_disabled_exceptions_global.
12076         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12077         and global __sim_round_mode_global.
12078         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12079         (SIM_SET_GLOBAL): Likewise.
12080         * sysdeps/powerpc/soft-fp/sfp-machine.h
12081         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12082         __sim_round_mode_thread.
12083         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12084         __sim_disabled_exceptions_thread.
12085         (__sim_exceptions): Change to __sim_exceptions_thread.
12086         (__sim_disabled_exceptions): Change to
12087         __sim_disabled_exceptions_thread.
12088         (__sim_round_mode): Change to __sim_round_mode_thread.
12089         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12090         thread-local floating-point state and set global state from it as
12091         needed.
12092         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12093         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12094         (__sim_disabled_exceptions): Remove extern declaration.
12095         (feenableexcept): Use thread-local floating-point state and set
12096         global state from it as needed.
12097         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12098         extern declaration.
12099         (__sim_disabled_exceptions): Likewise.
12100         (__sim_round_mode): Likewise.
12101         (__fegetenv): Use thread-local floating-point state.
12102         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12103         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12104         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12105         floating-point state and set global state from it as needed.
12106         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12107         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12108         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12109         Likewise.
12110         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12111         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12112         Likewise.
12113         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12114         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12115         Use __sim_round_mode_thread.
12116         * math/test-fenv-tls.c: New file.
12117         * math/Makefile (tests): Add test-fenv-tls.
12118         ($(objpfx)test-fenv-tls): Depend on
12119         $(common-objpfx)nptl/libpthread.so.
12121 2013-11-19  Andreas Schwab  <schwab@suse.de>
12123         * locale/programs/locale.c (show_info): Decode wordarray elements.
12124         * locale/categories.def (LC_MONETARY): Add element for
12125         _NL_MONETARY_CRNCYSTR.
12126         * locale/C-monetary.c (conversion_rate): New variable.
12127         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12128         element.
12130 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12132         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12133         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12135 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12137         * elf/Makefile (tst-auxv): New test.
12138         * elf/tst-auxv.c: New
12139         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12141 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12143         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12144         (hidden_proto): Caller changed.
12145         (hidden_tls_proto): New macro.
12146         (libc_hidden_tls_proto): Likewise.
12147         (rtld_hidden_tls_proto): Likewise.
12148         (libm_hidden_tls_proto): Likewise.
12149         (libresolv_hidden_tls_proto): Likewise.
12150         (librt_hidden_tls_proto): Likewise.
12151         (libdl_hidden_tls_proto): Likewise.
12152         (libnss_files_hidden_tls_proto): Likewise.
12153         (libnsl_hidden_tls_proto): Likewise.
12154         (libnss_nisplus_hidden_tls_proto): Likewise.
12155         (libutil_hidden_tls_proto): Likewise.
12157 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12159         [BZ #10253]
12160         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12161         (decompose_rpath): Defer expansion to fillin_rpath.
12162         (_dl_init_paths): Pass linkmap to fillin_rpath.
12164 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12166         * benchtests/Makefile: Add strsep.
12167         * benchtests/bench-strsep.c: New file: strsep benchtest.
12168         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12170 2013-11-18  Andreas Schwab  <schwab@suse.de>
12172         * locale/programs/locale.c (show_info) [case byte]: Check for
12173         '\377' instead of '\177'.
12174         * locale/C-monetary.c (not_available): Always use "\377".
12175         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12176         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12177         detect unavailable sign_posn locale elements.
12178         * locale/localeconv.c (__localeconv): For grouping and
12179         mon_grouping handle "\177" and "\377" like no grouping.
12180         (INT_ELEM): New macro.  Use it to set all numeric members.
12181         * locale/programs/ld-monetary.c (monetary_read)
12182         <tok_mon_grouping>: Normalize single -1 to the empty string.
12183         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12184         Likewise.
12186 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12188         [BZ #16055]
12189         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12190         when we match (nil).
12191         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12193 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12195         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12196         (NO_TEST_INLINE): Update value.
12197         (ERRNO_UNCHANGED): Likewise.
12198         (ERRNO_EDOM): Likewise.
12199         (ERRNO_ERANGE): Likewise.
12200         (IGNORE_RESULT): Likewise.
12201         (check_float_internal): Check signs of NaN results if
12202         TEST_NAN_SIGN used.
12203         (check_complex): Pass TEST_NAN_SIGN flag through to second
12204         check_float_internal call.
12205         (copysign_test_data): Add tests with quiet NaNs as second
12206         argument.  Use TEST_NAN_SIGN.
12207         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12208         TEST_NAN_SIGN.
12209         (signbit_test_data): Add tests of quiet NaN argument.
12210         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12212         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12213         $ignore_result.
12214         (parse_args): Handle function results specified as IGNORE.
12215         * math/libm-test.inc (IGNORE_RESULT): New macro.
12216         (check_float_internal): Do not check numerical result if flag
12217         IGNORE_RESULT set.
12218         (check_complex): Pass through IGNORE_RESULT to second
12219         check_float_internal call.
12220         (check_int): Do not check numerical result if flag IGNORE_RESULT
12221         set.
12222         (check_long): Likewise.
12223         (check_bool): Likewise.
12224         (check_longlong): Likewise.
12225         (lrint_test_data): Add tests of infinite and NaN arguments.
12226         (lrint_tonearest_test_data): Likewise.
12227         (lrint_towardzero_test_data): Likewise.
12228         (lrint_downward_test_data): Likewise.
12229         (lrint_upward_test_data): Likewise.
12230         (llrint_test_data): Likewise.
12231         (llrint_tonearest_test_data): Likewise.
12232         (llrint_towardzero_test_data): Likewise.
12233         (llrint_downward_test_data): Likewise.
12234         (llrint_upward_test_data): Likewise.
12235         (lround_test_data): Likewise.
12236         (llround_test_data): Likewise.
12238         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12239         (ERRNO_UNCHANGED): Update value.
12240         (ERRNO_EDOM): Likewise.
12241         (ERRNO_ERANGE): Likewise.
12242         (NO_TEST_INLINE_FLOAT): New macro.
12243         (NO_TEST_INLINE_DOUBLE): Likewise.
12244         (enable_test): New function.
12245         (RUN_TEST_f_f): Check enable_test before running test.
12246         (RUN_TEST_2_f): Likewise.
12247         (RUN_TEST_fff_f): Likewise.
12248         (RUN_TEST_c_f): Likewise.
12249         (RUN_TEST_f_f1): Likewise.
12250         (RUN_TEST_fF_f1): Likewise.
12251         (RUN_TEST_fI_f1): Likewise.
12252         (RUN_TEST_ffI_f1): Likewise.
12253         (RUN_TEST_c_c): Likewise.
12254         (RUN_TEST_cc_c): Likewise.
12255         (RUN_TEST_f_i): Likewise.
12256         (RUN_TEST_f_i_tg): Likewise.
12257         (RUN_TEST_ff_i_tg): Likewise.
12258         (RUN_TEST_f_b): Likewise.
12259         (RUN_TEST_f_b_tg): Likewise.
12260         (RUN_TEST_f_l): Likewise.
12261         (RUN_TEST_f_L): Likewise.
12262         (RUN_TEST_fFF_11): Likewise.
12263         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12264         conditionals.
12265         (cosh_test_data): Likewise.
12266         (exp_test_data): Likewise.
12267         (expm1_test_data): Likewise.
12268         (hypot_test_data): Likewise.
12269         (pow_test_data): Likewise.
12270         (sinh_test_data): Likewise.
12271         (tanh_test_data): Likewise.
12272         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12273         flags argument.
12275         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12276         tests with quiet NaN input and output.
12277         (acosh_test_data): Likewise.
12278         (asin_test_data): Likewise.
12279         (asinh_test_data): Likewise.
12280         (atan_test_data): Likewise.
12281         (atanh_test_data): Likewise.
12282         (atan2_test_data): Likewise.
12283         (cbrt_test_data): Likewise.
12284         (cos_test_data): Likewise.
12285         (cosh_test_data): Likewise.
12286         (erf_test_data): Likewise.
12287         (erfc_test_data): Likewise.
12288         (exp_test_data): Likewise.
12289         (exp10_test_data): Likewise.
12290         (exp2_test_data): Likewise.
12291         (expm1_test_data): Likewise.
12292         (hypot_test_data): Likewise.
12293         (j0_test_data): Likewise.
12294         (j1_test_data): Likewise.
12295         (jn_test_data): Likewise.
12296         (lgamma_test_data): Likewise.
12297         (log_test_data): Likewise.
12298         (log10_test_data): Likewise.
12299         (log1p_test_data): Likewise.
12300         (log2_test_data): Likewise.
12301         (pow_test_data): Likewise.
12302         (scalb_test_data): Likewise.
12303         (sin_test_data): Likewise.
12304         (sincos_test_data): Likewise.
12305         (sinh_test_data): Likewise.
12306         (tan_test_data): Likewise.
12307         (tanh_test_data): Likewise.
12308         (tgamma_test_data): Likewise.
12309         (y0_test_data): Likewise.
12310         (y1_test_data): Likewise.
12311         (yn_test_data): Likewise.
12313         [BZ #16167]
12314         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12315         argument being NaN and avoid computations with second argument in
12316         that case.
12317         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12318         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12319         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12321 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12323         * locale/iso-639.def: Add Chitwani Tharu (the).
12325 2013-11-14  Andreas Schwab  <schwab@suse.de>
12327         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12328         word instead of empty string.
12330 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12333         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12335         (__fe_nomask_env): Likewise.
12337 2013-11-13  Steve Ellcey  <sellcey@mips.com>
12339         * benchtests/bench-timing.h: Include time.h.
12341 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
12343         [BZ #15997]
12344         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12345         to 3.4.0 for x32.
12346         * sysdeps/unix/sysv/linux/configure: Regenerated.
12348 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
12350         [BZ #16151]
12351         * stdlib/strtod_l.c (round_and_return): Do not consider
12352         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12353         exponent one less than half the least subnormal exponent.
12354         * stdlib/test-strtod-round-data: Add more tests.
12355         * stdlib/tst-strtod-round.c (tests): Regenerated.
12357 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12359         [BZ #14143]
12360         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12361         (__fe_mask_env): Likewise.
12362         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12363         libm_hidden_proto and add function prototype.
12364         (__fe_mask_env): Add function prototype.
12365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12366         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12368         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12370         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12372 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12374         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12375         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12377 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12379         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12380         of htab_find_slot().
12382 2013-11-11  David S. Miller  <davem@davemloft.net>
12384         [BZ #16150]
12385         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12386         symbol in the non-vis3 case in static builds.
12387         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12388         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12389         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12390         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12392 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12394         [BZ #387]
12395         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12396         it is empty.
12398 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12400         * benchtests/Makefile: Add bench-strtod.
12401         * benchtests/bench-strtod.c: New file: strtod benchtest
12403 2013-11-11  Andreas Schwab  <schwab@suse.de>
12405         [BZ #16153]
12406         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12407         terminating NUL in key length.
12409 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12411         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12412         Add artificial ODP entry for vDSO symbol for PPC64.
12413         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12414         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12416 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12418         [BZ #15374]
12419         * nss/getent.c (services_keys): Recognize services starting with digit.
12421 2013-11-06  David S. Miller  <davem@davemloft.net>
12423         [BZ #15985]
12424         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12425         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12427 2013-11-06  Will Newton  <will.newton@linaro.org>
12429         * manual/memory.texi (Malloc Examples): Remove register
12430         keyword from examples.
12432 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
12434         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12436 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
12438         [BZ #6981]
12439         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12440         depending on [__GCC_IEC_559 > 0].
12441         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12442         depending on [__GCC_IEC_559_COMPLEX > 0].
12444 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
12446         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12447         to iso-639.def.
12449 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
12451         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12453 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
12455         [BZ #16112]
12456         * malloc/malloc (malloc_info): Do not handle first bin as
12457         special case.
12459 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
12461         * locale/iso-639.def: Add Central Nahuatl (nhn).
12463 2013-11-01  Bruno Haible  <bruno@clisp.org>
12465         [BZ #7003]
12466         * manual/math.texi (BSD Random): Specify range upper bound as
12467         in POSIX.
12469 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
12471         * locale/iso-639.def: Add Meadow Mari (mhr).
12473 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
12475         [BZ #14752], [BZ #15763]
12476         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12477         Validate name.
12478         * rt/tst_shm.c: Add test for escaping directory.
12480 2013-10-31  Andreas Schwab  <schwab@suse.de>
12482         [BZ #15917]
12483         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12484         followed by 'x' as part of digit sequence.
12485         * stdio-common/tst-sscanf.c (double_tests2): New tests.
12487 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12489         [BZ #16037]
12490         * configure.ac: allow GNU Make 4.0 and greater.
12491         * configure: Regenerated.
12493 2013-10-30  Will Newton  <will.newton@linaro.org>
12495         [BZ #16038]
12496         * malloc/hooks.c (memalign_check): Limit alignment to the
12497         maximum representable power of two.
12498         * malloc/malloc.c (__libc_memalign): Likewise.
12499         * malloc/tst-memalign.c (do_test): Add test for very
12500         large alignment values.
12501         * malloc/tst-posix_memalign.c (do_test): Likewise.
12503 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12505         [BZ #11087]
12506         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12507         (munmap_chunk): Likewise.
12508         (mremap_chunk): Likewise.
12510 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12512         [BZ #15799]
12513         * stdlib/div.c (div): Remove obsolete code.
12514         * stdlib/ldiv.c (ldiv): Likewise.
12515         * stdlib/lldiv.c (lldiv): Likewise.
12517 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12519         [BZ #16071]
12520         * nss/nss_files/files-XXX.c (get_contents_ret): New
12521         enumerator.
12522         (get_contents): New function.
12523         (internal_getent): Use it.  Expand size of LINEBUFLEN.
12525 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
12527         * configure.in: Moved to ...
12528         * configure.ac: ... here. Change reference to configure.in
12529         to configure.ac.
12530         * sysdeps/arm/preconfigure.ac: ... here.
12531         configure.in to configure.ac.
12532         * sysdeps/gnu/configure.in: Moved to ...
12533         * sysdeps/gnu/configure.ac: ... here.
12534         * sysdeps/i386/configure.in: Moved to ...
12535         * sysdeps/i386/configure.ac: ... here.
12536         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12537         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12538         * sysdeps/mach/configure.in: Moved to ...
12539         * sysdeps/mach/configure.ac: ... here.
12540         * sysdeps/mach/hurd/configure.in: Moved to ...
12541         * sysdeps/mach/hurd/configure.ac: ... here.
12542         * sysdeps/powerpc/configure.in: Moved to ...
12543         * sysdeps/powerpc/configure.ac: ... here.
12544         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12545         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12546         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12547         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12548         * sysdeps/s390/s390-32/configure.in: Moved to ...
12549         * sysdeps/s390/s390-32/configure.ac: ... here.
12550         * sysdeps/s390/s390-64/configure.in: Moved to ...
12551         * sysdeps/s390/s390-64/configure.ac: ... here.
12552         * sysdeps/sh/configure.in: Moved to ...
12553         * sysdeps/sh/configure.ac: ... here.
12554         * sysdeps/sparc/configure.in: Moved to ...
12555         * sysdeps/sparc/configure.ac: ... here.
12556         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12557         * sysdeps/unix/sysv/linux/configure.ac: ... here.
12558         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12559         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12560         * sysdeps/x86_64/configure.in: Moved to ...
12561         * sysdeps/x86_64/configure.ac: ... here.
12562         * sysdeps/x86_64/preconfigure.in: Moved to ...
12563         * sysdeps/x86_64/preconfigure.ac: ... here.
12564         * aclocal.m4: Change reference to configure.in to configure.ac.
12565         * config.h.in: Likewise.
12566         * manual/install.texi: Likewise.
12567         * manual/maint.texi: Likewise.
12568         * Makefile: Likewise.
12569         * malloc/Makefile: Likewise.
12570         * nscd/Makefile: Likewise.
12571         * Makeconfig: Change reference to configure.in and
12572         preconfigure.in to configure.ac and preconfigure.ac
12573         respectively.
12574         * INSTALL: Regenerated.
12575         * configure: Likewise.
12576         * sysdeps/gnu/configure: Likewise.
12577         * sysdeps/i386/configure: Likewise.
12578         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12579         * sysdeps/mach/configure: Likewise.
12580         * sysdeps/mach/hurd/configure: Likewise.
12581         * sysdeps/powerpc/configure: Likewise.
12582         * sysdeps/powerpc/powerpc32/configure: Likewise.
12583         * sysdeps/powerpc/powerpc64/configure: Likewise.
12584         * sysdeps/s390/s390-32/configure: Likewise.
12585         * sysdeps/s390/s390-64/configure: Likewise.
12586         * sysdeps/sh/configure: Likewise.
12587         * sysdeps/sparc/configure: Likewise.
12588         * sysdeps/unix/sysv/linux/configure: Likewise.
12589         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12590         * sysdeps/x86_64/configure: Likewise.
12591         * sysdeps/x86_64/preconfigure: Likewise.
12593 2013-10-29  Andreas Schwab  <schwab@suse.de>
12595         * stdio-common/Makefile (tst-swscanf-ENV): Define.
12597 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12599         * benchtests/pow-inputs: Add new inputs.
12601         * benchtests/exp-inputs: Add new inputs.
12603         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12604         conditional check for return value.
12605         (__cos32): Likewise.
12607 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12609         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12610         to provide a boost for large inputs with word alignment.
12611         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12612         implementation based on optimized PPC64 strcpy.
12613         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12614         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12615         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12616         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12618 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12620         [BZ #2801]
12621         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12623 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12625         [BZ #14876]
12626         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12627         * time/tst-strptime.c (day_tests): Add testcase.
12629 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12631         [BZ #14029]
12632         * manual/pattern.texi: Acknowledge that fnmatch can fail.
12634 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
12636         [BZ #16074]
12637         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12638         MAP_FAILED on error.
12640 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12642         [BZ #16072]
12643         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12644         heap for large requests.
12646 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
12648         [BZ #9954]
12649         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12650         result if the result has no associated interface.
12651         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12652         interface for all 127.X.Y.Z addresses.
12654 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
12656         * locale/iso-639.def: Add Ligurian (lij)
12658 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
12660         [BZ #15825]
12661         * sunrpc/rpc_main.c: Document rpcgen -5.
12663 2013-10-19  Michael Stahl  <mstahl@redhat.com>
12665         * elf/rtld.c (do_preload): Print the reason why preloading failed.
12667 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12669         [BZ #10278]
12670         * posix/glob.c: Match only directories when trailing slash is present.
12671         * posix/tst-gnuglob.c (my_opendir): Do not open files.
12672         (main): Add testcase.
12674 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12676         [BZ #15670]
12677         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12679 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
12681         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12682         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12683         AUTH_DES and cindex for FIPS 140-2.
12684         (DES Encryption): Add cindex FIPS 46-3.
12686         * locale/locarchive.h (struct locarhandle): Add fname.
12687         * locale/programs/localedef.c (main): Pass ARGV[remaining]
12688         if an optional argument was specified to --list-archive,
12689         otherwise NULL.
12690         * locale/programs/locarchive.c (show_archive_content): Take new
12691         argument fname and pass it via ah.fname to open_archive.
12692         * locale/programs/localedef.h: Update decl.
12693         (open_archive): If AH->fname is non-null, open that file
12694         rather than the default file name, and don't ignore ENOENT.
12695         (create_archive): Set AH.fname to NULL.
12696         (delete_locales_from_archive): Likewise.
12697         (add_locales_to_archive): Likewise.
12698         * locale/programs/locfile.c (write_all_categories): Likewise.
12700 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
12701             Aldy Hernandez  <aldyh@redhat.com>
12703         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12704         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12705         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12706         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12707         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12708         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12709         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12710         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12711         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12712         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12713         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12714         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12715         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12716         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12717         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12718         Likewise.
12719         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12720         Likewise.
12721         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12722         Likewise.
12723         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12724         Likewise.
12725         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12726         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12727         Likewise.
12728         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12729         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12730         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12731         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12732         Likewise.
12733         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12734         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12735         * sysdeps/powerpc/preconfigure: Likewise.
12736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12737         Likewise.
12738         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12739         Replace contents of file by #include of <fenv_libc.h>.
12740         * sysdeps/powerpc/soft-fp/sfp-machine.h
12741         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12742         and <sys/prctl.h>.
12743         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12744         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12745         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12746         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12747         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12748         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12749         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12750         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12751         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12752         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12753         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12754         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12756         Allow copysignl PLT reference to be missing.
12758 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
12759             Joseph Myers  <joseph@codesourcery.com
12761         [BZ #15948]
12762         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12763         single character.
12764         (add_to_tablewc): Assert sequence of wide characters is nonempty.
12766 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12768         * elf/tst-tls-dlinfo.c: Don't include tls.h.
12769         * elf/tst-tls1.c: Likewise.
12770         * elf/tst-tls10.h: Likewise.
12771         * elf/tst-tls14.c: Likewise.
12772         * elf/tst-tls2.c: Likewise.
12773         * elf/tst-tls3.c: Likewise.
12774         * elf/tst-tls4.c: Likewise.
12775         * elf/tst-tls5.c: Likewise.
12776         * elf/tst-tls6.c: Likewise.
12777         * elf/tst-tls7.c: Likewise.
12778         * elf/tst-tls8.c: Likewise.
12779         * elf/tst-tls9.c: Likewise.
12780         * elf/tst-tlsmod1.c: Likewise.
12781         * elf/tst-tlsmod13.c: Likewise.
12782         * elf/tst-tlsmod13a.c: Likewise.
12783         * elf/tst-tlsmod14a.c: Likewise.
12784         * elf/tst-tlsmod16a.c: Likewise.
12785         * elf/tst-tlsmod16b.c: Likewise.
12786         * elf/tst-tlsmod2.c: Likewise.
12787         * elf/tst-tlsmod3.c: Likewise.
12788         * elf/tst-tlsmod4.c: Likewise.
12789         * elf/tst-tlsmod5.c: Likewise.
12790         * elf/tst-tlsmod6.c: Likewise.
12792 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
12794         [BZ #12486]
12795         * malloc/malloc.c: remove checks for statistics.
12797 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12799         [BZ #15277]
12800         * inet/inet_net.c (inet_network): Detect additional invalid strings.
12801         * inet/tst-network.c: Add testcase.
12803 2013-10-17  Andreas Schwab  <schwab@suse.de>
12805         [BZ #15218]
12806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12807         to determine canonical name.
12809 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12811         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12812         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12813         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12814         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12815         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12816         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12817         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12818         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12819         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12820         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12821         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12822         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12823         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12824         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12825         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12826         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12827         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12828         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12829         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12830         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12831         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12832         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12833         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12834         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12835         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12836         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12837         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12838         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12839         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12840         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12841         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12842         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12843         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12844         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12845         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12846         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12847         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12848         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12849         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12850         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12851         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12852         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12853         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12854         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12855         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12856         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12857         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12858         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12859         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12860         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12861         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12862         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12863         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12864         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12865         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12866         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12867         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12868         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12870 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
12872         [BZ #16041]
12873         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12874         make result into a quiet NaN.
12876 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
12878         * soft-fp/adddf3.c: Fix horizontal whitespace.
12879         * soft-fp/addsf3.c: Likewise.
12880         * soft-fp/addtf3.c: Likewise.
12881         * soft-fp/divdf3.c: Likewise.
12882         * soft-fp/divsf3.c: Likewise.
12883         * soft-fp/divtf3.c: Likewise.
12884         * soft-fp/double.h: Likewise.
12885         * soft-fp/eqdf2.c: Likewise.
12886         * soft-fp/eqsf2.c: Likewise.
12887         * soft-fp/eqtf2.c: Likewise.
12888         * soft-fp/extenddftf2.c: Likewise.
12889         * soft-fp/extended.h: Likewise.
12890         * soft-fp/extendsfdf2.c: Likewise.
12891         * soft-fp/extendsftf2.c: Likewise.
12892         * soft-fp/extendxftf2.c: Likewise.
12893         * soft-fp/fixdfdi.c: Likewise.
12894         * soft-fp/fixdfsi.c: Likewise.
12895         * soft-fp/fixdfti.c: Likewise.
12896         * soft-fp/fixsfdi.c: Likewise.
12897         * soft-fp/fixsfsi.c: Likewise.
12898         * soft-fp/fixsfti.c: Likewise.
12899         * soft-fp/fixtfdi.c: Likewise.
12900         * soft-fp/fixtfsi.c: Likewise.
12901         * soft-fp/fixtfti.c: Likewise.
12902         * soft-fp/fixunsdfdi.c: Likewise.
12903         * soft-fp/fixunsdfsi.c: Likewise.
12904         * soft-fp/fixunsdfti.c: Likewise.
12905         * soft-fp/fixunssfdi.c: Likewise.
12906         * soft-fp/fixunssfsi.c: Likewise.
12907         * soft-fp/fixunssfti.c: Likewise.
12908         * soft-fp/fixunstfdi.c: Likewise.
12909         * soft-fp/fixunstfsi.c: Likewise.
12910         * soft-fp/fixunstfti.c: Likewise.
12911         * soft-fp/floatdidf.c: Likewise.
12912         * soft-fp/floatdisf.c: Likewise.
12913         * soft-fp/floatditf.c: Likewise.
12914         * soft-fp/floatsidf.c: Likewise.
12915         * soft-fp/floatsisf.c: Likewise.
12916         * soft-fp/floatsitf.c: Likewise.
12917         * soft-fp/floattidf.c: Likewise.
12918         * soft-fp/floattisf.c: Likewise.
12919         * soft-fp/floattitf.c: Likewise.
12920         * soft-fp/floatundidf.c: Likewise.
12921         * soft-fp/floatundisf.c: Likewise.
12922         * soft-fp/floatunditf.c: Likewise.
12923         * soft-fp/floatunsidf.c: Likewise.
12924         * soft-fp/floatunsisf.c: Likewise.
12925         * soft-fp/floatunsitf.c: Likewise.
12926         * soft-fp/floatuntidf.c: Likewise.
12927         * soft-fp/floatuntisf.c: Likewise.
12928         * soft-fp/floatuntitf.c: Likewise.
12929         * soft-fp/fmadf4.c: Likewise.
12930         * soft-fp/fmasf4.c: Likewise.
12931         * soft-fp/fmatf4.c: Likewise.
12932         * soft-fp/gedf2.c: Likewise.
12933         * soft-fp/gesf2.c: Likewise.
12934         * soft-fp/getf2.c: Likewise.
12935         * soft-fp/ledf2.c: Likewise.
12936         * soft-fp/lesf2.c: Likewise.
12937         * soft-fp/letf2.c: Likewise.
12938         * soft-fp/muldf3.c: Likewise.
12939         * soft-fp/mulsf3.c: Likewise.
12940         * soft-fp/multf3.c: Likewise.
12941         * soft-fp/negdf2.c: Likewise.
12942         * soft-fp/negsf2.c: Likewise.
12943         * soft-fp/negtf2.c: Likewise.
12944         * soft-fp/op-1.h: Likewise.
12945         * soft-fp/op-2.h: Likewise.
12946         * soft-fp/op-4.h: Likewise.
12947         * soft-fp/op-8.h: Likewise.
12948         * soft-fp/op-common.h: Likewise.
12949         * soft-fp/quad.h: Likewise.
12950         * soft-fp/single.h: Likewise.
12951         * soft-fp/soft-fp.h: Likewise.
12952         * soft-fp/sqrtdf2.c: Likewise.
12953         * soft-fp/sqrtsf2.c: Likewise.
12954         * soft-fp/sqrttf2.c: Likewise.
12955         * soft-fp/subdf3.c: Likewise.
12956         * soft-fp/subsf3.c: Likewise.
12957         * soft-fp/subtf3.c: Likewise.
12958         * soft-fp/truncdfsf2.c: Likewise.
12959         * soft-fp/trunctfdf2.c: Likewise.
12960         * soft-fp/trunctfsf2.c: Likewise.
12961         * soft-fp/trunctfxf2.c: Likewise.
12962         * soft-fp/unorddf2.c: Likewise.
12963         * soft-fp/unordsf2.c: Likewise.
12964         * soft-fp/unordtf2.c: Likewise.
12966 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
12968         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12969         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12971 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
12973         * elf/dl-libc.c: Clear initfini list after freeing.
12975 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
12977         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12978         * soft-fp/addsf3.c: Likewise.
12979         * soft-fp/addtf3.c: Likewise.
12980         * soft-fp/divdf3.c: Likewise.
12981         * soft-fp/divsf3.c: Likewise.
12982         * soft-fp/divtf3.c: Likewise.
12983         * soft-fp/double.h: Likewise.
12984         * soft-fp/eqdf2.c: Likewise.
12985         * soft-fp/eqsf2.c: Likewise.
12986         * soft-fp/eqtf2.c: Likewise.
12987         * soft-fp/extenddftf2.c: Likewise.
12988         * soft-fp/extended.h: Likewise.
12989         * soft-fp/extendsfdf2.c: Likewise.
12990         * soft-fp/extendsftf2.c: Likewise.
12991         * soft-fp/extendxftf2.c: Likewise.
12992         * soft-fp/fixdfdi.c: Likewise.
12993         * soft-fp/fixdfsi.c: Likewise.
12994         * soft-fp/fixdfti.c: Likewise.
12995         * soft-fp/fixsfdi.c: Likewise.
12996         * soft-fp/fixsfsi.c: Likewise.
12997         * soft-fp/fixsfti.c: Likewise.
12998         * soft-fp/fixtfdi.c: Likewise.
12999         * soft-fp/fixtfsi.c: Likewise.
13000         * soft-fp/fixtfti.c: Likewise.
13001         * soft-fp/fixunsdfdi.c: Likewise.
13002         * soft-fp/fixunsdfsi.c: Likewise.
13003         * soft-fp/fixunsdfti.c: Likewise.
13004         * soft-fp/fixunssfdi.c: Likewise.
13005         * soft-fp/fixunssfsi.c: Likewise.
13006         * soft-fp/fixunssfti.c: Likewise.
13007         * soft-fp/fixunstfdi.c: Likewise.
13008         * soft-fp/fixunstfsi.c: Likewise.
13009         * soft-fp/fixunstfti.c: Likewise.
13010         * soft-fp/floatdidf.c: Likewise.
13011         * soft-fp/floatdisf.c: Likewise.
13012         * soft-fp/floatditf.c: Likewise.
13013         * soft-fp/floatsidf.c: Likewise.
13014         * soft-fp/floatsisf.c: Likewise.
13015         * soft-fp/floatsitf.c: Likewise.
13016         * soft-fp/floattidf.c: Likewise.
13017         * soft-fp/floattisf.c: Likewise.
13018         * soft-fp/floattitf.c: Likewise.
13019         * soft-fp/floatundidf.c: Likewise.
13020         * soft-fp/floatundisf.c: Likewise.
13021         * soft-fp/floatunsidf.c: Likewise.
13022         * soft-fp/floatunsisf.c: Likewise.
13023         * soft-fp/floatuntidf.c: Likewise.
13024         * soft-fp/floatuntisf.c: Likewise.
13025         * soft-fp/floatuntitf.c: Likewise.
13026         * soft-fp/fmadf4.c: Likewise.
13027         * soft-fp/fmasf4.c: Likewise.
13028         * soft-fp/fmatf4.c: Likewise.
13029         * soft-fp/gedf2.c: Likewise.
13030         * soft-fp/gesf2.c: Likewise.
13031         * soft-fp/getf2.c: Likewise.
13032         * soft-fp/ledf2.c: Likewise.
13033         * soft-fp/lesf2.c: Likewise.
13034         * soft-fp/letf2.c: Likewise.
13035         * soft-fp/muldf3.c: Likewise.
13036         * soft-fp/mulsf3.c: Likewise.
13037         * soft-fp/multf3.c: Likewise.
13038         * soft-fp/negdf2.c: Likewise.
13039         * soft-fp/negsf2.c: Likewise.
13040         * soft-fp/negtf2.c: Likewise.
13041         * soft-fp/op-1.h: Likewise.
13042         * soft-fp/op-2.h: Likewise.
13043         * soft-fp/op-4.h: Likewise.
13044         * soft-fp/op-8.h: Likewise.
13045         * soft-fp/op-common.h: Likewise.
13046         * soft-fp/quad.h: Likewise.
13047         * soft-fp/single.h: Likewise.
13048         * soft-fp/soft-fp.h: Likewise.
13049         * soft-fp/sqrtdf2.c: Likewise.
13050         * soft-fp/sqrtsf2.c: Likewise.
13051         * soft-fp/sqrttf2.c: Likewise.
13052         * soft-fp/subdf3.c: Likewise.
13053         * soft-fp/subsf3.c: Likewise.
13054         * soft-fp/subtf3.c: Likewise.
13055         * soft-fp/truncdfsf2.c: Likewise.
13056         * soft-fp/trunctfdf2.c: Likewise.
13057         * soft-fp/trunctfsf2.c: Likewise.
13058         * soft-fp/trunctfxf2.c: Likewise.
13059         * soft-fp/unorddf2.c: Likewise.
13060         * soft-fp/unordsf2.c: Likewise.
13061         * soft-fp/unordtf2.c: Likewise.
13063 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13065         [BZ #15672]
13066         * misc/error.c (error_tail): Fix possible buffer overflow.
13068 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13070         [BZ #13028]
13071         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13072         address.
13074 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13076         [BZ #832]
13077         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13078         testing pipefail option.
13080 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13082         * soft-fp/double.h: Indent preprocessor directives inside #if.
13083         * soft-fp/extended.h: Likewise.
13084         * soft-fp/op-2.h: Likewise.
13085         * soft-fp/op-4.h: Likewise.
13086         * soft-fp/op-common.h: Likewise.
13087         * soft-fp/quad.h: Likewise.
13088         * soft-fp/single.h: Likewise.
13089         * soft-fp/soft-fp.h: Likewise.
13091 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13093         * iconv/iconv_prog.c: Fix typos.
13094         * stdio-common/psiginfo-data.h: Likewise.
13096 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13098         [BZ #15764]
13099         * locale/setlocale.c: Fix typo.
13101 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13103         [BZ #16036]
13104         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13105         signaling NaN arguments.
13106         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13107         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13109         [BZ #14910]
13110         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13111         unordered operands.
13112         * soft-fp/gesf2.c (__gesf2): Likewise.
13113         * soft-fp/getf2.c (__getf2): Likewise.
13114         * soft-fp/ledf2.c (__ledf2): Likewise.
13115         * soft-fp/lesf2.c (__lesf2): Likewise.
13116         * soft-fp/letf2.c (__letf2): Likewise.
13118         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13119         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13120         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13121         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13122         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13123         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13124         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13125         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13126         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13127         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13128         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13129         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13130         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13131         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13132         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13133         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13134         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13135         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13136         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13137         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13138         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13139         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13140         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13141         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13142         * soft-fp/floattidf.c (__floattidf): Likewise.
13143         * soft-fp/floattisf.c (__floattisf): Likewise.
13144         * soft-fp/floattitf.c (__floattitf): Likewise.
13145         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13146         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13147         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13148         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13149         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13150         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13151         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13152         * soft-fp/gesf2.c (__gesf2): Likewise.
13153         * soft-fp/getf2.c (__getf2): Likewise.
13154         * soft-fp/ledf2.c (__ledf2): Likewise.
13155         * soft-fp/lesf2.c (__lesf2): Likewise.
13156         * soft-fp/letf2.c (__letf2): Likewise.
13158         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13159         Undefine and redefine.
13160         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13161         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13162         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13163         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13164         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13165         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13166         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13167         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13168         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13169         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13170         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13171         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13172         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13173         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13174         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13176         [BZ #16032]
13177         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13178         without decrementing exponent if mantissa >= that for the
13179         denominator, not >.
13180         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13181         denominator, not >.  Decrement exponent in < case instead of
13182         incrementing in >= case.
13183         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13184         without decrementing exponent if mantissa >= that for the
13185         denominator, not >.
13187         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13188         computing saturated result for unsigned overflow.
13190 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13191             Jeff Law  <law@redhat.com>
13193         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13194         (atan2Mp): Add systemtap probe marker.
13195         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13196         (__ieee754_log): Add systemtap probe marker.
13197         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13198         (atanMp): Add systemtap probe marker.
13199         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13200         (tanMp): Add systemtap probe marker.
13201         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13202         (__slowexp): Add systemtap probe marker.
13203         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13204         (__slowpow): Add systemtap probe marker.
13205         * manual/probes.texi: Document probes.
13207 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13209         [BZ #15362]
13210         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13211         written.
13212         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13213         written.
13214         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13215         written to buffer but not flushed.
13216         * libio/iofwrite_u.c:  Likewise.
13217         * libio/iopadn.c:  Return bytes returned even if EOF was
13218         encountered.
13219         * libio/iowpadn.c:  Likewise.
13220         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13221         if _IO_padn does not write the whole buffer.
13222         [!COMPILE_WPRINTF] (PAD): Likewise.
13224 2013-10-10  David S. Miller  <davem@davemloft.net>
13226         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13227         directory block.
13229 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13231         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13232         instead of FSF address.
13233         * soft-fp/fixdfti.c: Likewise.
13234         * soft-fp/fixsfti.c: Likewise.
13235         * soft-fp/fixtfti.c: Likewise.
13236         * soft-fp/fixunsdfti.c: Likewise.
13237         * soft-fp/fixunssfti.c: Likewise.
13238         * soft-fp/fixunstfti.c: Likewise.
13239         * soft-fp/floattidf.c: Likewise.
13240         * soft-fp/floattisf.c: Likewise.
13241         * soft-fp/floattitf.c: Likewise.
13242         * soft-fp/floatuntidf.c: Likewise.
13243         * soft-fp/floatuntisf.c: Likewise.
13244         * soft-fp/floatuntitf.c: Likewise.
13245         * soft-fp/trunctfxf2.c: Likewise.
13247         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13248         * soft-fp/fixdfti.c: Likewise.
13249         * soft-fp/fixsfti.c: Likewise.
13250         * soft-fp/fixtfti.c: Likewise.
13251         * soft-fp/fixunsdfti.c: Likewise.
13252         * soft-fp/fixunssfti.c: Likewise.
13253         * soft-fp/fixunstfti.c: Likewise.
13254         * soft-fp/floattidf.c: Likewise.
13255         * soft-fp/floattisf.c: Likewise.
13256         * soft-fp/floattitf.c: Likewise.
13257         * soft-fp/floatuntidf.c: Likewise.
13258         * soft-fp/floatuntisf.c: Likewise.
13259         * soft-fp/floatuntitf.c: Likewise.
13260         * soft-fp/trunctfxf2.c: Likewise.
13262 2013-10-10  David S. Miller  <davem@davemloft.net>
13264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13266 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13268         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13269         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13270         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13271         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13272         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13273         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13274         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13276         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13277         for NaNs before doing comparisons on argument.
13278         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13279         Likewise.
13281 2013-10-10  Will Newton  <will.newton@linaro.org>
13283         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13284         passed to _int_memalign does not overflow.
13286 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13288         * scripts/bench.pl: Add include-sources directive.
13289         * benchtests/README: Update documentation.
13291 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13293         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13294         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13295         instead of FP_INIT_ROUNDMODE.
13296         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13297         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13299         [BZ #16034]
13300         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13301         copy class of input value.
13302         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13303         not handle exceptions.
13304         * soft-fp/negsf2.c (__negsf2): Likewise.
13305         * soft-fp/negtf2.c (__negtf2): Likewise.
13306         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13308 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13310         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13311         semicolon.  From Linux kernel.
13313 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13315         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13317 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13319         [BZ #156]
13320         * manual/socket.texi: Added statement about buffer
13321         for gethostbyname2_r.
13323 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13325         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13326         Use .p2align directive instead, throughout.
13327         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13328         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13329         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13330         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13331         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13332         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13333         * sysdeps/x86_64/strchr.S: Likewise.
13334         * sysdeps/x86_64/strrchr.S: Likewise.
13336 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13338         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13340         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13342         * sysdeps/generic/math_private.h (__mpsin1): Remove
13343         declaration.
13344         (__mpcos1): Likewise.
13345         (__mpsin): New argument __range_reduce.
13346         (__mpcos): Likewise.
13347         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13348         (slow): Use __mpsin and __mpcos.
13349         (slow1): Likewise.
13350         (slow2): Likewise.
13351         (sloww): Likewise.
13352         (sloww1): Likewise.
13353         (sloww2): Likewise.
13354         (bsloww): Likewise.
13355         (bsloww1): Likewise.
13356         (bsloww2): Likewise.
13357         (cslow2): Likewise.
13358         (csloww): Likewise.
13359         (csloww1): Likewise.
13360         (csloww2): Likewise.
13361         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13362         range_reduce.  Merge in __mpsin1.
13363         (__mpcos): Likewise.
13364         (__mpsin1): Remove.
13365         (__mpcos1): Likewise.
13367 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
13369         * locale/loadlocale.c (_nl_intern_locale_data): Use
13370         LOCFILE_ALIGNED_P.
13371         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13372         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13373         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13374         obstack data is appropriately aligned.
13375         (obstack_int32_grow_fast): Likewise.
13376         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13377         * locale/programs/locfile.c (add_locale_uint32): Likewise.
13378         (add_locale_uint32_array): Likewise.
13380 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13382         * benchtests/Makefile: Remove ARGLIST and RET variables.
13383         ($(objpfx)bench-%.c): Pass only function name to the script.
13384         * benchtests/README: Update documentation.
13385         * benchtests/acos-inputs: Add new directives.
13386         * benchtests/acosh-inputs: Likewise.
13387         * benchtests/asin-inputs: Likewise.
13388         * benchtests/asinh-inputs: Likewise.
13389         * benchtests/atan-inputs: Likewise.
13390         * benchtests/atanh-inputs: Likewise.
13391         * benchtests/cos-inputs: Likewise.
13392         * benchtests/cosh-inputs: Likewise.
13393         * benchtests/exp-inputs: Likewise.
13394         * benchtests/log-inputs: Likewise.
13395         * benchtests/pow-inputs: Likewise.
13396         * benchtests/rint-inputs: Likewise.
13397         * benchtests/sin-inputs: Likewise.
13398         * benchtests/sinh-inputs: Likewise.
13399         * benchtests/tan-inputs: Likewise.
13400         * benchtests/tanh-inputs: Likewise.
13401         * scripts/bench.pl: Add support for new directives.
13403 2013-10-07  Alan Modra  <amodra@gmail.com>
13405         * README: Fix careless merge.
13407 2013-10-05  Alan Modra  <amodra@gmail.com>
13409         * NEWS: Mention powerpc64le support and bugs fixed.
13410         * README: Both big-endian and little-endian powerpc64 supported.
13412 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13414         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13415         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13416         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13417         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13419 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
13421         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13422         match prototype.
13424 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
13426         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13427         Move -mhard-float appending from
13428         ports/sysdeps/powerpc/powerpc32/Makefile.
13429         [$(with-fp) = yes] (ASFLAGS): Likewise.
13430         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13431         * sysdeps/powerpc/nofpu: Move directory from
13432         ports/sysdeps/powerpc/nofpu.
13433         * sysdeps/powerpc/soft-fp: Move directory from
13434         ports/sysdeps/powerpc/soft-fp.
13435         * sysdeps/powerpc/powerpc32/405: Move directory from
13436         ports/sysdeps/powerpc/powerpc32/405.
13437         * sysdeps/powerpc/powerpc32/440: Move directory from
13438         ports/sysdeps/powerpc/powerpc32/440.
13439         * sysdeps/powerpc/powerpc32/464: Move directory from
13440         ports/sysdeps/powerpc/powerpc32/464.
13441         * sysdeps/powerpc/powerpc32/476: Move directory from
13442         ports/sysdeps/powerpc/powerpc32/476.
13443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13444         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13446         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13448         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13450         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13452         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13453         * README: Update for powerpc-*-linux-gnu software floating point
13454         support in libc.
13456         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13457         case to powerpc/powerpc32*.
13458         * sysdeps/unix/sysv/linux/configure: Regenerated.
13460         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13461         (_FPU_MASK_OM): Define as 0x04.
13462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13464         0x00c10080.
13465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13466         0x0000003c.
13467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13470         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13471         getcontext_e500.
13472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13473         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13474         setcontext_e500.
13475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13476         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13477         and setcontext_e500.
13479 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
13481         * locale/iso-3166.def: Update iso-1366.def and related occurrences
13483 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13485         * manual/threads.texi (Default Thread Attributes): Fix typo.
13487 2013-10-04  Will Newton  <will.newton@linaro.org>
13489         * malloc/Makefile: Add tst-memalign.
13490         * malloc/tst-memalign.c: New file.
13492         * malloc/tst-posix_memalign.c: Add comments.
13493         (do_test): Add comments and call free on all potentially
13494         allocated pointers. Add space after cast.
13496         * malloc/tst-pvalloc.c: Add comments.
13497         (do_test): Add comments and call free on all potentially
13498         allocated pointers. Remove duplicate check for NULL pointer.
13499         Add space after cast.
13501         * malloc/tst-valloc.c: Add comments.
13502         (do_test): Add comments and call free on all potentially
13503         allocated pointers. Remove duplicate check for NULL pointer.
13504         Add space after cast.
13506 2013-10-04  Alan Modra  <amodra@gmail.com>
13508         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13509         Use stdint types in rather than __attribute__((mode())).
13510         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13512 2013-10-04  Alan Modra  <amodra@gmail.com>
13514         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13515         Correct handling of unaligned relocs for little-endian.
13516         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13518 2013-10-04  Alan Modra  <amodra@gmail.com>
13520         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13521         * configure: Regenerate.
13522         * nptl/shlib-versions: Powerpc*le starts at 2.18.
13523         * shlib-versions: Likewise.
13525 2013-10-04  Alan Modra  <amodra@gmail.com>
13527         * string/tester.c (test_memrchr): Increment reported test cycle.
13529 2013-10-04  Alan Modra  <amodra@gmail.com>
13531         * string/test-memcpy.c (do_one_test): When reporting errors, print
13532         string address and don't overrun end of string.
13534 2013-10-04  Alan Modra  <amodra@gmail.com>
13536         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13537         insrdi.  Make better use of reg selection to speed exit slightly.
13538         Schedule entry path a little better.  Remove useless "are we done"
13539         checks on entry to main loop.  Handle wrapping around zero address.
13540         Correct main loop count.  Handle single left-over word from main
13541         loop inline rather than by using loop_small.  Remove extra word
13542         case in loop_small caused by wrong loop count.  Add little-endian
13543         support.
13544         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13545         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
13546         cache hint.
13547         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13548         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13549         support.  Avoid rlwimi.
13550         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13552 2013-10-04  Alan Modra  <amodra@gmail.com>
13554         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13555         insrdi.  Formatting.
13556         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13557         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13558         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13559         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13560         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13561         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13563 2013-10-04  Alan Modra  <amodra@gmail.com>
13565         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13566         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13567         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13568         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13569         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13570         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13571         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13572         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13573         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
13574         use of regs.  Use power7 mtocrf.  Tidy function tails.
13576 2013-10-04  Alan Modra  <amodra@gmail.com>
13578         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13579         Formatting.  Consistently use rXXX register defines or rN defines.
13580         Use early exit labels that avoid restoring unused non-volatile regs.
13581         Make cr field use more consistent with rWORDn compares.  Rename
13582         regs used as shift registers for unaligned loop, using rN defines
13583         for short lifetime/multiple use regs.
13584         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13585         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
13586         addi 1,1,64 to pop stack frame.  Simplify return value code.
13587         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13589 2013-10-04  Alan Modra  <amodra@gmail.com>
13591         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13592         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
13593         rather than rlwimi.
13594         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13595         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13596         little-endian support.  Correct typos.
13597         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
13598         rather than rlwimi.
13599         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
13600         in loop and entry code to keep "and." results.
13601         (strchr): Add little-endian support.  Comment.  Move cntlzd
13602         earlier in tail.
13603         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13605 2013-10-04  Alan Modra  <amodra@gmail.com>
13607         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13608         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13609         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13610         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13612 2013-10-04  Alan Modra  <amodra@gmail.com>
13614         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13615         (rTMP): Define as r11.
13616         (strcmp): Add little-endian support.  Optimise tail.
13617         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13618         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13619         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13620         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13621         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13622         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13623         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13625 2013-10-04  Alan Modra  <amodra@gmail.com>
13627         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13628         little-endian support.  Remove unnecessary "are we done" tests.
13629         Handle "s" wrapping around zero and extremely large "size".
13630         Correct main loop count.  Handle single left-over word from main
13631         loop inline rather than by using small_loop.  Correct comments.
13632         Delete "zero" tail, use "end_max" instead.
13633         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13635 2013-10-04  Alan Modra  <amodra@gmail.com>
13637         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13638         support.  Don't branch over align.
13639         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13640         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13641         support.  Rearrange tmp reg use to suit.  Comment.
13642         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13644 2013-10-04  Alan Modra  <amodra@gmail.com>
13646         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13648 2013-10-04  Alan Modra  <amodra@gmail.com>
13650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13651         conditional form of branch and link when obtaining pc.
13652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13654 2013-10-04  Alan Modra  <amodra@gmail.com>
13656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13657         HIWORD/LOWORD.
13658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13661 2013-10-04  Alan Modra  <amodra@gmail.com>
13663         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13664         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13665         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13666         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13667         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13668         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13669         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13670         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13671         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13672         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13674 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13675             Alistair Popple <alistair@ozlabs.au.ibm.com>
13676             Alan Modra <amodra@gmail.com>
13678         [BZ #15723]
13679         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13680         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13681         _dl_hwcap access for little-endian.
13682         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
13683         destroy vmx regs when saving unaligned.
13684         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13685         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
13686         destroy vmx regs when saving unaligned.
13688 2013-10-04  Alan Modra  <amodra@gmail.com>
13690         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13691         Don't use a union to pack hi/low value.
13693 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13695         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13696         for little-endian.
13697         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13698         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13699         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13700         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13701         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13703 2013-10-04  Alan Modra  <amodra@gmail.com>
13705         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13706         constants to usual value for .cst8 section, and remove redundant
13707         high address load.
13708         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13709         constant for 0x1p52.  Load little-endian words of double from
13710         correct stack offsets.
13712 2013-10-04  Alan Modra  <amodra@gmail.com>
13714         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13715         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13716         words of double from correct stack offsets.
13717         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13718         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13719         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13720         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13721         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13722         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13723         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13724         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13725         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13726         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13727         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13728         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13729         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13730         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13731         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13732         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13733         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13735 2013-10-04  Alan Modra  <amodra@gmail.com>
13737         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13738         64-bit int/double union.
13739         (_FPU_SETCW): Likewise.
13740         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13741         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13743 2013-10-04  Alan Modra  <amodra@gmail.com>
13745         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13746         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13748 2013-10-04  Alan Modra  <amodra@gmail.com>
13750         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13751         use vector int constants.
13752         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13754 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13756         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13757         array with long long.
13758         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13759         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13760         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13761         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13762         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13763         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13764         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13765         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13766         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13767         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13768         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13769         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13770         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13772 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13774         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13775         (__signbit): Likewise.  Correct for little-endian.
13776         (__signbitl): Call __signbit.
13777         (lrint): Correct for little-endian.
13778         (lrintf): Call lrint.
13780 2013-10-04  Alan Modra  <amodra@gmail.com>
13782         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13783         union 32-bit int array member with 64-bit int array.
13784         (t515, tm256): Double rather than long double.
13785         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13787 2013-10-04  Alan Modra  <amodra@gmail.com>
13789         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13790         Delete.
13791         (IEEE854_LONG_DOUBLE_BIAS): Delete.
13792         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13793         version of math_ldbl.h.
13795 2013-10-04  Alan Modra  <amodra@gmail.com>
13797         [BZ #15734], [BZ #15735]
13798         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13799         all uses of ieee875 long double macros and unions.  Simplify test
13800         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
13801         ldbl_extract_mantissa value for ix,iy exponents.  Properly
13802         normalize after ldbl_extract_mantissa, and don't add hidden bit
13803         already handled.  Don't treat low word of ieee854 mantissa like
13804         low word of IBM long double and mask off bit when testing for
13805         zero.
13806         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13807         all uses of ieee875 long double macros and unions.  Simplify tests
13808         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
13809         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
13810         two1022, instead use their values.  Recognise that tests for large
13811         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
13812         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13813         Rewrite all uses of ieee875 long double macros and unions.  Simplify
13814         test for 0.0L and nan.  Correct negation.
13815         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13816         ieee875 long double macros and unions.  Correct output for large
13817         magnitude x.  Correct absolute value calculation.
13818         (__erfcl): Likewise.
13819         * math/libm-test.inc: Add tests for errors discovered in IBM long
13820         double versions of fmodl, remainderl, erfl and erfcl.
13822 2013-10-04  Alan Modra  <amodra@gmail.com>
13824         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13825         all uses of ieee854 long double macros and unions.  Simplify tests
13826         for long doubles that are fully specified by the high double.
13827         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13828         Likewise.
13829         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13830         Remove dead code too.
13831         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13832         (__ieee754_ynl): Likewise.
13833         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13834         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13835         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13836         Remove dead code too.
13837         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13838         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13839         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13840         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13841         Simplify.
13842         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13843         Simplify.
13844         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13845         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13846         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13847         Comment on variable precision.
13848         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13849         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13850         Likewise.
13851         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13852         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13853         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13854         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13855         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13857 2013-10-04  Alan Modra  <amodra@gmail.com>
13859         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13860         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13861         all uses of ieee854 long double macros and unions.
13862         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13863         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13864         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13865         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13866         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13867         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13868         Likewise.
13869         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13870         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13871         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13872         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13873         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13874         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13875         Simplify sign and nan test too.
13876         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13877         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13878         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13879         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13880         Likewise.
13881         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13882         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13883         Likewise.
13884         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13885         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13886         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13887         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13888         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13889         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13891 2013-10-04  Alan Modra  <amodra@gmail.com>
13893         * stdio-common/printf_size.c (__printf_size): Don't use
13894         union ieee854_long_double in fpnum union.
13895         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
13896         signbit macro to retrieve sign from long double.
13897         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13898         retrieve sign from long double.
13899         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13900         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13901         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13902         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13903         * math/test-misc.c (main): Don't use union ieee854_long_double.
13905 2013-10-04  Alan Modra  <amodra@gmail.com>
13907         [BZ #15680]
13908         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13909         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13910         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13911         calculation.  Remove unnecessary test for denormal exponent.
13912         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13913         Correct handling of denormals.  Avoid undefined shift behaviour.
13914         Correct normalisation of low mantissa when low double is denormal.
13915         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13916         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
13917         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13918         Correct normalisation of low mantissa.  Test for overflow of high
13919         mantissa and normalise.
13920         (ldbl_nearbyint): Use more readable constant for two52.
13921         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13922         (__mpn_construct_long_double): Fix test for overflow of high
13923         mantissa and correct normalisation.  Avoid undefined shift.
13925 2013-10-04  Alan Modra  <amodra@gmail.com>
13927         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13928         (union ibm_extended_long_double): Define as an array of ieee754_double.
13929         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13930         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13931         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13932         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13933         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13934         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13935         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13936         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13937         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13938         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13939         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13941 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
13943         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13944         page size instead of calling getpagesize.
13946         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13947         (LOCFILE_ALIGN_MASK): Likewise.
13948         (LOCFILE_ALIGN_UP): Likewise.
13949         (LOCFILE_ALIGNED_P): Likewise.
13950         * locale/programs/ld-collate.c (collate_output): Use the new
13951         macros instead of __alignof__ (int32_t).
13952         * locale/weight.h (findidx): Likewise.
13954 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
13956         [BZ #431]
13957         * manual/string.texi: Fix strncat and wcsncat.
13959 2013-10-03  Brooks Moses  <bmoses@google.com>
13961         [BZ #15915]
13962         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13963         * Makerules: ...here, and adjust associated comments.
13965 2013-10-02  Will Newton  <will.newton@linaro.org>
13967         * malloc/Makefile: Add tst-pvalloc.
13968         * malloc/tst-pvalloc.c: New file.
13970 2013-10-02  Will Newton  <will.newton@linaro.org>
13972         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13973         improve test coverage.
13975 2013-10-02  Will Newton  <will.newton@linaro.org>
13977         * malloc/Makefile: Add tst-posix_memalign.
13978         * malloc/tst-posix_memalign.c: New file.
13980 2013-10-01  Eric Blake  <eblake@redhat.com>
13982         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13983         Use __THROWNL rather than __THROW on static functions.
13985 2013-09-30  Petr Machata  <pmachata@redhat.com>
13987         * elf/elf.h (R_AARCH64_ABS16): New macro.
13988         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13989         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13990         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13991         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13992         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13993         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13994         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13995         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13996         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13997         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13998         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13999         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14000         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14001         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14002         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14003         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14004         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14005         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14006         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14007         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14008         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14009         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14010         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14011         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14012         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14013         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14014         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14015         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14016         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14017         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14018         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14019         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14020         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14021         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14022         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14023         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14024         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14025         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14026         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14027         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14028         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14029         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14030         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14031         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14032         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14033         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14034         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14035         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14036         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14037         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14038         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14039         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14040         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14041         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14042         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14043         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14044         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14045         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14046         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14047         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14048         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14049         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14050         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14051         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14052         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14053         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14054         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14055         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14056         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14057         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14058         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14059         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14060         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14061         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14062         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14063         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14064         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14065         (R_AARCH64_TLSDESC_LDR): Likewise.
14066         (R_AARCH64_TLSDESC_ADD): Likewise.
14067         (R_AARCH64_TLSDESC_CALL): Likewise.
14069 2013-09-30  Andreas Schwab  <schwab@suse.de>
14071         [BZ #15048]
14072         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14073         the nss database lookup.
14074         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14077 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14079         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14081 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14083         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14084         ${Bash-specific parameter/pattern/string} parameter expansion.
14085         * sysdeps/unix/make-syscalls.sh: Likewise.
14087 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14089         * sysdeps/sh/stackguard-macros.h: New file.
14091 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14093         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14095         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14096         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14097         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14098         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14100 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14102         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14103         Fix thread ID register.
14105 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14107         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14108         [POSIX || UNIX98]: Require rather than permitting all symbols from
14109         <time.h>.
14110         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14111         element of struct sched_param.
14112         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14113         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14114         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14115         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14116         constant.
14118 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14120         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14121         argument calculation.
14123 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14125         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14126         Expect macro.
14127         [POSIX] (pthread_attr_t): Do not require type.
14128         [POSIX] (pthread_cond_t): Likewise.
14129         [POSIX] (pthread_condattr_t): Likewise.
14130         [POSIX] (pthread_key_t): Likewise.
14131         [POSIX] (pthread_mutex_t): Likewise.
14132         [POSIX] (pthread_mutexattr_t): Likewise.
14133         [POSIX] (pthread_once_t): Likewise.
14134         [POSIX] (pthread_t): Likewise.
14135         [POSIX-based standards] (pthread_atfork): Expect function.
14137 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14138             Richard Sandiford  <richard@codesourcery.com>
14140         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14141         (swap_endianness_p): New extern variable.
14142         (set_big_endian): New inline function.
14143         (maybe_swap_uint32): Likewise.
14144         (maybe_swap_uint32_array): Likewise.
14145         (maybe_swap_uint32_obstack): Likewise.
14146         * locale/programs/locfile.c: Include <stdbool.h>.
14147         (swap_endianness_p): New variable.
14148         (add_locale_uint32): Call maybe_swap_uint32.
14149         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14150         (write_locale_data): Call maybe_swap_uint32_array.
14151         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14152         maybe_swap_uint32.
14153         (obstack_int32_grow_fast): Likewise.
14154         (output_weightwc): Call maybe_swap_uint32_obstack.
14155         (collate_output): Likewise.
14156         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14157         (OPT_LITTLE_ENDIAN): Likewise.
14158         (options): Add --little-endian and --big-endian options.
14159         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14160         * locale/programs/locarchive.c: Include "locfile.h".
14161         (GET): New macro.
14162         (SET): Likewise.
14163         (INC): Likewise.
14164         (create_archive): Use the new macros to access fields of
14165         structures directly mapped from or written to locale archives.
14166         (oldlocrecentcmp): Likewise.
14167         (enlarge_archive): Likewise.
14168         (insert_name): Likewise.
14169         (add_alias): Likewise.
14170         (add_locale): Likewise.
14171         (delete_locales_from_archive): Likewise.
14172         (show_archive_content): Likewise.
14173         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14174         locale data.
14176 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14178         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14179         http://www.gnu.org/doc/freemanuals.texi.
14180         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14182 2013-09-24  Will Newton  <will.newton@linaro.org>
14184         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14185         macro.
14187 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14189         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14190         unsigned char.
14192 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14194         * manual/threads.texi (POSIX Threads): Fix a typo.
14196 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14198         [BZ #14547]
14199         * string/tst-strcoll-overflow.c: New test case.
14200         * string/Makefile (xtests): Add tst-strcoll-overflow.
14201         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14202         cache if string sizes may cause integer overflow.
14204         [BZ #14547]
14205         * string/strcoll_l.c (coll_seq): New members rule, idx,
14206         save_idx and back_us.
14207         (get_next_seq_nocache): New function.
14208         (do_compare_nocache): New function.
14209         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14210         when malloc fails.
14212 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14214         [BZ #15754]
14215         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14216         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14217         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14219         [BZ #15754]
14220         * elf/Makefile (tests): Add tst-ptrguard1.
14221         (tests-static): Add tst-ptrguard1-static.
14222         (tst-ptrguard1-ARGS): Define.
14223         (tst-ptrguard1-static-ARGS): Define.
14224         * elf/tst-ptrguard1.c: New file.
14225         * elf/tst-ptrguard1-static.c: New file.
14226         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14227         * sysdeps/i386/stackguard-macros.h: Likewise.
14228         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14229         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14230         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14231         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14232         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14233         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14235 2013-09-23  Hector Marco  <hecmargi@upv.es>
14236             Ismael Ripoll  <iripoll@disca.upv.es>
14237             Carlos O'Donell  <carlos@redhat.com>
14239         [BZ #15754]
14240         * sysdeps/generic/stackguard-macros.h: Define
14241         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14242         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14243         Define __pointer_chk_guard_local.
14244         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14245         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14247 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14249         [BZ #15859]
14250         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14252 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14254         * include/string.h (__ffs): Declare as hidden.
14255         * string/ffs.c (__ffs): Define as hidden.
14256         * sysdeps/i386/ffs.c (__ffs): Likewise.
14257         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14258         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14259         * sysdeps/s390/ffs.c (__ffs): Likewise.
14260         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14262 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14264         * NEWS: Mention malloc probes.
14266         * malloc/arena.c (new_heap): New memory_heap_new probe.
14267         (grow_heap): New memory_heap_more probe.
14268         (shrink_heap): New memory_heap_less probe.
14269         (heap_trim): New memory_heap_free probe.
14270         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14271         (systrim): New memory_sbrk_less probe.
14272         * manual/probes.texi: Document them.
14274         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14275         * manual/probes.texi: Document it.
14277         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14278         (__libc_realloc): Add memory_realloc_retry probe.
14279         (__libc_memalign): Add memory_memalign_retry probe.
14280         (__libc_valloc): Add memory_valloc_retry probe.
14281         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14282         (__libc_calloc): Add memory_calloc_retry probe.
14283         * manual/probes.texi: Document them.
14285         * malloc/arena.c (get_free_list): Add probe
14286         memory_arena_reuse_free_list.
14287         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14288         and memory_arena_reuse.
14289         (arena_get2) [!PER_THREAD]: Likewise.
14290         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14291         memory_arena_reuse_realloc.
14292         * manual/probes.texi: Document them.
14294         * malloc/malloc.c (__libc_free): Add
14295         memory_mallopt_free_dyn_thresholds probe.
14296         (__libc_mallopt): Add multiple memory_mallopt probes.
14297         * manual/probes.texi: Document them.
14299         * malloc/malloc.c: Include stap-probe.h.
14300         (__libc_mallopt): Add memory_mallopt probe.
14301         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14302         * manual/probes.texi: New.
14303         * manual/Makefile (chapters): Add probes.
14304         * manual/threads.texi: Set next node.
14306 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14308         [BZ #15963, #13985]
14309         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14310         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14311         Add `Chinese' to `nan' entry name.
14313 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14315         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14316         (POLYNOMIAL): Likewise.
14317         (TAYLOR_SINCOS): Likewise.
14318         (TAYLOR_SLOW): Likewise.
14319         (__sin): Use TAYLOR_SINCOS.
14320         (__cos): Likewise.
14321         (slow): Use TAYLOR_SLOW.
14322         (sloww): Likewise.
14323         (bsloww): Likewise.
14324         (csloww): Likewise.
14326 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14328         * stdlib/strtod_l.c: Fix buffer overrun.
14330 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14332         * benchtests/Makefile (bench): Add sincos.
14333         * benchtests/bench-sincos.c: New file.
14335         * math/libm-test.inc (cos_test_data): New test inputs.
14336         (sin_test_data): Likewise.
14338         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14339         macro.
14340         (__sin): Use it.
14341         (__cos): Likewise.
14342         (slow1): Likewise.
14343         (slow2): Likewise.
14344         (sloww1): Likewise.
14345         (sloww2): Likewise.
14346         (bsloww1): Likewise.
14347         (bsloww2): Likewise.
14348         (cslow2): Likewise.
14349         (csloww1): Likewise.
14350         (csloww2): Likewise.
14352         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14353         function.
14354         (__sin): Use it.
14355         (__cos): Likewise.
14357         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14358         gotos.
14359         (__cos): Likewise.
14361 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
14363         * config.h.in (HAVE_MIPS_NAN2008): New macro.
14364         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14365         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14366         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14367         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14368         * elf/cache.c (print_entry): Handle the new cache flags.
14370 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14371             Aldy Hernandez  <aldyh@redhat.com>
14373         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14374         Change condition to [_SOFT_FLOAT].
14375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14376         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14378         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14379         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14380         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14381         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14382         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14383         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14384         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14385         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14386         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14387         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14388         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14389         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14390         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14391         declaration.
14393 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14395         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14396         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14397         (__longjmp): Use LOAD_GP to load saved GPRs.
14398         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14399         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14400         (__sigsetjmp): Use SAVE_GP to save GPRs.
14402         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14403         Do not append -msoft-float.
14404         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14406 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14408         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14410 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
14412         [BZ #15966]
14413         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14414         (_FPU_GETCW): Use initial "__" on variable and field names but not
14415         on macro parameter name.
14416         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
14417         parentheses around reference to macro parameter.
14419 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
14421         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14422         prototype.
14423         (ctype_startup): Use uint32_t in cast and sizeof for
14424         ctype->charnames.
14426 2013-09-11  Jia Liu  <proljc@gmail.com>
14428         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14429         __daddr_t_defined.
14430         [__FreeBSD__]: Likewise.
14432 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
14434         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14435         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14436         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14437         (strchr): Remove __strchr_sse42 ifunc selection.
14438         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14439         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14441 2013-09-11  Will Newton  <will.newton@linaro.org>
14443         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14444         parameter to RES. Remove hardcoded 1000 value.
14445         * benchtests/bench-skeleton.c (main): Pass RES parameter
14446         to TIMING_INIT and multiply result by 1000.
14448 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14452 2013-09-11  Andreas Schwab  <schwab@suse.de>
14454         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14455         if not defined.
14456         (O_TMPFILE) [__USE_GNU]: Define.
14457         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14458         Define.
14460 2013-09-11  Will Newton  <will.newton@linaro.org>
14462         [BZ #15857]
14463         * malloc/malloc.c (__libc_memalign): Check the value of bytes
14464         does not overflow.
14466 2013-09-11  Will Newton  <will.newton@linaro.org>
14468         [BZ #15856]
14469         * malloc/malloc.c (__libc_valloc): Check the value of bytes
14470         does not overflow.
14472 2013-09-11  Will Newton  <will.newton@linaro.org>
14474         [BZ #15855]
14475         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14476         does not overflow.
14478 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
14480         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14481         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14482         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14483         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14484         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14486 2013-09-10  Allan McRae  <allan@archlinux.org>
14488         [BZ #15748]
14489         * manual/arith.texi (Parsing of Floats): Clarify
14490         cross-reference.
14492         [BZ #15849]
14493         * manual/install.texi (Running make install): Mention
14494         --enable-pt-chown.
14495         * INSTALL: Regenerated.
14497 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14499         * csu/init-first.c (_init): Remove the !SHARED condition around
14500         FPU control word initialization.
14501         * elf/dl-support.c (_dl_fpu_control): New variable.
14502         (_dl_aux_init) <AT_FPUCW>: Initialize it.
14503         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14504         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14505         * math/test-fpucw-static.c: New file.
14506         * math/test-fpucw-ieee.c: New file.
14507         * math/test-fpucw-ieee-static.c: New file.
14508         * math/Makefile (tests): Add `test-fpucw-ieee' and
14509         `$(tests-static)'.
14510         (tests-static): New variable.
14511         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14512         dependency to...
14513         [($(build-shared),yes)]
14514         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14515         ... this.
14516         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14517         New dependency.
14519 2013-09-09  Allan McRae  <allan@archlinux.org>
14521         [BZ #15939]
14522         * manual/string.texi (Collation Functions): Fix typo in
14523         strcoll example.
14524         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14526         [BZ #15893]
14527         * stdlib/isomac.c (get_null_defines): Fix memory leak.
14529         [BZ #15892]
14530         * libio/memstream.c (open_memstream): Fix memory leak.
14531         * libio/wmemstream.c (open_wmemstream): Likewise.
14533         [BZ #15895]
14534         * nscd/netgroupcache.c: Fix nesting of ifdefs.
14536 2013-09-09  Will Newton  <will.newton@linaro.org>
14538         * malloc/Makefile: Add tst-realloc to tests.
14539         * malloc/tst-realloc.c: New file.
14541 2013-09-09  Allan McRae  <allan@archlinux.org>
14543         [BZ #15844]
14544         * COPYING: Update from GNU website to fix FSF address.
14545         * COPYING.LIB: Likewise.
14547 2013-09-06  David S. Miller  <davem@davemloft.net>
14549         * po/zh_TW.po: Update Chinese (traditional) translation from
14550         translation project.
14552 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
14553             Joseph Myers  <joseph@codesourcery.com>
14555         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14556         "localeinfo.h".
14557         (obstack_chunk_alloc): New macro.
14558         (obstack_chunk_free): Likewise.
14559         (record_offset): New function.
14560         (init_locale_data): Likewise.
14561         (align_locale_data): Likewise.
14562         (add_locale_empty): Likewise.
14563         (add_locale_raw_data): Likewise.
14564         (add_locale_raw_obstack): Likewise.
14565         (add_locale_string): Likewise.
14566         (add_locale_wstring): Likewise.
14567         (add_locale_uint32): Likewise.
14568         (add_locale_uint32_array): Likewise.
14569         (add_locale_char): Likewise.
14570         (start_locale_structure): Likewise.
14571         (end_locale_structure): Likewise.
14572         (start_locale_prelude): Likewise.
14573         (end_locale_prelude): Likewise.
14574         (write_locale_data): Take locale_file structure rather than an
14575         iovec.
14576         * locale/programs/locfile.h: Include "obstack.h".
14577         (struct locale_file): Change to store locale file contents instead
14578         of header.
14579         (init_locale_data): New prototype.
14580         (align_locale_data): Likewise.
14581         (add_locale_empty): Likewise.
14582         (add_locale_raw_data): Likewise.
14583         (add_locale_raw_obstack): Likewise.
14584         (add_locale_string): Likewise.
14585         (add_locale_wstring): Likewise.
14586         (add_locale_uint32): Likewise.
14587         (add_locale_uint32_array): Likewise.
14588         (add_locale_char): Likewise.
14589         (start_locale_structure): Likewise.
14590         (end_locale_structure): Likewise.
14591         (start_locale_prelude): Likewise.
14592         (end_locale_prelude): Likewise.
14593         (write_locale_data): Update prototype.
14594         * locale/programs/3level.h (struct TABLE): Remove result field.
14595         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14596         Use new locale_file interface.
14597         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14598         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14599         * locale/programs/ld-address.c (address_output): Use new
14600         locale_file interface.
14601         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14602         NO_ADD_LOCALE.
14603         (collate_finish): Don't call collseq_table_finalize.
14604         (collate_output): Use new locale_file interface.
14605         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14606         in file.
14607         (NO_FINALIZE): Change to NO_ADD_LOCALE.
14608         (TABLE): Move defines earlier in file.
14609         (ELEMENT): Likewise.
14610         (DEFAULT): Likewise.
14611         (wctrans_table_add): Move macro and inline function earlier in
14612         file.
14613         (struct wctype_table): Move type earlier in file.
14614         (add_locale_wctype_table): New static prototype.
14615         (struct locale_ctype_t): Use logical types instead of struct iovec
14616         pointers for members.
14617         (ctype_output): Use new locale_file interface.
14618         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
14619         new locale_file interface.
14620         (allocate_arrays): Update for use of new locale_file interface.
14621         * locale/programs/ld-identification.c (identification_output): Use
14622         new locale_file interface.
14623         * locale/programs/ld-measurement.c (measurement_output): Likewise.
14624         * locale/programs/ld-messages.c (messages_output): Likewise.
14625         * locale/programs/ld-monetary.c (monetary_output): Likewise.
14626         * locale/programs/ld-name.c (name_output): Likewise.
14627         * locale/programs/ld-numeric.c (numeric_output): Likewise.
14628         * locale/programs/ld-paper.c (paper_output): Likewise.
14629         * locale/programs/ld-telephone.c (telephone_output): Likewise.
14630         * locale/programs/ld-time.c (time_output): Likewise.
14632 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14634         * benchtests/Makefile: Add memrchr benchmark.
14635         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14636         benchmark as memrchr.
14637         * benchtests/bench-memrchr-ifunc.c: New file.
14638         * benchtests/bench-memrchr.c: New file.
14640 2013-09-06   Will Newton  <will.newton@linaro.org>
14642         * benchtests/Makefile (string-bench): Add memcpy.
14644 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
14645             Cong Wang  <amwang@redhat.com>
14647         [BZ #15850]
14648         * sysdeps/unix/sysv/linux/bits/in.h
14649         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14650         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14651         before __USE_KERNEL_IPV6_DEFS uses.
14652         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14653         IPPROTO_BEETPH.
14654         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14655         sockaddr_in6, or ipv6_mreq.
14657 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14659         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14660         memory access for final bytes in some large inputs.
14661         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14663 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14665         * string/test-memrchr.c: New file.
14666         * string/test-memrchr-ifunc.c: New file.
14667         * string/Makefile: Add new memrchr testcase.
14669 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
14671         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14672         fanotify_init returns EPERM.
14674 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14676         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14677         errors.
14678         (top level): Treat second token from macro or constant entries for
14679         allowed headers as allowed.
14680         * include/complex.h: Condition internal declarations on
14681         [!_ISOMAC].
14682         * include/fenv.h: Condition include of <stdbool.h> and internal
14683         declarations on [!_ISOMAC].
14685 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
14687         [BZ #15923]
14688         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14690 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14692         * configure.in (--enable-versioning): Remove configure option.
14693         (libc_cv_asm_symver_directive): Remove configure test.
14694         (libc_cv_ld_version_script_option): Likewise.
14695         (VERSIONING): Remove variable and AC_SUBST.
14696         (DO_VERSIONING): Remove AC_DEFINE.
14697         * configure: Regenerated.
14698         * config.h.in (DO_VERSIONING): Remove macro.
14699         * Makerules [$(versioning) = yes]: Change conditionals to
14700         [$(build-shared) = yes].
14701         * config.make.in (versioning): Remove variable.
14702         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14703         [$(build-shared) = yes].
14704         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14705         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14706         * elf/Makefile [$(versioning) = yes]: Change conditionals to
14707         [$(build-shared) = yes].
14708         * extra-lib.mk [$(versioning) = yes]: Likewise.
14709         * hurd/Makefile [$(versioning) = yes]: Likewise.
14710         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14711         [SHARED].
14712         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14713         [SHARED].
14714         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14715         [SHARED && !NO_HIDDEN].
14716         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14717         [SHARED].
14718         [SHARED && DO_VERSIONING]: Likewise..
14719         * libio/Makefile [$(versioning) = yes]: Change conditionals to
14720         [$(build-shared) = yes].
14721         * manual/install.texi (--disable-versioning): Remove
14722         documentation.
14723         * INSTALL: Regenerated.
14724         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14725         to [SHARED].
14726         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14727         [$(build-shared) = yes].
14728         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14729         * sysdeps/i386/i686/multiarch/strstr-c.c
14730         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14731         [SHARED && !NO_HIDDEN].
14732         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14733         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14734         * sysdeps/powerpc/powerpc32/dl-machine.c
14735         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14736         * sysdeps/powerpc/powerpc32/sysdep.h
14737         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14738         to [SHARED && PIC && !NO_HIDDEN].
14739         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14740         conditional to [SHARED].
14742 2013-09-04   Will Newton  <will.newton@linaro.org>
14744         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14745         * benchtests/bench-string.h: Include bench-timing.h instead
14746         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14747         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14748         call to HP_TIMING_DIFF_INIT.
14749         * benchtests/bench-memccpy.c: Use bench-timing.h macros
14750         instead of hp-timing.h macros.
14751         * benchtests/bench-memchr.c: Likewise.
14752         * benchtests/bench-memcmp.c: Likewise.
14753         * benchtests/bench-memcpy.c: Likewise.
14754         * benchtests/bench-memmem.c: Likewise.
14755         * benchtests/bench-memmove.c: Likewise.
14756         * benchtests/bench-memset.c: Likewise.
14757         * benchtests/bench-rawmemchr.c: Likewise.
14758         * benchtests/bench-strcasecmp.c: Likewise.
14759         * benchtests/bench-strcasestr.c: Likewise.
14760         * benchtests/bench-strcat.c: Likewise.
14761         * benchtests/bench-strchr.c: Likewise.
14762         * benchtests/bench-strcmp.c: Likewise.
14763         * benchtests/bench-strcpy.c: Likewise.
14764         * benchtests/bench-strcpy_chk.c: Likewise.
14765         * benchtests/bench-strlen.c: Likewise.
14766         * benchtests/bench-strncasecmp.c: Likewise.
14767         * benchtests/bench-strncat.c: Likewise.
14768         * benchtests/bench-strncmp.c: Likewise.
14769         * benchtests/bench-strncpy.c: Likewise.
14770         * benchtests/bench-strnlen.c: Likewise.
14771         * benchtests/bench-strpbrk.c: Likewise.
14772         * benchtests/bench-strrchr.c: Likewise.
14773         * benchtests/bench-strspn.c: Likewise.
14774         * benchtests/bench-strstr.c: Likewise.
14776 2013-09-04  Will Newton  <will.newton@linaro.org>
14778         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14780 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
14782         [BZ #15427]
14783         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14784         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14785         * math/libm-test.inc (lgamma_test_data): Add more tests.
14786         * sysdeps/i386/fpu/libm-test-ulps: Update.
14787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14789 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
14791         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14792         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14793         Add ifunc.
14794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14795         Add strcmp-sse2-unaligned
14796         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14798 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14800         * Versions.def (libc): Add GLIBC_2.19.
14802 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14804         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14805         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14807 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
14809         [BZ #14155]
14810         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14811         intermediate calculations in recurrence.
14812         (__ieee754_ynf): Likewise.
14813         * math/libm-test.inc (jn_test_data): Do not allow spurious
14814         underflow exception.  Add more tests.
14815         (yn_test_data): Add more tests.
14816         * sysdeps/i386/fpu/libm-test-ulps: Update.
14817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14819 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
14821         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14823 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14825         * csu/init-first.c: Fix then/than typos.
14826         * locale/programs/ld-collate.c: Likewise.
14827         * locale/programs/linereader.h: Likewise.
14828         * manual/charset.texi: Likewise.
14829         * manual/filesys.texi: Likewise.
14830         * manual/stdio.texi: Likewise.
14831         * manual/string.texi: Likewise.
14832         * stdlib/fmtmsg.c: Likewise.
14833         * sysdeps/i386/stpncpy.S: Likewise.
14834         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14835         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14836         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14837         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14839 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14841         * elf/dl-open.c: Fix typos.
14842         * iconvdata/gbbig5.c: Likewise.
14843         * iconvdata/iso-2022-jp.c: Likewise.
14844         * iconv/gconv_int.h: Likewise.
14845         * iconv/loop.c: Likewise.
14846         * nis/rpcsvc/nis.h: Likewise.
14847         * resolv/ns_name.c: Likewise.
14848         * stdio-common/vfscanf.c: Likewise.
14849         * streams/stropts.h: Likewise.
14850         * sunrpc/rpc_thread.c: Likewise.
14851         * sysdeps/i386/strpbrk.S: Likewise.
14852         * sysdeps/ieee754/k_standard.c: Likewise.
14853         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14854         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14855         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14856         * sysdeps/mach/hurd/profil.c: Likewise.
14857         * sysdeps/s390/dl-procinfo.h: Likewise.
14858         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14859         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14860         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14861         * sysdeps/x86_64/dl-trampoline.S: Likewise.
14862         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14864 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
14866         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14867         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14869 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
14871         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14872         aix specific files.
14873         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14874         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14875         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14876         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14877         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14878         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14879         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14880         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14882 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14883             Roland McGrath  <roland@hack.frob.com>
14885         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14886         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14888 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14890         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14891         __executable_start symbol instead of _start.
14893 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14895         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14896         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14897         Move macros to...
14898         * sysdeps/gnu/ldsodefs.h: ... this new file.
14900         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14901         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14902         instead of ELFOSABI_LINUX.
14904         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14905         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14906         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14907         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14908         Likewise.
14909         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14910         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14911         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14912         Likewise.
14913         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14914         (ibm_extended_long_double): Add ieee_nan member.
14915         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14916         (do_test): New function.
14918         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14919         TEST_TRUNC.
14920         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14921         functions, renamed from truncdfsf_test, trunctfsf_test,
14922         trunctfdf_test.
14923         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14924         functions.
14925         (do_test): Run all these.
14927 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
14929         * argp/argp-help.c: Fix typos.
14930         * argp/argp-parse.c: Likewise.
14931         * debug/backtracesyms.c: Likewise.
14932         * elf/elf.h: Likewise.
14933         * malloc/malloc.c: Likewise.
14934         * nis/nis_print.c: Likewise.
14935         * resolv/res_comp.c: Likewise.
14936         * stdlib/stdlib.h: Likewise.
14937         * sunrpc/clnt_tcp.c: Likewise.
14938         * sunrpc/clnt_udp.c: Likewise.
14939         * sunrpc/clnt_unix.c: Likewise.
14940         * sysdeps/unix/bsd/ptsname.c: Likewise.
14941         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14942         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14944         Likewise.
14945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14946         Likewise.
14947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14948         Likewise.
14949         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14951 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14953         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14956 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
14958         [BZ #15897]
14959         * dlfcn/Makefile (tests): Add bug-dl-leaf.
14960         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14961         ($(objpfx)bug-dl-leaf): New rule.
14962         ($(objpfx)bug-dl-leaf.so): Likewise.
14963         ($(objpfx)bug-dl-leaf.out): Likewise.
14964         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14965         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14966         * dlfcn/bug-dl-leaf.c: New test.
14967         * dlfcn/bug-dl-leaf-lib.c: Likewise.
14968         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14969         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14970         (dlclose): Likewise.
14971         (dlmopen): Likewise.
14973 2013-08-27  Roland McGrath  <roland@hack.frob.com>
14975         * include/netdb.h [!_ISOMAC]:
14976         Don't include <tls.h>.
14977         (h_errno, __libc_h_errno): Move declaration and macros out of
14978         [_LIBC_REENTRANT].
14980         * include/resolv.h [_RESOLV_H_]:
14981         Don't include <tls.h>.
14982         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14983         * resolv/res_libc.c: Don't include <tls.h>.
14984         (_res): Use __attribute__ ((nocommon)) in place of
14985         __attribute__ ((section (".bss"))).
14987         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14988         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14990         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14992         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14993         only under [SIOCGIFCONF && SIOCGIFNETMASK].
14995         * resolv/res_mkquery.c: Include <sys/time.h>.
14997         * inet/ifreq.c: Moved to ...
14998         * sysdeps/unix/ifreq.c: ... here.
14999         * inet/ifreq.c: New file, true stub version.
15001         * socket/sa_len.c: New file.
15002         * socket/Makefile (aux): Add it.
15003         * sysdeps/unix/sysv/linux/Makefile
15004         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15005         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15006         and #include <socket/sa_len.c>.
15007         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15008         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15010         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15011         * bits/socket.h: ... here.
15013         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15014         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15015         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15017 2013-08-27  Andreas Schwab  <schwab@suse.de>
15019         [BZ #15736]
15020         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15021         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15022         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15023         * string/test-strcasecmp.c (test_main): Run tests in several
15024         locales.
15025         * string/test-strncasecmp.c (test_main): Likewise.
15027         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15028         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15029         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15030         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15031         (__strncasecmp_ssse3) [PIC]: Likewise.
15033 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15035         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15037         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15038         instead of explicitly declaring xdecrypt.
15039         * nis/nss_nis/nis-publickey.c: Likewise.
15041 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15043         [BZ #15890]
15044         * nscd/aicache.c: Include res_hconf.h.
15045         (addhstaiX): Initialize res_hconf.
15047 2013-08-26  Andreas Schwab  <schwab@suse.de>
15049         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15050         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15052 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15054         * nscd/aicache.c (addhstaiX): Fix indentation.
15056 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15058         * configure.ac: Quote $build_pt_chown test.
15059         * configure: Regenerated.
15061 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15063         [BZ #15532]
15064         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15065         * math/s_cexpf.c (__cexpf): Likewise.
15066         * math/s_cexpl.c (__cexpl): Likewise.
15067         * math/libm-test.inc (cexp_test_data): Correct expected return
15068         value for NaN + i0.  Add another test.
15070 2013-08-22  David S. Miller  <davem@davemloft.net>
15072         * po/ca.po: Update Catalan translation from translation project.
15073         * po/uk.po: Add Ukrainian translations from translation project.
15075 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15077         [BZ #15797]
15078         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15079         is infinite, not alongside NaN test.
15080         * math/s_fdimf.c (__fdimf): Likewise.
15081         * math/s_fdiml.c (__fdiml): Likewise.
15082         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15083         errno is unchanged.
15085 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15087         * argp/argp-help.c: Fix typos.
15088         * crypt/speeds.c: Likewise.
15089         * csu/check_fds.c: Likewise.
15090         * elf/dl-load.c: Likewise.
15091         * elf/dl-open.c: Likewise.
15092         * elf/reldep3.c: Likewise.
15093         * elf/reldep.c: Likewise.
15094         * elf/sprof.c: Likewise.
15095         * iconv/iconv_charmap.c: Likewise.
15096         * iconv/skeleton.c: Likewise.
15097         * iconv/strtab.c: Likewise.
15098         * io/lockf64.c: Likewise.
15099         * libio/libioP.h: Likewise.
15100         * resolv/gai_notify.c: Likewise.
15101         * resolv/ns_name.c: Likewise.
15102         * resolv/ns_samedomain.c: Likewise.
15103         * resolv/res_send.c: Likewise.
15104         * stdlib/random.c: Likewise.
15105         * sunrpc/rpc/xdr.h: Likewise.
15106         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15107         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15108         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15109         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15110         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15111         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15112         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15113         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15114         * sysdeps/mach/hurd/check_fds.c: Likewise.
15115         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15116         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15117         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15118         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15119         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15120         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15121         * sysdeps/pthread/aio_notify.c: Likewise.
15122         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15123         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15124         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15125         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15126         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15128 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15130         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15131         version if bit_Slow_SSE4_2 is set.
15132         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15133         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15135 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15137         [BZ #15867]
15138         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15139         trampoline stack frame information.
15140         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15141         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15142         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15143         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15144         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15145         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15146         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15147         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15148         sa_flags value.
15149         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15150         interrupting a syscall and set with option SA_SIGINFO.
15152 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15154         [BZ #15531]
15155         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15156         argument is infinite.
15157         * math/s_cprojf.c (__cprojf): Likewise.
15158         * math/s_cprojl.c (__cprojl): Likewise.
15159         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15160         * math/libm-test.inc (cproj_test_data): Add more tests.
15162         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15164         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15165         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15166         size.  Use __ffs to determine corresponding shift.
15168 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15169             Roland McGrath  <roland@hack.frob.com>
15171         * Makefile (INSTALL): Remove trailing blank lines from output of
15172         makeinfo.
15174 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15176         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15177         Align 32 bit compat elf_greg to 8 bytes.
15179 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15181         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15183 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15185         * string/strcoll_l.c (coll_seq): New structure.
15186         (get_next_seq_cached): New function.
15187         (get_next_seq): New function.
15188         (do_compare): New function.
15189         (STRCOLL): Use GNU style definition.  Simplify implementation
15190         by using get_next_seq, get_next_seq_cached and do_compare.
15192 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15194         [BZ #14699]
15195         CVE-2013-4237
15196         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15197         member.
15198         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15199         member.
15200         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15201         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15202         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15203         conditional.
15204         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15205         GETDENTS_64BIT_ALIGNED.
15206         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15207         * manual/filesys.texi (Reading/Closing Directory): Document
15208         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15209         strongly.
15210         * manual/conf.texi (Limits for Files): Add portability note to
15211         NAME_MAX, PATH_MAX.
15212         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15214 2013-08-13  Andreas Schwab  <schwab@suse.de>
15216         [BZ #15749]
15217         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15218         of fabs.
15219         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15220         LDBL_MAX_EXP >= 16384]: Add tests for it.
15222 2013-08-12  David S. Miller  <davem@davemloft.net>
15224         * version.h (RELEASE): Set to "development".
15225         (VERSION): Set to "2.18.90".
15226         * NEWS: Add 2.19 section.
15228 2013-08-03  David S. Miller  <davem@davemloft.net>
15230         * po/ko.po: Update Korean translation from translation project.
15232 2013-08-01  David S. Miller  <davem@davemloft.net>
15234         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15235         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15236         Bilka.
15238 2013-07-30  David S. Miller  <davem@davemloft.net>
15240         * po/fr.po: Update French translation from translation project.
15242 2013-07-28  David S. Miller  <davem@davemloft.net>
15244         * po/cs.po: Update Czech translation from translation project.
15246         * po/sv.po: Update Swedish translation from translation project.
15248 2013-07-27  David S. Miller  <davem@davemloft.net>
15250         * po/eo.po: Update Esperanto translation from translation project.
15252         * po/vi.po: Update Vietnamese translation from translation project.
15254         * po/de.po: Update German translation from translation project.
15256 2013-07-26  David S. Miller  <davem@davemloft.net>
15258         * po/bg.po: Update Bulgarian translation from translation project.
15260         * po/nl.po: Update Dutch translation from translation project.
15261         * po/pl.po: Update Polish translation from translation project.
15262         * po/ru.po: Update Russian translation from translation project.
15264 2013-07-24  David S. Miller  <davem@davemloft.net>
15266         * po/libc.pot: Update.
15268 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15270         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15271         variable page size.
15272         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15273         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15274         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15276 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15278         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15280 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15281             Andreas Schwab  <schwab@suse.de>
15282             Roland McGrath  <roland@hack.frob.com>
15283             Joseph Myers  <joseph@codesourcery.com>
15284             Carlos O'Donell  <carlos@redhat.com>
15286         [BZ #15755]
15287         * config.h.in: Define HAVE_PT_CHOWN.
15288         * config.make.in (build-pt-chown): New variable.
15289         * configure.in (--enable-pt_chown): New configure option.
15290         * configure: Regenerate.
15291         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15292         build-pt-chown is enabled.
15293         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15294         pt_chown to fix pty ownership.
15295         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15296         CLOSE_ALL_FDS.
15297         * manual/install.texi (Configuring and compiling): Mention
15298         --enable-pt_chown. Add @findex for grantpt.
15299         * INSTALL: Regenerate.
15301 2013-07-20  David S. Miller  <davem@davemloft.net>
15303         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15304         difference between 32-bit and 64-bit.
15306 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15308         [BZ #15711]
15309         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15310         Avoid system header dependency with -ffreestanding.
15311         ($(objpfx)bits/syscall%d): Likewise.
15313 2013-07-13  David S. Miller  <davem@davemloft.net>
15315         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15316         underflows from atanl/atan2l due to bug 15319.
15317         (casinh_test_data): Likewise.
15319 2013-07-07  David S. Miller  <davem@davemloft.net>
15321         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15323 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15325         * sysdeps/i386/fpu/libm-test-ulps: Update.
15326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15328 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15330         * configure.in (--enable-lock-elision): Fix message text.
15331         * INSTALL: Regenerate.
15332         * configure: Regenerate.
15334 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15338 2013-07-03  Andreas Jaeger  <aj@suse.de>
15340         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15341         define.
15342         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15343         (ptrace_peeksiginfo_args): Add.
15344         (__ptrace_peeksiginfo_flags): Add.
15345         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15346         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15347         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15349 2013-07-03  Allan McRae  <allan@archlinux.org>
15351         * sysdeps/i386/fpu/libm-test-ulps: Update.
15353 2013-07-02  David S. Miller  <davem@davemloft.net>
15355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15357 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
15359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15361 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15363         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15366 2013-07-02  Andi Kleen <ak@linux.intel.com>
15368         * config.h.in (ENABLE_LOCK_ELISION): Add.
15369         * configure.in (--enable-lock-elision): Add option.
15370         * manual/install.texi: Document --enable lock elision.
15371         * configure: Regenerate
15372         * INSTALL: Regenerate.
15374 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
15376         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15377         SSE4.2 strcasecmp for libc.a.
15378         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15380 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15382         [BZ #13304]
15383         * soft-fp/op-common.h (_FP_FMA): New macro.
15384         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15385         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
15386         (_FP_MUL_MEAT_1_imm): ... here.
15387         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
15388         (_FP_MUL_MEAT_1_wide): ... here.
15389         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
15390         (_FP_MUL_MEAT_1_hard): ... here.
15391         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15392         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
15393         (_FP_MUL_MEAT_2_wide): ... here.
15394         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
15395         (_FP_MUL_MEAT_2_wide_3mul): ... here.
15396         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
15397         (_FP_MUL_MEAT_2_gmp): ... here.
15398         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15399         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
15400         (_FP_MUL_MEAT_4_wide): ... here.
15401         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
15402         (_FP_MUL_MEAT_4_gmp): ... here.
15403         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15404         (_FP_WFRACBITS_DW_S): Likewise.
15405         (_FP_WFRACXBITS_DW_S): Likewise.
15406         (_FP_HIGHBIT_DW_S): Likewise.
15407         (FP_FMA_S): Likewise.
15408         (_FP_FRAC_HIGH_DW_S): Likewise.
15409         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15410         (_FP_WFRACBITS_DW_D): Likewise.
15411         (_FP_WFRACXBITS_DW_D): Likewise.
15412         (_FP_HIGHBIT_DW_D): Likewise.
15413         (FP_FMA_D): Likewise.
15414         (_FP_FRAC_HIGH_DW_D): Likewise.
15415         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15416         (_FP_WFRACBITS_DW_E): Likewise.
15417         (_FP_WFRACXBITS_DW_E): Likewise.
15418         (_FP_HIGHBIT_DW_E): Likewise.
15419         (FP_FMA_E): Likewise.
15420         (_FP_FRAC_HIGH_DW_E): Likewise.
15421         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15422         (_FP_WFRACBITS_DW_Q): Likewise.
15423         (_FP_WFRACXBITS_DW_Q): Likewise.
15424         (_FP_HIGHBIT_DW_Q): Likewise.
15425         (FP_FMA_Q): Likewise.
15426         (_FP_FRAC_HIGH_DW_Q): Likewise.
15427         * soft-fp/fmasf4.c: New file.
15428         * soft-fp/fmadf4.c: Likewise.
15429         * soft-fp/fmatf4.c: Likewise.
15431 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15434         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15435         Silvermont.
15436         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15437         macro.
15438         (index_Slow_SSE4_2): Likewise.
15439         (index_Prefer_PMINUB_for_stringop): Likewise.
15440         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15441         bit_Slow_SSE4_2 is set.
15442         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15443         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15445 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15447         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15448         rtld_global._dl_hwcap2.
15449         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15450         POWER8.
15451         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15452         POWER8 feature descriptions defined in _dl_hwcap2.
15453         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15454         string handling for POWER8 feature bits.
15455         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15456         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15457         _dl_powerpc_cap_flags.
15458         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15459         * sysdeps/powerpc/rtld-global-offsets.sym
15460         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15461         _dl_hwcap2 in the rtld_global_ro structure.
15463 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15465         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15466         hardware capabilities in support of AT_HWCAP2.
15467         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15468         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15469         GLRO(dl_hwcap2).
15470         (_dl_show_auxv): Add support for calling _dl_procinfo to display
15471         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
15472         explicitly the unknown a_type display mechanism is used.
15473         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15474         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15475         struct member.
15476         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15477         to macro prototype for AT_HWCAP2 support.
15478         * sysdeps/i386/dl-procinfo.h: Likewise.
15479         * sysdeps/s390/dl-procinfo.h: Likewise.
15480         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15481         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
15482         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
15483         return -1 for unknown a_type display fallback.
15484         * sysdeps/sparc/dl-procinfo.h: Likewise.
15485         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15486         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15488 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
15490         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15491         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15493 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
15495         [BZ #12492]
15496         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15497         mprotect making __stack_prot writable.
15499 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
15500             Joseph Myers  <joseph@codesourcery.com>
15502         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15503         as being properly aligned.
15505 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
15507         * dlfcn/modstatic5.c: New file.
15508         * dlfcn/tststatic5.c: New file.
15509         * dlfcn/Makefile (tests): Add tststatic5.
15510         (tests-static): Likewise.
15511         (modules-names): Add modstatic5.
15512         (tststatic5-ENV): New variable.
15513         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15515         [BZ #15022]
15516         * elf/dl-support.c (_dl_main_map): New variable.
15517         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15518         (_dl_nns, _dl_load_adds): Set to 1.
15519         (_dl_initial_searchlist): Refer to _dl_main_map.
15520         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15521         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15522         call to _dl_get_origin.
15523         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15524         around call_map.
15525         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15526         * dlfcn/modstatic3.c: New file.
15527         * dlfcn/tststatic3.c: New file.
15528         * dlfcn/tststatic4.c: New file.
15529         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15530         (tests-static): Likewise.
15531         (modules-names): Add modstatic3.
15532         (tststatic3-ENV, tststatic4-ENV): New variables.
15533         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15534         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15536 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
15538         * configure.in (CC): Require GCC version 4.4 or later.
15539         * configure: Regenerated.
15540         * manual/install.texi (Tools for Compilation): Update GCC version
15541         requirement.
15542         * INSTALL: Regenerated.
15544 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15546         [BZ #15674]
15547         * string/test-memcmp.c (check2): New.
15548         (main): Call check2.
15550         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15552 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
15554         [BZ #15022]
15555         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15556         over to...
15557         (dl_open_worker) [!SHARED]: ... here.
15559 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15561         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15563 2013-06-25  Richard Henderson  <rth@redhat.com>
15565         * locale/programs/locarchive.c: Include <libc-internal.h>
15567 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
15569         * manual/texinfo.tex: Update to version 2013-06-21.17, with
15570         trailing whitespace removed.
15572 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15574         [BZ #10283]
15575         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15576         * locale/programs/locarchive.c: Include libc-mmap.h.
15577         (prepare_address_space): Take two new outputs (the mmap base and len).
15578         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
15579         values.
15580         (create_archive): Declare new mmap base and len values for
15581         prepare_address_space, and store the result in ah.
15582         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15583         (enlarge_archive): If ah->mmap_base is not NULL, use that and
15584         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15585         Declare new mmap base and len values for
15586         prepare_address_space, and store the result in new_ah.
15587         (open_archive): Declare new mmap base and len values for
15588         prepare_address_space, and store the result in ah.
15589         (close_archive): If ah->mmap_base is not NULL, use that and
15590         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15591         * sysdeps/generic/libc-mmap.h: New file.
15593 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15595         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15596         (ALIGN_UP): Likewise.
15597         (PTR_ALIGN_DOWN): Likewise.
15598         (PTR_ALIGN_UP): Likewise.
15600 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15602         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15603         entry mapped to PPC_PLATFORM_POWER8.
15604         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15605         POWER8.
15606         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15607         (_dl_string_platform): Add case for exporting platform position for
15608         POWER8.
15609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15610         search path to sysdeps/powerpc/powerpc32/power8 directory.
15611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15612         search path to sysdeps/powerpc/powerpc64/power8 directory.
15613         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15614         power7 directories.
15615         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15616         power7 directories.
15618 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15620         * INSTALL: Regenerate.
15622         * nscd/connections.c (nscd_init): Fix comment.
15624 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
15626         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15628         [BZ #15667]
15629         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15630         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15632 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15634         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15635         DL_DST_REQ_STATIC.
15636         (DL_DST_REQ_STATIC): Remove macro.
15638 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
15640         [BZ #7006]
15641         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15642         with a shift of 0 bits.
15644 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15646         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15647         $(tststatic-ENV).
15649 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15651         [BZ #15655]
15652         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15654 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15656         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15657         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15658         accepts -fno-tree-loop-distribute-patterns.
15659         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15660         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15661         recursive call.
15662         * string/memset.c (memset): Likewise.
15663         * string/test-memmove.c (simple_memmove): Disable loop transformation
15664         to library calls.
15665         * string/test-memset.c (simple_memset): Likewise.
15666         * benchtests/bench-memmove.c (simple_memmove): Likewise.
15667         * benchtests/bench-memset.c (simple_memset): Likewise.
15668         * configure: Regenerated.
15670 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
15672         * math/test-misc.c (main): Ignore fesetround failure when failures
15673         of subsequent rounding tests would be ignored.
15675         [BZ #15654]
15676         * math/fedisblxcpt.c (fedisableexcept): Return 0.
15677         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15678         * math/fegetenv.c (__fegetenv): Return 0.
15679         * math/fegetexcept.c (fegetexcept): Return 0.
15680         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15681         FE_TONEAREST.
15682         * math/feholdexcpt.c (feholdexcept): Return 0.
15683         * math/fesetenv.c (__fesetenv): Return 0.
15684         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15685         argument FE_TONEAREST.
15686         * math/feupdateenv.c (__feupdateenv): Return 0.
15687         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15689 2013-06-18  Roland McGrath  <roland@hack.frob.com>
15691         * elf/rtld-Rules (rtld-compile-command.S): New variable.
15692         (rtld-compile-command.s, rtld-compile-command.c): New variables.
15693         ($(objpfx)rtld-%.os rules): Use them.
15695 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15697         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15698         fields.
15700 2013-06-17  Roland McGrath  <roland@hack.frob.com>
15702         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15703         length of target pattern, then descending length of dependency pattern.
15704         * configure.in (AWK): Require gawk 3.1.2 or newer.
15705         * manual/install.texi (Tools for Compilation): Say that we do.
15706         * configure: Regenerated.
15708         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15709         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15710         * scripts/sysd-rules.awk: ... this new script.
15711         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15712         than a glob-style pattern.
15714 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
15716         * math/test-misc.c (main): Do not treat incorrectly rounded
15717         conversions as failure unless ROUNDING_TESTS passes.
15719 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
15721         [BZ #15631]
15722         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15723         restore exception state around main square root computation, then
15724         check for inexactness explicitly.
15726         * math/libm-test.inc (fma_test_data): Add another test.
15728 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15730         * manual/threads.texi (Non-POSIX Extensions): New document
15731         node.  Document pthread_getattr_default_np and
15732         pthread_setattr_default_np.
15734         * Versions.def (libpthread): Add GLIBC_2.18.
15735         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15737         Likewise.
15738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15739         Likewise.
15740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15741         Likewise.
15742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15743         Likewise.
15744         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15745         Likewise.
15746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15747         Likewise.
15748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15749         Likewise.
15750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15751         Likewise.
15752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15753         Likewise.
15755 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15758         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15760 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15761             H.J. Lu  <hjl.tools@gmail.com>
15763         [BZ #15627]
15764         * sysdeps/x86_64/rtld-memset.c: Remove file.
15765         * sysdeps/x86_64/rtld-memset.S: New file.
15767 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
15769         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15770         (test_in_one_mode): Take arguments for whether the rounding mode
15771         is supported for each floating-point type.
15772         (do_test): Pass new arguments to test_in_one_mode using
15773         ROUNDING_TESTS.
15775 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15777         * posix/tst-waitid.c (do_test): Distinguish different instances of
15778         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
15779         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15780         before entering the kernel for waitpid.
15782 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15784         * NEWS: Fix note on clock function precision.  Text by Roland
15785         McGrath.
15787 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15789         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15790         it into place only when and if the sanity check passes.
15792 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
15794         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15795         output for whether conversion result is exact.  Take argument
15796         indicating whether type is IBM long double.
15797         (round_for_all): Change need_exact field to ibm_ld.
15798         * stdlib/tst-strtod-round.c (struct exactness): New type.
15799         (struct test): Change bool ld_ok field to struct exactness exact.
15800         (TEST): Update all definitions for change to field.
15801         (tests): Regenerate array contents.
15802         (test_in_one_mode): Take pointer to new field instead of old ld_ok
15803         field value.  Check for IBM long double here.
15804         (do_test): Update calls to test_in_one_mode.
15806 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15808         [BZ #12515]
15809         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15810         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15812 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15814         [BZ #15605]
15815         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15816         generated by the compiler on loop optimizations.
15817         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15818         general definitions.
15820 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
15822         * math/bug-nextafter.c: Include <math-tests.h>.
15823         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15824         the relevant type.
15825         * math/bug-nexttoward.c: Include <math-tests.h>.
15826         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15827         the relevant type.
15828         * math/test-misc.c: Include <math-tests.h>.
15829         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15830         the relevant type.
15832 2013-06-12  Andreas Jaeger  <aj@suse.de>
15834         * po/ia.po: Update Interlingua translation from translation
15835         project.
15837 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15839         * include/fenv.h: Include stdbool.h.
15840         (struct rm_ctx): New structure.
15841         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15842         Define macro.
15843         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15844         (SET_RESTORE_ROUNDF): Likewise.
15845         (SET_RESTORE_ROUNDL): Likewise.
15846         (SET_RESTORE_ROUND_NOEX): Likewise.
15847         (SET_RESTORE_ROUND_NOEXF): Likewise.
15848         (SET_RESTORE_ROUND_NOEXL): Likewise.
15849         (SET_RESTORE_ROUND_53BIT): Likewise.
15850         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15851         (libc_feresetround_noexf_ctx): Likewise.
15852         (libc_feresetround_noexl_ctx): Likewise.
15853         (libc_feholdsetround_53bit_ctx): Likewise.
15854         (libc_feresetround_53bit_ctx): Likewise.
15855         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15856         (libc_feholdexcept_setround_sse_ctx): New function.
15857         (libc_fesetenv_sse_ctx): Likewise.
15858         (libc_feupdateenv_sse_ctx): Likewise.
15859         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15860         (libc_feholdexcept_setround_387_ctx): Likewise.
15861         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15862         (libc_feholdsetround_387_prec_ctx): Likewise.
15863         (libc_feholdsetround_387_ctx): Likewise.
15864         (libc_feholdsetround_387_53bit_ctx): Likewise.
15865         (libc_feholdsetround_sse_ctx): Likewise.
15866         (libc_feresetround_sse_ctx): Likewise.
15867         (libc_feresetround_387_ctx): Likewise.
15868         (libc_feupdateenv_387_ctx): Likewise.
15869         (libc_feholdexcept_setroundf_ctx): Define macro.
15870         (libc_fesetenvf_ctx): Likewise.
15871         (libc_feupdateenvf_ctx): Likewise.
15872         (libc_feholdsetroundf_ctx): Likewise.
15873         (libc_feresetroundf_ctx): Likewise.
15874         (libc_feholdexcept_setround_ctx): Likewise.
15875         (libc_fesetenv_ctx): Likewise.
15876         (libc_feupdateenv_ctx): Likewise.
15877         (libc_feholdsetround_ctx): Likewise.
15878         (libc_feresetround_ctx): Likewise.
15879         (libc_feholdexcept_setroundl_ctx): Likewise.
15880         (libc_feupdateenvl_ctx): Likewise.
15881         (libc_feholdsetroundl_ctx): Likewise.
15882         (libc_feresetroundl_ctx): Likewise.
15883         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15884         (libc_feresetround_53bit_ctx): Likewise.
15886 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15888         * locale/iso-639.def: Convert to UTF-8.
15890 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
15892         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15893         (EXCEPTION_TESTS_double): Likewise.
15894         (EXCEPTION_TESTS_long_double): Likewise.
15895         (EXCEPTION_TESTS): Likewise.
15896         * math/libm-test.inc (test_exceptions): Only test exceptions if
15897         EXCEPTION_TESTS (FLOAT).
15899 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15901         * benchtests/Makefile (string-bench): Add strcpy_chk and
15902         stpcpy_chk.
15903         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15904         * benchtests/bench-stpcpy_chk.c: New file.
15905         * benchtests/bench-strcpy_chk-ifunc.c: New file.
15906         * benchtests/bench-strcpy_chk.c: New file.
15907         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15908         code.
15909         (do_test): Likewise.
15911 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15913         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15914         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15915         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15916         with tabs where appropriate.
15917         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15918         dl-procinfo.h.
15919         [PPC_PLATFORM_PPC440]: Likewise.
15920         [PPC_PLATFORM_PPC464]: Likewise.
15921         [PPC_PLATFORM_PPC476]: Likewise.
15922         (_dl_string_platform): Add support for detecting ppc405, ppc440,
15923         ppc464, and ppc476 platform strings merging from ports/
15924         dl-procinfo.h.
15926 2013-06-11  Andreas Schwab  <schwab@suse.de>
15928         [BZ #14991]
15929         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15930         (from_ucs4_idx): Regenerate.
15931         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15932         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15933         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15934         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15935         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15936         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15937         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15938         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15939         from FROM_LOOP and TO_LOOP specific macros.
15940         (BODY): Handle combining characters.
15941         * iconvdata/BIG5HKSCS.irreversible: Update.
15942         * iconvdata/BIG5HKSCS.precomposed: New file.
15943         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15944         characters.
15945         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15947 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15949         * include/sys/time.h: Fix indentation and add copyright header.
15951         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15952         (do_test): Likewise.
15953         * string/test-memchr.c (do_one_test): Likewise.
15954         (do_test): Likewise.
15955         * string/test-memcmp.c (do_one_test): Likewise.
15956         (do_test): Likewise.
15957         * string/test-memcpy.c (do_one_test): Likewise.
15958         (do_test): Likewise.
15959         * string/test-memmem.c (do_one_test): Likewise.
15960         (do_test): Likewise.
15961         (do_random_tests): Likewise.
15962         * string/test-memmove.c (do_one_test): Likewise.
15963         (do_test): Likewise.
15964         * string/test-memset.c (do_one_test): Likewise.
15965         (do_test): Likewise.
15966         * string/test-rawmemchr.c (do_one_test): Likewise.
15967         (do_test): Likewise.
15968         * string/test-strcasecmp.c (do_one_test): Likewise.
15969         (do_test): Likewise.
15970         * string/test-strcasestr.c (do_one_test): Likewise.
15971         (do_test): Likewise.
15972         * string/test-strcat.c (do_one_test): Likewise.
15973         (do_test): Likewise.
15974         * string/test-strchr.c (do_one_test): Likewise.
15975         (do_test): Likewise.
15976         * string/test-strcmp.c (do_one_test): Likewise.
15977         (do_test): Likewise.
15978         * string/test-strcpy.c (do_one_test): Likewise.
15979         (do_test): Likewise.
15980         * string/test-string.h: Likewise.
15981         (test_init): Likewise.
15982         * string/test-strlen.c (do_one_test): Likewise.
15983         (do_test): Likewise.
15984         * string/test-strncasecmp.c (do_one_test): Likewise.
15985         (do_test): Likewise.
15986         * string/test-strncat.c (do_one_test): Likewise.
15987         (do_test): Likewise.
15988         * string/test-strncmp.c (do_one_test): Likewise.
15989         (do_test_limit): Likewise.
15990         (do_test): Likewise.
15991         * string/test-strncpy.c (do_one_test): Likewise.
15992         (do_test): Likewise.
15993         * string/test-strnlen.c (do_one_test): Likewise.
15994         (do_test): Likewise.
15995         * string/test-strpbrk.c (do_one_test): Likewise.
15996         (do_test): Likewise.
15997         * string/test-strrchr.c (do_one_test): Likewise.
15998         (do_test): Likewise.
15999         * string/test-strspn.c (do_one_test): Likewise.
16000         (do_test): Likewise.
16001         * string/test-strstr.c (do_one_test): Likewise.
16002         (do_test): Likewise.
16004         * benchtests/Makefile (string-bench): Add string benchmarks.
16005         * benchtests/bench-bcopy-ifunc.c: New file.
16006         * benchtests/bench-bcopy.c: New file.
16007         * benchtests/bench-bzero-ifunc.c: New file.
16008         * benchtests/bench-bzero.c: New file.
16009         * benchtests/bench-memccpy-ifunc.c: New file.
16010         * benchtests/bench-memccpy.c: New file.
16011         * benchtests/bench-memchr-ifunc.c: New file.
16012         * benchtests/bench-memchr.c: New file.
16013         * benchtests/bench-memcmp-ifunc.c: New file.
16014         * benchtests/bench-memcmp.c: New file.
16015         * benchtests/bench-memmem-ifunc.c: New file.
16016         * benchtests/bench-memmem.c: New file.
16017         * benchtests/bench-memmove-ifunc.c: New file.
16018         * benchtests/bench-memmove.c: New file.
16019         * benchtests/bench-mempcpy-ifunc.c: New file.
16020         * benchtests/bench-mempcpy.c: New file.
16021         * benchtests/bench-memset-ifunc.c: New file.
16022         * benchtests/bench-memset.c: New file.
16023         * benchtests/bench-rawmemchr-ifunc.c: New file.
16024         * benchtests/bench-rawmemchr.c: New file.
16025         * benchtests/bench-stpcpy-ifunc.c: New file.
16026         * benchtests/bench-stpcpy.c: New file.
16027         * benchtests/bench-stpncpy-ifunc.c: New file.
16028         * benchtests/bench-stpncpy.c: New file.
16029         * benchtests/bench-strcasecmp-ifunc.c: New file.
16030         * benchtests/bench-strcasecmp.c: New file.
16031         * benchtests/bench-strcasestr-ifunc.c: New file.
16032         * benchtests/bench-strcasestr.c: New file.
16033         * benchtests/bench-strcat-ifunc.c: New file.
16034         * benchtests/bench-strcat.c: New file.
16035         * benchtests/bench-strchr-ifunc.c: New file.
16036         * benchtests/bench-strchr.c: New file.
16037         * benchtests/bench-strchrnul-ifunc.c: New file.
16038         * benchtests/bench-strchrnul.c: New file.
16039         * benchtests/bench-strcmp-ifunc.c: New file.
16040         * benchtests/bench-strcmp.c: New file.
16041         * benchtests/bench-strcpy-ifunc.c: New file.
16042         * benchtests/bench-strcpy.c: New file.
16043         * benchtests/bench-strcspn-ifunc.c: New file.
16044         * benchtests/bench-strcspn.c: New file.
16045         * benchtests/bench-strlen-ifunc.c: New file.
16046         * benchtests/bench-strlen.c: New file.
16047         * benchtests/bench-strncasecmp-ifunc.c: New file.
16048         * benchtests/bench-strncasecmp.c: New file.
16049         * benchtests/bench-strncat-ifunc.c: New file.
16050         * benchtests/bench-strncat.c: New file.
16051         * benchtests/bench-strncmp-ifunc.c: New file.
16052         * benchtests/bench-strncmp.c: New file.
16053         * benchtests/bench-strncpy-ifunc.c: New file.
16054         * benchtests/bench-strncpy.c: New file.
16055         * benchtests/bench-strnlen-ifunc.c: New file.
16056         * benchtests/bench-strnlen.c: New file.
16057         * benchtests/bench-strpbrk-ifunc.c: New file.
16058         * benchtests/bench-strpbrk.c: New file.
16059         * benchtests/bench-strrchr-ifunc.c: New file.
16060         * benchtests/bench-strrchr.c: New file.
16061         * benchtests/bench-strspn-ifunc.c: New file.
16062         * benchtests/bench-strspn.c: New file.
16063         * benchtests/bench-strstr-ifunc.c: New file.
16064         * benchtests/bench-strstr.c: New file.
16066         * benchtests/Makefile: Disable parallel execution of targets.
16067         (string-bench): Add memcpy.
16068         (benchset): New variable to store a list of benchmark sets.
16069         (bench-func): Renamed from bench.
16070         (bench-set): New target.
16071         (bench): Depend on bench-func and bench-set.
16072         * benchtests/README: Add section on benchmark sets.
16073         * benchtests/bench-memcpy-ifunc.c: New file.
16074         * benchtests/bench-memcpy.c: New file.
16075         * benchtests/bench-string.h: New file.
16077 2013-06-11  Andreas Schwab  <schwab@suse.de>
16079         [BZ #15577]
16080         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16081         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16082         values in the triple.
16083         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16084         terminator in the group key.
16086 2013-06-11  Andreas Jaeger  <aj@suse.de>
16088         * po/zh_TW.po: Update Chinese (traditional) translation from
16089         translation project.
16091 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16093         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16094         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16095         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16096         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16097         (clock_getcpuclockid): Likewise.
16098         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16099         Add weak_alias and libc_hidden_def.
16100         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16101         * rt/clock_gettime.c (clock_gettime): Rename to
16102         __clock_gettime.  Add weak_alias and libc_hidden_def.
16103         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16104         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16105         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16106         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16107         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16108         Likewise.
16109         * rt/clock_settime.c (clock_settime): Rename to
16110         __clock_settime.  Add weak_alias and libc_hidden_def.
16111         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16113 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16115         * mach/err_boot.sub: Remove trailing whitespace.
16116         * mach/err_ipc.sub: Likewise.
16117         * mach/err_mach.sub: Likewise.
16119         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16120         (ROUNDING_TESTS_double): Likewise.
16121         (ROUNDING_TESTS_long_double): Likewise.
16122         (ROUNDING_TESTS): Likewise.
16123         * math/libm-test.inc: Include <math-tests.h>.
16124         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16125         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16126         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16127         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16129 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16131         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16132         of assigning.
16134 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16136         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16137         otherwise empty TRANS lines.
16138         * sysdeps/gnu/errlist.c: Regenerated.
16140         * catgets/gencat.c (error_print): Use (void) in function
16141         definition.
16142         * crypt/crypt_util.c (__init_des): Likewise.
16143         * crypt/speeds.c (Stop): Likewise.
16144         (main): Likewise.
16145         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16146         * inet/ruserpass.c (token): Likewise.
16147         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16148         * intl/localealias.c (extend_alias_table): Likewise.
16149         * intl/plural-exp.c (init_germanic_plural): Likewise.
16150         * libio/fcloseall.c (__fcloseall): Likewise.
16151         * libio/genops.c (_IO_flush_all): Likewise.
16152         (_IO_flush_all_linebuffered): Likewise.
16153         (_IO_cleanup): Likewise.
16154         (_IO_iter_begin): Likewise.
16155         (_IO_iter_end): Likewise.
16156         (_IO_list_lock): Likewise.
16157         (_IO_list_unlock): Likewise.
16158         (_IO_list_resetlock): Likewise.
16159         * libio/getchar.c (getchar): Likewise.
16160         * libio/getchar_u.c (getchar_unlocked): Likewise.
16161         * libio/getwchar.c (getwchar): Likewise.
16162         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16163         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16164         * login/getpt.c (__getpt): Likewise.
16165         * login/tst-utmp.c (main): Likewise.
16166         * malloc/hooks.c (__malloc_check_init): Likewise.
16167         * malloc/malloc.c (__malloc_stats): Likewise.
16168         * malloc/mtrace.c (tr_break): Likewise.
16169         (mtrace): Likewise.
16170         (muntrace): Likewise.
16171         * misc/fstab.c (endfsent): Likewise.
16172         * misc/getclktck.c (__getclktck): Likewise.
16173         * misc/getdtsz.c (__getdtablesize): Likewise.
16174         * misc/gethostid.c (gethostid): Likewise.
16175         * misc/getpagesize.c (__getpagesize): Likewise.
16176         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16177         (__get_nprocs): Likewise.
16178         (__get_phys_pages): Likewise.
16179         (__get_avphys_pages): Likewise.
16180         * misc/getttyent.c (getttyent): Likewise.
16181         (setttyent): Likewise.
16182         (endttyent): Likewise.
16183         * misc/getusershell.c (getusershell): Likewise.
16184         (endusershell): Likewise.
16185         (setusershell): Likewise.
16186         (initshells): Likewise.
16187         * misc/hsearch.c (__hdestroy): Likewise.
16188         * misc/sync.c (sync): Likewise.
16189         * misc/syslog.c (closelog_internal): Likewise.
16190         (closelog): Likewise.
16191         * misc/ttyslot.c (ttyslot): Likewise.
16192         * misc/vhangup.c (vhangup): Likewise.
16193         * posix/fork.c (__fork): Likewise.
16194         * posix/getegid.c (__getegid): Likewise.
16195         * posix/geteuid.c (__geteuid): Likewise.
16196         * posix/getgid.c (__getgid): Likewise.
16197         * posix/getpid.c (__getpid): Likewise.
16198         * posix/getppid.c (__getppid): Likewise.
16199         * posix/getuid.c (__getuid): Likewise.
16200         * posix/pause.c (pause): Likewise.
16201         * posix/setpgrp.c (setpgrp): Likewise.
16202         * posix/setsid.c (__setsid): Likewise.
16203         * posix/test-vfork.c (noop): Likewise.
16204         * resolv/gethnamaddr.c (_endhtent): Likewise.
16205         (_gethtent): Likewise.
16206         (ht_endhostent): Likewise.
16207         (gethostent): Likewise.
16208         (dns_service): Likewise.
16209         * stdlib/drand48.c (drand48): Likewise.
16210         * stdlib/lrand48.c (lrand48): Likewise.
16211         * stdlib/mrand48.c (mrand48): Likewise.
16212         * stdlib/rand.c (rand): Likewise.
16213         * stdlib/random.c (__random): Likewise.
16214         * stdlib/setenv.c (clearenv): Likewise.
16215         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16216         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16217         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16218         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16219         (__get_nprocs): Likewise.
16220         (__get_phys_pages): Likewise.
16221         (__get_avphys_pages): Likewise.
16222         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16223         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16224         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16225         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16226         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16227         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16228         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16229         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16230         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16231         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16232         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16233         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16234         * sysdeps/posix/clock.c (clock): Likewise.
16235         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16236         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16237         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16238         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16239         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16240         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16241         (__get_nprocs_conf): Likewise.
16242         (__get_phys_pages): Likewise.
16243         (__get_avphys_pages): Likewise.
16244         * time/clock.c (clock): Likewise.
16245         * time/tzset.c (__tzname_max): Likewise.
16247 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16249         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16250         (__bswap_32): Do not use "register".
16251         * crypt/crypt.c (_ufc_doit_r): Likewise.
16252         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16253         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16254         * gmon/gmon.c (__monstartup): Likewise.
16255         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16256         * hurd/hurdmalloc.c (more_memory): Likewise.
16257         (malloc): Likewise.
16258         (free): Likewise.
16259         (realloc): Likewise.
16260         (malloc_fork_prepare): Likewise.
16261         (malloc_fork_parent): Likewise.
16262         (malloc_fork_child): Likewise.
16263         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16264         (_svcauth_des): Likewise.
16265         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16266         * inet/inet_net.c (inet_network): Likewise.
16267         * inet/inet_netof.c (inet_netof): Likewise.
16268         * inet/rcmd.c (__validuser2_sa): Likewise.
16269         * io/fts.c (fts_open): Likewise.
16270         (fts_load): Likewise.
16271         (fts_close): Likewise.
16272         (fts_read): Likewise.
16273         (fts_children): Likewise.
16274         (fts_build): Likewise.
16275         (fts_stat): Likewise.
16276         (fts_sort): Likewise.
16277         (fts_alloc): Likewise.
16278         (fts_lfree): Likewise.
16279         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16280         (_IO_file_xsgetn): Likewise.
16281         (_IO_file_xsgetn_mmap): Likewise.
16282         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16283         (_IO_cookie_write): Likewise.
16284         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16285         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16286         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16287         * malloc/obstack.c (_obstack_begin): Likewise.
16288         (_obstack_begin_1): Likewise.
16289         (_obstack_newchunk): Likewise.
16290         (_obstack_allocated_p): Likewise.
16291         (obstack_free): Likewise.
16292         (_obstack_memory_used): Likewise.
16293         * misc/getttyent.c (getttynam): Likewise.
16294         (getttyent): Likewise.
16295         (skip): Likewise.
16296         (value): Likewise.
16297         * misc/getusershell.c (initshells): Likewise.
16298         * misc/syslog.c (__vsyslog_chk): Likewise.
16299         * misc/ttyslot.c (ttyslot): Likewise.
16300         * nis/nis_hash.c (__nis_hash): Likewise.
16301         * posix/fnmatch_loop.c (FCT): Likewise.
16302         * posix/getconf.c (print_all): Likewise.
16303         (main): Likewise.
16304         * posix/getopt.c (exchange): Likewise.
16305         * posix/glob.c (globfree): Likewise.
16306         (prefix_array): Likewise.
16307         (__glob_pattern_type): Likewise.
16308         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16309         (NS_GET32): Likewise.
16310         (NS_PUT16): Likewise.
16311         (NS_PUT32): Likewise.
16312         * resolv/gethnamaddr.c (getanswer): Likewise.
16313         (gethostbyname2): Likewise.
16314         (gethostbyaddr): Likewise.
16315         (_gethtent): Likewise.
16316         (_gethtbyname2): Likewise.
16317         (_gethtbyaddr): Likewise.
16318         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16319         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16320         * resolv/res_init.c (__res_vinit): Likewise.
16321         (net_mask): Likewise.
16322         * resolv/res_mkquery.c (outchar): Likewise.
16323         (PRINT): Likewise.
16324         * stdio-common/printf_fp.c (outchar): Likewise.
16325         (PRINT): Likewise.
16326         * stdio-common/printf_fphex.c (outchar): Likewise.
16327         (PRINT): Likewise.
16328         * stdio-common/printf_size.c (outchar): Likewise.
16329         (PRINT): Likewise.
16330         * stdio-common/test_rdwr.c (main): Likewise.
16331         * stdio-common/tfformat.c (matches): Likewise.
16332         * stdio-common/vfprintf.c (outchar): Likewise.
16333         (printf_unknown): Likewise.
16334         (buffered_vfprintf): Likewise.
16335         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16336         * stdio-common/xbug.c (AppendToBuffer): Likewise.
16337         (ReadFile): Likewise.
16338         * stdlib/qsort.c (SWAP): Likewise.
16339         (_quicksort): Likewise.
16340         * stdlib/setenv.c (__add_to_environ): Likewise.
16341         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16342         * stdlib/strtol_l.c (__strtol_l): Likewise.
16343         * stdlib/tst-strtod.c (main): Likewise.
16344         * stdlib/tst-strtol.c (main): Likewise.
16345         * stdlib/tst-strtoll.c (main): Likewise.
16346         * string/bits/string2.h (__strcmp_cc): Likewise.
16347         (__strcmp_cg): Likewise.
16348         (__strcspn_c1): Likewise.
16349         (__strcspn_c2): Likewise.
16350         (__strcspn_c3): Likewise.
16351         (__strspn_c1): Likewise.
16352         (__strspn_c2): Likewise.
16353         (__strspn_c3): Likewise.
16354         (__strsep_1c): Likewise.
16355         (__strsep_2c): Likewise.
16356         (__strsep_3c): Likewise.
16357         * string/memccpy.c (__memccpy): Likewise.
16358         * string/stpcpy.c (__stpcpy): Likewise.
16359         * string/strcmp.c (strcmp): Likewise.
16360         * string/strrchr.c (strrchr): Likewise.
16361         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16362         Likewise.
16363         * sysdeps/mach/hurd/getcwd.c
16364         (_hurd_canonicalize_directory_name_internal): Likewise.
16365         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16366         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16367         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16368         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16369         Likewise, in both definitions.
16370         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16371         definitions.
16372         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16373         64] (__bswap_64): Likewise.
16374         * time/test_time.c (main): Likewise.
16375         * time/tzfile.c (__tzfile_read): Likewise.
16376         (__tzfile_compute): Likewise.
16377         * time/tzset.c (__tzset_parse_tz): Likewise.
16378         (tzset_internal): Likewise.
16379         (compute_change): Likewise.
16380         * wcsmbs/wcscat.c (__wcscat): Likewise.
16381         * wcsmbs/wcschr.c (wcschr): Likewise.
16382         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16383         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16384         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16385         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16386         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16387         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16388         * wcsmbs/wmemchr.c (wmemchr): Likewise.
16389         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16390         * wcsmbs/wmemset.c (wmemset): Likewise.
16392 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
16394         * scripts/config.guess: Update to version 2013-05-16.
16395         * scripts/config.sub: Update to version 2013-04-24.
16396         * scripts/install-sh: Update to version 2011-11-20.07.
16397         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16398         * scripts/move-if-change: Update to version 2012-01-06 07:23.
16400 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
16402         * debug/fgetws_u_chk.c: Fix leading whitespaces.
16403         * elf/sln.c: Likewise.
16404         * hurd/hurd/ioctl.h: Likewise.
16405         * hurd/hurdmalloc.c: Likewise.
16406         * hurd/xattr.c: Likewise.
16407         * include/shlib-compat.h: Likewise.
16408         * inet/ruserpass.c: Likewise.
16409         * libio/iofgets_u.c: Likewise.
16410         * libio/iofgetws_u.c: Likewise.
16411         * locale/programs/ld-identification.c: Likewise.
16412         * locale/programs/ld-time.c: Likewise.
16413         * mach/msg-destroy.c: Likewise.
16414         * nss/nss_files/files-netgrp.c: Likewise.
16415         * resolv/res_data.c: Likewise.
16416         * soft-fp/op-1.h: Likewise.
16417         * soft-fp/op-2.h: Likewise.
16418         * soft-fp/op-4.h: Likewise.
16419         * soft-fp/op-common.h: Likewise.
16420         * stdio-common/printf_fphex.c: Likewise.
16421         * stdlib/strtod_l.c: Likewise.
16422         * sunrpc/rpc/clnt.h: Likewise.
16423         * sysdeps/generic/framestate.c: Likewise.
16424         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16425         * sysdeps/i386/bsd-setjmp.S: Likewise.
16426         * sysdeps/i386/__longjmp.S: Likewise.
16427         * sysdeps/i386/setjmp.S: Likewise.
16428         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16429         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16430         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16431         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16432         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16433         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16434         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16435         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16436         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16437         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16438         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16439         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16440         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16441         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16442         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16443         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16444         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16445         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16446         * sysdeps/ieee754/support.c: Likewise.
16447         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16448         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16449         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16450         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16451         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16452         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16453         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16454         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16455         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16456         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16457         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16458         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16459         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16460         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16461         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16462         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16463         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16466 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
16468         * posix/transbug.c: Remove executable mode.
16470 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
16472         * crypt/speeds.c: Remove trailing whitespace.
16473         * dlfcn/default.c: Likewise.
16474         * elf/ifuncdep2.c: Likewise.
16475         * elf/ifuncmain1.c: Likewise.
16476         * elf/ifuncmain1vis.c: Likewise.
16477         * elf/testobj.h: Likewise.
16478         * elf/tst-stackguard1.c: Likewise.
16479         * gmon/sys/gmon.h: Likewise.
16480         * hurd/hurdmsg.c: Likewise.
16481         * hurd/new-fd.c: Likewise.
16482         * hurd/ports-get.c: Likewise.
16483         * iconvdata/ibm1008_420.c: Likewise.
16484         * inet/tst-getni1.c: Likewise.
16485         * inet/tst-getni2.c: Likewise.
16486         * libio/ioungetc.c: Likewise.
16487         * libio/wfiledoalloc.c: Likewise.
16488         * manual/libm-err-tab.pl: Likewise.
16489         * math/w_dremf.c: Likewise.
16490         * misc/ftruncate.c: Likewise.
16491         * posix/bug-glob2.c: Likewise.
16492         * posix/tst-pcre.c: Likewise.
16493         * posix/wait4.c: Likewise.
16494         * resolv/README: Likewise.
16495         * resolv/res_debug.h: Likewise.
16496         * resolv/tst-inet_ntop.c: Likewise.
16497         * setjmp/bug269-setjmp.c: Likewise.
16498         * soft-fp/extended.h: Likewise.
16499         * soft-fp/op-1.h: Likewise.
16500         * soft-fp/op-2.h: Likewise.
16501         * soft-fp/op-4.h: Likewise.
16502         * soft-fp/op-8.h: Likewise.
16503         * soft-fp/testit.c: Likewise.
16504         * stdio-common/bug16.c: Likewise.
16505         * stdlib/random.c: Likewise.
16506         * sunrpc/rpcsvc/rquota.x: Likewise.
16507         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16508         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16509         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16510         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16511         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16512         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16513         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16514         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16515         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16516         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16517         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16518         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16519         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16520         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16521         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16522         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16523         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16524         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16525         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16526         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16527         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16528         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16529         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16530         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16531         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16532         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16533         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16534         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16535         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16536         * sysdeps/ieee754/s_lib_version.c: Likewise.
16537         * sysdeps/mach/hurd/check_fds.c: Likewise.
16538         * sysdeps/mach/hurd/getsockname.c: Likewise.
16539         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16540         * sysdeps/mach/hurd/recvfrom.c: Likewise.
16541         * sysdeps/powerpc/bits/link.h: Likewise.
16542         * sysdeps/powerpc/dl-procinfo.c: Likewise.
16543         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16544         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16545         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16546         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16547         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16548         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16549         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16550         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16551         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16552         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16553         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16554         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16555         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16556         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16557         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16558         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16559         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16560         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16561         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16562         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16563         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16564         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16565         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16566         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16567         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16568         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16569         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16570         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16571         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16572         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16573         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16574         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16575         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16576         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16577         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16578         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16579         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16580         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16581         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16582         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16583         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16584         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16585         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16586         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16587         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16588         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16589         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16590         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16591         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16592         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16593         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16594         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16595         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16596         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16597         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16598         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16599         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16600         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16601         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16602         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16603         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16604         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16605         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16606         * sysdeps/powerpc/sysdep.h: Likewise.
16607         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16608         * sysdeps/s390/s390-64/sub_n.S: Likewise.
16609         * sysdeps/sh/dl-trampoline.S: Likewise.
16610         * sysdeps/sh/memset.S: Likewise.
16611         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16612         * sysdeps/sh/strlen.S: Likewise.
16613         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16614         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16615         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16616         * sysdeps/sparc/sparc32/rem.S: Likewise.
16617         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16618         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16619         * sysdeps/sparc/sparc32/strchr.S: Likewise.
16620         * sysdeps/sparc/sparc32/udiv.S: Likewise.
16621         * sysdeps/sparc/sparc32/urem.S: Likewise.
16622         * sysdeps/sparc/sparc64/add_n.S: Likewise.
16623         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16624         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16625         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16626         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16627         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16628         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16629         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16630         * sysdeps/unix/bsd/times.c: Likewise.
16631         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16632         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16636         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16637         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16638         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16639         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16640         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16641         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16642         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16643         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16644         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16645         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16646         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16647         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16648         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16649         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16650         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16651         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16652         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16653         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16654         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16655         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16656         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16657         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16658         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16659         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16660         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16661         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16662         * sysdeps/x86_64/strcspn.S: Likewise.
16664 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16666         * locale/C-translit.h: Revert #include <stdint.h> because this is a
16667         generated file.  Regenerate properly from gen-translit.pl.
16668         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
16669         locale/C-translit.h.
16671 2013-06-05  Andreas Schwab  <schwab@suse.de>
16673         [BZ #15100]
16674         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16675         week as 6 instead of -1.
16676         * time/tst-strptime.c (day_tests): Add test case.
16678 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16680         * sysdeps/generic/math_private.h
16681         (libc_feholdexcept_setround_53bit): Replace with
16682         libc_feholdsetround_53bit.
16683         (libc_feupdateenv_53bit): Replace with
16684         libc_feresetround_53bit.
16685         (SET_RESTORE_ROUND_53BIT): Adjust.
16687 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16689         * string/test-strchrnul.c: Add copyright header.
16691         * posix/tst-getaddrinfo4.c: Increase test timeout.
16693 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
16695         [BZ #15536]
16696         * math/libm-test.inc (MAX_EXP): Remove
16697         (MIN_EXP): Define.
16698         (ulp): Use MIN_EXP - MANT_DIG.
16699         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16701 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
16703         * po/be.po: Revert last change.
16704         * po/zh_CN.po: Likewise.
16705         * po/header.pot: Likewise.
16707 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
16709         * Makefile ($(common-objpfx)linkobj/libc.so): Define
16710         link-libc-deps to empty as target-specific variable.
16711         * Makerules (link-libc-args): New variable.
16712         (libc-for-link): Likewise.
16713         (link-libc-deps): Likewise.
16714         (lib%.so): Depend on $(link-libc-deps).  Link with
16715         $(link-libc-args).
16716         (build-module): Link with $(link-libc-args).
16717         (build-module-asneeded): Likewise.
16718         (build-module-helper-objlist): Filter out $(link-libc-deps) from
16719         list of objects.
16720         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16721         target-specific variable.
16722         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16723         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16724         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16725         libc.
16726         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16727         libc and ld.so.
16728         ($(objpfx)libpcprofile.so): Likewise.
16729         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16730         libc_nonshared.a.
16731         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16732         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16733         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16734         $(link-libc-deps).
16735         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16736         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16737         * login/Makefile ($(objpfx)libutil.so): Likewise.
16738         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16739         * math/Makefile ($(objpfx)libm.so): Likewise.
16740         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16741         $(objpfx)libnsl.so): Define libc-for-link as target-specific
16742         variable instead of depending directly on libc.
16743         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16744         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16745         $(link-libc-deps).
16746         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16747         libc.
16748         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16749         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16750         ($(objpfx)libanl.so): Likewise.
16751         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16752         ld.so.
16753         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16754         $(link-libc-deps).
16755         * sysdeps/i386/fpu/Makefile: Remove file.
16756         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16757         ($(objpfx)libm.so): Remove dependency on ld.so.
16759 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
16761         [BZ # 15553]
16762         * nis/yp_xdr.c (XDRMAXNAME): Define.
16763         (XDRMAXRECORD): Define.
16764         (xdr_domainname): Use XDRMAXNAME.
16765         (xdr_mapname): Likewise.
16766         (xdr_peername): Likewise.
16767         (xdr_keydat): Use XDRMAXRECORD.
16768         (xdr_valdat): Likewise.
16770 2013-05-30  Jeff Law  <law@redhat.com>
16772         [BZ #14256]
16773         * manual/errno.texi (ESTALE): Update to account for more than
16774         just NFS file systems.
16775         * sysdeps/gnu/errlist.c: Regenerated.
16777 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16779         [BZ #15465]
16780         * elf/Makefile (tests): Add tst-null-argv.
16781         (modules-names):  Add tst-null-argv-lib.
16782         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16783         (tst-null-argv-ENV): Set environment for tst-null-argv.
16784         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16785         (RTLD_PROGNAME): New macro.
16786         * elf/tst-null-argv.c: New test case.
16787         * elf/tst-null-argv-lib.c: Library for test case.
16788         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16789         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16790         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16791         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16792         * elf/dl-init.c (call_init): Likewise.
16793         (_dl_init): Likewise.
16794         * elf/dl-load.c (print_search_path): Likewise.
16795         (_dl_map_object): Likewise.
16796         * elf/dl-lookup.c (do_lookup_x): Likewise.
16797         (add_dependency): Likewise.
16798         (_dl_lookup_symbol_x): Likewise.
16799         (_dl_debug_bindings): Likewise.
16800         * elf/dl-open.c (_dl_show_scope): Likewise.
16801         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16802         * elf/dl-version.c (match_symbol): Likewise.
16803         (_dl_check_map_versions): Likewise.
16804         * elf/rtld.c (dl_main): Likewise.
16805         (print_unresolved): Use RTLD_PROGNAME.
16806         (print_missing_version): Likewise.
16807         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16808         (elf_machine_rela): Likewise.
16809         * sysdeps/powerpc/powerpc32/dl-machine.c
16810         (__process_machine_rela): Likewise.
16811         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16812         Likewise.
16813         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16814         Likewise.
16815         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16816         Likewise.
16817         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16818         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16819         Likewise.
16820         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16821         Likewise.
16822         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16824 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
16826         * po/be.po: Add descriptive title.
16827         * po/zh_CN.po: Likewise.
16828         * po/header.pot: Likewise.
16830 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
16832         * locale/programs/locarchive.c (create_archive): Inlucde fname in
16833         error message.
16834         (enlarge_archive): Likewise.
16836 2013-05-28  Ben North  <ben@redfrontdoor.org>
16838         * manual/arith.texi (frexp): It is the magnitude of the return
16839         value which lies in [0.5, 1), not the return value itself.
16841 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16845 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
16847         * stdio-common/bug26.c (main): Correct fscanf template.
16849         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16850         declare _dl_skip_args.
16852         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16853         Don't declare.
16855         * manual/platform.texi: Add missing @end deftypefun.
16857 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16859         [BZ #15529]
16860         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16861         bit of mantissa of 2^16382.
16862         * math/libm-test.inc (hypot_test_data): Add more tests.
16864         * math/libm-test.inc: Add drem and pow10 to list of tested
16865         functions.
16866         (pow10_test): New function.
16867         (drem_test): Likewise.
16868         (drem_test_tonearest): Likewise.
16869         (drem_test_towardzero): Likewise.
16870         (drem_test_downward): Likewise.
16871         (drem_test_upward): Likewise.
16872         (main): Call the new functions.
16874         * math/libm-test.inc (finite_test_data): Remove.
16875         (finite_test): Run tests from isfinite_test_data.
16876         (gamma_test_data): Remove.
16877         (gamma_test): Run tests from lgamma_test_data.
16878         * sysdeps/i386/fpu/libm-test-ulps: Update.
16879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16881 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16883         * manual/platform.texi: Add PowerPC PPR function set documentation.
16884         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16885         implementation.
16887 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
16889         * math/libm-test.inc (MAX_EXP): Define.
16890         (ULPDIFF): Define.
16891         (ulp): New function.
16892         (check_float_internal): Use ULPDIFF.
16893         (cpow_test): Disable failing test.
16894         (check_ulp): Test ulp() implemetnation.
16895         (main): Call check_ulp before starting tests.
16897 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16899         * math/gen-libm-test.pl (generate_testfile): Do not handle
16900         START_DATA and END_DATA.
16901         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16902         END_DATA.
16903         (acos_tonearest_test_data): Likewise.
16904         (acos_towardzero_test_data): Likewise.
16905         (acos_downward_test_data): Likewise.
16906         (acos_upward_test_data): Likewise.
16907         (acosh_test_data): Likewise.
16908         (asin_test_data): Likewise.
16909         (asin_tonearest_test_data): Likewise.
16910         (asin_towardzero_test_data): Likewise.
16911         (asin_downward_test_data): Likewise.
16912         (asin_upward_test_data): Likewise.
16913         (asinh_test_data): Likewise.
16914         (atan_test_data): Likewise.
16915         (atanh_test_data): Likewise.
16916         (atan2_test_data): Likewise.
16917         (cabs_test_data): Likewise.
16918         (cacos_test_data): Likewise.
16919         (cacosh_test_data): Likewise.
16920         (carg_test_data): Likewise.
16921         (casin_test_data): Likewise.
16922         (casinh_test_data): Likewise.
16923         (catan_test_data): Likewise.
16924         (catanh_test_data): Likewise.
16925         (cbrt_test_data): Likewise.
16926         (ccos_test_data): Likewise.
16927         (ccosh_test_data): Likewise.
16928         (ceil_test_data): Likewise.
16929         (cexp_test_data): Likewise.
16930         (cimag_test_data): Likewise.
16931         (clog_test_data): Likewise.
16932         (clog10_test_data): Likewise.
16933         (conj_test_data): Likewise.
16934         (copysign_test_data): Likewise.
16935         (cos_test_data): Likewise.
16936         (cos_tonearest_test_data): Likewise.
16937         (cos_towardzero_test_data): Likewise.
16938         (cos_downward_test_data): Likewise.
16939         (cos_upward_test_data): Likewise.
16940         (cosh_test_data): Likewise.
16941         (cosh_tonearest_test_data): Likewise.
16942         (cosh_towardzero_test_data): Likewise.
16943         (cosh_downward_test_data): Likewise.
16944         (cosh_upward_test_data): Likewise.
16945         (cpow_test_data): Likewise.
16946         (cproj_test_data): Likewise.
16947         (creal_test_data): Likewise.
16948         (csin_test_data): Likewise.
16949         (csinh_test_data): Likewise.
16950         (csqrt_test_data): Likewise.
16951         (ctan_test_data): Likewise.
16952         (ctan_tonearest_test_data): Likewise.
16953         (ctan_towardzero_test_data): Likewise.
16954         (ctan_downward_test_data): Likewise.
16955         (ctan_upward_test_data): Likewise.
16956         (ctanh_test_data): Likewise.
16957         (ctanh_tonearest_test_data): Likewise.
16958         (ctanh_towardzero_test_data): Likewise.
16959         (ctanh_downward_test_data): Likewise.
16960         (ctanh_upward_test_data): Likewise.
16961         (erf_test_data): Likewise.
16962         (erfc_test_data): Likewise.
16963         (exp_test_data): Likewise.
16964         (exp_tonearest_test_data): Likewise.
16965         (exp_towardzero_test_data): Likewise.
16966         (exp_downward_test_data): Likewise.
16967         (exp_upward_test_data): Likewise.
16968         (exp10_test_data): Likewise.
16969         (exp2_test_data): Likewise.
16970         (expm1_test_data): Likewise.
16971         (fabs_test_data): Likewise.
16972         (fdim_test_data): Likewise.
16973         (finite_test_data): Likewise.
16974         (floor_test_data): Likewise.
16975         (fma_test_data): Likewise.
16976         (fma_towardzero_test_data): Likewise.
16977         (fma_downward_test_data): Likewise.
16978         (fma_upward_test_data): Likewise.
16979         (fmax_test_data): Likewise.
16980         (fmin_test_data): Likewise.
16981         (fmod_test_data): Likewise.
16982         (fpclassify_test_data): Likewise.
16983         (frexp_test_data): Likewise.
16984         (gamma_test_data): Likewise.
16985         (hypot_test_data): Likewise.
16986         (ilogb_test_data): Likewise.
16987         (isfinite_test_data): Likewise.
16988         (isgreater_test_data): Likewise.
16989         (isgreaterequal_test_data): Likewise.
16990         (isinf_test_data): Likewise.
16991         (isless_test_data): Likewise.
16992         (islessequal_test_data): Likewise.
16993         (islessgreater_test_data): Likewise.
16994         (isnan_test_data): Likewise.
16995         (isnormal_test_data): Likewise.
16996         (issignaling_test_data): Likewise.
16997         (isunordered_test_data): Likewise.
16998         (j0_test_data): Likewise.
16999         (j1_test_data): Likewise.
17000         (jn_test_data): Likewise.
17001         (ldexp_test_data): Likewise.
17002         (lgamma_test_data): Likewise.
17003         (lrint_test_data): Likewise.
17004         (lrint_tonearest_test_data): Likewise.
17005         (lrint_towardzero_test_data): Likewise.
17006         (lrint_downward_test_data): Likewise.
17007         (lrint_upward_test_data): Likewise.
17008         (llrint_test_data): Likewise.
17009         (llrint_tonearest_test_data): Likewise.
17010         (llrint_towardzero_test_data): Likewise.
17011         (llrint_downward_test_data): Likewise.
17012         (llrint_upward_test_data): Likewise.
17013         (log_test_data): Likewise.
17014         (log10_test_data): Likewise.
17015         (log1p_test_data): Likewise.
17016         (log2_test_data): Likewise.
17017         (logb_test_data): Likewise.
17018         (logb_downward_test_data): Likewise.
17019         (lround_test_data): Likewise.
17020         (llround_test_data): Likewise.
17021         (modf_test_data): Likewise.
17022         (nearbyint_test_data): Likewise.
17023         (nextafter_test_data): Likewise.
17024         (nexttoward_test_data): Likewise.
17025         (pow_test_data): Likewise.
17026         (pow_tonearest_test_data): Likewise.
17027         (pow_towardzero_test_data): Likewise.
17028         (pow_downward_test_data): Likewise.
17029         (pow_upward_test_data): Likewise.
17030         (remainder_test_data): Likewise.
17031         (remainder_tonearest_test_data): Likewise.
17032         (remainder_towardzero_test_data): Likewise.
17033         (remainder_downward_test_data): Likewise.
17034         (remainder_upward_test_data): Likewise.
17035         (remquo_test_data): Likewise.
17036         (rint_test_data): Likewise.
17037         (rint_tonearest_test_data): Likewise.
17038         (rint_towardzero_test_data): Likewise.
17039         (rint_downward_test_data): Likewise.
17040         (rint_upward_test_data): Likewise.
17041         (round_test_data): Likewise.
17042         (scalb_test_data): Likewise.
17043         (scalbn_test_data): Likewise.
17044         (scalbln_test_data): Likewise.
17045         (signbit_test_data): Likewise.
17046         (sin_test_data): Likewise.
17047         (sin_tonearest_test_data): Likewise.
17048         (sin_towardzero_test_data): Likewise.
17049         (sin_downward_test_data): Likewise.
17050         (sin_upward_test_data): Likewise.
17051         (sincos_test_data): Likewise.
17052         (sinh_test_data): Likewise.
17053         (sinh_tonearest_test_data): Likewise.
17054         (sinh_towardzero_test_data): Likewise.
17055         (sinh_downward_test_data): Likewise.
17056         (sinh_upward_test_data): Likewise.
17057         (sqrt_test_data): Likewise.
17058         (tan_test_data): Likewise.
17059         (tan_tonearest_test_data): Likewise.
17060         (tan_towardzero_test_data): Likewise.
17061         (tan_downward_test_data): Likewise.
17062         (tan_upward_test_data): Likewise.
17063         (tanh_test_data): Likewise.
17064         (tgamma_test_data): Likewise.
17065         (trunc_test_data): Likewise.
17066         (y0_test_data): Likewise.
17067         (y1_test_data): Likewise.
17068         (yn_test_data): Likewise.
17069         (significand_test_data): Likewise.
17071         * math/gen-libm-test.pl (@functions): Remove variable.
17072         (generate_testfile): Don't handle START and END lines.
17073         * math/libm-test.inc (START): New macro.
17074         (END): Likewise.
17075         (END_COMPLEX): Likewise.
17076         (acos_test): Use END macro without arguments.
17077         (acos_test_tonearest): Likewise.
17078         (acos_test_towardzero): Likewise.
17079         (acos_test_downward): Likewise.
17080         (acos_test_upward): Likewise.
17081         (acosh_test): Likewise.
17082         (asin_test): Likewise.
17083         (asin_test_tonearest): Likewise.
17084         (asin_test_towardzero): Likewise.
17085         (asin_test_downward): Likewise.
17086         (asin_test_upward): Likewise.
17087         (asinh_test): Likewise.
17088         (atan_test): Likewise.
17089         (atanh_test): Likewise.
17090         (atan2_test): Likewise.
17091         (cabs_test): Likewise.
17092         (cacos_test): Use END_COMPLEX macro without arguments.
17093         (cacosh_test): Likewise.
17094         (carg_test): Use END macro without arguments.
17095         (casin_test): Use END_COMPLEX macro without arguments.
17096         (casinh_test): Likewise.
17097         (catan_test): Likewise.
17098         (catanh_test): Likewise.
17099         (cbrt_test): Use END macro without arguments.
17100         (ccos_test): Use END_COMPLEX macro without arguments.
17101         (ccosh_test): Likewise.
17102         (ceil_test): Use END macro without arguments.
17103         (cexp_test): Use END_COMPLEX macro without arguments.
17104         (cimag_test): Use END macro without arguments.
17105         (clog_test): Use END_COMPLEX macro without arguments.
17106         (clog10_test): Likewise.
17107         (conj_test): Likewise.
17108         (copysign_test): Use END macro without arguments.
17109         (cos_test): Likewise.
17110         (cos_test_tonearest): Likewise.
17111         (cos_test_towardzero): Likewise.
17112         (cos_test_downward): Likewise.
17113         (cos_test_upward): Likewise.
17114         (cosh_test): Likewise.
17115         (cosh_test_tonearest): Likewise.
17116         (cosh_test_towardzero): Likewise.
17117         (cosh_test_downward): Likewise.
17118         (cosh_test_upward): Likewise.
17119         (cpow_test): Use END_COMPLEX macro without arguments.
17120         (cproj_test): Likewise.
17121         (creal_test): Use END macro without arguments.
17122         (csin_test): Use END_COMPLEX macro without arguments.
17123         (csinh_test): Likewise.
17124         (csqrt_test): Likewise.
17125         (ctan_test): Likewise.
17126         (ctan_test_tonearest): Likewise.
17127         (ctan_test_towardzero): Likewise.
17128         (ctan_test_downward): Likewise.
17129         (ctan_test_upward): Likewise.
17130         (ctanh_test): Likewise.
17131         (ctanh_test_tonearest): Likewise.
17132         (ctanh_test_towardzero): Likewise.
17133         (ctanh_test_downward): Likewise.
17134         (ctanh_test_upward): Likewise.
17135         (erf_test): Use END macro without arguments.
17136         (erfc_test): Likewise.
17137         (exp_test): Likewise.
17138         (exp_test_tonearest): Likewise.
17139         (exp_test_towardzero): Likewise.
17140         (exp_test_downward): Likewise.
17141         (exp_test_upward): Likewise.
17142         (exp10_test): Likewise.
17143         (exp2_test): Likewise.
17144         (expm1_test): Likewise.
17145         (fabs_test): Likewise.
17146         (fdim_test): Likewise.
17147         (finite_test): Likewise.
17148         (floor_test): Likewise.
17149         (fma_test): Likewise.
17150         (fma_test_towardzero): Likewise.
17151         (fma_test_downward): Likewise.
17152         (fma_test_upward): Likewise.
17153         (fmax_test): Likewise.
17154         (fmin_test): Likewise.
17155         (fmod_test): Likewise.
17156         (fpclassify_test): Likewise.
17157         (frexp_test): Likewise.
17158         (gamma_test): Likewise.
17159         (hypot_test): Likewise.
17160         (ilogb_test): Likewise.
17161         (isfinite_test): Likewise.
17162         (isgreater_test): Likewise.
17163         (isgreaterequal_test): Likewise.
17164         (isinf_test): Likewise.
17165         (isless_test): Likewise.
17166         (islessequal_test): Likewise.
17167         (islessgreater_test): Likewise.
17168         (isnan_test): Likewise.
17169         (isnormal_test): Likewise.
17170         (issignaling_test): Likewise.
17171         (isunordered_test): Likewise.
17172         (j0_test): Likewise.
17173         (j1_test): Likewise.
17174         (jn_test): Likewise.
17175         (ldexp_test): Likewise.
17176         (lgamma_test): Likewise.
17177         (lrint_test): Likewise.
17178         (lrint_test_tonearest): Likewise.
17179         (lrint_test_towardzero): Likewise.
17180         (lrint_test_downward): Likewise.
17181         (lrint_test_upward): Likewise.
17182         (llrint_test): Likewise.
17183         (llrint_test_tonearest): Likewise.
17184         (llrint_test_towardzero): Likewise.
17185         (llrint_test_downward): Likewise.
17186         (llrint_test_upward): Likewise.
17187         (log_test): Likewise.
17188         (log10_test): Likewise.
17189         (log1p_test): Likewise.
17190         (log2_test): Likewise.
17191         (logb_test): Likewise.
17192         (logb_test_downward): Likewise.
17193         (lround_test): Likewise.
17194         (llround_test): Likewise.
17195         (modf_test): Likewise.
17196         (nearbyint_test): Likewise.
17197         (nextafter_test): Likewise.
17198         (nexttoward_test): Likewise.
17199         (pow_test): Likewise.
17200         (pow_test_tonearest): Likewise.
17201         (pow_test_towardzero): Likewise.
17202         (pow_test_downward): Likewise.
17203         (pow_test_upward): Likewise.
17204         (remainder_test): Likewise.
17205         (remainder_test_tonearest): Likewise.
17206         (remainder_test_towardzero): Likewise.
17207         (remainder_test_downward): Likewise.
17208         (remainder_test_upward): Likewise.
17209         (remquo_test): Likewise.
17210         (rint_test): Likewise.
17211         (rint_test_tonearest): Likewise.
17212         (rint_test_towardzero): Likewise.
17213         (rint_test_downward): Likewise.
17214         (rint_test_upward): Likewise.
17215         (round_test): Likewise.
17216         (scalb_test): Likewise.
17217         (scalbn_test): Likewise.
17218         (scalbln_test): Likewise.
17219         (signbit_test): Likewise.
17220         (sin_test): Likewise.
17221         (sin_test_tonearest): Likewise.
17222         (sin_test_towardzero): Likewise.
17223         (sin_test_downward): Likewise.
17224         (sin_test_upward): Likewise.
17225         (sincos_test): Likewise.
17226         (sinh_test): Likewise.
17227         (sinh_test_tonearest): Likewise.
17228         (sinh_test_towardzero): Likewise.
17229         (sinh_test_downward): Likewise.
17230         (sinh_test_upward): Likewise.
17231         (sqrt_test): Likewise.
17232         (tan_test): Likewise.
17233         (tan_test_tonearest): Likewise.
17234         (tan_test_towardzero): Likewise.
17235         (tan_test_downward): Likewise.
17236         (tan_test_upward): Likewise.
17237         (tanh_test): Likewise.
17238         (tgamma_test): Likewise.
17239         (trunc_test): Likewise.
17240         (y0_test): Likewise.
17241         (y1_test): Likewise.
17242         (yn_test): Likewise.
17243         (significand_test): Likewise.
17245 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17247         [BZ #15381]
17248         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17250 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17252         [BZ #14894]
17253         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17254         __ppc_mdoio and __ppc_mdoom.
17255         * manual/platform.texi: Document new functions __ppc_yield,
17256         __ppc_mdoio and __ppc_mdoom.
17258 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17260         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17261         (main): Mention "tls" pseudo-hwcap is legacy.
17262         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17264 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17266         * math/gen-libm-test.pl (parse_args): Output only string of
17267         arguments as text for test name, not full call or descriptions of
17268         tests for extra outputs.
17269         (generate_testfile): Do not pass function name to parse_args.
17270         Generate this_func variable from START.
17271         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17272         field to arg_str.
17273         (struct test_ff_f_data): Likewise.
17274         (test_ff_f_data_nexttoward): Likewise.
17275         (struct test_fi_f_data): Likewise.
17276         (struct test_fl_f_data): Likewise.
17277         (struct test_if_f_data): Likewise.
17278         (struct test_fff_f_data): Likewise.
17279         (struct test_c_f_data): Likewise.
17280         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17281         (struct test_fF_f1_data): Likewise.
17282         (struct test_ffI_f1_data): Likewise.
17283         (struct test_c_c_data): Rename test_name field to arg_str.
17284         (struct test_cc_c_data): Likewise.
17285         (struct test_f_i_data): Likewise.
17286         (struct test_ff_i_data): Likewise.
17287         (struct test_f_l_data): Likewise.
17288         (struct test_f_L_data): Likewise.
17289         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17290         and extra2_name.
17291         (COMMON_TEST_SETUP): New macro.
17292         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17293         (COMMON_TEST_CLEANUP): Likewise.
17294         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17295         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17296         macros.
17297         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17298         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17299         macros.
17300         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17301         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17302         cleanup macros.
17303         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17304         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17305         macros.
17306         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17307         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17308         macros.
17309         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17310         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17311         cleanup macros.
17312         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17313         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17314         cleanup macros.
17315         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17316         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17317         cleanup macros.
17318         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17319         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17320         macros.
17321         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17322         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17323         macros.
17324         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17325         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17326         macros.
17327         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17328         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17329         cleanup macros.
17330         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17331         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17332         cleanup macros.
17333         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17334         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
17335         macros.
17336         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17337         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
17338         cleanup macros.
17339         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17340         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
17341         macros.
17342         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17343         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
17344         macros.
17345         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17346         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
17347         cleanup macros.
17348         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17350 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
17352         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17353         to _sifields.sigfault.
17354         (si_addr_lsb): Define new macro.
17355         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17356         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17357         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17359 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
17361         [BZ #15441]
17362         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17363         returns -1.
17364         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17365         null return -1.
17366         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17367         loading the domain.
17369 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17371         * math/gen-libm-test.pl (parse_args): Do not include expected
17372         result in test name.
17373         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17374         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17375         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17376         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17377         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17380 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17382         * benchtests/Makefile: Sort function entries.
17384         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17385         tanh, asinh, acosh, atanh.
17386         * benchtests/acos-inputs: New file.
17387         * benchtests/acosh-inputs: New file.
17388         * benchtests/asin-inputs: New file.
17389         * benchtests/asinh-inputs: New file.
17390         * benchtests/atanh-inputs: New file.
17391         * benchtests/cosh-inputs: New file.
17392         * benchtests/log-inputs: New file.
17393         * benchtests/sinh-inputs: New file.
17394         * benchtests/tanh-inputs: New file.
17396 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
17398         [BZ #15339]
17399         * posix/tst-getaddrinfo4.c: New test.
17400         * posix/Makefile (tests): Add it.
17402 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17404         [BZ #15339]
17405         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17406         when no services were used.
17407         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17408         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17410 2013-05-21  Andreas Schwab  <schwab@suse.de>
17412         [BZ #15014]
17413         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17414         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17415         successful.
17416         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17417         redundant variable declarations and reallocation of buffer when
17418         parsing as IPv6 address.  Always set NSS status when called from
17419         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
17420         buffer too small.  Correct computation of needed size.
17421         * nss/Makefile (tests): Add test-digits-dots.
17422         * nss/test-digits-dots.c: New test.
17424 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17426         * benchtests/Makefile: Remove instructions for adding
17427         benchmark tests.
17428         * benchtests/README: New file to explain how to execute and
17429         enhance the benchmark tests.
17431 2013-05-21  Andreas Schwab  <schwab@suse.de>
17433         [BZ #15493]
17434         * setjmp/Makefile (tests): Add tst-sigsetjmp.
17435         * setjmp/tst-sigsetjmp.c: New test.
17437 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17439         * sysdeps/x86_64/memset.S (memset): New implementation.
17440         (__bzero): Likewise.
17441         (__memset_tail): New function.
17443 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17445         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17446         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17447         __memcpy_sse2_unaligned ifunc selection.
17448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17449         Add memcpy-sse2-unaligned.S.
17450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17451         Add: __memcpy_sse2_unaligned.
17453 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
17455         [BZ #15490]
17456         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17457         math_force_eval before restoring floating-point envrionment.
17458         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17459         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17460         Likewise.
17461         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17462         <math_private.h>.
17463         (__nearbyintl): Use math_force_eval before restoring
17464         floating-point environment.
17465         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17467         * math/gen-libm-test.pl (special_functions): Remove.
17468         (parse_args): Don't handle TEST_extra.  Handle functions with no
17469         return value.
17470         * math/libm-test.inc (struct test_sincos_data): Replace with
17471         struct test_fFF_11_data.
17472         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17473         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17474         (sincos_test_data): Change element type to struct
17475         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
17476         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17477         RUN_TEST_LOOP_sincos.
17478         * math/README.libm-test: Don't mention special handling of
17479         individual functions.
17480         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17481         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17482         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17483         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17484         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17487         * math/gen-libm-test.pl (get_variable): Remove function.
17488         (parse_args): Don't show pointer parameters to call in test
17489         names.  Use "extra output N" in test names for extra outputs
17490         rather than naming variables.
17492 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
17494         [BZ #15488]
17495         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17496         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17497         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17498         double tests.
17499         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17500         disable.
17501         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17502         check_long_double.
17504         * math/gen-libm-test.pl (@tests): Remove variable.
17505         ($count): Likewise.
17506         (new_test): Remove function.
17507         (show_exceptions): New function.
17508         (special_functions): Use show_exceptions instead of new_test.
17509         (parse_args): Likewise.
17510         (generate_testfile): Pass only function name in generated call to
17511         print_max_error or print_complex_max_error.
17512         (get_ulps): Do not handle complex tests specially.
17513         (output_test): Rename to ...
17514         (get_all_ulps_for_test): ... this.  Return a string rather than
17515         printing to a file.  Require ulps to be present.
17516         (output_ulps): Generate arrays rather than #defines.
17517         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17518         (struct ulp_data): New type.
17519         (BUILD_COMPLEX_ULP): Remove macro.
17520         (compare_ulp_data): New function.
17521         (find_ulps): Likewise.
17522         (find_test_ulps): Likewise.
17523         (find_function_ulps): Likewise.
17524         (find_complex_function_ulps): Likewise.
17525         (print_max_error): Determine allowed ulps using
17526         find_function_ulps.
17527         (print_complex_max_error): Determine allowed ulps using
17528         find_complex_function_ulps.
17529         (check_float_internal): Determine max ulps using find_test_ulps.
17530         (check_float): Do not take max_ulp parameter.  Update call to
17531         check_float_internal.
17532         (check_complex): Likewise.
17533         (check_int): Do not take max_ulp parameter.
17534         (check_long): Likewise.
17535         (check_bool): Likewise.
17536         (check_longlong): Likewise.
17537         (struct test_f_f_data): Remove max_ulp field.
17538         (struct test_ff_f_data): Likewise.
17539         (struct test_ff_f_data_nexttoward): Likewise.
17540         (struct test_fi_f_data): Likewise.
17541         (struct test_fl_f_data): Likewise.
17542         (struct test_if_f_data): Likewise.
17543         (struct test_fff_f_data): Likewise.
17544         (struct test_c_f_data): Likewise.
17545         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17546         (struct test_fF_f1_data): Likewise.
17547         (struct test_ffI_f1_data): Likewise.
17548         (struct test_c_c_data): Remove max_ulp field.
17549         (struct test_cc_c_data): Likewise.
17550         (struct test_f_i_data): Likewise.
17551         (struct test_ff_i_data): Likewise.
17552         (struct test_f_l_data): Likewise.
17553         (struct test_f_L_data): Likewise.
17554         (struct test_sincos_data): Likewise.
17555         (RUN_TEST_f_f): Do not handle ulps.
17556         (RUN_TEST_LOOP_f_f): Likewise.
17557         (RUN_TEST_2_f): Likewise.
17558         (RUN_TEST_LOOP_2_f): Likewise.
17559         (RUN_TEST_fff_f): Likewise.
17560         (RUN_TEST_LOOP_fff_f): Likewise.
17561         (RUN_TEST_c_f): Likewise.
17562         (RUN_TEST_LOOP_c_f): Likewise.
17563         (RUN_TEST_f_f1): Likewise.
17564         (RUN_TEST_LOOP_f_f1): Likewise.
17565         (RUN_TEST_fF_f1): Likewise.
17566         (RUN_TEST_LOOP_fF_f1): Likewise.
17567         (RUN_TEST_fI_f1): Likewise.
17568         (RUN_TEST_LOOP_fI_f1): Likewise.
17569         (RUN_TEST_ffI_f1): Likewise.
17570         (RUN_TEST_LOOP_ffI_f1): Likewise.
17571         (RUN_TEST_c_c): Likewise.
17572         (RUN_TEST_LOOP_c_c): Likewise.
17573         (RUN_TEST_cc_c): Likewise.
17574         (RUN_TEST_LOOP_cc_c): Likewise.
17575         (RUN_TEST_f_i): Likewise.
17576         (RUN_TEST_LOOP_f_i): Likewise.
17577         (RUN_TEST_f_i_tg): Likewise.
17578         (RUN_TEST_LOOP_f_i_tg): Likewise.
17579         (RUN_TEST_ff_i_tg): Likewise.
17580         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17581         (RUN_TEST_f_b): Likewise.
17582         (RUN_TEST_LOOP_f_b): Likewise.
17583         (RUN_TEST_f_b_tg): Likewise.
17584         (RUN_TEST_LOOP_f_b_tg): Likewise.
17585         (RUN_TEST_f_l): Likewise.
17586         (RUN_TEST_LOOP_f_l): Likewise.
17587         (RUN_TEST_f_L): Likewise.
17588         (RUN_TEST_LOOP_f_L): Likewise.
17589         (RUN_TEST_sincos): Likewise.
17590         (RUN_TEST_LOOP_sincos): Likewise.
17592 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
17594         [BZ #15480]
17595         [BZ #15485]
17596         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17597         main case of finite arguments, set rounding mode to FE_TONEAREST
17598         and discard exceptions.
17599         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17600         exceptions.
17601         (remainder_tonearest_test_data): New variable.
17602         (remainder_test_tonearest): New function.
17603         (remainder_towardzero_test_data): New variable.
17604         (remainder_test_towardzero): New function.
17605         (remainder_downward_test_data): New variable.
17606         (remainder_test_downward): New function.
17607         (remainder_upward_test_data): New variable.
17608         (remainder_test_upward): New function.
17609         (main): Call the new test functions.
17611         * math/libm-test.inc (struct test_f_f1_data): Remove field
17612         extra_init.
17613         (struct test_fF_f1_data): Likewise.
17614         (struct test_ffI_f1_data): Likewise.
17615         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
17616         based on value of EXTRA_EXPECTED.
17617         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17618         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
17619         EXTRA_VAR based on value of EXTRA_EXPECTED.
17620         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17621         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
17622         EXTRA_VAR based on value of EXTRA_EXPECTED.
17623         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17624         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
17625         EXTRA_VAR based on value of EXTRA_EXPECTED.
17626         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17627         * math/gen-libm-test.pl (parse_args): Don't output initializers
17628         for extra output values.
17630         * math/libm-test.inc (check_int): Expect result to be exactly
17631         equal to expected value and do not handle ulps.
17632         (check_long): Likewise.
17633         (check_longlong): Likewise.
17635         * math/libm-test.inc (ceil_test_data): Test for "inexact"
17636         exceptions.
17637         (cimag_test_data): Likewise.
17638         (conj_test_data): Likewise.
17639         (copysign_test_data): Likewise.
17640         (cproj_test_data): Likewise.
17641         (creal_test_data): Likewise.
17642         (fabs_test_data): Likewise.
17643         (fdim_test_data): Likewise.
17644         (finite_test_data): Likewise.
17645         (floor_test_data): Likewise.
17646         (fmax_test_data): Likewise.
17647         (fmin_test_data): Likewise.
17648         (fmod_test_data): Likewise.
17649         (fpclassify_test_data): Likewise.
17650         (frexp_test_data): Likewise.
17651         (ilogb_test_data): Likewise.
17652         (isfinite_test_data): Likewise.
17653         (isgreater_test_data): Likewise.
17654         (isgreaterequal_test_data): Likewise.
17655         (isinf_test_data): Likewise.
17656         (isless_test_data): Likewise.
17657         (islessequal_test_data): Likewise.
17658         (islessgreater_test_data): Likewise.
17659         (isnan_test_data): Likewise.
17660         (isnormal_test_data): Likewise.
17661         (issignaling_test_data): Likewise.
17662         (isunordered_test_data): Likewise.
17663         (ldexp_test_data): Likewise.
17664         (lrint_test_data): Likewise.
17665         (lrint_test_data) [TEST_FLOAT]: Disable one test.
17666         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17667         (lrint_tonearest_test_data): Test for "inexact" exceptions.
17668         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17669         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17670         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17671         test input.
17672         (lrint_towardzero_test_data): Test for "inexact" exceptions.
17673         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17674         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17675         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17676         that test input.
17677         (lrint_downward_test_data): Test for "inexact" exceptions.
17678         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17679         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17680         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17681         test input.
17682         (lrint_upward_test_data): Test for "inexact" exceptions.
17683         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17684         test input.
17685         (llrint_test_data): Test for "inexact" exceptions.
17686         (llrint_test_data) [TEST_FLOAT]: Disable one test.
17687         (llrint_tonearest_test_data): Test for "inexact" exceptions.
17688         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17689         (llrint_towardzero_test_data): Test for "inexact" exceptions.
17690         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17691         (llrint_downward_test_data): Test for "inexact" exceptions.
17692         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17693         (llrint_upward_test_data): Test for "inexact" exceptions.
17694         (logb_test_data): Likewise.
17695         (logb_downward_test_data): Likewise.
17696         (nextafter_test_data): Likewise.
17697         (nexttoward_test_data): Likewise.
17698         (remainder_test_data): Likewise.
17699         (remquo_test_data): Likewise.
17700         (scalbn_test_data): Likewise.
17701         (scalbln_test_data): Likewise.
17702         (signbit_test_data): Likewise.
17703         (sqrt_test_data): Likewise.
17704         (significand_test_data): Likewise.
17706 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17708         [BZ #15424]
17709         * benchtests/bench-modf.c (struct args): Mark arg0 as
17710         volatile.
17711         * scripts/bench.pl: Mark members of struct args as volatile.
17713 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17715         [BZ # 15497]
17716         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17717         negative infinity on POWER6 or lower.
17718         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17720 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17722         [BZ #15442]
17723         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17724         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17725         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17726         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17727         (_FP_SETQNAN): New macro.
17728         (_FP_SETQNAN_SEMIRAW): Likewise.
17729         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17730         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17731         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17732         (FP_EXTEND): Use _FP_FRAC_SNANP.
17733         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17734         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17735         into account.
17736         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17737         New macro.
17738         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17739         Likewise.
17741 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17743         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17744         with DIVIDE_BY_ZERO_EXCEPTION.
17745         (gamma_test_data): Likewise.
17746         (lgamma_test_data): Likewise.
17747         (log_test_data): Likewise.
17748         (log10_test_data): Likewise.
17749         (log2_test_data): Likewise.
17750         (tgamma_test_data): Likewise.
17752         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17753         (acos_test_tonearest): Likewise.
17754         (acos_test_towardzero): Likewise.
17755         (acos_test_downward): Likewise.
17756         (acos_test_upward): Likewise.
17757         (acosh_test): Likewise.
17758         (asin_test): Likewise.
17759         (asin_test_tonearest): Likewise.
17760         (asin_test_towardzero): Likewise.
17761         (asin_test_downward): Likewise.
17762         (asin_test_upward): Likewise.
17763         (asinh_test): Likewise.
17764         (atan_test): Likewise.
17765         (atanh_test): Likewise.
17766         (atan2_test): Likewise.
17767         (cabs_test): Likewise.
17768         (cacos_test): Likewise.
17769         (cacosh_test): Likewise.
17770         (casin_test): Likewise.
17771         (casinh_test): Likewise.
17772         (catan_test): Likewise.
17773         (catanh_test): Likewise.
17774         (cbrt_test): Likewise.
17775         (ccos_test): Likewise.
17776         (ccosh_test): Likewise.
17777         (cexp_test): Likewise.
17778         (clog_test): Likewise.
17779         (clog10_test): Likewise.
17780         (cos_test): Likewise.
17781         (cos_test_tonearest): Likewise.
17782         (cos_test_towardzero): Likewise.
17783         (cos_test_downward): Likewise.
17784         (cos_test_upward): Likewise.
17785         (cosh_test): Likewise.
17786         (cosh_test_tonearest): Likewise.
17787         (cosh_test_towardzero): Likewise.
17788         (cosh_test_downward): Likewise.
17789         (cosh_test_upward): Likewise.
17790         (cpow_test): Likewise.
17791         (csin_test): Likewise.
17792         (csinh_test): Likewise.
17793         (csqrt_test): Likewise.
17794         (ctan_test): Likewise.
17795         (ctan_test_tonearest): Likewise.
17796         (ctan_test_towardzero): Likewise.
17797         (ctan_test_downward): Likewise.
17798         (ctan_test_upward): Likewise.
17799         (ctanh_test): Likewise.
17800         (ctanh_test_tonearest): Likewise.
17801         (ctanh_test_towardzero): Likewise.
17802         (ctanh_test_downward): Likewise.
17803         (ctanh_test_upward): Likewise.
17804         (erf_test): Likewise.
17805         (erfc_test): Likewise.
17806         (exp_test): Likewise.
17807         (exp_test_tonearest): Likewise.
17808         (exp_test_towardzero): Likewise.
17809         (exp_test_downward): Likewise.
17810         (exp_test_upward): Likewise.
17811         (exp10_test): Likewise.
17812         (exp2_test): Likewise.
17813         (expm1_test): Likewise.
17814         (fmod_test): Likewise.
17815         (gamma_test): Likewise.
17816         (hypot_test): Likewise.
17817         (j0_test): Likewise.
17818         (j1_test): Likewise.
17819         (jn_test): Likewise.
17820         (lgamma_test): Likewise.
17821         (log_test): Likewise.
17822         (log10_test): Likewise.
17823         (log1p_test): Likewise.
17824         (log2_test): Likewise.
17825         (logb_test_downward): Likewise.
17826         (pow_test): Likewise.
17827         (pow_test_tonearest): Likewise.
17828         (pow_test_towardzero): Likewise.
17829         (pow_test_downward): Likewise.
17830         (pow_test_upward): Likewise.
17831         (remainder_test): Likewise.
17832         (remquo_test): Likewise.
17833         (sin_test): Likewise.
17834         (sin_test_tonearest): Likewise.
17835         (sin_test_towardzero): Likewise.
17836         (sin_test_downward): Likewise.
17837         (sin_test_upward): Likewise.
17838         (sincos_test): Likewise.
17839         (sinh_test): Likewise.
17840         (sinh_test_tonearest): Likewise.
17841         (sinh_test_towardzero): Likewise.
17842         (sinh_test_downward): Likewise.
17843         (sinh_test_upward): Likewise.
17844         (sqrt_test): Likewise.
17845         (tan_test): Likewise.
17846         (tan_test_tonearest): Likewise.
17847         (tan_test_towardzero): Likewise.
17848         (tan_test_downward): Likewise.
17849         (tan_test_upward): Likewise.
17850         (tanh_test): Likewise.
17851         (tgamma_test): Likewise.
17852         (y0_test): Likewise.
17853         (y1_test): Likewise.
17854         (yn_test): Likewise.
17856         * math/gen-libm-test.pl (adjust_arg): Remove function.
17857         (special_function): Remove argument $in_func.  Only handle
17858         generating output for tables of tests, not inside functions.
17859         (parse_args): Likewise.
17860         (generate_testfile): Remove variable $in_func.  Update call to
17861         parse_args.
17862         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17863         (MINUS_ZERO_INIT): Rename macro to minus_zero.
17864         (PLUS_INFTY_INIT): Rename macro to plus_infty.
17865         (MINUS_INFTY_INIT): Rename macro to minus_infty.
17866         (QNAN_VALUE_INIT): Rename macro to qnan_value.
17867         (MAX_VALUE_INIT): Rename macro to max_value.
17868         (MIN_VALUE_INIT): Rename macro to min_value.
17869         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17870         (plus_zero): Remove variable.
17871         (minus_zero): Likewise.
17872         (plus_infty): Likewise.
17873         (minus_infty): Likewise.
17874         (qnan_value): Likewise.
17875         (max_value): Likewise.
17876         (min_value): Likewise.
17877         (min_subnorm_value): Likewise.
17879 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17881         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17882         uint64_t or uint32_t usage.
17883         * crypt/sha256-block.c: Likewise.
17884         * crypt/sha256-crypt.c: Likewise.
17885         * crypt/sha256.c: Likewise.
17886         * crypt/sha512-block.c: Likewise.
17887         * crypt/sha512-crypt.c: Likewise.
17888         * crypt/sha512.c: Likewise.
17889         * debug/backtrace-tst.c: Likewise.
17890         * debug/pcprofiledump.c: Likewise.
17891         * elf/cache.c: Likewise.
17892         * elf/dl-cache.c: Likewise.
17893         * elf/dl-misc.c: Likewise.
17894         * elf/dl-profile.c: Likewise.
17895         * elf/dl-support.c: Likewise.
17896         * elf/ldconfig.c: Likewise.
17897         * elf/sprof.c: Likewise.
17898         * iconv/dummy-repertoire.c: Likewise.
17899         * iconv/iconv_charmap.c: Likewise.
17900         * iconv/skeleton.c: Likewise.
17901         * iconvdata/8bit-generic.c: Likewise.
17902         * iconvdata/cp737.h: Likewise.
17903         * iconvdata/cp775.h: Likewise.
17904         * iconvdata/ibm1008.h: Likewise.
17905         * iconvdata/ibm1025.h: Likewise.
17906         * iconvdata/ibm1046.h: Likewise.
17907         * iconvdata/ibm1097.h: Likewise.
17908         * iconvdata/ibm1112.h: Likewise.
17909         * iconvdata/ibm1122.h: Likewise.
17910         * iconvdata/ibm1123.h: Likewise.
17911         * iconvdata/ibm1124.h: Likewise.
17912         * iconvdata/ibm1129.h: Likewise.
17913         * iconvdata/ibm1130.h: Likewise.
17914         * iconvdata/ibm1132.h: Likewise.
17915         * iconvdata/ibm1133.h: Likewise.
17916         * iconvdata/ibm1137.h: Likewise.
17917         * iconvdata/ibm1140.h: Likewise.
17918         * iconvdata/ibm1141.h: Likewise.
17919         * iconvdata/ibm1142.h: Likewise.
17920         * iconvdata/ibm1143.h: Likewise.
17921         * iconvdata/ibm1144.h: Likewise.
17922         * iconvdata/ibm1145.h: Likewise.
17923         * iconvdata/ibm1146.h: Likewise.
17924         * iconvdata/ibm1147.h: Likewise.
17925         * iconvdata/ibm1148.h: Likewise.
17926         * iconvdata/ibm1149.h: Likewise.
17927         * iconvdata/ibm1153.h: Likewise.
17928         * iconvdata/ibm1154.h: Likewise.
17929         * iconvdata/ibm1155.h: Likewise.
17930         * iconvdata/ibm1156.h: Likewise.
17931         * iconvdata/ibm1157.h: Likewise.
17932         * iconvdata/ibm1158.h: Likewise.
17933         * iconvdata/ibm1160.h: Likewise.
17934         * iconvdata/ibm1161.h: Likewise.
17935         * iconvdata/ibm1162.h: Likewise.
17936         * iconvdata/ibm1163.h: Likewise.
17937         * iconvdata/ibm1164.h: Likewise.
17938         * iconvdata/ibm1166.h: Likewise.
17939         * iconvdata/ibm1167.h: Likewise.
17940         * iconvdata/ibm12712.h: Likewise.
17941         * iconvdata/ibm1390.h: Likewise.
17942         * iconvdata/ibm1399.h: Likewise.
17943         * iconvdata/ibm16804.h: Likewise.
17944         * iconvdata/ibm4517.h: Likewise.
17945         * iconvdata/ibm4899.h: Likewise.
17946         * iconvdata/ibm4909.h: Likewise.
17947         * iconvdata/ibm4971.h: Likewise.
17948         * iconvdata/ibm5347.h: Likewise.
17949         * iconvdata/ibm803.h: Likewise.
17950         * iconvdata/ibm856.h: Likewise.
17951         * iconvdata/ibm901.h: Likewise.
17952         * iconvdata/ibm902.h: Likewise.
17953         * iconvdata/ibm9030.h: Likewise.
17954         * iconvdata/ibm9066.h: Likewise.
17955         * iconvdata/ibm921.h: Likewise.
17956         * iconvdata/ibm922.h: Likewise.
17957         * iconvdata/ibm9448.h: Likewise.
17958         * iconvdata/isiri-3342.h: Likewise.
17959         * iconvdata/jis0201.h: Likewise.
17960         * include/link.h: Likewise.
17961         * include/netdb.h: Likewise.
17962         * inet/check_native.c: Likewise.
17963         * inet/check_pf.c: Likewise.
17964         * inet/getipv4sourcefilter.c: Likewise.
17965         * inet/getnameinfo.c: Likewise.
17966         * inet/getsourcefilter.c: Likewise.
17967         * inet/htonl.c: Likewise.
17968         * inet/setipv4sourcefilter.c: Likewise.
17969         * inet/setsourcefilter.c: Likewise.
17970         * inet/test-inet6_opt.c: Likewise.
17971         * inet/tst-network.c: Likewise.
17972         * locale/C-collate.c: Likewise.
17973         * locale/C-ctype.c: Likewise.
17974         * locale/C-time.c: Likewise.
17975         * locale/C-translit.h: Likewise.
17976         * locale/loadarchive.c: Likewise.
17977         * locale/programs/3level.h: Likewise.
17978         * locale/programs/charmap.c: Likewise.
17979         * locale/programs/charmap.h: Likewise.
17980         * locale/programs/ld-address.c: Likewise.
17981         * locale/programs/ld-collate.c: Likewise.
17982         * locale/programs/ld-ctype.c: Likewise.
17983         * locale/programs/ld-identification.c: Likewise.
17984         * locale/programs/ld-measurement.c: Likewise.
17985         * locale/programs/ld-messages.c: Likewise.
17986         * locale/programs/ld-monetary.c: Likewise.
17987         * locale/programs/ld-name.c: Likewise.
17988         * locale/programs/ld-numeric.c: Likewise.
17989         * locale/programs/ld-paper.c: Likewise.
17990         * locale/programs/ld-telephone.c: Likewise.
17991         * locale/programs/ld-time.c: Likewise.
17992         * locale/programs/linereader.c: Likewise.
17993         * locale/programs/locale.c: Likewise.
17994         * locale/programs/locarchive.c: Likewise.
17995         * locale/programs/locfile.h: Likewise.
17996         * locale/programs/repertoire.c: Likewise.
17997         * locale/programs/simple-hash.c: Likewise.
17998         * locale/programs/simple-hash.h: Likewise.
17999         * malloc/memusage.c: Likewise.
18000         * malloc/memusagestat.c: Likewise.
18001         * nis/nis_defaults.c: Likewise.
18002         * nis/nis_hash.c: Likewise.
18003         * nis/nis_print.c: Likewise.
18004         * nis/nis_xdr.c: Likewise.
18005         * nscd/connections.c: Likewise.
18006         * nscd/hstcache.c: Likewise.
18007         * nscd/nscd_gethst_r.c: Likewise.
18008         * nscd/nscd_getserv_r.c: Likewise.
18009         * nscd/nscd_helper.c: Likewise.
18010         * nscd/servicescache.c: Likewise.
18011         * nss/makedb.c: Likewise.
18012         * nss/nss_db/db-XXX.c: Likewise.
18013         * nss/nss_db/db-initgroups.c: Likewise.
18014         * nss/nss_db/db-netgrp.c: Likewise.
18015         * nss/nss_files/files-network.c: Likewise.
18016         * nss/nss_files/files-parse.c: Likewise.
18017         * posix/bug-regex5.c: Likewise.
18018         * posix/fnmatch_loop.c: Likewise.
18019         * posix/regcomp.c: Likewise.
18020         * posix/regexec.c: Likewise.
18021         * posix/tst-rfc3484-2.c: Likewise.
18022         * posix/tst-rfc3484-3.c: Likewise.
18023         * posix/tst-rfc3484.c: Likewise.
18024         * resolv/nss_dns/dns-canon.c: Likewise.
18025         * resolv/nss_dns/dns-network.c: Likewise.
18026         * resolv/res_init.c: Likewise.
18027         * resolv/res_mkquery.c: Likewise.
18028         * resolv/tst-aton.c: Likewise.
18029         * stdlib/cxa_atexit.c: Likewise.
18030         * stdlib/cxa_finalize.c: Likewise.
18031         * stdlib/gen-fpioconst.c: Likewise.
18032         * stdlib/strtol_l.c: Likewise.
18033         * string/tst-endian.c: Likewise.
18034         * sunrpc/auth_des.c: Likewise.
18035         * sunrpc/clnt_udp.c: Likewise.
18036         * sunrpc/rtime.c: Likewise.
18037         * sunrpc/svcauth_des.c: Likewise.
18038         * sunrpc/xdr.c: Likewise.
18039         * sunrpc/xdr_intXX_t.c: Likewise.
18040         * sunrpc/xdr_rec.c: Likewise.
18041         * sysdeps/generic/ldconfig.h: Likewise.
18042         * sysdeps/generic/ldsodefs.h: Likewise.
18043         * sysdeps/generic/memusage.h: Likewise.
18044         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18045         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18046         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18047         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18048         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18049         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18050         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18051         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18052         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18053         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18054         * sysdeps/posix/getaddrinfo.c: Likewise.
18055         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18056         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18057         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18058         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18059         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18060         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18061         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18062         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18063         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18064         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18065         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18066         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18067         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18068         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18069         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18070         * sysdeps/x86_64/dl-tls.h: Likewise.
18071         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18072         * time/alt_digit.c: Likewise.
18073         * time/era.c: Likewise.
18074         * wcsmbs/tst-c16c32-1.c: Likewise.
18076 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18078         * math/libm-test.inc (struct test_sincos_data): New type.
18079         (RUN_TEST_LOOP_sincos): New macro.
18080         (sincos_test_data): New variable.
18081         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18083 2013-05-16  Richard Henderson  <rth@redhat.com>
18085         * math/atest-exp2.c (LIMB64): New macro.
18086         (CONSTSZ): New macro.
18087         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18088         (hexdig): Move ...
18089         (print_mpn_fp): ... to function scope.
18090         (read_mpn_hex): Remove.
18091         (get_log2): Remove.
18092         (exp2_mpn): Use mp_log2.
18093         (main): Use mp_exp1.
18095 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18097         * math/libm-test.inc: Remove comment about not testing "inexact"
18098         exceptions.
18099         (INEXACT_EXCEPTION): New macro.
18100         (NO_INEXACT_EXCEPTION): Likewise.
18101         (INVALID_EXCEPTION_OK): Update value.
18102         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18103         (OVERFLOW_EXCEPTION_OK): Likewise.
18104         (UNDERFLOW_EXCEPTION_OK): Likewise.
18105         (IGNORE_ZERO_INF_SIGN): Likewise.
18106         (ERRNO_UNCHANGED): Likewise.
18107         (ERRNO_EDOM): Likewise.
18108         (ERRNO_ERANGE): Likewise.
18109         (test_exceptions): Handle testing "inexact" exceptions.
18110         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18111         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18112         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18113         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18114         INEXACT_EXCEPTION.
18115         (rint_towardzero_test_data): Likewise.
18116         (rint_downward_test_data): Likewise.
18117         (rint_upward_test_data): Likewise.
18119         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18120         with OVERFLOW_EXCEPTION.
18121         (exp10_test_data): Likewise.
18122         (exp2_test_data): Likewise.
18123         (expm1_test_data): Likewise.
18124         (lgamma_test_data): Likewise.
18125         (pow_test_data): Likewise.
18126         (tgamma_test_data): Likewise.
18127         (yn_test_data): Remove duplicate test of overflow.
18129         * math/libm-test.inc (struct test_cc_c_data): New type.
18130         (RUN_TEST_LOOP_cc_c): New macro.
18131         (cpow_test_data): New variable.
18132         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18134         * math/libm-test.inc (struct test_f_L_data): New type.
18135         (RUN_TEST_LOOP_f_L): New macro.
18136         (llrint_test_data): New variable.
18137         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18138         (llrint_tonearest_test_data): New variable.
18139         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18140         (llrint_towardzero_test_data): New variable.
18141         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18142         (llrint_downward_test_data): New variable.
18143         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18144         (llrint_upward_test_data): New variable.
18145         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18146         (llround_test_data): New variable.
18147         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18149 2013-05-13  Peter Collingbourne  <pcc@google.com>
18151         * math/atest-exp2.c (get_log2): Remove const attribute.
18153 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18155         * math/libm-test.inc (struct test_f_l_data): New type.
18156         (RUN_TEST_LOOP_f_l): New macro.
18157         (lrint_test_data): New variable.
18158         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18159         (lrint_tonearest_test_data): New variable.
18160         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18161         (lrint_towardzero_test_data): New variable.
18162         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18163         (lrint_downward_test_data): New variable.
18164         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18165         (lrint_upward_test_data): New variable.
18166         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18167         (lround_test_data): New variable.
18168         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18170 2013-05-15  Peter Collingbourne  <pcc@google.com>
18172         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18173         (EXTRACT_WORDS64) Use where appropriate.
18174         (INSERT_WORDS64) Likewise.
18176         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18177         constraints with x constraints.
18178         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18180         * malloc/obstack.c (_obstack_compat): Add initializer.
18182 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18184         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18185         si_trapno and add si_addr_lsb to _sifields.sigfault.
18186         (si_trapno): Remove macro.
18187         (si_addr_lsb): Define new macro.
18188         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18190 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18192         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18193         instead of TEST_f_l.
18194         (llrint_test_tonearest): Likewise.
18195         (llrint_test_towardzero): Likewise.
18196         (llrint_test_downward): Likewise.
18197         (llrint_test_upward): Likewise.
18198         (llround_test): Likewise.
18200         * math/libm-test.inc (struct test_f_i_data): Add comment.
18201         (RUN_TEST_LOOP_f_b): New macro.
18202         (RUN_TEST_LOOP_f_b_tg): Likewise.
18203         (finite_test_data): New variable.
18204         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18205         (isfinite_test_data): New variable.
18206         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18207         (isinf_test_data): New variable.
18208         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18209         (isnan_test_data): New variable.
18210         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18211         (isnormal_test_data): New variable.
18212         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18213         (issignaling_test_data): New variable.
18214         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18215         (signbit_test_data): New variable.
18216         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18218         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18219         with INVALID_EXCEPTION.
18220         (acosh_test_data): Likewise.
18221         (asin_test_data): Likewise.
18222         (atanh_test_data): Likewise.
18223         (fmod_test_data): Likewise.
18224         (log_test_data): Likewise.
18225         (log10_test_data): Likewise.
18226         (log2_test_data): Likewise.
18227         (pow_test_data): Likewise.
18228         (sqrt_test_data): Likewise.
18229         (y0_test_data): Likewise.
18230         (y1_test_data): Likewise.
18231         (yn_test_data): Likewise.
18233         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18234         function contents.
18236         * math/libm-test.inc (struct test_ff_i_data): New type.
18237         (RUN_TEST_LOOP_ff_i_tg): New macro.
18238         (isgreater_test_data): New variable.
18239         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18240         (isgreaterequal_test_data): New variable.
18241         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18242         (isless_test_data): New variable.
18243         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18244         (islessequal_test_data): New variable.
18245         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18246         (islessgreater_test_data): New variable.
18247         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18248         (isunordered_test_data): New variable.
18249         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18251 2013-05-14  David S. Miller  <davem@davemloft.net>
18253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18255 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18257         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18259         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18260         extra_test to int.
18261         (struct test_f_i_data): Change type of max_ulp to int.
18263         * math/libm-test.inc (test_ffI_f1_data): New type.
18264         (RUN_TEST_LOOP_ffI_f1): New macro.
18265         (remquo_test_data): New variable.
18266         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18268         * setjmp/tst-setjmp-fp.c: New file.
18269         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18270         (link-libm): New variable.
18271         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18273         * math/libm-test.inc (struct test_f_i_data): New type.
18274         (RUN_TEST_LOOP_f_i): New macro.
18275         (RUN_TEST_LOOP_f_i_tg): Likewise.
18276         (fpclassify_test_data): New variable.
18277         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18278         (ilogb_test_data): New variable.
18279         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18281         * math/libm-test.inc (scalbln_test): Correct function name in END
18282         call.
18284         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18285         (RUN_TEST_LOOP_fI_f1): New macro.
18286         (frexp_test_data): New variable.
18287         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18289         * math/libm-test.inc (struct test_fF_f1_data): New type.
18290         (RUN_TEST_LOOP_fF_f1): New macro.
18291         (modf_test_data): New variable.
18292         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18294         * math/libm-test.inc (struct test_f_f1_data): New type.
18295         (RUN_TEST_LOOP_f_f1): New macro.
18296         (gamma_test_data): New variable.
18297         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18298         (lgamma_test_data): New variable.
18299         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18301 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18303         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18304         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18305         (main): Comment "tls" pseudo-hwcap.
18307 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18309         * math/libm-test.inc (struct test_fl_f_data): New type.
18310         (RUN_TEST_LOOP_fl_f): New variable.
18311         (scalbln_test_data): New variable.
18312         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18314         * math/libm-test.inc (struct test_fi_f_data): New type.
18315         (RUN_TEST_LOOP_fi_f): New macro.
18316         (ldexp_test_data): New variable.
18317         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18318         (scalbn_test_data): New variable.
18319         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18321         * math/libm-test.inc (struct test_c_f_data): New type.
18322         (RUN_TEST_LOOP_c_f): New macro.
18323         (cabs_test_data): New variable.
18324         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18325         (carg_test_data): New variable.
18326         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18327         (cimag_test_data): New variable.
18328         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18329         (creal_test_data): New variable.
18330         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18332         * math/libm-test.inc (struct test_if_f_data): New type.
18333         (RUN_TEST_LOOP_if_f): New macro.
18334         (jn_test_data): New variable.
18335         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18336         (yn_test_data): New variable.
18337         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18339         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18341 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18343         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18344         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18346 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18348         * benchtests/Makefile (CPPFLAGS-nonlib): Add
18349         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18350         (bench-deps): Add bench-timing.h.
18351         * benchtests-bench-skeleton.c: Include bench-timing.h.
18352         (main): Use TIMING_* macros instead of clock_gettime.
18353         * benchtests/bench-timing.h: New file.
18355         [BZ #14582]
18356         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18357         Renamed from _LIB_VERSION.
18358         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18360 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
18362         * math/libm-test.inc (struct test_fff_f_data): New type.
18363         (RUN_TEST_LOOP_fff_f): New macro.
18364         (fma_test_data): New variable.
18365         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18366         (fma_towardzero_test_data): New variable.
18367         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18368         (fma_downward_test_data): New variable.
18369         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18370         (fma_upward_test_data): New variable.
18371         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18373         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18374         (struct test_c_c_data): New type.
18375         (RUN_TEST_LOOP_c_c): New macro.
18376         (cacos_test_data): New variable.
18377         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18378         (cacosh_test_data): New variable.
18379         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18380         (casin_test_data): New variable.
18381         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18382         (casinh_test_data): New variable.
18383         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18384         (catan_test_data): New variable.
18385         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18386         (catanh_test_data): New variable.
18387         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18388         (ccos_test_data): New variable.
18389         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18390         (ccosh_test_data): New variable.
18391         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18392         (cexp_test_data): New variable.
18393         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18394         (clog_test_data): New variable.
18395         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18396         (clog10_test_data): New variable.
18397         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18398         (conj_test_data): New variable.
18399         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18400         (cproj_test_data): New variable.
18401         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18402         (csin_test_data): New variable.
18403         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18404         (csinh_test_data): New variable.
18405         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18406         (csqrt_test_data): New variable.
18407         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18408         (ctan_test_data): New variable.
18409         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18410         (ctan_tonearest_test_data): New variable.
18411         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18412         (ctan_towardzero_test_data): New variable.
18413         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18414         (ctan_downward_test_data): New variable.
18415         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18416         (ctan_upward_test_data): New variable.
18417         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18418         (ctanh_test_data): New variable.
18419         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18420         (ctanh_tonearest_test_data): New variable.
18421         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18422         (ctanh_towardzero_test_data): New variable.
18423         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18424         (ctanh_downward_test_data): New variable.
18425         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18426         (ctanh_upward_test_data): New variable.
18427         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18428         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18429         of BUILD_COMPLEX.
18431         * math/libm-test.inc (struct test_ff_f_data): New type.
18432         (struct test_ff_f_data_nexttoward): Likewise.
18433         (RUN_TEST_LOOP_2_f): New macro.
18434         (RUN_TEST_LOOP_ff_f): Likewise.
18435         (atan2_test_data): New variable.
18436         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18437         (copysign_test_data): New variable.
18438         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18439         (fdim_test_data): New variable.
18440         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18441         (fmax_test_data): New variable.
18442         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18443         (fmin_test_data): New variable.
18444         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18445         (fmod_test_data): New variable.
18446         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18447         (hypot_test_data): New variable.
18448         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18449         (nextafter_test_data): New variable.
18450         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18451         (nexttoward_test_data): New variable.
18452         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18453         (pow_test_data): New variable.
18454         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18455         (pow_tonearest_test_data): New variable.
18456         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18457         (pow_towardzero_test_data): New variable.
18458         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18459         (pow_downward_test_data): New variable.
18460         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18461         (pow_upward_test_data): New variable.
18462         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18463         (remainder_test_data): New variable.
18464         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18465         (scalb_test_data): New variable.
18466         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18467         * sysdeps/i386/fpu/libm-test-ulps: Update.
18469 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
18471         * math/libm-test.inc (fma_test): Use max_value instead of local
18472         variable fltmax.
18473         (nextafter_test): Likewise.
18475         * math/libm-test.inc (acos_towardzero_test_data): New variable.
18476         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18477         (acos_downward_test_data): New variable.
18478         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18479         (acos_upward_test_data): New variable.
18480         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18481         (acosh_test_data): New variable.
18482         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18483         (asin_test_data): New variable.
18484         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18485         (asin_tonearest_test_data): New variable.
18486         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18487         (asin_towardzero_test_data): New variable.
18488         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18489         (asin_downward_test_data): New variable.
18490         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18491         (asin_upward_test_data): New variable.
18492         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18493         (asinh_test_data): New variable.
18494         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18495         (atan_test_data): New variable.
18496         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18497         (atanh_test_data): New variable.
18498         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18499         (cbrt_test_data): New variable.
18500         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18501         (ceil_test_data): New variable.
18502         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18503         (cos_test_data): New variable.
18504         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18505         (cos_tonearest_test_data): New variable.
18506         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18507         (cos_towardzero_test_data): New variable.
18508         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18509         (cos_downward_test_data): New variable.
18510         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18511         (cos_upward_test_data): New variable.
18512         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18513         (cosh_test_data): New variable.
18514         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18515         (cosh_tonearest_test_data): New variable.
18516         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18517         (cosh_towardzero_test_data): New variable.
18518         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18519         (cosh_downward_test_data): New variable.
18520         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18521         (cosh_upward_test_data): New variable.
18522         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18523         (erf_test_data): New variable.
18524         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18525         (erfc_test_data): New variable.
18526         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18527         (exp_test_data): New variable.
18528         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18529         (exp_tonearest_test_data): New variable.
18530         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18531         (exp_towardzero_test_data): New variable.
18532         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18533         (exp_downward_test_data): New variable.
18534         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18535         (exp_upward_test_data): New variable.
18536         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18537         (exp10_test_data): New variable.
18538         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18539         (exp2_test_data): New variable.
18540         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18541         (expm1_test_data): New variable.
18542         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18543         (fabs_test_data): New variable.
18544         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18545         (floor_test_data): New variable.
18546         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18547         (j0_test_data): New variable.
18548         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18549         (j1_test_data): New variable.
18550         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18551         (log_test_data): New variable.
18552         (log_test): Run tests with RUN_TEST_LOOP_f_f.
18553         (log10_test_data): New variable.
18554         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18555         (log1p_test_data): New variable.
18556         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18557         (log2_test_data): New variable.
18558         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18559         (logb_test_data): New variable.
18560         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18561         (logb_downward_test_data): New variable.
18562         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18563         (nearbyint_test_data): New variable.
18564         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18565         (rint_test_data): New variable.
18566         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18567         (rint_tonearest_test_data): New variable.
18568         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18569         (rint_towardzero_test_data): New variable.
18570         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18571         (rint_downward_test_data): New variable.
18572         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18573         (rint_upward_test_data): New variable.
18574         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18575         (round_test_data): New variable.
18576         (round_test): Run tests with RUN_TEST_LOOP_f_f.
18577         (sin_test_data): New variable.
18578         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18579         (sin_tonearest_test_data): New variable.
18580         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18581         (sin_towardzero_test_data): New variable.
18582         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18583         (sin_downward_test_data): New variable.
18584         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18585         (sin_upward_test_data): New variable.
18586         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18587         (sinh_test_data): New variable.
18588         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18589         (sinh_tonearest_test_data): New variable.
18590         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18591         (sinh_towardzero_test_data): New variable.
18592         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18593         (sinh_downward_test_data): New variable.
18594         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18595         (sinh_upward_test_data): New variable.
18596         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18597         (sqrt_test_data): New variable.
18598         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18599         (tan_test_data): New variable.
18600         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18601         (tan_tonearest_test_data): New variable.
18602         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18603         (tan_towardzero_test_data): New variable.
18604         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18605         (tan_downward_test_data): New variable.
18606         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18607         (tan_upward_test_data): New variable.
18608         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18609         (tanh_test_data): New variable.
18610         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18611         (tgamma_test_data): New variable.
18612         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18613         (trunc_test_data): New variable.
18614         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18615         (y0_test_data): New variable.
18616         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18617         (y1_test_data): New variable.
18618         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18619         (significand_test_data): New variable.
18620         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18622 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
18624         [BZ #12387]
18625         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18627 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18629         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18631 2013-05-10  Andreas Jaeger  <aj@suse.de>
18633         [BZ #15448]
18634         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18635         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18637 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18639         * math/gen-libm-test.pl (adjust_arg): New function.
18640         (special_functions): Handle generating output in both functions
18641         and arrays.
18642         (parse_args): Likewise.
18643         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
18644         $in_func argument to parse_args.
18645         * math/libm-test.inc (struct test_f_f_data): New type.
18646         (IF_ROUND_INIT_): New macro.
18647         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18648         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18649         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18650         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18651         (ROUND_RESTORE_): Likewise.
18652         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18653         (ROUND_RESTORE_FE_TONEAREST): Likewise.
18654         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18655         (ROUND_RESTORE_FE_UPWARD): Likewise.
18656         (RUN_TEST_LOOP_f_f): New macro.
18657         (acos_test_data): New variable.
18658         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18659         (acos_tonearest_test_data): New variable.
18660         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18662 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18664         * benchtests/bench-skeleton.c (startup): Fix coding style.
18666 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18668         [BZ #6809]
18669         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18670         negative infinity argument.
18671         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18672         negative infinity argument.
18673         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18674         negative infinity argument.
18675         * math/libm-test.inc (tgamma_test): Expect errno to be set for
18676         domain errors.
18678 2013-05-10  Florian Weimer  <fweimer@redhat.com>
18680         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18681         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18682         * iconv/iconv_prog.c (main): Likewise.
18683         * locale/programs/charmap-dir.c (charmap_readdir)
18684         (fopen_uncompressed): Likewise.
18685         * locale/programs/locfile.c (siblings_uncached)
18686         (write_locale_data): Use lstat64 instead of lstat.
18687         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18688         stat.
18690 2013-05-10  Andreas Jaeger  <aj@suse.de>
18692         [BZ #15395]
18693         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18694         localization.
18695         Include <locale.h>.
18697 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
18699         * elf/dl-close.c (_dl_close_worker): Add comments.
18701 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
18703         [BZ #15359]
18704         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18705         high part of pi/2.
18706         (__ieee754_rem_pio2l): Update comments.
18708         [BZ #15429]
18709         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18710         high part of pi/2.
18711         (__ieee754_rem_pio2l): Update comments.
18713         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18714         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18716         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18717         M_PI_4l.
18719         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18720         (M_PI_34_LOG10El): Likewise.
18721         (M_PI2_LOG10El): Likewise.
18722         (M_PI4_LOG10El): Likewise.
18723         (M_PI_LOG10El): Likewise.
18725 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18729 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
18731         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18732         (MINUS_ZERO_INIT): Likewise.
18733         (PLUS_INFTY_INIT): Likewise.
18734         (MINUS_INFTY_INIT): Likewise.
18735         (QNAN_VALUE_INIT): Likewise.
18736         (MAX_VALUE_INIT): Likewise.
18737         (MIN_VALUE_INIT): Likewise.
18738         (MIN_SUBNORM_VALUE_INIT): Likewise.
18739         (plus_zero): Initialize with PLUS_ZERO_INIT.
18740         (minus_zero): Initialize with MINUS_ZERO_INIT.
18741         (plus_infty): Initialize with PLUS_INFTY_INIT.
18742         (minus_infty): Initialize with MINUS_INFTY_INIT.
18743         (qnan_value): Initialize with QNAN_VALUE_INIT.
18744         (max_value): Initialize with MAX_VALUE_INIT.
18745         (min_value): Initialize with MIN_VALUE_INIT.
18746         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18748         * math/libm-test.inc (RUN_TEST_if_f): New macro.
18749         (jn_test): Use TEST_if_f instead of TEST_ff_f.
18750         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18751         (yn_test): Use TEST_if_f instead of TEST_ff_f.
18753         * math/libm-test.inc (RUN_TEST_f_f): New macro.
18754         (RUN_TEST_2_f): Likewise.
18755         (RUN_TEST_ff_f): Likewise.
18756         (RUN_TEST_fi_f): Likewise.
18757         (RUN_TEST_fl_f): Likewise.
18758         (RUN_TEST_fff_f): Likewise.
18759         (RUN_TEST_c_f): Likewise.
18760         (RUN_TEST_f_f1): Likewise.
18761         (RUN_TEST_fF_f1): Likewise.
18762         (RUN_TEST_fI_f1): Likewise.
18763         (RUN_TEST_ffI_f1): Likewise.
18764         (RUN_TEST_c_c): Likewise.
18765         (RUN_TEST_cc_c): Likewise.
18766         (RUN_TEST_f_i): Likewise.
18767         (RUN_TEST_f_i_tg): Likewise.
18768         (RUN_TEST_ff_i_tg): Likewise.
18769         (RUN_TEST_f_b): Likewise.
18770         (RUN_TEST_f_b_tg): Likewise.
18771         (RUN_TEST_f_l): Likewise.
18772         (RUN_TEST_f_L): Likewise.
18773         (RUN_TEST_sincos): Likewise.
18774         * math/gen-libm-test.pl (new_test): Take new argument to indicate
18775         whether to show exceptions.  Do not include ");\n" in return
18776         value.
18777         (special_functions): Output call to RUN_TEST_sincos instead of
18778         check_float calls.  Update calls to new_test.
18779         (parse_args): Output call to single RUN_TEST_* macro instead of
18780         check_* calls and other assignments.  Update calls to new_test.
18782         [BZ #2546]
18783         [BZ #2560]
18784         [BZ #5159]
18785         [BZ #15426]
18786         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18787         input to result for tgamma overflow.
18788         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18789         (gamma_coeff): New variable.
18790         (NCOEFF): New macro.
18791         (gamma_positive): New function.
18792         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18793         underflow here.  Use gamma_positive instead of exp (lgamma) for
18794         other arguments.
18795         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18796         (gamma_coeff): New variable.
18797         (NCOEFF): New macro.
18798         (gammaf_positive): New function.
18799         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18800         underflow here.  Use gamma_positive instead of exp (lgamma) for
18801         other arguments.
18802         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18803         (gamma_coeff): New variable.
18804         (NCOEFF): New macro.
18805         (gammal_positive): New function.
18806         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18807         underflow here.  Use gamma_positive instead of exp (lgamma) for
18808         other arguments.
18809         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18810         (gamma_coeff): New variable.
18811         (NCOEFF): New macro.
18812         (gammal_positive): New function.
18813         (__ieee754_gammal_r): Handle positive infinity, overflow and
18814         underflow here.  Handle NaN the same as positive infinity.  Remove
18815         check x < 0xffffffff for negative integers.  Use gamma_positive
18816         instead of exp (lgamma) for other arguments.
18817         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18818         (gamma_coeff): New variable.
18819         (NCOEFF): New macro.
18820         (gammal_positive): New function.
18821         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18822         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18823         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18824         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18825         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18826         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18827         * sysdeps/generic/math_private.h (__gamma_productf): New
18828         prototype.
18829         (__gamma_product): Likewise.
18830         (__gamma_productl): Likewise.
18831         * math/Makefile (libm-calls): Add gamma_product.
18832         * math/libm-test.inc (tgamma_test): Add more tests.
18833         * sysdeps/i386/fpu/libm-test-ulps: Update.
18834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18836 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
18838         * benchtests/bench-skeleton.c (main): Preheat CPU.
18840 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
18842         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18844 2013-05-07  Roland McGrath  <roland@hack.frob.com>
18846         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18847         and _dl_skip_args_internal.
18849 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
18851         * manual/message.texi (Message Translation): Talk about users.
18852         Message to key mapping impacts design.
18854 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18856         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18858         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18860         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18861         * sysdeps/wordsize-64/glob64.c: ... here.
18863         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18864         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18865         New macros.
18867         * debug/getlogin_r_chk.c: Moved to ...
18868         * login/getlogin_r_chk.c: ... here.
18869         * debug/Makefile (routines): Move getlogin_r_chk to ...
18870         * login/Makefile (routines): ... here.
18871         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18872         * login/Versions (libc: GLIBC_2.4): ... here.
18874         * io/poll.c (__poll): Renamed from poll.
18875         Add libc_hidden_def.
18876         (poll): Define as weak alias.
18878         * debug/ptsname_r_chk.c: Moved to ...
18879         * login/ptsname_r_chk.c: ... here.
18880         * debug/Makefile (routines): Move ptsname_r_chk to ...
18881         * login/Makefile (routines): ... here.
18882         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18883         * login/Versions (libc: GLIBC_2.4): ... here.
18885         * posix/getlogin.c: Moved to ...
18886         * login/getlogin.c: ... here.
18887         * posix/getlogin_r.c: Moved to ...
18888         * login/getlogin_r.c: ... here.
18889         * posix/getlogin_r.c: Moved to ...
18890         * login/getlogin_r.c: ... here.
18891         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18892         * login/Makefile (routines): ... here.
18893         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18894         * login/Versions (libc: GLIBC_2.0): ... here.
18896         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18897         (setrlimit): Define as weak alias.
18899         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18900         Call __ names for open, ftruncate, and close.
18901         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18902         (truncate): Define as weak alias.
18904 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
18906         * math/gen-libm-test.pl (parse_args): Initialize x before each
18907         test of frexp, modf and remquo.
18909         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18910         test signgam value.
18912 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18914         [BZ #15418]
18915         [BZ #15419]
18916         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18917         internal tests.
18918         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18920 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18922         * elf/dl-writev.h: New file.
18923         * elf/dl-misc.c: Include it.
18924         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18925         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18927 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
18929         * math/libm-test.inc (noXFails): Remove variable.
18930         (noXPasses): Likewise.
18931         (BUILD_COMPLEX_INT): Remove macro.
18932         (print_screen): Remove xfail argument.
18933         (print_screen_max_error): Likewise.
18934         (update_stats): Likewise.
18935         (print_max_error): Likewise.  Update calls to other affected
18936         functions.
18937         (print_complex_max_error): Likewise.
18938         (test_single_exception): Update calls to print_screen.
18939         (test_single_errno): Likewise.
18940         (check_float_internal): Remove xfail argument.  Update calls to
18941         other affected functions.
18942         (check_float): Likewise.
18943         (check_complex): Likewise.
18944         (check_int): Likewise.
18945         (check_long): Likewise.
18946         (check_bool): Likewise.
18947         (check_longlong): Likewise.
18948         (main): Don't print noXFails and noXPasses.
18949         * math/gen-libm-test.pl (top level): Don't mention expected
18950         failure handling in comment.
18951         (new_test): Don't handle expected failures.
18952         (parse_args): Don't mention expected failure handling in comment.
18953         (generate_testfile): Don't handle expected failures.
18954         (parse_ulps): Likewise.
18955         (print_ulps_file): Likewise.
18956         (get_failure): Remove function.
18957         (output_test): Don't handle expected failures.
18958         * make/README.libm-test: Don't mention expected failure handling.
18960         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
18961         (minus_zero): Likewise.
18962         (plus_infty): Likewise.
18963         (minus_infty): Likewise.
18964         (qnan_value): Likewise.
18965         (max_value): Likewise.
18966         (min_value): Likewise.
18967         (min_subnorm_value): Likewise.
18968         (initialize): Do not initialize those variables dynamically.
18970 2013-05-03  Roland McGrath  <roland@hack.frob.com>
18972         * io/open.c (__open_2): Moved to ...
18973         * io/open_2.c: ... this new file.
18974         * io/open64.c (__open64_2): Moved to ...
18975         * io/open64_2.c: ... this new file.
18976         * io/openat.c (__openat_2): Moved to ...
18977         * io/openat_2.c: ... this new file.
18978         * io/openat64.c (__openat64_2): Moved to ...
18979         * io/openat64_2.c: ... this new file.
18980         * io/Makefile (routines): Add them.
18981         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18982         * sysdeps/unix/sysv/linux/open_2.c: File removed.
18983         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18984         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18985         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18986         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18987         (__openat64): Add hidden_ver.
18988         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18989         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18991         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18992         Separately conditionalize setting of GLRO(dl_sysinfo) so
18993         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18994         as well, but the actual setting is only under [NEED_DL_SYSINFO].
18996 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18998         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18999         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19000         definition.
19001         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19002         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19003         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19004         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19005         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19007 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19009         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19010         test signgam value.
19012         * math/libm-test.inc (hypot_test): Do not use
19013         IGNORE_ZERO_INF_SIGN.
19015 2013-05-03  Andreas Jaeger  <aj@suse.de>
19017         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19018         Linux 3.9.
19019         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19020         (PF_MAX): Adjust for VSOCK change.
19022 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19026 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19028         [BZ #15264]
19029         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19030         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19031         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19033 2013-05-02  David S. Miller  <davem@davemloft.net>
19035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19037 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19039         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19041 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19043         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19045 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19047         [BZ #14952]
19048         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19049         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19050         Use __attribute__ ((__gnu_inline__)).
19051         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19052         Don't use __attribute__ ((__gnu_inline__)).
19054 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19056         [BZ #15423]
19057         * math/s_catan.c (__catan): Handle small real or imaginary part of
19058         input specially to avoid spurious underflow.
19059         * math/s_catanf.c (__catanf): Likewise.
19060         * math/s_catanh.c (__catanh): Likewise.
19061         * math/s_catanhf.c (__catanhf): Likewise.
19062         * math/s_catanhl.c (__catanhl): Likewise.
19063         * math/s_catanl.c (__catanl): Likewise.
19064         * math/libm-test.inc (catan_test): Add more tests.
19065         (catanh_test): Likewise.
19066         * sysdeps/i386/fpu/libm-test-ulps: Update.
19067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19069 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19073 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19075         [BZ #15416]
19076         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19077         accurately for denominator in atan2.
19078         * math/s_catanf.c (__catanf): Likewise.
19079         * math/s_catanh.c (__catanh): Likewise.
19080         * math/s_catanhf.c (__catanhf): Likewise.
19081         * math/s_catanhl.c (__catanhl): Likewise.
19082         * math/s_catanl.c (__catanl): Likewise.
19083         * math/libm-test.inc (catan_test): Add more tests.
19084         (catanh_test): Likewise.
19085         * sysdeps/i386/fpu/libm-test-ulps: Update.
19086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19088 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19090         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19092         * benchtests/Makefile (bench): Remove slow benchmarks.
19093         * benchtests/atan-inputs: Add slow benchmark inputs.
19094         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19095         (BENCH_FUNC): Accept variant offset.
19096         (VARIANT): Define.
19097         * benchtests/bench-skeleton.c (main): Run benchmark for each
19098         variant.
19099         * benchtests/cos-inputs: Add slow benchmark inputs.
19100         * benchtests/exp-inputs: Likewise.
19101         * benchtests/pow-inputs: Likewise.
19102         * benchtests/sin-inputs: Likewise.
19103         * benchtests/slowatan-inputs: Remove.
19104         * benchtests/slowatan.c: Remove.
19105         * benchtests/slowcos-inputs: Remove.
19106         * benchtests/slowcos.c: Remove.
19107         * benchtests/slowexp-inputs: Remove.
19108         * benchtests/slowexp.c: Remove.
19109         * benchtests/slowpow-inputs: Remove.
19110         * benchtests/slowpow.c: Remove.
19111         * benchtests/slowsin-inputs: Remove.
19112         * benchtests/slowsin.c: Remove.
19113         * benchtests/slowtan-inputs: Remove.
19114         * benchtests/slowtan.c: Remove.
19115         * benchtests/tan-inputs: Add slow benchmark inputs.
19116         * scripts/bench.pl: Parse comments and directives.
19118         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19119         in CPPFLAGS.
19120         ($(objpfx)bench-%.c): Remove *-ITER.
19121         * benchtests/bench-modf.c: Remove definition of ITER.
19122         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19123         (main): Loop for DURATION seconds instead of fixed number of
19124         iterations.
19125         * scripts/bench.pl: Don't expect iterations in parameters.
19127 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19129         * io/fchdir.c (__fchdir): Renamed from fchdir.
19130         (fchdir): Define as weak alias.
19132 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19134         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19135         (ERRNO_EDOM): Likewise.
19136         (ERRNO_ERANGE): Likewise.
19137         (noErrnoTests): New variable.
19138         (init_max_error): Set errno to 0.
19139         (test_single_errno): New function.
19140         (test_errno): Likewise.
19141         (check_float_internal): Call test_errno.  Set errno to 0.
19142         (check_complex): Refer to errno tests in comment.
19143         (check_int): Call test_errno.  Set errno to 0.
19144         (check_long): Likewise.
19145         (check_bool): Likewise.
19146         (check_longlong): Likewise.
19147         (cos_test): Use ERRNO_* flags for errno tests instead of
19148         check_int.
19149         (expm1_test): Likewise.
19150         (fmod_test): Likewise.
19151         (ilogb_test): Likewise.
19152         (lgamma_test): Likewise.
19153         (pow_test): Likewise.
19154         (remainder_test): Likewise.
19155         (sin_test): Likewise.
19156         (tan_test): Likewise.
19157         (yn_test): Likewise.
19158         (initialize): Set errno to 0.
19159         (main): Print number of errno tests.
19160         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19162 2013-04-29  Andreas Jaeger  <aj@suse.de>
19164         [BZ #15084]
19165         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19166         and RES_USEVC.
19168         [BZ #15085]
19169         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19170         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19171         unimplemented.
19173         [BZ #15380]
19174         * stdlib/random.c (__initstate): Return NULL if
19175         __initstate fails.
19177         [BZ #15086]
19178         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19179         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19180         RES_SNGLKUPREOP.
19182 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19186 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19188         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19189         of individual tests.
19190         (casin_test): Likewise.
19191         (casinh_test): Likewise.
19193 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19195         [BZ #15409]
19196         * math/s_catan.c (__catan): Handle arguments with large real or
19197         imaginary part separately without squaring.
19198         * math/s_catanf.c (__catanf): Likewise.
19199         * math/s_catanh.c (__catanh): Likewise.
19200         * math/s_catanhf.c (__catanhf): Likewise.
19201         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19202         and redefine.
19203         (__catanhl): Handle arguments with large real or imaginary part
19204         separately without squaring.
19205         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19206         and redefine.
19207         (__catanl): Handle arguments with large real or imaginary part
19208         separately without squaring.
19209         * math/libm-test.inc (catan_test): Add more tests.
19210         (catanh_test): Likewise.
19211         * sysdeps/i386/fpu/libm-test-ulps: Update.
19212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19214 2013-04-27  Andreas Jaeger  <aj@suse.de>
19216         [BZ #15007]
19217         * stdlib/stdlib.h: Update guards for qecvt.
19218         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19219         <stdlib.h>.
19221 2013-04-27  Allan McRae  <allan@archlinux.org>
19223         * sysdeps/i386/fpu/libm-test-ulps: Update.
19225 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19227         [BZ #15406]
19228         * math/s_catan.c: Include <float.h>.
19229         (__catan): Ensure underflow exception occurs for underflowed
19230         result.
19231         * math/s_catanf.c: Include <float.h>.
19232         (__catanf): Ensure underflow exception occurs for underflowed
19233         result.
19234         * math/s_catanh.c: Include <float.h>.
19235         (__catanh): Ensure underflow exception occurs for underflowed
19236         result.
19237         * math/s_catanhf.c: Include <float.h>.
19238         (__catanhf): Ensure underflow exception occurs for underflowed
19239         result.
19240         * math/s_catanhl.c: Include <float.h>.
19241         (__catanhl): Ensure underflow exception occurs for underflowed
19242         result.
19243         * math/s_catanl.c: Include <float.h>.
19244         (__catanl): Ensure underflow exception occurs for underflowed
19245         result.
19246         * math/libm-test.inc (catan_test): Add more tests.
19247         (catanh_test): Likewise.
19249         [BZ #15405]
19250         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19251         underflowed result.
19252         * math/s_ccoshf.c (__ccoshf): Likewise.
19253         * math/s_ccoshl.c (__ccoshl): Likewise.
19254         * math/s_csin.c (__csin): Likewise.
19255         * math/s_csinf.c (__csinf): Likewise.
19256         * math/s_csinh.c (__csinh): Likewise.
19257         * math/s_csinhf.c (__csinhf): Likewise.
19258         * math/s_csinhl.c (__csinhl): Likewise.
19259         * math/s_csinl.c (__csinl): Likewise.
19260         * math/libm-test.inc (ccos_test): Add more tests.
19261         (ccosh_test): Likewise.
19262         (csin_test): Likewise.
19263         (csinh_test): Likewise.
19265 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19267         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19268         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19269         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19270         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19271         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19272         powerpc/power5+/fpu folders.
19273         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19276 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19280 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19282         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19283         additions to variable.
19284         [$(config-machine) = x86_64] (modules-names): Likewise.
19285         ($(objpfx)tst-audit3): Remove dependency.
19286         ($(objpfx)tst-audit3.out): Likewise.
19287         ($(objpfx)tst-audit4): Likewise.
19288         ($(objpfx)tst-audit4.out): Likewise.
19289         ($(objpfx)tst-audit5): Likewise.
19290         ($(objpfx)tst-audit5.out): Likewise.
19291         ($(objpfx)tst-audit6): Likewise.
19292         ($(objpfx)tst-audit6.out): Likewise.
19293         ($(objpfx)tst-audit7): Likewise.
19294         ($(objpfx)tst-audit7.out): Likewise.
19295         (tst-audit3-ENV): Remove variable.
19296         (tst-audit4-ENV): Likewise.
19297         (tst-audit5-ENV): Likewise.
19298         (tst-audit6-ENV): Likewise.
19299         (tst-audit7-ENV): Likewise.
19300         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19301         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19302         addition to variable.
19303         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19304         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19305         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19306         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19307         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19308         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19309         tst-audit3, tst-audit4 and tst-audit5.
19310         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19311         tst-audit6 and tst-audit7.
19312         [$(subdir) = elf] (modules-names): Add audit modules for those
19313         tests.
19314         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19315         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19316         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19317         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19318         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19319         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19320         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19321         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19322         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19323         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19324         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19325         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19326         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19327         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19328         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19329         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19330         Likewise.
19331         [$(subdir) = elf && $(config-cflags-avx) = yes]
19332         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19333         [$(subdir) = elf && $(config-cflags-avx) = yes]
19334         (CFLAGS-tst-auditmod4a.c): Likewise.
19335         [$(subdir) = elf && $(config-cflags-avx) = yes]
19336         (CFLAGS-tst-auditmod4b.c): Likewise.
19337         [$(subdir) = elf && $(config-cflags-avx) = yes]
19338         (CFLAGS-tst-auditmod6b.c): Likewise.
19339         [$(subdir) = elf && $(config-cflags-avx) = yes]
19340         (CFLAGS-tst-auditmod6c.c): Likewise.
19341         [$(subdir) = elf && $(config-cflags-avx) = yes]
19342         (CFLAGS-tst-auditmod7b.c): Likewise.
19343         * elf/tst-audit3.c: Move to ...
19344         * sysdeps/x86_64/tst-audit3.c: ... here.
19345         * elf/tst-audit4.c: Move to ...
19346         * sysdeps/x86_64/tst-audit4.c: ... here.
19347         * elf/tst-audit5.c: Move to ...
19348         * sysdeps/x86_64/tst-audit5.c: ... here.
19349         * elf/tst-audit6.c: Move to ...
19350         * sysdeps/x86_64/tst-audit6.c: ... here.
19351         * elf/tst-audit7.c: Move to ...
19352         * sysdeps/x86_64/tst-audit7.c: ... here.
19353         * elf/tst-auditmod3a.c: Move to ...
19354         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19355         * elf/tst-auditmod3b.c: Move to ...
19356         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19357         * elf/tst-auditmod4a.c: Move to ...
19358         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19359         * elf/tst-auditmod4b.c: Move to ...
19360         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19361         * elf/tst-auditmod5a.c: Move to ...
19362         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19363         * elf/tst-auditmod5b.c: Move to ...
19364         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19365         * elf/tst-auditmod6a.c: Move to ...
19366         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19367         * elf/tst-auditmod6b.c: Move to ...
19368         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19369         * elf/tst-auditmod6c.c: Move to ...
19370         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19371         * elf/tst-auditmod7a.c: Move to ...
19372         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19373         * elf/tst-auditmod7b.c: Move to ...
19374         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19376 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
19378         [BZ #15366]
19379         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19380         define unconditionally.
19381         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19382         define unconditionally.
19383         (INT8_C, INT16_C, etc.): Likewise.
19385 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
19387         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19388         __ehdr_start with hidden visibility.
19390         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19392 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
19394         * math/libm-test.inc (cos_test): Use accurate hex constants.
19395         (sincost_test): Likewise.
19397 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
19399         * math/libm-test.inc (catan_test): Add more tests.
19400         (catanh_test): Likewise.
19402         * math/s_catanf.c (__catanf): Use suffixed floating-point
19403         constants.
19404         * math/s_catanhf.c (__catanhf): Likewise.
19405         * math/s_catanhl.c (__catanhl): Likewise.
19406         * math/s_catanl.c (__catanl): Likewise.
19408         [BZ #15394]
19409         * math/s_catan.c (__catan): Calculate imaginary part of result
19410         with log1p not log unless computing log of number close to 0.
19411         * math/s_catanf.c (__catanf): Likewise.
19412         * math/s_catanl.c (__catanl): Likewise.
19413         * math/s_catanh.c (__catanh): Calculate real part of result with
19414         log1p not log unless computing log of number close to 0.
19415         * math/s_catanhf.c (__catanhf): Likewise.
19416         * math/s_catanhl.c (__catanhl): Likewise.
19417         * math/libm-test.inc (catan_test): Add more tests.
19418         (catanh_test): Likewise.
19419         * sysdeps/i386/fpu/libm-test-ulps: Update.
19420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19422 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19424         * benchtests/Makefile: Mention files in which fast and slow
19425         paths of math functions are implemented.
19427 2013-04-23  Roland McGrath  <roland@hack.frob.com>
19429         * sysdeps/posix/timespec_get.c: New file.
19431 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19433         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19434         POWER.
19435         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19436         for POWER.
19437         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19438         powerpc/power5/fpu folders.
19439         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19440         * benchtests/Makefile: Add modf testcase.
19441         * benchtests/bench-modf.c: New file: Benchmark test for mo
19443 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19445         [BZ #14888]
19446         * time/Makefile (tests): Add tst-strptime-whitespace.
19447         * time/strptime_l.c (get_number): Use ISSPACE.
19448         (__strptime_internal): Likewise.
19449         * time/tst-strptime-whitespace.c: New test case.
19451 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
19453         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19454         member.
19455         (_nss_files_init): Set it here.
19457 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
19459         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19460         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19461         unsigned.
19463 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
19465         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19467 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19469         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19470         size just once.
19472 2013-04-21  David S. Miller  <davem@davemloft.net>
19474         * po/ru.po: Update Russion translation from translation project.
19476 2013-04-17  Adam Conrad  <adconrad@0c3.net>
19478         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19479         and setfsgid.
19481 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
19483         * configure.in: Remove i386 configure warning. Remove i386 case.
19484         * configure: Regenerate.
19485         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19486         Add example to error message.
19487         * sysdeps/i386/configure: Regenerate.
19489 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19491         * benchtests/Makefile (bench): Add cos, tan, slowcos and
19492         slowtan.
19493         * benchtests/cos-inputs: New file.
19494         * benchtests/slowcos-inputs: New file.
19495         * benchtests/slowcos.c: New file.
19496         * benchtests/slowtan-inputs: New file.
19497         * benchtests/slowtan.c: New file.
19498         * benchtests/tan-inputs: New file.
19500 2013-04-16  Roland McGrath  <roland@hack.frob.com>
19502         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19503         considered kosher.
19505 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19507         * benchtests/Makefile: Include cppflags-iterator.mk to add
19508         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19510         * Makefile.in (bench-clean): New target.
19511         * benchtests/Makefile (bench-clean): Likewise.
19513 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
19515         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19517 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
19519         * stdio-common/tstdiomisc.c: Fix coding-style violation.
19521 2013-04-15  Andreas Schwab  <schwab@suse.de>
19523         * nscd/grpcache.c (cache_addgr): Properly check for short write.
19524         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19525         * nscd/pwdcache.c (cache_addpw): Likewise.
19526         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
19527         more than recsize.
19529 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19531         * benchtests/Makefile (bench): Write all output to
19532         bench-out.tmp together.
19534 2013-04-15  Andreas Schwab  <schwab@suse.de>
19536         * nscd/nscd.c (main): Don't fork again after closing files.
19538 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19540         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19542         * benchtests/Rules (bench-deps): Collect dependencies into a
19543         single variable.  Add Makefile to dependencies.
19544         ($(objpfx)bench-%.c): Depend on bench-deps.
19546 2013-04-12  Roland McGrath  <roland@hack.frob.com>
19547             Xavier Roche  <roche+kml2@exalead.com>
19549         [BZ #15361]
19550         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19551         just that it's a file descriptor.
19552         * manual/llio.texi (Synchronizing AIO Operations): Update description
19553         for EBADF error from aio_fsync.
19555 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19557         * Rules (bench): Move target definition...
19558         * benchtests/Makefile: ... here.
19560 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
19562         * math/libm-test.inc (cos_test): Fix PI/2 test.
19563         (sincos_test): Likewise.
19564         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19565         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19567 2013-04-11  Andreas Schwab  <schwab@suse.de>
19569         [BZ #13988]
19570         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19571         accept exponent character only when digits were seen.
19572         * stdio-common/Makefile (tests): Add bug26.
19573         * stdio-common/bug26.c: New file.
19575         [BZ #14293]
19576         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19577         non-freeable.
19579 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19581         * Makeconfig (rtld-prefix): Define built linker prefix.
19582         * Rules (run-bench): Use it.
19583         * math/Makefile (run-regen-ulps): Likewise.
19585         * Rules (bench): Remove eval.
19587 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19588             Roland McGrath  <roland@hack.frob.com>
19589             Ondrej Bilka  <neleai@seznam.cz>
19591         [BZ #15346]
19592         * time/getdate.c: Include ctype.h and alloca.h.
19593         (__getdate_r): Trim leading and trailing spaces of input.
19594         * time/tst-getdate.c (tests): Add tests with leading and
19595         trailing spaces.
19597 2013-04-08  Roland McGrath  <roland@hack.frob.com>
19599         [BZ #14280]
19600         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19601         when computing value.
19603 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19605         * math/README.libm-test (How can I generate "libm-test-ulps"?):
19606         Use testrun.sh to run libm tests.
19608         [BZ #15309]
19609         * elf/dl-open.c (dl_open_worker): memset all of seen array.
19611 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
19613         [BZ #15264]
19614         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19616 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19618         * Makefile.in (regen-ulps): New target.
19619         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19620         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19621         [ifneq (no,$(PERL)] (regen-ulps): New target.
19622         [ifeq (no,$(PERL)] (regen-ulps): New target.
19623         * math/libm-test.inc (ulps_file_name): Define.
19624         (output_dir): New variable.
19625         (options): Add "output-dir" option.
19626         (parse_opt): Handle 'o' case.
19627         (main): If output_dir is non-NULL use it as a prefix
19628         otherwise use "".
19629         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19631 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19633         [BZ #10060, #10062]
19634         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19635         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19636         fail configure if __sync_val_compare_and_swap is not inlined.
19637         * sysdeps/i386/configure: Regenerate.
19638         * configure.in: Build for i686 when configured for i386.
19639         * configure: Regenerate.
19640         * README: Remove i386 reference.
19642 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19644         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19645         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19647 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19649         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19650         (lmsnanval): New variables.
19651         (F): Add conversion tests.
19652         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19653         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19655         * stdio-common/tstdiomisc.c (F): Properly collect individual
19656         tests' results.
19658         [BZ #14686, #15336]
19659         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19660         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19661         Instead, use input NaN values or generate a qNaN by arithmetic
19662         operation.  Also fix bugs to comply with the standard.
19663         * math/libm-test.inc (remainder_test): Add more tests.
19665         [BZ #15335, #15342]
19666         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19667         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19668         input NaN values or generate a qNaN by arithmetic operation.
19670         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19671         unreachable code.
19673         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19674         definitions.
19676 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
19678         [BZ #14478]
19679         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19680         underflowed result.
19681         * math/s_cexpf.c (__cexpf): Likewise.
19682         * math/s_cexpl.c (__cexpl): Likewise.
19683         * math/libm-test.inc (cexp_test): Add more tests.
19685 2013-04-03  Andreas Schwab  <schwab@suse.de>
19687         [BZ #15330]
19688         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19689         order arrays from heap if bigger than alloca cutoff.
19691 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
19693         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19694         (SNAN_TESTS_double): Refer to GCC PR56831.
19695         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19696         GCC PR56828.
19698 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19700         * Rules (bench): Move bench.out after the run is complete.
19702         * Rules (bench): Echo currently running benchmark.
19704         * benchtests/Makefile (bench): Add atan and slowatan.
19705         * benchtests/atan-inputs: New file.
19706         * benchtests/slowatan-inputs: New file.
19707         * benchtests/slowatan.c: New file.
19709         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19710         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19711         its value.
19713         [BZ #15305]
19714         * sysdeps/unix/sysv/linux/kernel-features.h
19715         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19716         __ASSUME_XFS_RESTRICTED_CHOWN.
19717         * sysdeps/unix/sysv/linux/pathconf.c
19718         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19719         Save and restore errno.
19721 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
19723         [BZ #15327]
19724         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19725         arguments using __kernel_casinh.
19726         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19727         arguments using __kernel_casinhf.
19728         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19729         arguments using __kernel_casinhl.
19730         * math/libm-test.inc (cacosh_test): Add more tests.
19731         * sysdeps/i386/fpu/libm-test-ulps: Update.
19732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19734 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19736         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19737         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19739         * bench/Makefile (bench): Add sin and slowsin.
19740         * benchtests/sin-inputs: New file.
19741         * benchtests/slowsin-inputs: New file.
19742         * benchtests/slowsin.c: New file.
19744         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19745         (bench): Add slowexp and slowpow.
19746         (exp-ITER): Increase iterations.
19747         (pow-ITER): Likewise.
19748         * benchtests/exp-inputs: Change input.
19749         * benchtests/pow-inputs: Likewise.
19750         * benchtests/slowexp-inputs: New file.
19751         * benchtests/slowexp.c: New file.
19752         * benchtests/slowpow-inputs: New file.
19753         * benchtests/slowpow.c: New file.
19755 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19757         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19758         instructions.
19759         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19760         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19761         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19762         * benchtests/Makefile: Add rint benchtest.
19763         * benchtests/rint-inputs: Input for rint benchtest.
19765 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19767         * Versions.def (libm): Add GLIBC_2.18.
19768         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19769         hidden libm prototypes.
19770         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19771         * math/Makefile (libm-calls): Add s_issignaling.
19772         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19773         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
19774         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19775         declaration.
19776         * math/math.h [__USE_GNU] (issignaling): New macro.
19777         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19778         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19779         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19780         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19781         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19782         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19783         * manual/arith.texi (issignaling): New section.
19784         * manual/libm-err-tab.pl (@all_functions): Update comment.
19785         * math/gen-libm-test.pl (parse_args): Apply special handling for
19786         issignaling.
19787         * math/libm-test.inc (print_float, issignaling_test): New
19788         functions.
19789         (check_float_internal): Add issignaling checks.
19790         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19791         default definition.
19792         * sysdeps/powerpc/math-tests.h: New file.
19793         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19794         tests.
19795         * math/test-snan.c (TEST_FUNC): Likewise.
19797 2013-03-30  David S. Miller  <davem@davemloft.net>
19799         * po/de.po: Update from translation team.
19801 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
19803         [BZ #10357]
19804         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19805         imaginary part less than 1.0 and real part less than 0.5
19806         specially.
19807         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19808         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19809         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19810         (cacos_test): Add more tests.
19811         (casin_test): Likewise.
19812         (casinh_test): Likewise.
19813         * sysdeps/i386/fpu/libm-test-ulps: Update.
19814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19816 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19818         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19819         ONE with its value.
19821         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19822         (__pow_mp): Replace ONE and MONE with their values.
19823         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19824         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19825         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19826         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19827         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19828         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19830         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19832         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19833         (__pow_mp): Replace ZERO and MZERO with their values.
19834         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19835         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19836         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19837         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19838         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19839         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19840         (__sqr): Likewise.
19842         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19844         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19846 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19848         * include/stdlib.h [!SHARED] (__call_tls_dtors):
19849         Declare with __attribute__ ((weak)).
19850         * stdlib/exit.c (__libc_atexit) [!SHARED]:
19851         Call __call_tls_dtors only if it's not NULL.
19853 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19855         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19856         didn't do it already, then set _dl_phdr and _dl_phnum based on the
19857         magic __ehdr_start linker symbol if it's defined.
19858         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19859         them up here if it was already done.
19861         * elf/dl-support.c (_dl_phdr): Make pointer to const.
19862         (_dl_aux_init): Use const in cast when setting it.
19863         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19864         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19865         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19867         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19868         Declare them here.
19869         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19870         * csu/libc-tls.c: Nor here.
19871         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19873         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19874         (__libc_message): Never call vsyslog.
19876 2013-03-28  Alan Modra  <amodra@gmail.com>
19878         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19879         Define as empty.
19880         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19881         Likewise.
19883 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19885         [BZ #15214]
19886         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19887         underflow.
19888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19890 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19892         [BZ #15304]
19893         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19894         Don't add gid passed as argument.
19896         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19898 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
19900         [BZ #15307]
19901         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19902         imaginary part between 1.0 and 1.5 and real part less than 0.5
19903         specially.
19904         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19905         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19906         * math/libm-test.inc (cacos_test): Add more tests.
19907         (casin_test): Likewise.
19908         (casinh_test): Likewise.
19909         * sysdeps/i386/fpu/libm-test-ulps: Update.
19910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19912 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19914         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19915         constants.
19916         (norm): Likewise.
19917         (denorm): Likewise.
19918         (__dbl_mp): Likewise.
19919         (add_magnitudes): Likewise.
19920         (sub_magnitudes): Likewise.
19921         (__add): Likewise.
19922         (__sub): Likewise.
19923         (__mul): Likewise.
19924         (__sqr): Likewise.
19925         (__inv): Likewise.
19926         (__dvd): Likewise.
19928         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19929         commented code.
19930         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19931         (__dubcos): Likewise.
19932         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19933         (__ieee754_acos): Likewise.
19934         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19935         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19936         (__exp1): Likewise.
19937         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19938         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19939         (log1): Likewise.
19940         (my_log2): Likewise.
19941         (checkint): Likewise.
19942         * sysdeps/ieee754/dbl-64/e_remainder.c
19943         (__ieee754_remainder): Likewise.
19944         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19945         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19946         (bsloww): Likewise.
19947         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19949         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19950         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19951         MANTISSA_STORE_T to store computations on mantissa.  Use
19952         macros for rounding and division.
19953         (denorm): Likewise.
19954         (__dbl_mp): Likewise.
19955         (add_magnitudes): Likewise.
19956         (sub_magnitudes): Likewise.
19957         (__mul): Likewise.
19958         (__sqr): Likewise.
19959         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19960         powers of two in terms of TWOPOW macro.
19961         (mp_no): Make type of mantissa as MANTISSA_T.
19962         [!RADIXI]: Define RADIXI.
19963         [!TWO52]: Define TWO52.
19964         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19966 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19968         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19969         llroundl symbol when building for PPC32.
19971 2013-03-24  Mark H Weaver  <mhw@netris.org>
19973         * manual/arith.texi (Normalization Functions): Fix prototypes for
19974         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19976 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19978         [BZ #13889]
19979         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19980         high value to check if expl overflow.
19981         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19982         to check for underflow and overflow.
19983         * math/libm-test.inc: Add exp test.
19985 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
19987         [BZ #11120]
19988         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19989         with NOT_IN_libc.
19991 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19993         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19994         symbol.
19996 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19998         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19999         wrap blocks consisting of several statements.
20001         * sysdeps/generic/math-tests.h: New file.
20002         * sysdeps/i386/fpu/math-tests.h: Likewise.
20003         * math/test-snan.c: Include it.
20004         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20006 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20008         [BZ #15285]
20009         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20010         (__ieee754_j0l): Do not improve calculations using cos of twice
20011         input for inputs above LDBL_MAX / 2.0L.
20012         (__ieee754_y0l): Likewise.
20013         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20014         (__ieee754_j1l): Do not improve calculations using cos of twice
20015         input for inputs above LDBL_MAX / 2.0L.
20016         (__ieee754_y1l): Likewise.
20017         * math/libm-test.inc (j0_test): Add another test.
20018         (j1_test): Likewise.
20019         (y0_test): Likewise.
20020         (y1_test): Likewise.
20021         * sysdeps/i386/fpu/libm-test-ulps: Update.
20023 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20025         * Rules ($(objpfx)bench-%.c): Include code from a C source
20026         file.
20028 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20030         [BZ #15287]
20031         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20032         imaginary part 1.0 and real part less than 0.5 specially.
20033         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20034         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20035         * math/libm-test.inc (cacos_test): Add more tests.
20036         (casin_test): Likewise.
20037         (casinh_test): Likewise.
20038         * sysdeps/i386/fpu/libm-test-ulps: Update.
20039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20041 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20043         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20044         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20046 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20048         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20049         * config.make.in (config-cflags-sse4): Remove variable.
20050         (config-cflags-avx): Likewise.
20051         (config-cflags-sse2avx): Likewise.
20052         (config-cflags-novzeroupper): Likewise.
20053         (config-asflags-i686): Likewise.
20054         (have-mfma4): Likewise.
20055         (have-as-vis3): Likewise.
20056         (MIG): Likewise.
20057         * configure.in (MIG): Do not AC_SUBST.
20058         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20059         (libc_cv_cc_sse4): Do not AC_SUBST.
20060         (libc_cv_cc_avx): Likewise.
20061         (libc_cv_cc_sse2avx): Likewise.
20062         (libc_cv_cc_novzeroupper): Likewise.
20063         (libc_cv_cc_fma4): Likewise.
20064         (libc_cv_as_i686): Likewise.
20065         (libc_cv_sparc_as_vis3): Likewise.
20066         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20067         LIBC_CONFIG_VAR.
20068         (config-asflags-i686): Likewise.
20069         (config-cflags-avx): Likewise.
20070         (config-cflags-sse2avx): Likewise.
20071         (have-mfma4): Likewise.
20072         (config-cflags-novzeroupper): Likewise.
20073         * sysdeps/mach/configure.in (MIG): Likewise.
20074         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20075         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20076         LIBC_CONFIG_VAR.
20077         (config-cflags-avx): Likewise.
20078         (config-cflags-sse2avx): Likewise.
20079         (have-mfma4): Likewise.
20080         (config-cflags-novzeroupper): Likewise.
20081         * configure: Regenerated.
20082         * sysdeps/i386/configure: Likewise.
20083         * sysdeps/mach/configure: Likewise.
20084         * sysdeps/sparc/configure: Likewise.
20085         * sysdeps/x86_64/configure: Likewise.
20087 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20089         [BZ #14812]
20090         * locale/programs/localedef.c (options): Put N_ translation marker
20091         on argument names, not just descriptions.
20093 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20095         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20097 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20099         [BZ #14176]
20100         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20102 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20104         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20105         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20106         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20107         [!BEFORE_ABORT] (before_abort): New function.
20108         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20109         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20110         (writev_for_fatal): New function.
20111         (WRITEV_FOR_FATAL): New macro; call that.
20112         (backtrace_and_maps): New function.
20113         (BEFORE_ABORT): New macro; call that.
20114         (struct str_list): Type removed.
20115         (__libc_message, __libc_fatal): Functions removed.
20116         Include <sysdeps/posix/libc_fatal.c> instead.
20118 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20120         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20121         constants.
20122         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20123         double constants.
20125 2013-03-19  Andreas Schwab  <schwab@suse.de>
20127         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20128         * sysdeps/gnu/configure: Regenerate.
20130         * configure.in: Substitute libc_cv_rtlddir.
20131         * configure: Regenerate.
20132         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20133         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20134         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20135         * elf/Makefile (install-others, CFLAGS-interp.c)
20136         (ldso_install, common-ldd-rewrite): Likewise.
20137         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20138         $(inst_slibdir)/$(rtld-installed-name).
20139         * scripts/rellns-sh: Add -p option.
20140         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20141         for source.
20143 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20145         * manual/nptl.texi: Renamed to ...
20146         * manual/threads.texi: ... this.
20147         * manual/Makefile (chapters): Update.
20149 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20151         [BZ #14812]
20152         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20153         on argument names, not just descriptions.
20154         * malloc/memusagestat.c (options): Likewise.
20155         * nss/getent.c (options): Likewise.
20157 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20159         [BZ #14812]
20160         * iconv/iconv_prog.c (options): Put N_ translation marker
20161         on argument names, not just descriptions.
20162         * iconv/iconvconfig.c (options): Likewise.
20164 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20166         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20167         implementation which is faster on all x86_64 architectures.
20168         Tested on AMD, Intel Nehalem, SNB, IVB.
20169         * sysdeps/x86_64/strnlen.S: Likewise.
20171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20172         Remove all multiarch strlen and strnlen versions.
20173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20174         Remove strlen and strnlen related parts.
20176         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20177         Inline strlen part.
20178         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20180         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20181         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20182         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20183         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20184         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20185         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20187 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20189         * manual/memory.texi (Malloc Tunable Parameters):
20190         Sort parameters alphabetically. Add comments for missing entries.
20192 2013-03-17  David S. Miller  <davem@davemloft.net>
20194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20196 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20198         [BZ #15283]
20199         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20200         for arguments at most half maximum finite value.
20201         * math/libm-test.inc (j0_test): Add more tests.
20202         (j1_test): Likewise.
20203         (y0_test): Likewise.
20204         (y1_test): Likewise.
20205         * sysdeps/i386/fpu/libm-test-ulps: Update.
20206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20208         [BZ #14155]
20209         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20210         1 / x and functions P and Q for arguments above 0x1p256L.
20211         (__ieee754_y0l): Likewise.
20212         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20213         (__ieee754_y1l): Likewise.
20214         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20215         (j1_test): Likewise.
20216         (y0_test): Likewise.
20217         (y1_test): Likewise.
20219 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20221         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20222         variable.
20224 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20226         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20227         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20228         zero since it's initialized to EXEC_PAGESIZE.
20230         * sysdeps/unix/sysv/linux/ldsodefs.h
20231         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20232         * sysdeps/generic/ldsodefs.h: ... here.
20234 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20236         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20238         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20239         math/test-snan.c.
20240         * math/test-snan.c: Renamed from
20241         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20242         * math/Makefile (tests): Add test-snan.
20243         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20244         test-powerpc-snan.
20246         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20247         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20248         functions.
20249         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20250         __builtin_nan family of functions.
20251         * math/libm-test.inc (initialize): Initialize qnan_value with
20252         __builtin_nan family of functions.
20253         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20254         Remove variables.
20255         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20256         Remove functions.
20257         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20258         storage class.  Initialize qNaN_var and sNaN_var with
20259         __builtin_nan and __builtin_nans families of functions,
20260         respectively.
20262         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20263         (sqrt_test): Remove duplicate test with qNaN input.
20264         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20265         (round_test, signbit_test, significand_test): Note missing +/-Inf
20266         as well as qNaN tests.
20268         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20269         qNaN_var.  Fix a few strings, too.
20270         * math/libm-test.inc (nan_value): Rename to qnan_value.
20271         * math/gen-libm-test.pl (%beautify): Adjust to that.
20272         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20273         * math/test-misc.c (main): Likewise.
20274         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20275         to __qnan_bytes, and __qnan_union, respectively.
20276         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20277         Likewise.
20278         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20279         and lqnanval, respectively.
20280         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20281         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20282         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20283         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20285         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20286         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20287         doubles.
20289         * math/test-misc.c (main): Fix copy'n'pastos.
20290         * misc/tst-efgcvt.c (special): Likewise.
20292         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20293         Remove declarations.
20295 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20297         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20298         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20299         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20300         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20302 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20304         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20305         macro to return vdso values correctly in IFUNC implementations.
20306         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20307         Optimization by using IFUNC.
20309 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20310             Richard Henderson  <rth@redhat.com>
20311             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20313         * Makefile.in (bench): New target.
20314         * NEWS: Mention the benchmark framework.
20315         * Rules (bench): Likewise.
20316         (binaries-bench): Generate binaries for functions to
20317         benchmark.
20318         * benchtests/Makefile: New makefile for benchmark tests.
20319         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20320         programs.
20321         * benchtests/exp-inputs: New input file for EXP function.
20322         * benchtests/pow-inputs: New input file for POW function.
20323         * scripts/bench.pl: New script to generate source files for
20324         benchmark programs.
20326 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20328         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20329         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20330         computations on mantissa.  Use macros for rounding and
20331         division.
20332         (denorm): Likewise.
20333         (__dbl_mp): Likewise.
20334         (add_magnitudes): Likewise.
20335         (sub_magnitudes): Likewise.
20336         (__mul): Likewise.
20337         (__sqr): Likewise.
20338         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20339         powers of two in terms of TWOPOW macro.
20340         (mp_no): Make type of mantissa as MANTISSA_T.
20341         [!RADIXI]: Define RADIXI.
20342         [!TWO52]: Define TWO52.
20343         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20345         * manual/nptl.texi (cindex): Modify threads to pthreads.
20347 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
20349         * sysdeps/x86_64/preconfigure: Regenerated.
20351 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
20353         [BZ #14155]
20354         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20355         0x1p28 and above.
20356         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20357         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20358         0x1p28 and above.
20359         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20360         * math/libm-test.inc (j0_test): Do not allow one spurious
20361         underflow exception.
20362         (y1_test): Likewise.
20364 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20366         * manual/Makefile (chapters): Add nptl.
20367         * manual/debug.texi (Debugging Support): Add link to Threads
20368         chapter.
20369         * manual/nptl.texi: New file.
20371         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20373 2013-03-14  Petr Baudis  <pasky@ucw.cz>
20375         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20376         for non-NULL pointer before the memory validity test. Pointed
20377         out by Holger Brunck <holger.brunck@keymile.com>.
20379 2013-03-13  Andreas Schwab  <schwab@suse.de>
20381         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20382         instead of .os.
20384 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
20386         * timezone/zic.c: Update from tzcode 2013b.
20388 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
20390         * manual/install.texi (Configuring and compiling):
20391         Mention i686 and i586.
20392         * INSTALL: Regenerate.
20394 2013-03-12  Roland McGrath  <roland@hack.frob.com>
20396         * sysdeps/init_array/elf-init.c: New file.
20397         * csu/elf-init.c
20398         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20399         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20401         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20402         __gmon_start__ as global, but as static with a .preinit_array pointer.
20403         * sysdeps/init_array/gmon-start.c: New file.  Use that.
20404         * sysdeps/init_array/crti.S: New file, empty except for comments.
20405         * sysdeps/init_array/crtn.S: Likewise.
20407 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
20409         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20410         definining bcopy.
20411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20412         Remove Prefer_SSE_for_memop.
20413         * sysdeps/x86_64/multiarch/init-arch.h: Remove
20414         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20415         HAS_PREFER_SSE_FOR_MEMOP.
20416         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20417         memset-x86-64.
20418         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20419         Remove bzero, memset ifunc support.
20420         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20421         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20422         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20423         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20425 2013-03-11  Andreas Schwab  <schwab@suse.de>
20427         [BZ #15234]
20428         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20429         by SHLIB_COMPAT.
20430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20431         (GLIBC_2.16): Remove pthread_atfork.
20433 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20435         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20436         (ptestcases.h): Likewise.
20438 2013-03-08  Roland McGrath  <roland@hack.frob.com>
20440         * Makeconfig ($(common-objpfx)config.status): Depend on
20441         sysdeps/*/preconfigure{,.in} too.
20443 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
20445         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20446         (__free_hook): Use void * instead of __malloc_ptr_t.
20447         (__malloc_hook): Likewise.
20448         (__realloc_hook): Likewise.
20449         (__memalign_hook): Likewise.
20450         (__after_morecore_hook): Likewise.
20451         * malloc/arena.c (save_malloc_hook): Likewise.
20452         (save_free_hook): Likewise.
20453         * malloc/hooks.c (malloc_hook_ini): Likewise.
20454         (realloc_hook_ini): Likewise.
20455         (memalign_hook_ini): Likewise.
20456         * malloc/malloc.c (malloc_hook_ini): Likewise.
20457         (realloc_hook_ini): Likewise.
20458         (memalign_hook_ini): Likewise.
20459         (__free_hook): Likewise.
20460         (__malloc_hook): Likewise.
20461         (__realloc_hook): Likewise.
20462         (__memalign_hook): Likewise.
20463         (__libc_malloc): Likewise.
20464         (__libc_free): Likewise.
20465         (__libc_realloc): Likewise.
20466         (__libc_memalign): Likewise.
20467         (__libc_valloc): Likewise.
20468         (__libc_pvalloc): Likewise.
20469         (__libc_calloc): Likewise.
20470         (__posix_memalign): Likewise.
20471         * malloc/morecore.c (__sbrk): Likewise.
20472         (__default_morecore): Likewise.
20474         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20476         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20477         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20478         __malloc_ptrdiff_t.
20480         * malloc/malloc.h (__malloc_size_t): Remove macro.
20481         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20482         __malloc_size_t.
20483         (old_memalign_hook): Likewise.
20484         (old_realloc_hook): Likewise.
20485         (struct hdr): Likewise.
20486         (flood): Likewise.
20487         (mallochook): Likewise.
20488         (memalignhook): Likewise.
20489         (reallochook): Likewise.
20490         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20491         (tr_old_realloc_hook): Likewise.
20492         (tr_old_memalign_hook): Likewise.
20493         (tr_mallochook): Likewise.
20494         (tr_reallochook): Likewise.
20495         (tr_memalignhook): Likewise.
20497 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20499         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20500         default_ldbl_pack and using as default implementation.
20501         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20502         implementation.
20503         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20504         redundant definition.
20505         (ldbl_insert_mantissa): Likewise.
20506         (ldbl_canonicalize): Likewise.
20507         (ldbl_nearbyint): Likewise.
20508         (ldbl_pack): Rename to ldbl_pack_ppc.
20509         (ldbl_unpack): Rename to ldbl_unpack_ppc.
20510         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20511         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20513 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20516         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20517         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20518         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20519         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20520         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20521         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20522         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20524 2013-03-07  Andreas Jaeger  <aj@suse.de>
20526         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20527         bits/mman-linux.h.
20529 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20531         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20532         Include mpa.h and declare __MPEXP.
20533         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20534         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20535         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20536         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20537         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20538         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20539         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20541         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20542         (__slowpow): Use long double EXPL and LOGL functions to
20543         compute POW.
20544         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20545         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20546         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20547         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20548         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20549         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20551         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20552         intermediate variable to calculate exponent.
20553         (__sqr): Likewise.
20554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20555         Likewise.
20556         (__sqr): Likewise.
20558         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20559         [!NO__SQR]: Define __sqr.
20560         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20561         and NO__SQR.  Remove all code except __mul and __sqr.  Include
20562         sysdeps/ieee754/dbl-64/mpa.c.
20563         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20565         [BZ #12723]
20566         * posix/Makefile (tests): Add tst-pathconf.
20567         * posix/tst-pathconf.c: New test case.
20568         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20569         _PC_PIPE_BUF.
20570         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20572 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
20574         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20576 2013-03-06  Andreas Jaeger  <aj@suse.de>
20578         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20579         definition via __MAP_ANONYMOUS.
20581         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20582         it's not part of Linux headers.
20584         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20585         (MAP_HUGE_MASK): Define.
20587         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20588         Define.
20589         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20590         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20591         Define.
20592         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20593         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20594         Define.
20595         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20596         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20597         Define.
20598         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20600         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20601         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20602         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20603         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20604         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20605         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20607         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20608         Handle f2fs.
20610         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20611         Handle f2fs and efivarfs.
20613         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20614         f2fs.
20616         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20617         (EFIVARFS_MAGIC): Add.
20618         (F2FS_LINK_MAX): Add.
20620 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20622         * stdio-common/vfprintf.c: Replace __builtin_expect with
20623         __glibc_unlikely.
20625 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
20627         [BZ #13550]
20628         * sysdeps/generic/bp-sym.h: Remove file.
20629         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20630         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20631         <bp-sym.h> and <bp-asm.h>.
20632         (__longjmp): Don't use BP_SYM.
20633         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20634         and <bp-asm.h>.
20635         (memcpy): Don't use BP_SYM.
20636         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20637         <bp-sym.h> and <bp-asm.h>.
20638         (memcpy): Don't use BP_SYM.
20639         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20640         <bp-asm.h>.
20641         (memcpy): Don't use BP_SYM.
20642         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20643         <bp-asm.h>.
20644         (memset): Don't use BP_SYM.
20645         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20646         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20647         (__bzero): Don't use BP_SYM.
20648         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20649         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20650         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20651         <bp-sym.h> and <bp-asm.h>.
20652         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20653         pointers.
20654         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20655         <bp-sym.h> and <bp-asm.h>.
20656         (memcpy): Don't use BP_SYM.
20657         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20658         <bp-sym.h> and <bp-asm.h>.
20659         (memset): Don't use BP_SYM.
20660         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20661         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20662         (__bzero): Don't use BP_SYM.
20663         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20664         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20665         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20666         <bp-sym.h> and <bp-asm.h>.
20667         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20668         pointers.
20669         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20670         <bp-sym.h> and <bp-asm.h>.
20671         (memcpy): Don't use BP_SYM.
20672         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20673         <bp-sym.h> and <bp-asm.h>.
20674         (memset): Don't use BP_SYM.
20675         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20676         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20677         (__bzero): Don't use BP_SYM.
20678         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20679         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20680         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20681         <bp-sym.h> and <bp-asm.h>.
20682         (__memchr): Don't use BP_SYM.
20683         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20684         <bp-sym.h> and <bp-asm.h>.
20685         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20686         pointers.
20687         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20688         <bp-sym.h> and <bp-asm.h>.
20689         (memcpy): Don't use BP_SYM.
20690         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20691         <bp-sym.h> and <bp-asm.h>.
20692         (__mempcpy): Don't use BP_SYM.
20693         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20694         <bp-sym.h> and <bp-asm.h>.
20695         (__memrchr): Don't use BP_SYM.
20696         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20697         <bp-sym.h> and <bp-asm.h>.
20698         (memset): Don't use BP_SYM.
20699         (__bzero): Likewise.
20700         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20701         <bp-sym.h> and <bp-asm.h>.
20702         (__rawmemchr): Don't use BP_SYM.
20703         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20704         <bp-sym.h> and <bp-asm.h>.
20705         (__STRCMP): Don't use BP_SYM.
20706         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20707         <bp-sym.h> and <bp-asm.h>.
20708         (strchr): Don't use BP_SYM.
20709         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20710         <bp-sym.h> and <bp-asm.h>.
20711         (__strchrnul): Don't use BP_SYM.
20712         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20713         <bp-sym.h> and <bp-asm.h>.
20714         (strlen): Don't use BP_SYM.
20715         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20716         <bp-sym.h> and <bp-asm.h>.
20717         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20718         pointers.
20719         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20720         <bp-sym.h> and <bp-asm.h>.
20721         (__strnlen): Don't use BP_SYM.
20722         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20723         <bp-sym.h> and <bp-asm.h>.
20724         (__GI__setjmp): Don't use BP_SYM.
20725         (_setjmp): Likewise.
20726         (__sigsetjmp): Likewise.
20727         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20728         (L(start_addresses)): Don't use BP_SYM.
20729         (_start): Likewise.
20730         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20731         <bp-asm.h>.
20732         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20733         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20734         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20735         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20736         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20737         <bp-asm.h>.
20738         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20739         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
20740         about bounded pointers.
20741         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20742         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20743         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20744         <bp-asm.h>.
20745         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20746         about bounded pointers.  Remove GKM FIXME comments.
20747         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20748         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20749         <bp-asm.h>.
20750         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20751         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
20752         Remove GKM FIXME comments.
20753         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20754         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20755         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20756         <bp-asm.h>.
20757         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20758         about bounded pointers.  Remove GKM FIXME comment.
20759         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20760         and <bp-asm.h>.
20761         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20762         pointers.
20763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20764         <bp-sym.h> and <bp-asm.h>.
20765         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20767         <bp-sym.h> and <bp-asm.h>.
20768         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20769         comment.
20771 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20773         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20774         call free(NULL).
20776 2013-03-05  David S. Miller  <davem@davemloft.net>
20778         * po/es.po: Update from translation team.
20780 2013-03-05  Andreas Jaeger  <aj@suse.de>
20782         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20783         <bits/mman-linux.h>.
20784         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20785         is fine.
20786         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20787         <bits/mman-linux.h> to end of file.
20788         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20789         is fine.
20790         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20791         <bits/mman-linux.h> to end of file.
20792         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20793         is fine.
20794         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20795         <bits/mman-linux.h> to end of file.
20797         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20798         (MCL_CURRENT, MCL_FUTURE): Define here.
20800 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20802         [BZ #15232]
20803         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20804         attribute_hidden.
20805         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20807 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20809         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20810         fourth parameter needed for rt_sigprocmask syscall.
20811         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20812         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20813         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20814         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20815         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20816         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20818 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
20820         [BZ #13550]
20821         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20822         comment about bounded pointers.
20823         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20824         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20826 2013-03-04  Andreas Jaeger  <aj@suse.de>
20828         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20829         common definitions.
20831         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20832         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20833         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20834         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20835         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20836         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20838 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20840         [BZ #15055]
20841         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20842         __ieee754_sqrl instead of __sqrl.
20844 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
20846         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20847         * sysdeps/powerpc/fpu_control.h: ... here.
20848         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20849         * sysdeps/powerpc/bits/fenvinline.h: ... here.
20850         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20851         * sysdeps/powerpc/bits/mathinline.h: ... here.
20853 2013-03-01  Roland McGrath  <roland@hack.frob.com>
20855         * elf/dl-hwcaps.c (_dl_important_hwcaps):
20856         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20857         to just [NEED_DL_SYSINFO_DSO].
20858         * elf/dl-support.c: Likewise.
20859         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20860         * elf/rtld.c (dl_main): Likewise.
20861         * elf/setup-vdso.h (setup_vdso): Likewise.
20862         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20863         * sysdeps/unix/sysv/linux/dl-sysdep.c
20864         (_dl_discover_osversion): Likewise.
20866 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
20868         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20869         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20871 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20873         * NEWS: Mention libm performance improvements and non-x86 PI
20874         futex support.
20876         * csu/libc-start.c (__pthread_initialize_minimal): Change
20877         function arguments.
20878         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20880 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
20882         [BZ #13550]
20883         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20884         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20885         <bp-sym.h> and <bp-asm.h>.
20886         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20887         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20888         and <bp-asm.h>.
20889         (memcpy): Don't use BP_SYM.
20890         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20891         <bp-asm.h>.
20892         (__mpn_add_n): Don't use BP_SYM.
20893         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20894         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20895         and <bp-asm.h>.
20896         (__mpn_addmul_1): Don't use BP_SYM.
20897         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20898         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20899         <bp-sym.h>.
20900         (_setjmp): Don't use BP_SYM.
20901         (__novmx_setjmp): Likewise.
20902         (__GI__setjmp): Likewise.
20903         (__vmx_setjmp): Likewise.
20904         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20905         <bp-sym.h>.
20906         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20907         (__bzero): Don't use BP_SYM.
20908         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20909         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20910         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20911         <bp-sym.h> and <bp-asm.h>.
20912         (memcpy): Don't use BP_SYM.
20913         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20914         <bp-sym.h> and <bp-asm.h>.
20915         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20916         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20917         <bp-sym.h> and <bp-asm.h>.
20918         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20919         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20920         <bp-asm.h>.
20921         (__mpn_lshift): Don't use BP_SYM.
20922         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20923         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20924         <bp-asm.h>.
20925         (memset): Don't use BP_SYM.
20926         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20927         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20928         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20929         <bp-asm.h>.
20930         (__mpn_mul_1): Don't use BP_SYM.
20931         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20932         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20933         <bp-sym.h> and <bp-asm.h>.
20934         (memcmp): Don't use BP_SYM.
20935         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20936         <bp-sym.h> and <bp-asm.h>.
20937         (memcpy): Don't use BP_SYM.
20938         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20939         <bp-sym.h> and <bp-asm.h>.
20940         (memset): Don't use BP_SYM.
20941         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20942         <bp-sym.h> and <bp-asm.h>.
20943         (strncmp): Don't use BP_SYM.
20944         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20945         <bp-sym.h> and <bp-asm.h>.
20946         (memcpy): Don't use BP_SYM.
20947         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20948         <bp-sym.h> and <bp-asm.h>.
20949         (memset): Don't use BP_SYM.
20950         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20951         <bp-sym.h> and <bp-asm.h>.
20952         (__memchr): Don't use BP_SYM.
20953         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20954         <bp-sym.h> and <bp-asm.h>.
20955         (memcmp): Don't use BP_SYM.
20956         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20957         <bp-sym.h> and <bp-asm.h>.
20958         (memcpy): Don't use BP_SYM.
20959         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20960         <bp-sym.h> and <bp-asm.h>.
20961         (__mempcpy): Don't use BP_SYM.
20962         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20963         <bp-sym.h> and <bp-asm.h>.
20964         (__memrchr): Don't use BP_SYM.
20965         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20966         <bp-sym.h> and <bp-asm.h>.
20967         (memset): Don't use BP_SYM.
20968         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20969         <bp-sym.h> and <bp-asm.h>.
20970         (__rawmemchr): Don't use BP_SYM.
20971         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20972         <bp-sym.h> and <bp-asm.h>.
20973         (__STRCMP): Don't use BP_SYM.
20974         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20975         <bp-sym.h> and <bp-asm.h>.
20976         (strchr): Don't use BP_SYM.
20977         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20978         <bp-sym.h> and <bp-asm.h>.
20979         (__strchrnul): Don't use BP_SYM.
20980         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20981         <bp-sym.h> and <bp-asm.h>.
20982         (strlen): Don't use BP_SYM.
20983         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20984         <bp-sym.h> and <bp-asm.h>.
20985         (strncmp): Don't use BP_SYM.
20986         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20987         <bp-sym.h> and <bp-asm.h>.
20988         (__strnlen): Don't use BP_SYM.
20989         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20990         <bp-asm.h>.
20991         (__mpn_rshift): Don't use BP_SYM.
20992         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20993         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20994         <bp-sym.h> and <bp-asm.h>.
20995         (__sigsetjmp): Don't use BP_SYM.
20996         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20997         (L(start_addresses)): Don't use BP_SYM.
20998         (_start): Likewise.
20999         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21000         <bp-asm.h>.
21001         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21002         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21003         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21004         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21005         <bp-asm.h>.
21006         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21007         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21008         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21009         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21010         <bp-asm.h>.
21011         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21012         comments.
21013         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21014         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21015         <bp-asm.h>.
21016         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21017         FIXME comments.
21018         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21019         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21020         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21021         <bp-asm.h>.
21022         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21023         comment.
21024         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21025         and <bp-asm.h>.
21026         (strncmp): Don't use BP_SYM,
21027         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21028         <bp-asm.h>.
21029         (__mpn_sub_n): Don't use BP_SYM.
21030         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21031         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21032         and <bp-asm.h>.
21033         (__mpn_submul_1): Don't use BP_SYM.
21034         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21036         <bp-sym.h> and <bp-asm.h>.
21037         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21039         <bp-sym.h> and <bp-asm.h>.
21040         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21041         comment.
21043 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21046         Use ZK to minimize writes to Z.
21047         (sub_magnitudes): Simplify code a bit.
21048         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21049         Use ZK to minimize writes to Z.
21050         (sub_magnitudes): Simplify code a bit.
21052 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21054         * csu/gmon-start.c: Add special exception to license text.
21056 2013-02-27  Richard Henderson  <rth@redhat.com>
21058         * scripts/config.guess: Update from config.git.
21059         * scripts/config.sub: Likewise.
21061 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21063         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21065         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21067         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21069         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21071         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21073 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21075         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21076         [$(build-shared = yes].
21078 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21080         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21081         (__mul): Reduce iterations for calculating mantissa.
21083         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21084         MPTWO.
21085         (__mpranred): Likewise.
21087         [BZ #15160]
21088         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21089         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21091 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21093         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21094         Define __attribute__.
21096 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21098         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21099         unused.
21100         * posix/regex_internal.h (__attribute): Remove.
21101         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21102         (re_string_context_at): Likewise.
21103         (bitset_not): Use __attribute__ and mark function as possibly
21104         unused.
21105         (bitset_merge): Likewise.
21106         (bitset_mask): Likewise.
21107         (re_string_char_size_at): Likewise.
21108         (re_string_wchar_at): Likewise.
21109         (re_string_elem_size_at): Likewise.
21111 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21113         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21114         code.
21115         (cc32): Likewise.
21117         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21118         (__acr): Likewise.
21119         (__cpy): Likewise.
21120         (norm): Likewise.
21121         (denorm): Likewise.
21122         (__dbl_mp): Likewise.
21123         (add_magnitudes): Likewise.
21124         (sub_magnitudes): Likewise.
21125         (__mul): Likewise.
21126         (__inv): Likewise.
21128         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21129         style.
21131         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21132         style.
21134         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21135         code.
21137         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21138         up changes with default code.
21139         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21140         Likewise.
21142 2013-02-24  Allan McRae  <allan@archlinux.org>
21144         * manual/socket.texi (The Internet Namespace): Order menu items
21145         to match that in the file.
21147         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21148         node listing of the info page menu.
21150 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21152         [BZ #13550]
21153         * sysdeps/i386/bp-asm.h: Remove file.
21154         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21155         (PARMS): Do not use macros from bp-asm.h.
21156         (S1): Likewise.
21157         (S2): Likewise.
21158         (SIZE): Likewise.
21159         (__mpn_add_n): Do not use BP_SYM
21160         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21161         "bp-asm.h".
21162         (PARMS): Do not use macros from bp-asm.h.
21163         (S1): Likewise.
21164         (SIZE): Likewise.
21165         (__mpn_addmul_1): Do not use BP_SYM
21166         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21167         "bp-asm.h".
21168         (PARMS): Do not use macros from bp-asm.h.
21169         (SIGMSK): Likewise.
21170         (_setjmp): Likewise.  Do not use BP_SYM.
21171         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21172         "bp-asm.h".
21173         (PARMS): Do not use macros from bp-asm.h.
21174         (SIGMSK): Likewise.
21175         (setjmp): Likewise.  Do not use BP_SYM.
21176         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21177         "bp-asm.h".
21178         (PARMS): Do not use macros from bp-asm.h.
21179         (__frexp): Do not use BP_SYM.
21180         (frexp): Likewise.
21181         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21182         "bp-asm.h".
21183         (PARMS): Do not use macros from bp-asm.h.
21184         (__frexpf): Do not use BP_SYM.
21185         (frexpf): Likewise.
21186         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21187         "bp-asm.h".
21188         (PARMS): Do not use macros from bp-asm.h.
21189         (__frexpl): Do not use BP_SYM.
21190         (frexpl): Likewise.
21191         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21192         "bp-asm.h".
21193         (PARMS): Do not use macros from bp-asm.h.
21194         (__remquo): Do not use BP_SYM.
21195         (remquo): Likewise.
21196         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21197         "bp-asm.h".
21198         (PARMS): Do not use macros from bp-asm.h.
21199         (__remquof): Do not use BP_SYM.
21200         (remquof): Likewise.
21201         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21202         "bp-asm.h".
21203         (PARMS): Do not use macros from bp-asm.h.
21204         (__remquol): Do not use BP_SYM.
21205         (remquol): Likewise.
21206         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21207         "bp-asm.h".
21208         (PARMS): Do not use macros from bp-asm.h.
21209         (DEST): Likewise.
21210         (SRC): Likewise.
21211         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21212         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21213         "bp-asm.h".
21214         (PARMS): Do not use macros from bp-asm.h.
21215         (strlen): Do not use BP_SYM.
21216         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21217         "bp-asm.h".
21218         (PARMS): Do not use macros from bp-asm.h.
21219         (S1): Likewise.
21220         (S2): Likewise.
21221         (SIZE): Likewise.
21222         (__mpn_add_n): Do not use BP_SYM.
21223         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21224         "bp-asm.h".
21225         (PARMS): Do not use macros from bp-asm.h.
21226         (S1): Likewise.
21227         (SIZE): Likewise.
21228         (__mpn_addmul_1): Do not use BP_SYM.
21229         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21230         weak_alias.
21231         (bzero): Likewise.
21232         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21233         "bp-asm.h".
21234         (PARMS): Do not use macros from bp-asm.h.
21235         (S): Likewise.
21236         (SIZE): Likewise.
21237         (__mpn_lshift): Do not use BP_SYM.
21238         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21239         "bp-asm.h".
21240         (PARMS): Do not use macros from bp-asm.h.
21241         (DEST): Likewise.
21242         (SRC): Likewise.
21243         (LEN): Likewise.
21244         (memcpy): Likewise.  Do not use BP_SYM.
21245         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21246         libc_hidden_def and weak_alias.
21247         (mempcpy): Do not use BP_SYM in weak_alias.
21248         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
21253         [!BZERO_P] (CHR): Likewise.
21254         (memset): Likewise.  Do not use BP_SYM.
21255         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21256         "bp-asm.h".
21257         (PARMS): Do not use macros from bp-asm.h.
21258         (S1): Likewise.
21259         (SIZE): Likewise.
21260         (__mpn_mul_1): Do not use BP_SYM.
21261         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21262         "bp-asm.h".
21263         (PARMS): Do not use macros from bp-asm.h.
21264         (S): Likewise.
21265         (SIZE): Likewise.
21266         (__mpn_rshift): Do not use BP_SYM.
21267         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21268         "bp-asm.h".
21269         (PARMS): Do not use macros from bp-asm.h.
21270         (STR): Likewise.
21271         (CHR): Likewise.
21272         (strchr): Likewise.  Do not use BP_SYM.
21273         (index): Do not use BP_SYM in weak_alias.
21274         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21275         "bp-asm.h".
21276         (PARMS): Do not use macros from bp-asm.h.
21277         (DEST): Likewise.
21278         (SRC): Likewise.
21279         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21280         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21281         "bp-asm.h".
21282         (PARMS): Do not use macros from bp-asm.h.
21283         (strlen): Do not use BP_SYM.
21284         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21285         "bp-asm.h".
21286         (PARMS): Do not use macros from bp-asm.h.
21287         (S1): Likewise.
21288         (S2): Likewise.
21289         (SIZE): Likewise.
21290         (__mpn_sub_n): Do not use BP_SYM.
21291         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21292         "bp-asm.h".
21293         (PARMS): Do not use macros from bp-asm.h.
21294         (S1): Likewise.
21295         (SIZE): Likewise.
21296         (__mpn_submul_1): Do not use BP_SYM.
21297         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
21302         (SIZE): Likewise.
21303         (__mpn_add_n): Do not use BP_SYM.
21304         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21305         weak_alias.
21306         (bzero): Likewise.
21307         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21308         "bp-asm.h".
21309         (PARMS): Do not use macros from bp-asm.h.
21310         (BLK2): Likewise.
21311         (LEN): Likewise.
21312         (memcmp): Do not use BP_SYM.
21313         (bcmp): Do not use BP_SYM in weak_alias.
21314         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21315         "bp-asm.h".
21316         (PARMS): Do not use macros from bp-asm.h.
21317         (DEST): Likewise.
21318         (SRC): Likewise.
21319         (LEN): Likewise.
21320         (memcpy): Likewise.  Do not use BP_SYM.
21321         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21322         "bp-asm.h".
21323         (PARMS): Do not use macros from bp-asm.h.
21324         (DEST): Likewise.
21325         (SRC): Likewise.
21326         (LEN): Likewise.
21327         (memmove): Likewise.  Do not use BP_SYM.
21328         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21329         "bp-asm.h".
21330         (PARMS): Do not use macros from bp-asm.h.
21331         (DEST): Likewise.
21332         (SRC): Likewise.
21333         (LEN): Likewise.
21334         (__mempcpy): Likewise.  Do not use BP_SYM.
21335         (mempcpy): Do not use BP_SYM in weak_alias.
21336         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21337         "bp-asm.h".
21338         (PARMS): Do not use macros from bp-asm.h.
21339         (DEST): Likewise.
21340         (LEN): Likewise.
21341         [!BZERO_P] (CHR): Likewise.
21342         (memset): Likewise.  Do not use BP_SYM.
21343         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21344         "bp-asm.h".
21345         (PARMS): Do not use macros from bp-asm.h.
21346         (STR2): Likewise.
21347         (strcmp): Do not use BP_SYM.
21348         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21349         "bp-asm.h".
21350         (PARMS): Do not use macros from bp-asm.h.
21351         (STR): Likewise.
21352         (DELIM): Likewise.
21353         [USE_AS_STRTOK_R] (SAVE): Likewise.
21354         (FUNCTION): Likewise.  Do not use BP_SYM.
21355         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21356         aliases.
21357         (strtok_r): Likewise.
21358         (__GI___strtok_r): Likewise.
21359         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21360         (PARMS): Do not use macros from bp-asm.h.
21361         (S): Likewise.
21362         (SIZE): Likewise.
21363         (__mpn_lshift): Do not use BP_SYM.
21364         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21365         (PARMS): Do not use macros from bp-asm.h.
21366         (STR): Likewise.
21367         (CHR): Likewise.
21368         (__memchr): Do not use BP_SYM.
21369         (memchr): Do not use BP_SYM in weak_alias.
21370         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21371         (PARMS): Do not use macros from bp-asm.h.
21372         (BLK2): Likewise.
21373         (LEN): Likewise.
21374         (memcmp): Do not use BP_SYM.
21375         (bcmp): Do not use BP_SYM in weak_alias.
21376         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21377         (PARMS): Do not use macros from bp-asm.h.
21378         (S1): Likewise.
21379         (SIZE): Likewise.
21380         (__mpn_mul_1): Do not use BP_SYM.
21381         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21382         "bp-asm.h".
21383         (PARMS): Do not use macros from bp-asm.h.
21384         (STR): Likewise.
21385         (CHR): Likewise.
21386         (__rawmemchr): Do not use BP_SYM.
21387         (rawmemchr): Do not use BP_SYM in weak_alias.
21388         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21389         (PARMS): Do not use macros from bp-asm.h.
21390         (S): Likewise.
21391         (SIZE): Likewise.
21392         (__mpn_rshift): Do not use BP_SYM.
21393         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21394         (PARMS): Do not use macros from bp-asm.h.
21395         (SIGMSK): Likewise.
21396         (__sigsetjmp): Likewise.  Do not use BP_SYM.
21397         * sysdeps/i386/start.S: Do not include "bp-sym.h".
21398         (_start): Do not use BP_SYM.
21399         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21400         (PARMS): Do not use macros from bp-asm.h.
21401         (DEST): Likewise.
21402         (SRC): Likewise.
21403         (__stpcpy): Likewise.  Do not use BP_SYM.
21404         (stpcpy): Do not use BP_SYM in weak_alias.
21405         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21406         "bp-asm.h".
21407         (PARMS): Do not use macros from bp-asm.h.
21408         (DEST): Likewise.
21409         (SRC): Likewise.
21410         (LEN): Likewise.
21411         (__stpncpy): Likewise.  Do not use BP_SYM.
21412         (stpncpy): Do not use BP_SYM in weak_alias.
21413         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21414         (PARMS): Do not use macros from bp-asm.h.
21415         (STR): Likewise.
21416         (CHR): Likewise.
21417         (strchr): Likewise.  Do not use BP_SYM.
21418         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21419         "bp-asm.h".
21420         (PARMS): Do not use macros from bp-asm.h.
21421         (STR): Likewise.
21422         (CHR): Likewise.
21423         (__strchrnul): Likewise.  Do not use BP_SYM.
21424         (strchrnul): Do not use BP_SYM in weak_alias.
21425         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21426         "bp-asm.h".
21427         (PARMS): Do not use macros from bp-asm.h.
21428         (STOP): Likewise.
21429         (strcspn): Do not use BP_SYM.
21430         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21431         "bp-asm.h".
21432         (PARMS): Do not use macros from bp-asm.h.
21433         (STR): Likewise.
21434         (STOP): Likewise.
21435         (strpbrk): Likewise.  Do not use BP_SYM.
21436         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21437         "bp-asm.h".
21438         (PARMS): Do not use macros from bp-asm.h.
21439         (STR): Likewise.
21440         (CHR): Likewise.
21441         (strrchr): Likewise.  Do not use BP_SYM.
21442         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21443         (PARMS): Do not use macros from bp-asm.h.
21444         (SKIP): Likewise.
21445         (strspn): Do not use BP_SYM.
21446         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21447         (PARMS): Do not use macros from bp-asm.h.
21448         (STR): Likewise.
21449         (DELIM): Likewise.
21450         (SAVE): Likewise.
21451         (FUNCTION): Likewise.  Do not use BP_SYM.
21452         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21453         aliases.
21454         (strtok_r): Likewise.
21455         (__GI___strtok_r): Likewise.
21456         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21457         (PARMS): Do not use macros from bp-asm.h.
21458         (S1): Likewise.
21459         (S2): Likewise.
21460         (SIZE): Likewise.
21461         (__mpn_sub_n): Do not use BP_SYM.
21462         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21463         "bp-asm.h".
21464         (PARMS): Do not use macros from bp-asm.h.
21465         (S1): Likewise.
21466         (SIZE): Likewise.
21467         (__mpn_submul_1): Do not use BP_SYM.
21468         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21469         <bp-sym.h>.
21470         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21471         and <bp-asm.h>.
21472         (PARMS): Do not use macros from bp-asm.h.
21473         (FLAGS): Likewise.
21474         (PTID): Likewise.
21475         (TLS): Likewise.
21476         (CTID): Likewise.
21477         (__clone): Do not use BP_SYM.
21478         (clone): Do not use BP_SYM in weak_alias.
21479         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21480         and <bp-asm.h>.
21481         (PARMS): Do not use macros from bp-asm.h.
21482         (LEN): Likewise.
21483         (__mmap64): Do not use BP_SYM.
21484         (mmap64): Do not use BP_SYM in weak_alias.
21485         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21486         <bp-sym.h> and <bp-asm.h>.
21487         (PARMS): Do not use macros from bp-asm.h.
21488         (__posix_fadvise64_l64): Do not use BP_SYM.
21489         * sysdeps/unix/sysv/linux/i386/semtimedop.S
21490         (PARMS): Do not use macros from bp-asm.h.
21491         (NSOPS): Likewise.
21492         (semtimedop): Do not use BP_SYM.
21493         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21494         and <bp-asm.h>.
21496 2013-02-21  Allan McRae  <allan@archlinux.org>
21498         * manual/message.texi (Charset conversion in gettext):
21499         Move @end statement to beginning of line.
21501 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21504         static.
21505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21506         Likewise.
21508         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21509         (denorm): Likewise.
21510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21511         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21513 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21515         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21516         tail-call to the resolved function if pltexit isn't needed.
21518 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21521         or Y being zero as being unlikely.
21522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21523         Likewise.
21525 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
21527         * manual/nss.texi (System Databases and Name Service Switch):
21528         Remove frobnicate @pxref.
21530 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21532         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21533         __attribute__ ((unused)) to __attribute__ ((__unused__)).
21535 2013-02-20  Petr Machata  <pmachata@redhat.com>
21537         * elf/elf.h (R_ARM_TARGET1): New macro.
21538         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21539         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21540         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21541         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21542         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21543         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21544         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21545         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21546         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21547         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21548         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21549         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21550         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21551         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21552         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21553         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21554         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21555         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21556         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21557         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21558         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21559         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21560         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21561         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21562         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21563         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21564         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21565         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21566         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21567         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21568         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21569         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21570         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21571         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21572         (R_ARM_THM_GOT_BREL12): Likewise.
21573         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21574         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21575         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21576         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21577         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21578         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21579         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21580         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21581         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21583 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21585         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21586         __attribute_used__ to __attribute__ ((unused)).
21588 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21590         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21591         powerpc mpa.c.
21592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21593         comment formatting.
21594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21596 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
21598         [BZ #13550]
21599         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21600         Remove macro.
21601         (ENTER): Remove both macro definitions.
21602         (LEAVE): Likewise.
21603         (CHECK_BOUNDS_LOW): Likewise.
21604         (CHECK_BOUNDS_HIGH): Likewise.
21605         (CHECK_BOUNDS_BOTH): Likewise.
21606         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21607         (RETURN_BOUNDED_POINTER): Likewise.
21608         (RETURN_NULL_BOUNDED_POINTER): Likewise.
21609         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21610         (POP_ERRNO_LOCATION_RETURN): Likewise.
21611         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21612         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21613         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21614         macros.
21615         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21616         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21617         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21618         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21619         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21620         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21621         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21622         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21623         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21624         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21625         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21626         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21627         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21628         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21629         removed macros.
21630         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21631         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21632         macros.
21633         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21634         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21635         * sysdeps/i386/i586/memset.S (memset): Likewise.
21636         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21637         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21638         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21639         macros.
21640         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21641         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21642         Change uses of L(2) to L(out).
21643         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21644         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21645         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21646         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21647         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21648         removed macros.
21649         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21650         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21651         macros.
21652         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21653         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21654         (RETURN): Do not use macro LEAVE.
21655         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21656         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21657         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21658         * sysdeps/i386/i686/memset.S (memset): Likewise.
21659         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21660         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21661         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21662         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21663         Likewise.
21664         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21665         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
21666         L(1_2) and L(1_3) into L(1).
21667         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21668         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21669         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21670         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21671         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21672         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21673         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21674         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21675         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21676         macros.
21677         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21678         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21679         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21680         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21681         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21682         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21683         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21684         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21685         * sysdeps/i386/strcspn.S (strcspn): Likewise.
21686         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21687         * sysdeps/i386/strrchr.S (strrchr): Likewise.
21688         * sysdeps/i386/strspn.S (strspn): Likewise.
21689         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21690         conditional code.
21691         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21692         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21693         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21694         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
21695         L(1_3) into L(1_1).
21696         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21697         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21698         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21699         macros.
21700         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21702 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
21704         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21705         macro.
21707 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21709         * math/atest-exp.c (exp_mpn): Remove ROUND.
21710         * math/atest-exp2.c (exp_mpn): Likewise.
21711         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21713         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21714         * stdlib/tst-tls-atexit-lib.c: Likewise.
21715         * stdlib/tst-tls-atexit.c: Likewise.
21717 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21719         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21720         and __attribute_alloc_size__.
21722 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21724         * include/programs/xmalloc.h: Change __attribute_alloc_size to
21725         __attribute_alloc_size__.
21726         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21727         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21729 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21731         * include/programs/xmalloc.h: New file.
21732         * catgets/gencat.c: Include it.
21733         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21734         * elf/pldd.c: Likewise.
21735         * iconv/iconv_charmap.c: Likewise.
21736         * iconv/iconvconfig.c: Likewise.
21737         * iconv/strtab.c: Likewise.
21738         * locale/programs/locale.c: Likewise.
21739         * locale/programs/localedef.h: Likewise.
21740         * locale/programs/simple-hash.c: Likewise.
21741         * nscd/nscd.h: Likewise.
21742         * nss/makedb.c: Likewise.
21743         * sysdeps/generic/ldconfig.h: Likewise.
21745 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21747         * Versions.def: Add GLIBC_2.18.
21748         * include/link.h (struct link_map): New member l_tls_dtor_count.
21749         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21750         (__call_tls_dtors): Likewise.
21751         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21752         __cxa_thread_atexit_impl.
21753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21754         Likewise.
21755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21756         Likewise.
21757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21758         Likewise.
21759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21760         Likewise.
21761         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21763         Likewise.
21764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21765         Likewise.
21766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21768         Likewise.
21769         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21770         (tests): Add test case tst-tls-atexit.
21771         (modules-names): Add shared library for tst-tls-atexit.
21772         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21773         (GLIBC_PRIVATE): Add __call_tls_dtors.
21774         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21775         for libstdc++.
21776         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21777         * stdlib/tst-tls-atexit.c: New test case.
21778         * stdlib/tst-tls-atexit-lib.c: New test case.
21780         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21782         * elf/Versions (ld): Add _dl_find_dso_for_object.
21783         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21784         * elf/dl-open.c (_dl_find_dso_for_object): New function.
21785         (dl_open_worker): Use _dl_find_dso_for_object.
21786         * elf/dl-sym.c (do_sym): Likewise.
21787         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21789 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21791         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21792         Syntactic changes only.
21793         (_dl_runtime_profile): Do a tail-call to the resolved function.
21795 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
21797         [BZ #13550]
21798         * sysdeps/x86_64/bp-asm.h: Remove file.
21799         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21800         <bp-sym.h> and <bp-asm.h>.
21801         (__clone): Do not use BP_SYM.
21802         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21803         <bp-sym.h> and <bp-asm.h>.
21804         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21805         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21806         "bp-asm.h".
21807         (_setjmp): Do not use BP_SYM.
21808         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21809         "bp-asm.h".
21810         (setjmp): Do not use BP_SYM.
21811         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21812         libc_hidden_def.
21813         (mempcpy): Do not use BP_SYM in weak_alias.
21814         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21815         "bp-asm.h".
21816         (strchr): Do not use BP_SYM.
21817         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21818         "bp-asm.h".
21819         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21820         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21821         (_start): Do not use BP_SYM.
21822         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21823         "bp-asm.h".
21824         (strcat): Do not use BP_SYM.
21825         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21826         "bp-asm.h".
21827         (STRCMP): Do not use BP_SYM.
21828         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21829         "bp-asm.h".
21830         (STRCPY): Do not use BP_SYM.
21831         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21832         "bp-asm.h".
21833         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21834         "bp-asm.h".
21835         (FUNCTION): Do not use BP_SYM.
21836         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21837         weak_alias.
21838         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21840 2013-02-17  Andreas Jaeger  <aj@suse.de>
21842         * time/Versions: Sort entries.
21843         * string/Versions: Likewise.
21844         * resolv/Versions: Likewise.
21845         * posix/Versions: Likewise.
21846         * iconv/Versions: Likewise.
21847         * elf/Versions: Likewise.
21848         * wcsmbs/Versions: Likewise.
21850 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21852         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21853         loop termination condition.
21855         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21856         variable to calculate EZ.
21857         (__sqr): Likewise.
21859         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21860         the lower precision input.
21862 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
21864         [BZ #13550]
21865         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21866         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21867         (run-via-rtld-prefix): Do not handle %-bp tests.
21868         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21869         (all-object-suffixes): Remove .ob.
21870         (bppfx): Remove variable.
21871         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21872         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21873         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21874         [$(build-bounded) = yes] (libtype.ob): Likewise.
21875         * Makerules (elide-routines.ob): Remove variable.
21876         (do-tests-clean): Do not handle *-bp.out.
21877         (common-mostlyclean): Do not handle *-bp and *-bp.out.
21878         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21879         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21880         (tests): Do not include $(tests-bp.out).
21881         (xtests): Do not include $(xtests-bp.out).
21882         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21883         [$(build-bounded) = yes] ($(addprefix
21884         $(objpfx),$(binaries-bounded))): Remove rule.
21885         ($(objpfx)%-bp.out): Remove rule.
21886         * config.make.in (build-bounded): Remove variable.
21887         * crypt/Makefile [$(build-bounded) = yes]
21888         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21889         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21890         append to variable.
21891         [$(build-bounded) = yes] (install-lib): Likewise.
21892         [$(build-bounded) = yes] (generated): Likewise.
21893         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21894         Remove rule.
21895         * intl/Makefile [$(build-bounded) = yes]
21896         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21897         * math/Makefile [$(build-bounded) = yes]
21898         ($(tests:%=$(objpfx)%-bp): Likewise.
21899         * misc/Makefile [$(build-bounded) = yes]
21900         ($(objpfx)tst-tsearch-bp): Likewise.
21901         * nptl/Makeconfig (bounded-thread-library): Remove variable.
21902         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21903         Remove dependency.
21904         * string/Makefile (o-objects.ob): Remove variable.
21905         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21906         (CFLAGS-.ob): Remove variable.
21907         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21908         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21909         both definitions of variable.
21910         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21911         (ASFLAGS-.ob): Remove variable.
21913 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
21915         [BZ #13550]
21916         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21917         Remove __BOUNDED_POINTERS__ from condition.
21918         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21919         * string/bits/string2.h [!__NO_STRING_INLINES &&
21920         !__BOUNDED_POINTERS__]: Likewise.
21921         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21922         Likewise.
21923         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21924         Remove conditional code.
21925         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21926         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21927         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21928         condition.
21930         [BZ #13550]
21931         * csu/libc-start.c: Do not include <bp-sym.h>.
21932         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21933         * elf/dl-open.c: Do not include <bp-sym.h>.
21934         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21935         * math/fegetenv.c: Do not include <bp-sym.h>.
21936         (fegetenv): Do not use BP_SYM in versioned symbols.
21937         * nptl/sysdeps/pthread/bits/libc-lockP.h
21938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21939         <bp-sym.h>.
21940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21941         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21943         (__pthread_mutex_destroy): Likewise.
21944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21945         (__pthread_mutex_lock): Likewise.
21946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21947         (__pthread_mutex_trylock): Likewise.
21948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21949         (__pthread_mutex_unlock): Likewise.
21950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21951         (__pthread_mutexattr_init): Likewise.
21952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21953         (__pthread_mutexattr_destroy): Likewise.
21954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21955         (__pthread_mutexattr_settype): Likewise.
21956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21957         (__pthread_rwlock_init): Likewise.
21958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21959         (__pthread_rwlock_destroy): Likewise.
21960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21961         (__pthread_rwlock_rdlock): Likewise.
21962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21963         (__pthread_rwlock_tryrdlock): Likewise.
21964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21965         (__pthread_rwlock_wrlock): Likewise.
21966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21967         (__pthread_rwlock_trywrlock): Likewise.
21968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21969         (__pthread_rwlock_unlock): Likewise.
21970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21971         (__pthread_key_create): Likewise.
21972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21973         (__pthread_setspecific): Likewise.
21974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21975         (__pthread_getspecific): Likewise.
21976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21977         Likewise.
21978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21979         (_pthread_cleanup_push_defer): Likewise.
21980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21981         (_pthread_cleanup_pop_restore): Likewise.
21982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21983         (pthread_setcancelstate): Likewise.
21984         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21985         <bp-sym.h>.
21986         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21987         (memchr): Do not use BP_SYM in weak_alias.
21988         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21989         (fegetenv): Do not use BP_SYM in versioned symbols.
21990         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21991         (fesetenv): Do not use BP_SYM in versioned symbols.
21992         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21993         (feupdateenv): Do not use BP_SYM in versioned symbols.
21994         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21995         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21996         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21997         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21998         (open64): Do not use BP_SYM in weak_alias.
21999         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22000         (fegetenv): Do not use BP_SYM in versioned symbols.
22001         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22002         (fesetenv): Do not use BP_SYM in versioned symbols.
22003         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22004         (feupdateenv): Do not use BP_SYM in versioned symbols.
22005         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22006         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22007         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22008         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22009         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22010         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22011         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22012         <bp-sym.h>.
22013         (__libc_start_main): Do not use BP_SYM.
22015 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22017         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22018         redundant return line.
22019         (norm): Likewise.
22020         (denorm): Likewise.
22021         (dbl_mp): Likewise.
22022         (sub_magnitudes): Likewise.
22023         (__add): Likewise.
22024         (__sub): Likewise.
22025         (__mul): Likewise.
22026         (__inv): Likewise.
22027         (__dvd): Likewise.
22028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22029         (norm): Likewise.
22030         (denorm): Likewise.
22031         (dbl_mp): Likewise.
22032         (sub_magnitudes): Likewise.
22033         (__add): Likewise.
22034         (__sub): Likewise.
22035         (__mul): Likewise.
22036         (__inv): Likewise.
22037         (__dvd): Likewise.
22039         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22040         instead of __mul.
22041         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22042         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22043         (cc32): Likewise.
22045         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22046         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22047         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22048         of __mul for squares.
22049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22050         function
22051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22052         Likewise.
22053         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22054         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22056 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22058         [BZ #13550]
22059         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22060         code.
22061         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22062         prototype or function definition.  Rename ubp_* variables and
22063         parameters.  Remove argv definitions conditional on
22064         [__BOUNDED_POINTERS__].
22065         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22066         * elf/dl-runtime.c (_dl_fixup): Likewise.
22067         * include/set-hooks.h (RUN_HOOK): Likewise.
22068         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22069         definition.
22070         * string/strcpy.c (strcpy): Do not use __unbounded.
22071         * sysdeps/generic/frame.h (struct layout): Likewise.
22072         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22073         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22074         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22075         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22076         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22077         (__backtrace): Likewise.
22078         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22079         use __ptrvalue.
22080         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22081         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22082         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22083         Likewise.
22084         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22085         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22086         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22087         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22088         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22089         Do not use __unbounded.
22090         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22091         Rename __unboundedrlimits parameter to rlimits in prototype.
22092         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22093         Do not use __unbounded.
22094         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22095         not use __ptrvalue.
22096         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22097         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22098         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22099         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22100         __ptrvalue or __unbounded.
22101         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22102         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22103         use __unbounded.
22104         (__new_msgctl): Do not use __ptrvalue.
22105         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22106         __unbounded.
22107         (__libc_msgrcv): Do not use __ptrvalue.
22108         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22109         startup_info): Do not use __unbounded.
22110         (__libc_start_main): Likewise.  Rename ubp_* variables and
22111         parameters.  Remove argv definitions conditional on
22112         [__BOUNDED_POINTERS__].
22113         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22114         __ptrvalue.
22115         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22116         use __unbounded.
22117         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22118         or __ptrvalue.
22119         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22120         use __unbounded.
22121         (__new_shmctl): Do not use __ptrvalue.
22122         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22123         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22124         Likewise.
22125         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22126         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22127         (__libc_sigaction): Likewise.
22128         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22129         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22130         Likewise.
22131         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22133 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22135         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22137         * string/mempcpy.c: Implement by calling memcpy.
22139 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22141         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22144         evaluation.
22146         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22147         values in the mantissa.
22149         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22150         minimize writes to Z.
22151         (sub_magnitudes): Simplify code a bit.
22153 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22155         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22156         from the message.  The linker prefixes all warnings with that already.
22158 2013-02-12  Andreas Schwab  <schwab@suse.de>
22160         [BZ #15078]
22161         * posix/regexec.c (extend_buffers): Add parameter min_len.
22162         (check_matching): Pass minimum needed length.
22163         (clean_state_log_if_needed): Likewise.
22164         (get_subexp): Likewise.
22165         * posix/Makefile (tests): Add bug-regex34.
22166         (bug-regex34-ENV): Define.
22167         * posix/bug-regex34.c: New file.
22169         [BZ #11561]
22170         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22171         elements compare against the byte sequence of it, not its name.
22172         * posix/Makefile (tests): Add bug-regex35.
22173         (bug-regex35-ENV): Define.
22174         * posix/bug-regex35.c: New file.
22176 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22178         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22179         comment.
22180         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22181         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22182         (CHECK_EOL): Add undef.
22184 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22186         * bits/stdlib-bsearch.h: New file.
22187         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22188         * stdlib/stdlib.h: Likewise.
22190 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22192         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22193         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22194         declaration.
22195         * manual/search.texi (Array Search Function): Add missing const in
22196         lfind prototype.
22197         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22198         declaration to use rlim_t.
22199         (Basic Scheduling Functions): Remove erroneous const from
22200         sched_getparam prototype.  Remove erroneous * from
22201         sched_get_priority_max and sched_get_priority_min prototypes.
22202         (Resource Usage): Fix summary @comment on vtimes to refer to
22203         sys/vtimes.h rather than vtimes.h.
22204         Add missing *s in vtimes prototype.
22205         (Limits on Resources): Fix ulimit prototype to return long int.
22206         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22207         prototypes to use long int rather than double.
22208         (BSD Random): Fix initstate and setstate to use char *, not void *.
22209         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22210         prototype to make second argument 'struct aiocb64 *const[]'.
22211         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22212         (Status of AIO Operations): Remove erroneous const in aio_return and
22213         aio_return64 prototypes.
22214         (Synchronizing I/O): Fix sync prototype to return void.
22215         * manual/startup.texi (Suboptions): Remove an erroneous const in
22216         getsubopt prototype.
22217         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22218         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22219         use size_t rather than int.
22220         (Scanning All Users): Likewise for getpwent_r.
22221         (Setting Groups): Add missing const to setgroups prototype.
22222         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22223         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22224         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22225         'const void *' rather than 'const char *'.
22226         (Host Address Functions): Likewise for inet_ntop.
22227         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22228         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22229         ssize_t for return value.
22230         (Sending Data): Likewise for send, sendto, sendmsg.
22231         (Socket Option Functions): Add a missing const in setsockopt prototype.
22232         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22233         use wchar_t for the argument.
22234         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22235         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22236         take no arguments.
22237         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22238         double/float/long double for second argument.
22239         Fix return types of significand, significandf, significandl.
22240         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22241         argument in fchmod prototype.
22242         (File Owner): Use uid_t and gid_t in fchown prototype.
22243         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22244         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22245         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22246         use 'const struct dirent **' as argument types to CMP function pointer
22247         argument.
22248         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22249         (File Times): Fix summary magic @comment for struct utimbuf and utime
22250         to refer to utime.h, not time.h.
22251         * manual/string.texi (Argz Functions): Add missing const in
22252         argz_extract and argz_next prototypes.
22253         (Finding Tokens in a String): Likewise for basename.
22254         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22255         (Copying and Concatenation): Fix typo in wmemmove prototype.
22256         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22257         (Signal Stack): Remove erroneous const in sigstack prototype.
22258         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22259         prototype.
22260         (Simple Calendar Time): Likewise for stime.
22261         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22262         prototype.
22263         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22264         say sys/sysctl.h instead.
22265         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22266         and vsyslog prototypes.
22268 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22270         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22271         Remove.
22273 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22275         * misc/sys/mman.h: Fix typo in mremap comment.
22277 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22279         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22280         the '\0' terminator.
22282 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22284         [BZ #13550]
22285         * debug/segfault.c: Don't include <bp-checks.h>.
22286         * sysdeps/generic/bp-checks.h: Remove file.
22287         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22288         (__GETDENTS): Don't use CHECK_N.
22289         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22290         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22291         (__getgroups): Don't use CHECK_N.
22292         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22293         (setgroups): Don't use CHECK_N.
22294         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22295         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22296         (__libc_msgrcv): Don't use CHECK_N.
22297         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22298         (__libc_msgsnd): Don't use CHECK_N.
22299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22300         <bp-checks.h>.
22301         (__libc_pread): Don't use CHECK_N.
22302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22303         include <bp-checks.h>.
22304         (__libc_pread64): Don't use CHECK_N.
22305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22306         include <bp-checks.h>.
22307         (__libc_pwrite): Don't use CHECK_N.
22308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22309         include <bp-checks.h>.
22310         (__libc_pwrite64): Don't use CHECK_N.
22311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22312         <bp-checks.h>.
22313         (__libc_pread): Don't use CHECK_N.
22314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22315         include <bp-checks.h>.
22316         (__libc_pread64): Don't use CHECK_N.
22317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22318         include <bp-checks.h>.
22319         (__libc_pwrite): Don't use CHECK_N.
22320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22321         include <bp-checks.h>.
22322         (__libc_pwrite64): Don't use CHECK_N.
22323         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22324         (do_pread): Don't use CHECK_N.
22325         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22326         (do_pread64): Don't use CHECK_N.
22327         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22328         (do_pwrite): Don't use CHECK_N.
22329         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22330         (do_pwrite64): Don't use CHECK_N.
22331         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22332         (__libc_readv): Don't use CHECK_N.
22333         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22334         (semop): Don't use CHECK_N.
22335         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22336         <bp-checks.h>.
22337         (semtimedop): Don't use CHECK_N.
22338         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22339         (__libc_pread): Don't use CHECK_N.
22340         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22341         <bp-checks.h>.
22342         (__libc_pread64): Don't use CHECK_N.
22343         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22344         <bp-checks.h>.
22345         (__libc_pwrite): Don't use CHECK_N.
22346         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22347         <bp-checks.h>.
22348         (__libc_pwrite64): Don't use CHECK_N.
22349         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22350         <bp-checks.h>.
22351         (__libc_msgrcv): Don't use CHECK_N.
22352         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22353         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
22354         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22355         (__libc_writev): Don't use CHECK_N.
22357 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22359         * string/strcpy.c: Removed unused variable.
22361         * Makeconfig (+sysdep-includes): Define with := rather than =.
22362         Use an existing include/ subdir of each sysdeps dir before it.
22364 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22366         * nscd/connection.c (register_traced_file): Comment function.
22367         [HAVE_INOTIFY] (union __inev): Define.
22368         [HAVE_INOTIFY] (inotify_check_files): New function.
22369         [HAVE_INOTIFY] (clear_db_cache): Likewise.
22370         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22371         clear_db_cache.
22372         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22374 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22376         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22377         loaded if not already and that a failure is permanent.
22379 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22381         [BZ #15006]
22382         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22383         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22385 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22387         [BZ #13550]
22388         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22389         (CHECK_1_NULL_OK): Likewise.
22390         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22391         (__fxstat): Do not use CHECK_1.
22392         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22393         <bp-checks.h>.
22394         (___fxstat64): Do not use CHECK_1.
22395         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22396         <bp-checks.h>.
22397         (__fxstatat): Do not use CHECK_1.
22398         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22399         <bp-checks.h>.
22400         (__fxstatat64): Do not use CHECK_1.
22401         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22402         <bp-checks.h>.
22403         (__fxstat): Do not use CHECK_1.
22404         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22405         <bp-checks.h>.
22406         (__fxstatat): Do not use CHECK_1.
22407         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22408         <bp-checks.h>.
22409         (__getresgid): Do not use CHECK_1.
22410         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22411         <bp-checks.h>.
22412         (__getresuid): Do not use CHECK_1.
22413         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22414         <bp-checks.h>.
22415         (__lxstat): Do not use CHECK_1.
22416         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22417         <bp-checks.h>.
22418         (__old_msgctl): Do not use CHECK_1.
22419         (__new_msgctl): Likewise.
22420         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22421         <bp-checks.h>.
22422         (__new_setrlimit): Do not use CHECK_1.
22423         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22424         <bp-checks.h>.
22425         (__old_shmctl): Do not use CHECK_1.
22426         (__new_shmctl): Likewise.
22427         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22428         <bp-checks.h>.
22429         (__xstat): Do not use CHECK_1.
22430         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22431         (__lxstat): Do not use CHECK_1.
22432         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22433         <bp-checks.h>.
22434         (___lxstat64): Do not use CHECK_1.
22435         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22436         (__old_msgctl): Do not use CHECK_1.
22437         (__new_msgctl): Likewise.
22438         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22439         <bp-checks.h>.
22440         (__gettimeofday): Do not use CHECK_1.
22441         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22442         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22443         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22444         <bp-checks.h>.
22445         (__gettimeofday): Do not use CHECK_1.
22446         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22447         (__old_shmctl): Do not use CHECK_1_NULL_OK.
22448         (__new_shmctl): Do not use CHECK_1.
22449         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22450         <bp-checks.h>.
22451         (do_sigtimedwait): Do not use CHECK_1.
22452         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22453         <bp-checks.h>.
22454         (do_sigwaitinfo): Do not use CHECK_1.
22455         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22456         <bp-checks.h>.
22457         (msgctl): Do not use CHECK_1.
22458         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22459         <bp-checks.h>.
22460         (shmctl): Do not use CHECK_1.
22461         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22462         (ustat): Do not use CHECK_1.
22463         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22464         <bp-checks.h>.
22465         (__fxstat): Do not use CHECK_1.
22466         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22467         <bp-checks.h>.
22468         (__fxstatat): Do not use CHECK_1.
22469         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22470         <bp-checks.h>.
22471         (__lxstat): Do not use CHECK_1.
22472         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22473         <bp-checks.h>.
22474         (__xstat): Do not use CHECK_1.
22475         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22476         (__xstat): Do not use CHECK_1.
22477         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22478         (___xstat64): Do not use CHECK_1.
22480         [BZ #13550]
22481         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22482         definitions.
22483         (CHECK_BOUNDS_HIGH): Likewise.
22484         * string/strcpy.c: Do not include <bp-checks.h>.
22485         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22487 2013-02-07  Roland McGrath  <roland@hack.frob.com>
22489         * nscd/nscd-client.h (__nscd_drop_map_ref):
22490         Add __attribute__ ((unused)).
22491         * nis/nss-nisplus.h (niserr2nss): Likewise.
22493         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22494         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22496         * csu/libc-tls.c (init_static_tls, init_slotinfo):
22497         Remove inline keyword.
22498         * include/rounding-mode.h (round_away): Likewise.
22499         * libio/wfileops.c (adjust_wide_data): Likewise.
22500         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22501         (__m128i_strloadu_tolower): Likewise.
22502         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22503         (__m128i_strloadu_tolower): Likewise.
22504         * time/mktime.c (ydhms_diff): Likewise.
22505         * locale/elem-hash.h (elem_hash): Likewise.
22506         * locale/setlocale.c (setdata): Likewise.
22507         * posix/regex_internal.h (re_string_char_size_at): Likewise.
22508         (re_string_wchar_at): Likewise.
22509         (bitset_not, bitset_merge, bitset_mask): Likewise.
22510         [!(__GNUC__ > 3)] (inline): Remove macro.
22511         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22512         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22513         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22514         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22515         * string/memcmp.c (memcmp_bytes): Likewise.
22516         * locale/programs/locarchive.c (compute_hashval): Likewise.
22517         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22518         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22519         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22520         * nss/getent.c (print_rpc, print_protocols): Likewise.
22521         (print_passwd, print_group, print_aliases): Likewise.
22522         * nis/nss-nisplus.h (niserr2nss): Likewise.
22523         * nscd/connections.c (restart_p): Likewise.
22524         Change return type to bool.
22526 2013-02-05  Roland McGrath  <roland@hack.frob.com>
22528         * Makeconfig (all-Depend-files): Add existing
22529         $(sorted-subdirs:=/Depend) files.
22530         (all-subdirs): Remove nss.
22531         * sysdeps/unix/inet/Subdirs: Add it here instead.
22532         * hesiod/Depend: New file.
22534         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22535         instead of calling alloca.
22537         * io/lseek.c (__lseek): Rename to __libc_lseek.
22538         Define __lseek as an alias.
22540         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22542 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
22544         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22545         else clause and remove check for non-standard endianness.
22547 2013-02-04  David S. Miller  <davem@davemloft.net>
22549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22551 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
22553         [BZ #13550]
22554         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22555         (__ubp_memchr): Remove prototype.
22556         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22557         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22558         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22559         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22560         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22561         Remove alias.
22562         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22563         (__ubp_memchr): Likewise.
22564         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22565         (__ubp_memchr): Likewise.
22566         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22567         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22568         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22569         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22570         CHECK_STRING.
22571         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22572         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22573         (__getcwd): Do not use CHECK_STRING.
22574         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22575         <bp-checks.h>.
22576         (__real_chown): Do not use CHECK_STRING.
22577         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22578         <bp-checks.h>.
22579         (fchownat): Do not use CHECK_STRING.
22580         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22581         CHECK_STRING.
22582         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22583         <bp-checks.h>.
22584         (__lchown): Do not use CHECK_STRING.
22585         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22586         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22587         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22588         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22590         include <bp-checks.h>.
22591         (truncate64): Do not use CHECK_STRING.
22592         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22593         <bp-checks.h>.
22594         (__real_chown): Do not use CHECK_STRING.
22595         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22596         <bp-checks.h>.
22597         (__lchown): Do not use CHECK_STRING.
22598         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22599         <bp-checks.h>.
22600         (__chown): Do not use CHECK_STRING.
22601         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22602         <bp-checks.h>.
22603         (truncate64): Do not use CHECK_STRING.
22604         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22605         Likewise.
22606         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22607         (__xmknod): Do not use CHECK_STRING.
22608         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22609         <bp-checks.h>.
22610         (__xmknodat): Do not use CHECK_STRING.
22611         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22612         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22614 2013-02-04  Andreas Schwab  <schwab@suse.de>
22616         [BZ #14142]
22617         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22618         * include/netdb.h: Likewise for h_errno.
22619         * elf/tst-stackguard1.c: Include <tls.h>.
22621 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
22623         * elf/link.h (struct link_map): Extend the l_addr comment.
22624         * include/link.h (struct link_map): Likewise.
22626 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
22628         [BZ #13550]
22629         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22630         (BOUNDED_1): Remove macro.
22631         * debug/backtrace.c: Don't include <bp-checks.h>.
22632         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22633         (__backtrace): Likewise.
22634         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22635         <bp-checks.h>.
22636         (__backtrace): Don't use BOUNDED_1.
22637         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22638         <bp-checks.h>.
22639         (__backtrace): Don't use BOUNDED_1.
22640         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22641         (__backtrace): Don't use BOUNDED_1.
22642         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22643         (shmat): Don't use BOUNDED_N.
22645 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
22647         [BZ #13550]
22648         * sysdeps/generic/bp-start.h: Remove file.
22649         * csu/libc-start.c: Don't include <bp-start.h>.
22650         (LIBC_START_MAIN): Set up __environ directly instead of using
22651         INIT_ARGV_and_ENVIRON.
22652         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22653         <bp-start.h>.
22655         [BZ #13550]
22656         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22657         definitions.
22658         (CHECK_FCNTL): Likewise.
22659         (CHECK_N_PAGES): Likewise.
22661         [BZ #13550]
22662         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22663         definitions.
22664         (CHECK_SIGSET_NULL_OK): Likewise.
22665         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22666         <bp-checks.h>.
22667         (sigpending): Don't use CHECK_SIGSET.
22668         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22669         <bp-checks.h>.
22670         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22671         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22672         <bp-checks.h>.
22673         (do_sigsuspend): Don't use CHECK_SIGSET.
22674         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22675         use CHECK_SIGSET.
22676         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22677         (do_sigwait): Don't use CHECK_SIGSET.
22678         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22679         use CHECK_SIGSET.
22680         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22681         include <bp-checks.h>.
22682         (sigpending): Don't use CHECK_SIGSET.
22683         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22684         include <bp-checks.h>.
22685         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22686         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22687         <bp-checks.h>.
22688         (sigpending): Don't use CHECK_SIGSET.
22689         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22690         <bp-checks.h>.
22691         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22693         [BZ #13550]
22694         * sysdeps/generic/bp-semctl.h: Remove file.
22695         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22696         <bp-checks.h> and <bp-semctl.h>.
22697         (__old_semctl): Don't use CHECK_SEMCTL.
22698         (__new_semctl): Likewise.
22699         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22700         and <bp-semctl.h>.
22701         (__old_semctl): Don't use CHECK_SEMCTL.
22702         (__new_semctl): Likewise.
22703         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22704         <bp-checks.h> and <bp-semctl.h>.
22705         (__old_semctl): Don't use CHECK_SEMCTL.
22706         (__new_semctl): Likewise.
22707         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22708         <bp-checks.h> and <bp-semctl.h>.
22709         (semctl): Don't use CHECK_SEMCTL.
22711         [BZ #13550]
22712         * Makerules (elide-bp-thunks): Remove variable.
22713         (elide-routines.oS): Don't use $(elide-bp-thunks).
22714         (elide-routines.os): Likewise.
22715         (elide-routines.o): Likewise.
22716         (elide-routines.op): Likewise.
22717         (elide-routines.og): Likewise.
22718         (objects): Don't use $(bp-thunks).
22719         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22720         include.
22721         (common-generated): Do not add s-proto-bp.d.
22722         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22723         (int): Likewise.
22724         (typ): Likewise.
22725         Do not generate makefile rules for bounded-pointer thunks.
22726         * sysdeps/generic/bp-thunks.h: Remove file.
22727         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22728         * sysdeps/unix/s-proto-bp.S: Likewise.
22730         [BZ #15062]
22731         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22732         parts of result separately when argument is not close to line from
22733         -i to i and one part of argument is small.
22734         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22735         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22736         * math/libm-test.inc (cacos_test): Add more tests.
22737         (casin_test): Likewise.
22738         (casinh_test): Likewise.
22739         * sysdeps/i386/fpu/libm-test-ulps: Update.
22740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22742 2013-01-31  David S. Miller  <davem@davemloft.net>
22744         * po/de.po: Update from translation team.
22746 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
22748         * time/tzfile.c: Include stdint.h for SIZE_MAX.
22750 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
22752         * configure.in (_AC_PROG_CC_C89): New definition.
22753         * configure: Regenerate.
22755         * configure.in (AC_PROG_CPP): New definition.
22756         * configure: Regenerate.
22758 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22760         * debug/tst-backtrace.h: New file.
22761         * debug/tst-backtrace2.c: Include tst-backtrace.h.
22762         (ret): Remove variable.
22763         (x): Likewise.
22764         (FAIL): Remove macro.
22765         (NO_INLINE): Likewise.
22766         (fn1): Use match function instead of strstr.
22767         * debug/tst-backtrace3.c: Include tst-backtrace.h.
22768         (ret): Remove variable.
22769         (x): Likewise.
22770         (FAIL): Remove macro.
22771         (NO_INLINE): Likewise.
22772         (fn): Use match function instead of strstr.
22773         * debug/tst-backtrace4.c: Include tst-backtrace.h.
22774         (ret): Remove variable.
22775         (x): Likewise.
22776         (FAIL): Remove macro.
22777         (NO_INLINE): Likewise.
22778         (handle_signal): Use match function instead of strstr.
22779         * debug/tst-backtrace5.c: Include tst-backtrace.h.
22780         (ret): Remove variable.
22781         (x): Likewise.
22782         (FAIL): Remove macro.
22783         (NO_INLINE): Likewise.
22784         (handle_signal): Use match function instead of strstr.
22786 2013-01-23  Roland McGrath  <roland@hack.frob.com>
22788         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22790 2013-01-23  David S. Miller  <davem@davemloft.net>
22792         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22793         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22794         argument of CAS if possible.
22795         * sysdeps/sparc/sparc64/bits/atomic.h
22796         (__arch_compare_and_exchange_val_32_acq): Likewise.
22797         (__arch_compare_and_exchange_val_64_acq): Likewise.
22799 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
22801         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22802         * sysdeps/posix/ulimit.c: ... this.
22803         Include <limits.h>.
22804         * sysdeps/unix/bsd/ulimit.c: Remove file.
22806 2013-01-23  Adam Conrad  <adconrad@0c3.net>
22808         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22809         (LDFLAGS-tst-array5): Likewise.
22811 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22813         [BZ #15036]
22814         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22815         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22816         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22817         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22819 2013-01-21  David S. Miller  <davem@davemloft.net>
22821         * sysdeps/sparc/backtrace.c: New file.
22822         * sysdeps/sparc/sparc32/backtrace.h: New file.
22823         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22824         * sysdeps/sparc/sparc64/backtrace.h: New file.
22825         * sysdeps/sparc/sparc64/backtrace.c: Delete.
22826         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22827         -funwind-tables.
22829 2013-01-21  Andreas Schwab  <schwab@suse.de>
22831         [BZ #15020]
22832         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22833         closed its stdout.
22835 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
22837         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22838         "mpa2.h".
22839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22841 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
22842             Mark Mitchell  <mark@codesourcery.com>
22843             Tom de Vries  <tom@codesourcery.com>
22844             Paul Pluzhnikov  <ppluzhnikov@google.com>
22846         * debug/tst-backtrace2.c: New file.
22847         * debug/tst-backtrace3.c: Likewise.
22848         * debug/tst-backtrace4.c: Likewise.
22849         * debug/tst-backtrace5.c: Likewise.
22850         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22851         (CFLAGS-tst-backtrace3.c): Likewise.
22852         (CFLAGS-tst-backtrace4.c): Likewise.
22853         (CFLAGS-tst-backtrace5.c): Likewise.
22854         (LDFLAGS-tst-backtrace2): Likewise.
22855         (LDFLAGS-tst-backtrace3): Likewise.
22856         (LDFLAGS-tst-backtrace4): Likewise.
22857         (LDFLAGS-tst-backtrace5): Likewise.
22858         (tests): Add new tests tst-backtrace2, tst-backtrace3,
22859         tst-backtrace4 and tst-backtrace5.
22861 2013-01-18  Anton Blanchard  <anton@samba.org>
22862             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22864         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22865         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22866         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22867         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22869         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22870         "+r" and remove output regs list as redundant.  Add explicit inline
22871         asm to specify register of return val to work around compiler codegen
22872         bug.  Remove (int) cast on return value.  Add return type parameter to
22873         use in macro so that this macro does not truncate return value for
22874         64-bit values.
22875         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22876         pass to INTERNAL_VSYSCALL_NCS.
22877         (INLINE_VSYSCALL): Add 'long int' as return type to
22878         INTERNAL_VSYSCALL_NCS macro invocation.
22879         (INTERNAL_VSYSCALL): Add 'long int' as return type to
22880         INTERNAL_VSYSCALL_NCS macro invocation.
22881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22883 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22885         [BZ #14496]
22886         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22887         Fix application of SIMD FP exception mask.
22889         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22890         mp_no from a power of two.
22891         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22892         __mpexp_twomm1.  Use __pow_mp.
22894         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22895         multiplication.
22897 2013-01-17  David S. Miller  <davem@davemloft.net>
22899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22901 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22903         [BZ #15023]
22904         * include/complex.h: Condition contents on [!_COMPLEX_H].
22905         (__kernel_casinhf): New prototype.
22906         (__kernel_casinh): Likewise.
22907         (__kernel_casinhl): Likewise.
22908         * math/Makefile (libm_calls): Add k_casinh.
22909         * math/k_casinh.c: New file.
22910         * math/k_casinhf.c: Likewise.
22911         * math/k_casinhl.c: Likewise.
22912         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22913         finite nonzero arguments.
22914         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22915         finite nonzero arguments.
22916         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22917         finite nonzero arguments.
22918         * math/s_casinh.c: Do not include <float.h>.
22919         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22920         * math/s_casinhf.c: Do not include <float.h>.
22921         (__casinhf): Move code for finite nonzero arguments to
22922         k_casinhf.c.
22923         * math/s_casinhl.c: Do not include <float.h>.
22924         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22925         redefine.
22926         (__casinhl): Move code for finite nonzero arguments to
22927         k_casinhl.c.
22928         * math/libm-test.inc (cacos_test): Add more tests.
22929         * sysdeps/i386/fpu/libm-test-ulps: Update.
22930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22932 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
22934         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22935         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22936         [!HAVE_MREMAP]: Remove [defined linux] case.
22937         * malloc/arena.c: Do not include <malloc-sysdep.h>.
22939 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22941         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22943 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
22945         * elf/elf.h (R_386_SIZE32): New relocation.
22946         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22947         R_386_SIZE32.
22948         (elf_machine_rela): Likewise.
22949         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22950         R_X86_64_SIZE64 and R_X86_64_SIZE32.
22952 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22954         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22955         (FP_FAST_FMA): Do not define.
22956         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22957         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22958         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22959         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22960         !_SOFT_FLOAT]: Likewise.
22961         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22962         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22963         value.
22964         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22965         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22966         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22967         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22968         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22969         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22970         file.
22972 2013-01-16  Andreas Schwab  <schwab@suse.de>
22974         [BZ #14327]
22975         * include/stdlib.h (__mktemp): Add declaration.
22976         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22977         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22979 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22981         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22982         definitions.
22983         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22984         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22985         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22986         definitions here.
22987         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22988         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22989         definitions.
22990         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22991         and ONE.
22992         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22993         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22994         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22995         definitions.
22996         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22997         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22998         definitions.
22999         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23001         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23003 2013-01-15  David S. Miller  <davem@davemloft.net>
23005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23006         trunc{,f} to libm-sysdep_routes.
23007         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23009         file.
23010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23012         file.
23013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23014         file.
23015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23017         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23018         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23019         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23020         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23021         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23022         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23025         nearbyint{,f} to libm-sysdep_routes.
23026         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23028         New file.
23029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23030         file.
23031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23032         New file.
23033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23034         file.
23035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23037         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23038         file.
23039         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23040         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23041         file.
23042         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23043         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23044         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23046         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23047         libc_feholdexcept and libc_fesetenv.
23049 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23051         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23053 2013-01-14  David S. Miller  <davem@davemloft.net>
23055         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23056         (SPARC_ASM_VIS2_IFUNC): Likewise.
23057         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23059         use of 'siam' instruction.
23060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23061         Likewise.
23062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23063         Likewise.
23064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23065         Likewise.
23066         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23067         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23071         file.
23072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23073         file.
23074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23075         file.
23076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23077         file.
23078         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23079         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23080         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23081         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23083         new VIS2 routines.
23084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23087         Likewise.
23088         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23089         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23090         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23091         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23093         routines to libm-sysdep_routines.
23094         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23097         fdim/fdimf to libm-sysdep_routines.
23098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23099         file.
23100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23102         file.
23103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23106         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23107         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23108         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23109         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23111 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23113         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23114         to optimize copies.
23116         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23117         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23120         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23121         local variable MPTWO.
23122         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23123         Likewise.
23125 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23127         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23128         GLOB_NOESCAPE.
23130 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23132         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23134 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23136         * manual/pattern.texi (glob_t): Document gl_flags.
23137         (glob64_t): Likewise.
23139 2013-01-11  David S. Miller  <davem@davemloft.net>
23141         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23142         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23143         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23144         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23145         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23146         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23147         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23148         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23149         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23150         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23151         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23152         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23153         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23155         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23156         sparc V9 rather than using V8 code.
23157         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23158         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23160         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23161         Move to...
23162         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23163         Here.
23165 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23167         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23168         not in the main loop.
23169         * configure: Regenerated.
23171 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23173         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23174         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23175         to just #else.
23176         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23177         [!__GLIBC_HAVE_LONG_LONG] case.
23178         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23179         condition to just #else.
23180         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23181         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23182         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23183         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23184         unconditional.
23185         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23186         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23187         #elif condition to just #else.
23188         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23189         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23190         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23191         #elif condition to just #else.
23193 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23195         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23196         (EF_MIPS_ARCH_64): Fix value.
23197         (EF_MIPS_ARCH_32R2): New.
23198         (EF_MIPS_ARCH_64R2): New.
23200 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23202         * Makeconfig (+link-pie-before-libc): New.
23203         (+link-pie-after-libc): Likewise.
23204         (+link-pie-tests): Likewise.
23205         (+link-pie): Rewritten.
23206         (link-before-libc): Remove $(config-LDFLAGS).
23207         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23208         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23209         (config-LDFLAGS): Renamed to ...
23210         (rtld-LDFLAGS): This.
23211         (rtld-tests-LDFLAGS): New macro.
23212         (link-libc-rpath-link): Likewise.
23213         (link-libc-tests-rpath-link): Likewise.
23214         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23215         (link-libc): Prepand $(link-libc-rpath-link).
23216         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23217         (test-program-prefix): New macro.
23218         (test-via-rtld-prefix): Likewise.
23219         (test-program-cmd): Likewise.
23220         (host-test-program-cmd): Likewise.
23221         * Makefile ($(common-objpfx)testrun.sh): Replace
23222         $(run-program-prefix) with $(test-program-prefix).
23223         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23224         $(rtld-LDFLAGS).
23225         ($(common-objpfx)shlib.lds): Likewise.
23226         (build-module-helper): Likewise.
23227         ($(common-objpfx)format.lds): Likewise.
23228         * Rules (binaries-pie-tests): New.
23229         (binaries-pie-notests): Likewise.
23230         (binaries-pie): Rewritten.
23231         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23232         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23233         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23234         (make-test-out): Replace $(host-built-program-cmd) with
23235         $(host-test-program-cmd).
23236         * config.make.in (build-hardcoded-path-in-tests): New variable.
23237         * configure.in (--enable-hardcoded-path-in-tests): New configure
23238         option.
23239         (hardcoded_path_in_tests): New AC_SUBST.
23240         * configure: Regenerated.
23241         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23242         $(built-program-cmd) with $(test-program-cmd).
23243         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23244         (test_program_cmd): This.
23245         * elf/Makefile ($(objpfx)order.out): Run test with
23246         $(test-program-prefix).
23247         ($(objpfx)order2.out): Likewise.
23248         ($(objpfx)tst-initorder.out): Likewise.
23249         ($(objpfx)tst-initorder2.out): Likewise.
23250         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23251         $(test-program-cmd).
23252         ($(objpfx)tst-array1-static.out): Likewise.
23253         ($(objpfx)tst-array2.out): Likewise.
23254         ($(objpfx)tst-array3.out): Likewise.
23255         ($(objpfx)tst-array4.out): Likewise.
23256         ($(objpfx)tst-array5.out): Likewise.
23257         ($(objpfx)tst-array5-static.out): Likewise.
23258         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23259         $(test-program-cmd).
23260         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23261         $(run-program-prefix) with $(test-program-prefix).
23262         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23263         (test_program_prefix): This.
23264         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23265         $(run-program-prefix) with $(test-program-prefix).
23266         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23267         (test_program_prefix): This.
23268         * iconvdata/tst-tables.sh: Likewise.
23269         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23270         $(run-program-prefix) with $(test-program-prefix).
23271         ($(objpfx)tst-translit.out): Likewise.
23272         ($(objpfx)tst-gettext2.out): Likewise.
23273         ($(objpfx)tst-gettext4.out): Likewise.
23274         ($(objpfx)tst-gettext6.out): Likewise.
23275         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23276         (test_program_prefix): This.
23277         * intl/tst-gettext2.sh: Likewise.
23278         * intl/tst-gettext4.sh  Likewise.
23279         * intl/tst-gettext6.sh: Likewise.
23280         * intl/tst-translit.sh: Likewise.
23281         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23282         with $(test-program-cmd).
23283         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23284         $(run-program-prefix) with $(test-program-prefix).
23285         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23286         (test_program_prefix): This.
23287         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23288         $(run-program-prefix) with $(test-program-prefix).
23289         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23290         (test_program_prefix): This.
23291         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23292         * posix/Makefile ($(objpfx)globtest.out): Replace
23293         $(run-via-rtld-prefix) and $(test-wrapper) with
23294         $(test-program-prefix) and $(test-via-rtld-prefix).
23295         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23296         $(test-program-prefix).
23297         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23298         $(host-test-program-cmd).
23299         (tst-spawn-ARGS): Likewise.
23300         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23301         $(test-program-prefix).
23302         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23303         (test_via_rtld_prefix): This.
23304         (test_wrapper): Renamed to ...
23305         (test_program_prefix): This.
23306         (run_program_prefix): Replaced by test_program_prefix.
23307         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23308         (test_program_prefix): This.
23309         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23310         with $(host-test-program-cmd).
23311         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23312         $(run-program-prefix) with $(test-program-prefix).
23313         ($(objpfx)tst-printf.out): Likewise.
23314         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23315         $(test-program-cmd).
23316         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23317         (test_program_prefix): This.
23318         * stdio-common/tst-unbputc.sh: Likewise.
23319         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23320         $(run-program-prefix) with $(test-program-prefix).
23321         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23322         (test_program_prefix): This.
23323         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23324         $(built-program-cmd) with $(test-program-cmd).
23326 2013-01-11  Andreas Jaeger  <aj@suse.de>
23328         [BZ #15003]
23329         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23330         value. Sync with Linux 3.7.
23332 2013-01-10  David S. Miller  <davem@davemloft.net>
23334         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23335         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23336         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23338 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23340         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23341         never set.
23342         * configure: Regenerated.
23344 2013-01-10  David S. Miller  <davem@davemloft.net>
23346         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23347         sparc V9 rather than using V8 code.
23348         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23349         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23351 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23353         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23354         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23355         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23356         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23357         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23358         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23359         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23360         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23361         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23362         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23363         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23364         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23365         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23366         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23367         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23368         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23369         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23370         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23371         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23372         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23373         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23374         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23375         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23376         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23377         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23378         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23379         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23381 2013-01-10  David S. Miller  <davem@davemloft.net>
23383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23385 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23387         * posix/Makefile (tests-static): New variable.
23388         (tests): Add $(tests-static).
23389         (tst-exec-static-ARGS): New variable.
23390         (tst-spawn-static-ARGS): Likewise.
23391         * posix/tst-exec-static.c: New file.
23392         * posix/tst-spawn-static.c: Likewise.
23393         * posix/tst-exec.c: Support run directly.
23394         * posix/tst-spawn.c: Likewise.
23396 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
23398         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23399         long.
23400         * math/bits/mathcalls.h (llrint): Likewise.
23401         (llround): Likewise.
23402         * stdlib/stdlib.h (struct drand48_data): Likewise.
23403         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23404         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23405         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23406         Likewise.
23407         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23408         Likewise.
23409         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23410         (elf_greg_t): Likewise.
23411         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23412         (__jmp_buf): Likewise.
23413         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23414         definitions.
23415         (llrint): Likewise, for all definitions.
23416         (llrintl): Likewise.
23418         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23419         Remove [__GNUC__] condition.
23420         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23421         condition to just [__USE_ISOC99].
23422         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23424 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23426         [BZ #14200]
23427         * sysdeps/unix/sysv/linux/x86/bits/environments.h
23428         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23429         defined.
23430         (_POSIX_V6_ILP32_OFF32): Likewise.
23431         (_XBS5_ILP32_OFF32): Likewise.
23432         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23433         (__ILP32_OFFBIG_LDFLAGS): Likewise.
23435 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23437         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23439         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23440         doubles __mpexp_twomm1.  Adjust usage.
23441         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23442         Remove.
23444 2013-01-10  Andreas Schwab  <schwab@suse.de>
23446         [BZ #14964]
23447         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23448         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23450 2013-01-09  David S. Miller  <davem@davemloft.net>
23452         [BZ #15003]
23453         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23454         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23455         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23456         (TCP_FASTOPEN): Define.
23457         (tcp_repair_opt): New structure.
23458         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23459         enum values.
23460         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23461         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23462         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23463         (tcp_cookie_transactions): New structure.
23465 2013-01-09  Anton Blanchard  <anton@samba.org>
23467         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23468         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23469         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23470         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23472 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
23474         * include/features.h (__USE_ANSI): Remove.
23476 2013-01-09  Roland McGrath  <roland@hack.frob.com>
23478         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23480         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23482 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23484         * sysdeps/s390/fpu/libm-test-ulps: Update.
23486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23488         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23489         (__acr): Likewise.
23490         (__cpy): Likewise.
23491         (norm): Likewise.
23492         (denorm): Likewise.
23493         (__mp_dbl): Likewise.
23494         (__dbl_mp): Likewise.
23495         (add_magnitudes): Likewise.
23496         (sub_magnitudes): Likewise.
23497         (__add): Likewise.
23498         (__sub): Likewise.
23499         (__mul): Likewise.
23500         (__inv): Likewise.
23501         (__dvd): Likewise.
23502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23503         (__acr): Likewise.
23504         (__cpy): Likewise.
23505         (norm): Likewise.
23506         (denorm): Likewise.
23507         (__mp_dbl): Likewise.
23508         (__dbl_mp): Likewise.
23509         (add_magnitudes): Likewise.
23510         (sub_magnitudes): Likewise.
23511         (__add): Likewise.
23512         (__sub): Likewise.
23513         (__mul): Likewise.
23514         (__inv): Likewise.
23515         (__dvd): Likewise.
23516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23517         (__acr): Likewise.
23518         (__cpy): Likewise.
23519         (norm): Likewise.
23520         (denorm): Likewise.
23521         (__mp_dbl): Likewise.
23522         (__dbl_mp): Likewise.
23523         (add_magnitudes): Likewise.
23524         (sub_magnitudes): Likewise.
23525         (__add): Likewise.
23526         (__sub): Likewise.
23527         (__mul): Likewise.
23528         (__inv): Likewise.
23529         (__dvd): Likewise.
23531 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
23533         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23534         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23535         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23536         2 && __USE_EXTERN_INLINES]: Likewise.
23538 2013-01-08  Andreas Jaeger  <aj@suse.de>
23540         [BZ# 14985]
23541         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23542         Remove.
23543         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23544         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23546 2013-01-07  Anton Blanchard  <anton@samba.org>
23548         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23549         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23550         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23551         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23552         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23553         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23554         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23555         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23556         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23557         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23558         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23559         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23560         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23561         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23562         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23563         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23564         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23565         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23566         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23567         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23568         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23569         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23570         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23571         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23572         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23573         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23574         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23575         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23576         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23577         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23578         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23580         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23581         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23582         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23583         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23584         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23585         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23586         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23587         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23588         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23589         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23590         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23592 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
23594         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23595         (__MALLOC_PMT): Likewise.
23596         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23597         [__GNUC__], only on [_LIBC].
23598         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23599         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23600         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23601         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23602         forward declaration.
23603         (realloc_hook_ini): Likewise.
23604         (memalign_hook_ini): Likewise.
23605         (__libc_memalign): Do not use __MALLOC_PMT in variable
23606         declaration.
23607         (__libc_valloc): Likewise.
23608         (__libc_pvalloc): Likewise.
23609         (__libc_calloc): Likewise.
23610         (__posix_memalign): Likewise.
23612         [BZ #14996]
23613         * math/s_casinh.c: Include <float.h>.
23614         (__casinh): Do not do computation with squaring and square root
23615         for large arguments.
23616         * math/s_casinhf.c: Include <float.h>.
23617         (__casinhf): Do not do computation with squaring and square root
23618         for large arguments.
23619         * math/s_casinhl.c: Include <float.h>.
23620         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23621         (__casinhl): Do not do computation with squaring and square root
23622         for large arguments.
23623         * math/libm-test.inc (casin_test): Add more tests.
23624         (casinh_test): Likewise.
23625         * sysdeps/i386/fpu/libm-test-ulps: Update.
23626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23628 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
23630         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23631         (__x86_64_raw_data_cache_size): Likewise.
23632         (__x86_64_data_cache_size_half): Likewise.
23633         (__x86_64_raw_data_cache_size_half): Likewise.
23634         (__x86_64_shared_cache_size): Likewise.
23635         (__x86_64_raw_shared_cache_size): Likewise.
23636         (__x86_64_shared_cache_size_half): Likewise.
23637         (__x86_64_raw_shared_cache_size_half): Likewise.
23638         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23639         to ...
23640         (__x86_data_cache_size): This.
23641         (__x86_64_raw_data_cache_size): Renamed to ...
23642         (__x86_raw_data_cache_size): This.
23643         (__x86_64_data_cache_size_half): Renamed to ...
23644         (__x86_data_cache_size_half): This.
23645         (__x86_64_raw_data_cache_size_half): Renamed to ...
23646         (__x86_raw_data_cache_size_half): This.
23647         (__x86_64_shared_cache_size): Renamed to ...
23648         (__x86_shared_cache_size): This.
23649         (__x86_64_raw_shared_cache_size): Renamed to ...
23650         (__x86_raw_shared_cache_size): This.
23651         (__x86_64_shared_cache_size_half): Renamed to ...
23652         (__x86_shared_cache_size_half): This.
23653         (__x86_64_raw_shared_cache_size_half): Renamed to ...
23654         (__x86_raw_shared_cache_size_half): This.
23655         * sysdeps/x86_64/memcpy.S: Updated.
23656         * sysdeps/x86_64/memset.S: Likewise.
23657         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23658         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23659         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23661 2013-01-04  David S. Miller  <davem@davemloft.net>
23663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23665 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
23667         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23668         1 to avoid redefinition warning.
23669         (__USE_GNU): Don't define.
23670         (init_signaling_nan): Protoize.
23672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23674 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23676         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23678         (__cpymn): Likewise.
23679         (norm): Remove commented code.
23680         (denorm): Likewise.
23681         (__mp_dbl): Likewise.
23682         (__inv): Likewise.
23683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23684         (__cpymn): Likewise.
23685         (norm): Remove commented code.
23686         (denorm): Likewise.
23687         (__mp_dbl): Likewise.
23688         (__inv): Likewise.
23690         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23691         mp_no value for 1.0 and 2.0.
23692         (norm): Use RADIXI instead of radixi.d.
23693         (denorm): Likewise.
23694         (__mul): Use 0.0 instead of zero.d.
23695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23696         mp_no value for 1.0 and 2.0.
23697         (norm): Use RADIXI instead of radixi.d.
23698         (denorm): Likewise.
23699         (__mul): Use 0.0 instead of zero.d.
23701 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
23703         [BZ #14994]
23704         * math/s_casinh.c (__casinh): Reduce finite argument to first
23705         quadrant then set signs of results at the end.
23706         * math/s_casinhf.c (__casinhf): Likewise.
23707         * math/s_casinhl.c (__casinhl): Likewise.
23708         * math/libm-test.inc (casin_test): Add more tests.
23709         (casinh_test): Likewise.
23710         * sysdeps/i386/fpu/libm-test-ulps: Update.
23711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23713 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23715         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23717         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23719         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23720         declarations.
23721         (denorm): Likewise.
23722         (__mp_dbl): Likewise.
23723         (__inv): Likewise.
23725         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23726         and adjust the header comment.
23728         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23729         variable name from declaration.
23731 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
23733         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23734         Initialize COMMON_CPUID_INDEX_7 element.
23735         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23736         (CPUID_RTM): Likewise.
23737         (HAS_RTM): Likewise.
23738         (COMMON_CPUID_INDEX_7): New enum.
23740 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
23742         [BZ #14981]
23743         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23744         size is zero, record memory as freed.
23746 2013-01-03  Andreas Jaeger  <aj@suse.de>
23748         * po/ia.po: Add new Interlingua translation.
23750 2012-01-03  Allan McRae  <allan@archlinux.org>
23752         * locale/programs/localedef.c: Fix description of '--posix' flag.
23754 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
23756         * NEWS: Update dates in second copyright notice.
23757         * README: Update copyright dates in example.
23758         * manual/libc.texinfo: Update copyright dates.
23759         * scripts/test-installation.pl: Update copyright date in --version
23760         output.
23762         * hurd/ctty-input.c: Fix copyright notice formatting.
23763         * hurd/ctty-output.c: Likewise.
23764         * hurd/dtable.c: Likewise.
23765         * hurd/hurd-raise.c: Likewise.
23766         * hurd/hurdprio.c: Likewise.
23767         * hurd/msgportdemux.c: Likewise.
23768         * misc/sys/file.h: Likewise.
23769         * misc/sys/ioctl.h: Likewise.
23770         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23771         * sysdeps/mach/hurd/chdir.c: Likewise.
23772         * sysdeps/mach/hurd/fchdir.c: Likewise.
23773         * sysdeps/mach/hurd/rename.c: Likewise.
23774         * sysdeps/mach/hurd/rmdir.c: Likewise.
23775         * sysdeps/mach/hurd/seekdir.c: Likewise.
23776         * sysdeps/mach/hurd/setsid.c: Likewise.
23777         * sysdeps/posix/wait3.c: Likewise.
23779         * All files with FSF copyright notices: Update copyright dates
23780         using scripts/update-copyrights.
23781         * intl/plural.c: Regenerated.
23782         * locale/programs/charmap-kw.h: Likewise.
23783         * locale/programs/locfile-kw.h: Likewise.
23785 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23787         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23788         four values.
23790         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23791         calculation loop and add branch prediction.
23793         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23794         check access beyond bounds of m1np.
23796         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23797         MPTWO.
23798         (__inv): Remove local variable MPTWO to use the global
23799         constant.
23800         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23801         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23802         variable MPTWO.
23803         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23804         MP3HALFS static const.
23806 2013-01-01  David S. Miller  <davem@davemloft.net>
23808         * po/ca.po: Update from translation team.
23810 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
23812         * scripts/update-copyrights: New file.
23813         * Makeconfig: Reformat copyright notice.
23814         * ctype/ctype.h: Likewise.
23815         * debug/swprintf_chk.c: Likewise.
23816         * elf/dl-cache.c: Likewise.
23817         * elf/dl-debug.c: Likewise.
23818         * elf/dl-object.c: Likewise.
23819         * grp/initgroups.c: Likewise.
23820         * hurd/Makefile: Likewise.
23821         * hurd/hurd/signal.h: Likewise.
23822         * hurd/hurdfault.c: Likewise.
23823         * hurd/hurdioctl.c: Likewise.
23824         * hurd/hurdlookup.c: Likewise.
23825         * hurd/intr-msg.c: Likewise.
23826         * iconv/gconv_open.c: Likewise.
23827         * libio/swprintf.c: Likewise.
23828         * locale/lc-ctype.c: Likewise.
23829         * locale/nl_langinfo.c: Likewise.
23830         * mach/Machrules: Likewise.
23831         * mach/Makefile: Likewise.
23832         * malloc/obstack.h: Likewise.
23833         * manual/Makefile: Likewise.
23834         * manual/tsort.awk: Likewise.
23835         * misc/bits/stab.def: Likewise.
23836         * nis/nis_print_group_entry.c: Likewise.
23837         * nis/nis_table.c: Likewise.
23838         * nis/nss_compat/compat-pwd.c: Likewise.
23839         * nis/nss_compat/compat-spwd.c: Likewise.
23840         * po/Makefile: Likewise.
23841         * posix/fnmatch.c: Likewise.
23842         * posix/regex.h: Likewise.
23843         * resolv/Makefile: Likewise.
23844         * resolv/nss_dns/dns-network.c: Likewise.
23845         * resolv/res_hconf.c: Likewise.
23846         * scripts/gen-sorted.awk: Likewise.
23847         * soft-fp/soft-fp.h: Likewise.
23848         * stdio-common/printf.h: Likewise.
23849         * stdlib/monetary.h: Likewise.
23850         * stdlib/random.c: Likewise.
23851         * stdlib/random_r.c: Likewise.
23852         * sysdeps/generic/Makefile: Likewise.
23853         * sysdeps/gnu/Makefile: Likewise.
23854         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23855         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23856         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23857         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23858         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23859         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23860         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23861         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23862         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23863         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23864         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23865         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23866         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23867         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23868         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23869         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23870         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23871         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23872         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23873         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23874         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23875         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23876         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23877         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23878         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23879         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23880         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23881         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23882         * sysdeps/mach/hurd/errnos.awk: Likewise.
23883         * sysdeps/mach/hurd/fork.c: Likewise.
23884         * sysdeps/mach/hurd/getcwd.c: Likewise.
23885         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23886         * sysdeps/mach/hurd/mmap.c: Likewise.
23887         * sysdeps/mach/hurd/utimes.c: Likewise.
23888         * sysdeps/mach/hurd/xmknod.c: Likewise.
23889         * sysdeps/posix/profil.c: Likewise.
23890         * sysdeps/posix/readdir_r.c: Likewise.
23891         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23892         * sysdeps/powerpc/bits/setjmp.h: Likewise.
23893         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23894         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23895         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23896         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23897         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23898         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23900         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23901         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23902         * sysdeps/pthread/lio_listio.c: Likewise.
23903         * sysdeps/sparc/dl-procinfo.h: Likewise.
23904         * sysdeps/unix/i386/sysdep.S: Likewise.
23905         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23906         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23907         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23908         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23910         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23911         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23912         * sysdeps/unix/sysv/linux/speed.c: Likewise.
23913         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23914         * sysdeps/wordsize-32/divdi3.c: Likewise.
23915         * time/sys/time.h: Likewise.
23916         * wcsmbs/Makefile: Likewise.
23918 2013-01-01  David S. Miller  <davem@davemloft.net>
23920         * po/fr.po: Update from translation team.
23922         * catgets/gencat.c: Update copyright year.
23923         * csu/version.c: Likewise.
23924         * debug/catchsegv.sh: Likewise.
23925         * debug/pcprofiledump.c: Likewise.
23926         * debug/xtrace.sh: Likewise.
23927         * elf/ldconfig.c: Likewise.
23928         * elf/ldd.bash.in: Likewise.
23929         * elf/pldd.c: Likewise.
23930         * elf/sotruss.ksh: Likewise.
23931         * elf/sprof.c: Likewise.
23932         * iconv/iconv_prog.c: Likewise.
23933         * iconv/iconvconfig.c: Likewise.
23934         * locale/programs/locale.c: Likewise.
23935         * locale/programs/localedef.c: Likewise.
23936         * login/programs/pt_chown.c: Likewise.
23937         * malloc/memusage.sh: Likewise.
23938         * malloc/memusagestat.c: Likewise.
23939         * malloc/mtrace.pl: Likewise.
23940         * nscd/nscd.c: Likewise.
23941         * nss/getent.c: Likewise.
23942         * nss/makedb.c: Likewise.
23943         * posix/getconf.c: Likewise.
23945 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23947         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23948         numbers.
23950 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
23952         * math/bits/mathcalls.h (modf): Use __nonnull.
23954 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23956         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23957         (split): Use macro CN instead of the bare value.
23958         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23959         could be used.
23960         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23961         instead of the bare value.
23962         (power1): Likewise.
23964 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23966         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23967         __ATAN_TWOM.
23968         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23970         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23971         their values.
23972         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23973         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23974         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23975         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23977 2012-12-28  Andreas Jaeger  <aj@suse.de>
23979         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
23980         values are from Linux 3.7.
23982         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23983         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
23985 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23987         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23988         TRUE case.
23990         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23991         (norm): Likewise.
23992         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23993         variables with preprocessor constants.
23994         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23995         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23996         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23998 2012-12-27  Bruno Haible  <bruno@clisp.org>
24000         [BZ #14317]
24001         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24002         only if needed.
24004 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24006         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24007         and use variable directly.
24008         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24010         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24011         MPONE.
24012         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24013         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24014         variable MPONE.
24015         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24016         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24017         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24018         include directive.  Remove local variable MPONE.
24019         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24020         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24021         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24023 2012-12-25  David S. Miller  <davem@davemloft.net>
24025         * version.h (RELEASE): Set to "development".
24026         (VERSION): Set to "2.17.90".
24027         * NEWS: Add 2.18 section.
24029 2012-12-21  David S. Miller  <davem@davemloft.net>
24031         * po/hr.po: Update from translation team.
24033 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24035         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24037 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24039         * NEWS:  Mention new memcpy for MIPS.
24041 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24043         * manual/contrib.texi (Contributors): Spelling correction.
24045 2012-12-15  David S. Miller  <davem@davemloft.net>
24047         * po/ru.po: Update from translation team.
24049 2012-12-13  David S. Miller  <davem@davemloft.net>
24051         * NEWS: Mention IFUNC testsuite enhancements.
24053         * po/pl.po: Update from translation team.
24054         * po/bg.po: Likewise.
24056         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24057         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24059 2012-12-11  David S. Miller  <davem@davemloft.net>
24061         * po/sv.po: Update from translation team.
24063         * po/vi.po: Update from translation team.
24065         * po/cs.po: Update from translation team.
24067         * po/de.po: Update from translation team.
24068         * po/eo.po: Likewise.
24069         * po/nl.po: Likewise.
24071 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24073         [BZ #14246]
24074         * manual/argp.texi (Argp Helper Functions): Move node to follow
24075         Argp Parsing State.
24077         [BZ #14872]
24078         * manual/conf.texi (Limits on File System Capacity): Mention if
24079         terminating null is included in the max size.
24081 2012-12-10  Andreas Jaeger  <aj@suse.de>
24083         * po/cs.po: Update from translation team.
24085 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24087         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24088         void pointer and cast to uintptr_t.
24089         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24090         path.
24091         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24092         * sysdeps/s390/s390-64/memset.S: Likewise.
24094 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24096         [BZ #14833]
24097         * menual/message.texi (Message Translation): Fix typos.
24098         (Helper programs for gettext): Likewise.
24100 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24102         [BZ #14898]
24103         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24104         Change to -1.
24106 2012-12-07  David S. Miller  <davem@davemloft.net>
24108         * po/libc.pot: Update.
24110 2012-12-07  Richard Henderson  <rth@redhat.com>
24112         [BZ #10114]
24113         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24114         normal/normal case to before the switch.
24115         (_FP_DIV): Likewise.
24117 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24118             Mike Frysinger  <vapier@gentoo.org>
24120         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24121         check for __NR_fadvise64_64.
24123 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24125         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24126         0, not just to plain "0" as a statement.
24127         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24128         with cw.
24130 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24132         * NEWS: Use sourceware.org in Bugzilla URL.
24134 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24137         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24139         * stdio-common/tst-put-error.c (do_test): Add newline to the
24140         padded test to ensure flush.
24142 2012-12-05  Jeff Law  <law@redhat.com>
24144         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24146 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24148         * README: Don't refer to ports add-on as distributed separately.
24149         Mention AArch64 in list of systems supported in the ports add-on.
24151         * LICENSES: Add more non-FSF copyright and license notices.
24153         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24154         ((unused)).
24156         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24158         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24159         10000 as width of padded output.
24161 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24163         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24165         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24166         variable LX with __attribute__ ((unused)).
24167         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24168         Likewise.
24169         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24170         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24171         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24172         with __attribute__ ((unused)).
24174 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24176         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24178 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24180         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24181         (CFLAGS-nldbl-acos.c): New variable.
24182         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24183         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24184         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24185         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24186         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24187         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24188         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24189         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24190         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24191         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24192         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24193         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24194         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24195         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24196         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24197         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24198         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24199         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24200         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24201         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24202         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24203         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24204         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24205         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24206         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24207         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24208         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24209         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24210         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24211         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24212         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24213         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24214         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24215         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24216         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24217         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24218         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24219         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24220         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24221         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24222         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24223         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24224         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24225         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24226         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24227         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24228         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24229         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24230         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24231         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24232         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24233         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24234         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24235         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24236         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24237         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24238         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24239         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24240         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24241         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24242         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24243         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24244         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24245         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24246         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24247         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24248         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24249         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24250         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24251         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24252         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24253         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24254         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24255         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24256         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24257         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24258         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24259         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24260         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24261         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24262         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24263         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24264         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24265         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24266         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24267         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24268         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24269         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24270         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24271         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24272         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24273         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24274         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24275         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24276         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24277         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24278         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24281         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24283         [BZ #14914]
24284         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24285         whole low double instead of just low 47 bits when splitting values
24286         into two parts.
24288 2012-12-03  Allan McRae  <allan@archlinux.org>
24290         * manual/stdio.texi (Predefined Printf Handlers): Remove
24291         @hsep and @vsep usage.
24293 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24295         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24296         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24298 2012-12-03  Jeff Law  <law@redhat.com>
24300         * time/sys/time.h (settimeofday): Do not mark TV argument
24301         as __nonnull.
24303 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24305         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24306         when currently writing and seek to current position when not.
24307         * libio/Makefile (tests): Remove bug-fclose1.
24308         * libio/bug-fclose1.c: Delete.
24310 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24312         * manual/arith.texi (feenableexcept): Fix typo.
24313         (fedisableexcept): Likewise.
24315 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24317         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24318         second, differently-typed declaration, rather than a cast.
24320 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24322         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24323         * include/rpc/svc.h: ... here.
24325 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24327         [BZ #13013]
24328         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24329         depending n and resplen2 to catch cases where answer
24330         equals answerp2.
24332 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24334         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24335         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24337 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
24339         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24341 2012-11-29  Roland McGrath  <roland@hack.frob.com>
24343         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24345 2012-11-28  Jeff Law  <law@redhat.com>
24347         [BZ #13761]
24348         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24349         dataset_temporary.  Track alloca usage into alloca_used.
24350         If dataset is large allocate and release it via malloc/free.
24352 2012-06-04  Florian Weimer  <fweimer@redhat.com>
24354         [BZ #14197]
24355         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24357 2012-11-28  David S. Miller  <davem@davemloft.net>
24359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24361 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24363         [BZ #14803]
24364         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24365         of pi/2 rounded to nearest to 64 bits.
24366         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24367         nearest to 64 bits.
24368         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24369         bits.
24371 2012-11-28  Jeff Law <law@redhat.com>
24372             Martin Osvald <mosvald@redhat.com>
24374         [BZ #14889]
24375         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24376         * sunrpc/svc.c: Include time.h.
24377         (__svc_accept_failed): New function.
24378         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24379         any reason other than EINTR, call __svc_accept_failed.
24380         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24381         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24383 2012-11-28  Andreas Schwab  <schwab@suse.de>
24385         * scripts/abilist.awk: Also handle indirect functions in .opd
24386         section.
24388 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24390         [BZ #13881]
24391         * sysdeps/x86/fpu/powl_helper.c: New file.
24392         * sysdeps/x86/fpu/Makefile: Likewise.
24393         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24394         (p3): New object.
24395         (__ieee754_powl): Use __powl_helper for finite arguments except
24396         integer exponents below 8.
24397         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24398         (p3): New object.
24399         (__ieee754_powl): Use __powl_helper for finite arguments except
24400         integer exponents below 8.
24401         * math/libm-test.inc (pow_test): Add more tests and enable some
24402         previously disabled tests.
24403         * sysdeps/i386/fpu/libm-test-ulps: Update.
24404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24406 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24407             Carlos O'Donell  <carlos_odonell@mentor.com>
24409         * nss/makedb.c (is_prime): Assert that input is odd and greater
24410         than 4.  Note that fact in a comment too.
24411         (next_prime): Add 4 to input.
24413 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24415         [BZ #11741]
24416         * libio/Makefile (tests): Add test case tst-fwrite-error.
24417         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24418         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24419         * libio/tst-fwrite-error.c: New test case.
24421 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
24423         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24424         before casting to void *.
24425         * include/libc-internal.h (__pointer_type): New macro.
24426         (__integer_if_pointer_type_sub): Likewise.
24427         (__integer_if_pointer_type): Likewise.
24428         (cast_to_integer): Likewise.
24429         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24430         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24431         before casting to atomic64_t.
24432         (atomic_exchange_acq): Likewise.
24433         (__arch_exchange_and_add_body): Likewise.
24434         (__arch_add_body): Likewise.
24435         (atomic_add_negative): Likewise.
24436         (atomic_add_zero): Likewise.
24438 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
24440         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24441         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24442         (add_fdes): Likewise.
24443         (linear_search_fdes): Likewise.
24444         (binary_search_unencoded_fdes): Likewise.
24446 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
24448         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24450 2012-11-24  Adam Conrad  <adconrad@0c3.net>
24452         * configure.in: Autodetect C++ header directories.
24453         * configure: Regenerated.
24455 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
24457         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24459 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
24461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24463 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
24465         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24466         LDBL_MANT_DIG == 106]: Disable some tests.
24467         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24468         Likewise.
24469         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24470         Likewise.
24472         [BZ #14871]
24473         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24474         input for small inputs.  Return +/- pi/2 for large inputs.
24475         * math/libm-test.inc (atan_test): Add more tests.
24477         * sysdeps/generic/unwind-dw2-fde-glibc.c
24478         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24479         __attribute__ ((unused)).
24481         [BZ #14645]
24482         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24483         x * y if x and y are nonzero and z is zero.
24485         [BZ #14811]
24486         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24487         nonzero exponents with absolute value below 0x1p-117 to +/-
24488         0x1p-117.
24490         [BZ #14869]
24491         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24492         up arguments below 2**-450, not just those below 2**-500.
24493         * math/libm-test.inc (hypot_test): Add another test.
24495         [BZ #14868]
24496         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24497         Return a+b for ratio over 2**120, not 2**60.
24498         * math/libm-test.inc (hypot_test): Add another test.
24500         * math/libm-test.inc (clog_test): Use
24501         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24502         (clog10_test): Likewise.
24504         [BZ #6778]
24505         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24507 2012-11-22  Andreas Schwab  <schwab@suse.de>
24509         * sysdeps/i386/fpu/libm-test-ulps: Update.
24511 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
24513         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24514         printf output with newline.
24516 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
24518         [BZ #14865]
24519         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24520         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24521         -z nodlopen, -z initfirst and -z execstack support.
24522         * configure: Regenerated.
24524         * elf/elf.h (DF_1_NODIRECT): New macro.
24525         (DF_1_IGNMULDEF): Likewise.
24526         (DF_1_NOKSYMS): Likewise.
24527         (DF_1_NOHDR): Likewise.
24528         (DF_1_EDITED): Likewise.
24529         (DF_1_NORELOC): Likewise.
24530         (DF_1_SYMINTPOSE): Likewise.
24531         (DF_1_GLOBAUDIT): Likewise.
24532         (DF_1_SINGLETON): Likewise.
24533         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24534         DT_1_SUPPORTED_MASK bits.
24535         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24537 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
24539         * sysdeps/unix/make-syscalls.sh: Document prefixes.
24541 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
24543         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24544         macro.
24546         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24547         (sendmmsg): Move declarations...
24548         * socket/sys/socket.h: ... here.
24549         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24550         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24551         include it from...
24552         * socket/recvmmsg.c: ... this new file.
24553         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24554         (sendmmsg): Rename to __sendmmsg, create weak alias and make
24555         definition of __sendmmsg hidden.
24556         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24557         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24558         Move ENOSYS stub into and include it from...
24559         * socket/sendmmsg.c: ... this new file.
24560         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24561         (sysdep_routines): Move recvmmsg and sendmmsg...
24562         * socket/Makefile (routines): ... here.
24563         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24564         (GLIBC_PRIVATE): Add __sendmmsg.
24565         * include/sys/socket.h (__sendmmsg): Add declarations.
24566         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24567         sendmmsg.
24569 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
24571         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24572         variable I1 with __attribute__ ((unused)).
24573         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24575 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24577         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24578         DUMMY variables with __attribute__ ((unused)).
24580         * bits/byteswap.h: Include <bits/types.h>.
24581         (__bswap_64): Use __uint64_t instead of unsigned long long int.
24583 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24585         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24586         string_t.  Do not manually set errno.
24587         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24588         length with __strnlen.  Make sure to both set errno and return it on
24589         failure.
24591 2012-11-19  David S. Miller  <davem@davemloft.net>
24593         With help from Joseph Myers.
24594         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24595         very large arguments properly.
24596         * math/libm-test.inc (atan_test): New tests.
24597         (atan2_test): New tests.
24598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24601 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24603         [BZ #14856]
24604         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24605         Define to 3.
24607         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24608         [POSIX] (EADDRNOTAVAIL): Likewise.
24609         [POSIX] (EAFNOSUPPORT): Likewise.
24610         [POSIX] (EALREADY): Likewise.
24611         [POSIX] (ECONNABORTED): Likewise.
24612         [POSIX] (ECONNREFUSED): Likewise.
24613         [POSIX] (ECONNRESET): Likewise.
24614         [POSIX] (EDESTADDRREQ): Likewise.
24615         [POSIX] (EDQUOT): Likewise.
24616         [POSIX] (EHOSTUNREACH): Likewise.
24617         [POSIX] (EIDRM): Likewise.
24618         [POSIX] (EISCONN): Likewise.
24619         [POSIX] (ELOOP): Likewise.
24620         [POSIX] (EMULTIHOP): Likewise.
24621         [POSIX] (ENETDOWN): Likewise.
24622         [POSIX] (ENETUNREACH): Likewise.
24623         [POSIX] (ENOBUFS): Likewise.
24624         [POSIX] (ENODATA): Likewise.
24625         [POSIX] (ENOLINK): Likewise.
24626         [POSIX] (ENOMSG): Likewise.
24627         [POSIX] (ENOPROTOOPT): Likewise.
24628         [POSIX] (ENOSR): Likewise.
24629         [POSIX] (ENOSTR): Likewise.
24630         [POSIX] (ENOTCONN): Likewise.
24631         [POSIX] (ENOTSOCK): Likewise.
24632         [POSIX] (EOPNOTSUPP): Likewise.
24633         [POSIX] (EOVERFLOW): Likewise.
24634         [POSIX] (EPROTO): Likewise.
24635         [POSIX] (EPROTONOSUPPORT): Likewise.
24636         [POSIX] (EPROTOTYPE): Likewise.
24637         [POSIX] (ESTALE): Likewise.
24638         [POSIX] (ETIME): Likewise.
24639         [POSIX] (ETXTBSY): Likewise.
24640         [POSIX] (EWOULDBLOCK): Likewise.
24641         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24642         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24643         [POSIX] (SEEK_CUR): Likewise.
24644         [POSIX] (SEEK_END): Likewise.
24645         [POSIX || UNIX98] (mode_t): Do not require.
24646         [POSIX] (off_t): Likewise.
24647         [POSIX] (pid_t): Likewise.
24648         [POSIX] (sys/stat.h): Do not allow header.
24649         [POSIX] (unistd.h): Likewise.
24650         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24651         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24652         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24653         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24654         require.
24655         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24656         sigevent): Specify elements.
24657         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24658         entry.
24659         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24660         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24662         * conform/data/cpio.h-data [POSIX]: Disable whole file.
24663         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24664         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24665         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24666         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24667         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24668         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24669         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24670         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24671         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24672         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24673         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24674         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24675         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24676         Likewise.
24677         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24678         Likewise.
24679         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24680         Likewise.
24681         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24682         Likewise.
24683         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24684         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24685         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24686         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24687         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24688         Specify lower bound on value.
24689         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24690         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24691         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24692         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24693         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24694         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24695         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24696         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24697         value.
24698         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24699         as optional.
24700         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24701         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24702         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24703         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24704         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24705         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24706         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24707         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24708         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24709         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24710         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24711         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24712         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24713         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24714         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24715         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24716         entry.
24717         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24718         optional.
24719         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24720         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24721         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24722         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24723         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24724         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24725         Likewise.
24726         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24727         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24728         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24729         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24730         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
24731         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24732         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24733         as optional.
24734         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24735         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24736         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24737         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24738         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24739         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24740         specify as optional.
24741         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24742         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24743         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24744         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24745         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24746         [XPG3] (NL_LANGMAX): Likewise.
24747         [POSIX || XPG3] (NL_MSGMAX): Likewise.
24748         [POSIX || XPG3] (NL_NMAX): Likewise.
24749         [POSIX || XPG3] (NL_SETMAX): Likewise.
24750         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24751         [XPG3] (NZERO): Likewise.
24752         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24753         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24754         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24755         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24756         (REG_ERANGE): Expect.
24757         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24758         optional-constant.
24759         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24760         Use (void) in prototype.
24761         [POSIX] (*_t): Allow.
24762         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24763         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24764         (WRDE_BADVAL): Expect.
24766         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24767         expect.
24768         [XPG3 || XPG4] (O_RSYNC): Likewise.
24769         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24770         Likewise.
24771         [XPG3 || XPG4] (pthread_sigmask): Likewise.
24772         [XPG3 || XPG4] (sigqueue): Likewise.
24773         [XPG3 || XPG4] (sigtimedwait): Likewise.
24774         [XPG3 || XPG4] (sigwaitinfo): Likewise.
24775         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24776         [XPG3 || XPG4] (vsnprintf): Likewise.
24777         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24778         Likewise.
24779         [XPG3 || XPG4] (blksize_t): Likewise.
24780         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24781         Likewise.
24782         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24783         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24784         [XPG3 || XPG4] (struct itimerspec): Likewise.
24785         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24786         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24787         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24788         [XPG3 || XPG4] (clockid_t): Likewise.
24789         [XPG3 || XPG4] (timer_t): Likewise.
24790         [XPG3 || XPG4] (clock_getres): Likewise.
24791         [XPG3 || XPG4] (clock_gettime): Likewise.
24792         [XPG3 || XPG4] (clock_settime): Likewise.
24793         [XPG3 || XPG4] (nanosleep): Likewise.
24794         [XPG3 || XPG4] (timer_create): Likewise.
24795         [XPG3 || XPG4] (timer_delete): Likewise.
24796         [XPG3 || XPG4] (timer_gettime): Likewise.
24797         [XPG3 || XPG4] (timer_getoverrun): Likewise.
24798         [XPG3 || XPG4] (timer_settime): Likewise.
24799         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24800         [XPG3 || XPG4] (getlogin_r): Likewise.
24801         [XPG3 || XPG4] (pread): Likewise.
24802         [XPG3 || XPG4] (pthread_atfork): Likewise.
24803         [XPG3 || XPG4] (pwrite): Likewise.
24805         [BZ #14835]
24806         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24807         <bits/siginfo.h>.
24809 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24811         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24812         finalizing MALLSTREAM.
24814         * sysdeps/mach/hurd/syncfs.c: New file.
24816 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24818         [BZ #14719]
24819         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24820         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24821         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24822         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24823         (_nss_dns_gethostbyname4_r): Likewise.
24824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24825         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24827 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
24829         [BZ #13763]
24830         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24832 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
24834         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24835         * elf/cache.c (print_entry): Print ",AArch64" for
24836         FLAG_AARCH64_LIB64
24838         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24839         * elf/cache.c (print_entry): Print ",hard-float" for
24840         FLAG_ARM_LIBHF.
24842 2012-11-18  David S. Miller  <davem@davemloft.net>
24844         With help from Joseph Myers.
24845         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24846         cutoff to 2**-13.
24847         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24848         cutoff to 2**-25.
24849         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24850         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24851         small.
24852         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24853         * math/libm-test.inc (y0_test): New tests.
24854         (y1_test): New tests.
24855         * sysdeps/i386/fpu/libm-test-ulps: Update.
24856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24859 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
24861         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24862         64-bit targets.
24863         * configure: Regenerated.
24865 2012-11-17  David S. Miller  <davem@davemloft.net>
24867         [BZ #14811]
24868         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24869         nonzero exponents with absolute value below 0x1p-128 to +/-
24870         0x1p-128.
24872 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
24874         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24876         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24878         * posix/getconf-speclist.c: New file.
24879         * posix/posix-envs.def: Likewise.
24880         * posix/confstr.c (START_ENV_GROUP): New macro.
24881         (END_ENV_GROUP): Likewise.
24882         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24883         (KNOWN_PRESENT_ENV_STRING): Likewise.
24884         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24885         (UNKNOWN_ENVIRONMENT): Likewise.
24886         (confstr): Include posix-envs.def instead of handling
24887         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24888         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24889         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24890         (END_ENV_GROUP): Likewise.
24891         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24892         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24893         (UNKNOWN_ENVIRONMENT): Likewise.
24894         (__sysconf): Include posix-envs.def instead of handling associated
24895         cases directly here.
24896         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24897         preprocessing getconf-speclist.c rather than running getconf or
24898         generating empty file.
24900 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
24902         * scripts/check-local-headers.sh: Ignore 'mach' headers.
24904 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
24906         [BZ #14672]
24907         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24909 2012-11-16  David S. Miller  <davem@davemloft.net>
24911         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24912         smaller than LDBL_EPSILON/2.0L, just return xm1.
24914 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
24916         * elf/tst-array1.c (init): Set constructor priority to 1000.
24917         (fini): Set destructor priority to 1000.
24918         * elf/tst-array2dep.c: Likewise.
24920 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24922         [BZ #11741]
24923         * libio/fileops.c (_IO_new_file_write): Correctly return error.
24924         (_IO_new_file_xsputn): Also return EOF if none of the input
24925         data was written when overflow failed.
24926         * libio/iopadn.c (_IO_padn): Likewise.
24927         * libio/iowpadn.c (_IO_wpadn): Likewise.
24928         * stdio-common/tst-put-error.c: Add copyright notice.
24929         (do_test): Add case for printing padded string.
24930         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24931         _IO_padn returned error.
24932         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24933         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24934         return EOF.
24936 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24938         * libio/libioP.h: Add comment note that the references to C++
24939         bits are now obsolete.
24941 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24943         * math/libm-test.inc (check_complex): Use asprintf.
24945 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
24947         * debug/pcprofiledump.c (print_version): Update copyright year.
24948         * malloc/memusagestat.c (print_version): Likewise.
24950 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24952         [BZ #14831]
24953         * elf/Makefile (tests): Add tst-audit8.
24954         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24955         ($(objpfx)tst-audit8.out): New target.
24956         (tst-audit8-ENV): New variable.
24957         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24958         audit if l_reloc_result is NULL.
24959         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24960         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24961         * elf/tst-audit8.c: New file.
24963 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24965         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24966         * misc/Makefile (CFLAGS-select.c): Define.
24967         * posix/Makefile (CFLAGS-pause.c): Define.
24969 2012-11-13  David S. Miller  <davem@davemloft.net>
24971         * crypt/Makefile: Move test targets after toplevel Rules
24972         inclusion.  Grab any necessary sysdep routines when linking.
24973         * crypt/md5.c (md5_process_block): Remove define, we will always
24974         name it __md5_process_block.
24975         (md5_finish_ctx): Update md5_process_block call.
24976         (md5_stream): Likewise.
24977         (md5_process_bytes): Likewise.
24978         (md5_process_block): Rename to __md5_process_block and move to ...
24979         * crypt/md5-block.c: ... here.
24980         * crypt/sha256.c (sha256_process_block): Move to ...
24981         * crypt/sha256-block.c: ... here.
24982         * crypt/sha512.c (sha512_process_block): Move to ...
24983         * crypt/sha512-block.c: ... here.
24984         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24985         path.
24986         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24987         * sysdeps/sparc/sparc64/multiarch/Makefile
24988         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24989         crypt subdir.
24990         (localedef-aux): Add md5 crypto assembler when in locale subdir.
24991         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24992         multiarch changes.
24993         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24994         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24995         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24996         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24997         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24998         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24999         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25000         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25001         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25002         file.
25003         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25004         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25005         file.
25006         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25008 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25010         * timezone/tzselect.ksh: Update from tzcode git revision
25011         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25012         * timezone/zdump.c: Likewise.
25013         * timezone/zic.c: Likewise.
25014         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25015         in TZVERSION setting, not $(PKGVERSION).
25016         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25017         REPORT_BUGS_TO settings.
25019         [BZ #14838]
25020         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25021         macro.
25023 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25025         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25026         detection to immediately after _FP_ROUND().
25027         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25028         bits are 0.
25030 2012-11-11  David S. Miller  <davem@davemloft.net>
25032         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25033         inttypes.h
25034         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25035         __close rather than their public counterparts.
25037 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25039         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25040         file.
25041         [UNIX98] (sem_timedwait): Do not expect.
25042         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25043         [XPG4 || UNIX98] (sockatmark): Do not expect.
25044         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25045         (clock_getcpuclockid): Do not expect.
25046         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25047         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25048         Do not expect.
25049         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25050         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25051         [UNIX98] (vwscanf): Likewise.
25052         [UNIX98] (vswscanf): Likewise.
25054 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25056         * timezone/version.h: Remove file.
25057         * timezone/README: Do not refer to version.h.
25058         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25059         $(objpfx)version.h.
25060         ($(objpfx)zdump.o): Likewise.
25061         ($(objpfx)version.h): New target.
25063         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25064         2012i.
25065         * timezone/README: Don't mention modification to tzselect.ksh.
25066         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25067         work on unmodified tzselect.ksh.  Substitute version numbers in
25068         tzselect.ksh.
25070         * Makefile (format-me): Remove.
25071         (INSTALL): Adjust indentation.  Use commands directly instead of
25072         using $(format-me).
25074         * aclocal.m4 (ACX_PKGVERSION): New macro.
25075         (ACX_BUGURL): Likewise.
25076         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25077         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25078         (REPORT_BUGS_TO): Likewise.
25079         * configure: Regenerated.
25080         * config.h.in (PKGVERSION): New macro.
25081         (REPORT_BUGS_TO): Likewise.
25082         * config.make.in (PKGVERSION): New variable.
25083         (PKGVERSION_TEXI): Likewise.
25084         (REPORT_BUGS_TO): Likewise.
25085         (REPORT_BUGS_TEXI): Likewise.
25086         * Makefile (format-me): Use -I$(common-objpfx)manual.
25087         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25088         ($(common-objpfx)manual/%): New target.
25089         (manual/%): Remove target.
25090         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25091         (print_version): Use PKGVERSION.
25092         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25093         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25094         and REPORT_BUGS_TO.
25095         ($(objpfx)xtrace): Likewise.
25096         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25097         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25098         (print_version): Use PKGVERSION.
25099         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25100         (do_version): Use PKGVERSION.
25101         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25102         REPORT_BUGS_TO.
25103         (common-ldd-rewrite): Likewise.
25104         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25105         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25106         (print_version): Use PKGVERSION.
25107         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25108         * elf/pldd.c (argp_program_bug_address): Remove variable.
25109         (more_help): New function.
25110         (argp): Use more_help.
25111         (print_version): Use PKGVERSION.
25112         * elf/sln.c (main): Use PKGVERSION.
25113         (usage): Use REPORT_BUGS_TO.
25114         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25115         (top level): Use PKGVERSION.
25116         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25117         (print_version): Use PKGVERSION.
25118         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25119         (print_version): Use PKGVERSION.
25120         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25121         (print_version): Use PKGVERSION.
25122         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25123         (print_version): Use PKGVERSION.
25124         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25125         (print_version): Use PKGVERSION.
25126         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25127         (print_version): Use PKGVERSION.
25128         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25129         and BUGURL.
25130         ($(objpfx)memusage): Likewise.
25131         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25132         (do_version): Use PKGVERSION.
25133         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25134         (print_version): Use PKGVERSION.
25135         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25136         ($PKGVERSION): New variable.
25137         ($REPORT_BUGS_TO): Likewise.
25138         (usage): Use $REPORT_BUGS_TO.
25139         (top level): Use $PKGVERSION.
25140         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25141         ($(objpfx)pkgvers.texi): New rule.
25142         ($(objpfx)stamp-pkgvers): Likewise.
25143         * manual/install.texi: Include pkgvers.texi.
25144         (--with-pkgversion): Document new configure option.
25145         (--with-bugurl): Likewise.
25146         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25147         than necessarily for this particular distribution.  Use
25148         REPORT_BUGS_TO for where to report bugs.
25149         * INSTALL: Regenerated.
25150         * manual/libc.texinfo: Include pkgvers.texi.
25151         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25152         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25153         (print_version): Use PKGVERSION.
25154         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25155         (print_version): Use PKGVERSION.
25156         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25157         (print_version): Use PKGVERSION.
25158         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25159         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25160         macro.
25161         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25162         (print_version): Use PKGVERSION.
25163         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25164         (print_version): Use PKGVERSION.
25165         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25166         and PKGVERSION.
25168         * timezone/checktab.awk: Update from tzcode 2012i.
25169         * timezone/ialloc.c: Likewise.
25170         * timezone/private.h: Likewise.
25171         * timezone/scheck.c: Likewise.
25172         * timezone/tzfile.h: Likewise.
25173         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25174         (TZVERSION): Hardcode tzcode version number.
25175         * timezone/zdump.c: Update from tzcode 2012i.
25176         * timezone/zic.c: Likewise.
25177         * timezone/version.h: New file.
25178         * timezone/README: Describe version.h.  Update upstream location.
25180         [BZ #14824]
25181         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25182         (mktemp): Enable declaration.
25183         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25184         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25185         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25186         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25187         Likewise.
25188         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25189         Likewise.
25190         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25191         Likewise.
25192         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25193         Likewise.
25194         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25195         Likewise.
25196         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25197         Likewise.
25199         [BZ #14821]
25200         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25201         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25202         for copies of such integer values.
25203         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25204         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25206 2012-11-09  Andreas Jaeger  <aj@suse.de>
25208         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25209         definitions and declarations that are provided by
25210         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25212 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25214         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25215         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25216         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25217         definition.
25219 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25221         * elf/elf.h: Update comment before AArch64 relocations.
25223 2012-11-07  David S. Miller  <davem@davemloft.net>
25225         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25226         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25227         (__start_context): Declare.
25228         (__makecontext_ret): Delete.
25229         (__makecontext): Hook up __start_context instead of
25230         __makecontext_ret.
25231         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25232         (sysdep_routines): Add __start_context when in stdlib.
25234 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25236         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25237         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25238         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25239         hardcoded "nm".
25240         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25241         (READELF): New variable.  Use it instead of hardcoded "readelf".
25243 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25245         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25246         * sysdeps/x86/Makefile: Here.
25247         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25248         * sysdeps/x86/tst-xmmymm.sh: This.
25250 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25252         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25253         expectations.
25254         [UNIX98] (pthread_barrier_t): Do not expect.
25255         [UNIX98] (pthread_barrierattr_t): Likewise.
25256         [UNIX98] (pthread_spinlock_t): Likewise.
25257         [UNIX98] (pthread_barrier_destroy): Likewise.
25258         [UNIX98] (pthread_barrier_init): Likewise.
25259         [UNIX98] (pthread_barrier_wait): Likewise.
25260         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25261         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25262         [UNIX98] (pthread_barrierattr_init): Likewise.
25263         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25264         [UNIX98] (pthread_getcpuclockid): Likewise.
25265         [UNIX98] (pthread_mutex_timedlock): Likewise.
25266         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25267         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25268         [UNIX98] (pthread_sigmask): Likewise.
25269         [UNIX98] (pthread_spin_destroy): Likewise.
25270         [UNIX98] (pthread_spin_init): Likewise.
25271         [UNIX98] (pthread_spin_lock): Likewise.
25272         [UNIX98] (pthread_spin_trylock): Likewise.
25273         [UNIX98] (pthread_spin_unlock): Likewise.
25274         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25275         Do not expect.
25276         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25277         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25278         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25279         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25280         [XPG3 || XPG4] (pthread_key_t): Likewise.
25281         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25282         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25283         [XPG3 || XPG4] (pthread_once_t): Likewise.
25284         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25285         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25286         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25287         [XPG3 || XPG4] (pthread_t): Likewise.
25289         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25290         not expect.
25291         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25293         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25294         Change function return type to int.
25296         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25297         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25298         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25299         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25300         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25301         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25302         [!POSIX] (posix_madvise): Likewise.
25303         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25304         && !UNIX98].
25305         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25306         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25307         (mode_t): Likewise.
25308         (posix_mem_offset): Likewise.
25309         (posix_typed_mem_get_info): Likewise.
25310         (posix_typed_mem_open): Likewise.
25312         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25313         Change condition to [XOPEN2K8].
25315         * conform/conformtest.pl: Preprocess allow-header data with -x c
25316         instead of from stdin.
25317         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25318         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25319         [C99-based standards] (cerfc): Likewise.
25320         [C99-based standards] (cexp2): Likewise.
25321         [C99-based standards] (cexpm1): Likewise.
25322         [C99-based standards] (clog10): Likewise.
25323         [C99-based standards] (clog1p): Likewise.
25324         [C99-based standards] (clog2): Likewise.
25325         [C99-based standards] (clgamma): Likewise.
25326         [C99-based standards] (ctgamma): Likewise.
25327         [C99-based standards] (cerff): Likewise.
25328         [C99-based standards] (cerfcf): Likewise.
25329         [C99-based standards] (cexp2f): Likewise.
25330         [C99-based standards] (cexpm1f): Likewise.
25331         [C99-based standards] (clog10f): Likewise.
25332         [C99-based standards] (clog1pf): Likewise.
25333         [C99-based standards] (clog2f): Likewise.
25334         [C99-based standards] (clgammaf): Likewise.
25335         [C99-based standards] (ctgammaf): Likewise.
25336         [C99-based standards] (cerfl): Likewise.
25337         [C99-based standards] (cerfcl): Likewise.
25338         [C99-based standards] (cexp2l): Likewise.
25339         [C99-based standards] (cexpm1l): Likewise.
25340         [C99-based standards] (clog10l): Likewise.
25341         [C99-based standards] (clog1pl): Likewise.
25342         [C99-based standards] (clog2l): Likewise.
25343         [C99-based standards] (clgammal): Likewise.
25344         [C99-based standards] (ctgammal): Likewise.
25345         * conform/data/inttypes.h-data [C99-based standards]: Include
25346         stdint.h-data.  Remove all expectations for stdint.h contents.
25347         [C99-based standards] (PRI*): Do not allow.
25348         [C99-based standards] (SCN*): Likewise.
25349         [C99-based standards] (*_t): Likewise.
25350         [C99-based-standards] (PRId8): Expect macro.
25351         [C99-based-standards] (PRIi8): Likewise.
25352         [C99-based-standards] (PRIo8): Likewise.
25353         [C99-based-standards] (PRIu8): Likewise.
25354         [C99-based-standards] (PRIx8): Likewise.
25355         [C99-based-standards] (PRIX8): Likewise.
25356         [C99-based-standards] (SCNd8): Likewise.
25357         [C99-based-standards] (SCNi8): Likewise.
25358         [C99-based-standards] (SCNo8): Likewise.
25359         [C99-based-standards] (SCNu8): Likewise.
25360         [C99-based-standards] (SCNx8): Likewise.
25361         [C99-based-standards] (PRIdLEAST8): Likewise.
25362         [C99-based-standards] (PRIiLEAST8): Likewise.
25363         [C99-based-standards] (PRIoLEAST8): Likewise.
25364         [C99-based-standards] (PRIuLEAST8): Likewise.
25365         [C99-based-standards] (PRIxLEAST8): Likewise.
25366         [C99-based-standards] (PRIXLEAST8): Likewise.
25367         [C99-based-standards] (SCNdLEAST8): Likewise.
25368         [C99-based-standards] (SCNiLEAST8): Likewise.
25369         [C99-based-standards] (SCNoLEAST8): Likewise.
25370         [C99-based-standards] (SCNuLEAST8): Likewise.
25371         [C99-based-standards] (SCNxLEAST8): Likewise.
25372         [C99-based-standards] (PRIdFAST8): Likewise.
25373         [C99-based-standards] (PRIiFAST8): Likewise.
25374         [C99-based-standards] (PRIoFAST8): Likewise.
25375         [C99-based-standards] (PRIuFAST8): Likewise.
25376         [C99-based-standards] (PRIxFAST8): Likewise.
25377         [C99-based-standards] (PRIXFAST8): Likewise.
25378         [C99-based-standards] (SCNdFAST8): Likewise.
25379         [C99-based-standards] (SCNiFAST8): Likewise.
25380         [C99-based-standards] (SCNoFAST8): Likewise.
25381         [C99-based-standards] (SCNuFAST8): Likewise.
25382         [C99-based-standards] (SCNxFAST8): Likewise.
25383         [C99-based-standards] (PRId16): Likewise.
25384         [C99-based-standards] (PRIi16): Likewise.
25385         [C99-based-standards] (PRIo16): Likewise.
25386         [C99-based-standards] (PRIu16): Likewise.
25387         [C99-based-standards] (PRIx16): Likewise.
25388         [C99-based-standards] (PRIX16): Likewise.
25389         [C99-based-standards] (SCNd16): Likewise.
25390         [C99-based-standards] (SCNi16): Likewise.
25391         [C99-based-standards] (SCNo16): Likewise.
25392         [C99-based-standards] (SCNu16): Likewise.
25393         [C99-based-standards] (SCNx16): Likewise.
25394         [C99-based-standards] (PRIdLEAST16): Likewise.
25395         [C99-based-standards] (PRIiLEAST16): Likewise.
25396         [C99-based-standards] (PRIoLEAST16): Likewise.
25397         [C99-based-standards] (PRIuLEAST16): Likewise.
25398         [C99-based-standards] (PRIxLEAST16): Likewise.
25399         [C99-based-standards] (PRIXLEAST16): Likewise.
25400         [C99-based-standards] (SCNdLEAST16): Likewise.
25401         [C99-based-standards] (SCNiLEAST16): Likewise.
25402         [C99-based-standards] (SCNoLEAST16): Likewise.
25403         [C99-based-standards] (SCNuLEAST16): Likewise.
25404         [C99-based-standards] (SCNxLEAST16): Likewise.
25405         [C99-based-standards] (PRIdFAST16): Likewise.
25406         [C99-based-standards] (PRIiFAST16): Likewise.
25407         [C99-based-standards] (PRIoFAST16): Likewise.
25408         [C99-based-standards] (PRIuFAST16): Likewise.
25409         [C99-based-standards] (PRIxFAST16): Likewise.
25410         [C99-based-standards] (PRIXFAST16): Likewise.
25411         [C99-based-standards] (SCNdFAST16): Likewise.
25412         [C99-based-standards] (SCNiFAST16): Likewise.
25413         [C99-based-standards] (SCNoFAST16): Likewise.
25414         [C99-based-standards] (SCNuFAST16): Likewise.
25415         [C99-based-standards] (SCNxFAST16): Likewise.
25416         [C99-based-standards] (PRId32): Likewise.
25417         [C99-based-standards] (PRIi32): Likewise.
25418         [C99-based-standards] (PRIo32): Likewise.
25419         [C99-based-standards] (PRIu32): Likewise.
25420         [C99-based-standards] (PRIx32): Likewise.
25421         [C99-based-standards] (PRIX32): Likewise.
25422         [C99-based-standards] (SCNd32): Likewise.
25423         [C99-based-standards] (SCNi32): Likewise.
25424         [C99-based-standards] (SCNo32): Likewise.
25425         [C99-based-standards] (SCNu32): Likewise.
25426         [C99-based-standards] (SCNx32): Likewise.
25427         [C99-based-standards] (PRIdLEAST32): Likewise.
25428         [C99-based-standards] (PRIiLEAST32): Likewise.
25429         [C99-based-standards] (PRIoLEAST32): Likewise.
25430         [C99-based-standards] (PRIuLEAST32): Likewise.
25431         [C99-based-standards] (PRIxLEAST32): Likewise.
25432         [C99-based-standards] (PRIXLEAST32): Likewise.
25433         [C99-based-standards] (SCNdLEAST32): Likewise.
25434         [C99-based-standards] (SCNiLEAST32): Likewise.
25435         [C99-based-standards] (SCNoLEAST32): Likewise.
25436         [C99-based-standards] (SCNuLEAST32): Likewise.
25437         [C99-based-standards] (SCNxLEAST32): Likewise.
25438         [C99-based-standards] (PRIdFAST32): Likewise.
25439         [C99-based-standards] (PRIiFAST32): Likewise.
25440         [C99-based-standards] (PRIoFAST32): Likewise.
25441         [C99-based-standards] (PRIuFAST32): Likewise.
25442         [C99-based-standards] (PRIxFAST32): Likewise.
25443         [C99-based-standards] (PRIXFAST32): Likewise.
25444         [C99-based-standards] (SCNdFAST32): Likewise.
25445         [C99-based-standards] (SCNiFAST32): Likewise.
25446         [C99-based-standards] (SCNoFAST32): Likewise.
25447         [C99-based-standards] (SCNuFAST32): Likewise.
25448         [C99-based-standards] (SCNxFAST32): Likewise.
25449         [C99-based-standards] (PRId64): Likewise.
25450         [C99-based-standards] (PRIi64): Likewise.
25451         [C99-based-standards] (PRIo64): Likewise.
25452         [C99-based-standards] (PRIu64): Likewise.
25453         [C99-based-standards] (PRIx64): Likewise.
25454         [C99-based-standards] (PRIX64): Likewise.
25455         [C99-based-standards] (SCNd64): Likewise.
25456         [C99-based-standards] (SCNi64): Likewise.
25457         [C99-based-standards] (SCNo64): Likewise.
25458         [C99-based-standards] (SCNu64): Likewise.
25459         [C99-based-standards] (SCNx64): Likewise.
25460         [C99-based-standards] (PRIdLEAST64): Likewise.
25461         [C99-based-standards] (PRIiLEAST64): Likewise.
25462         [C99-based-standards] (PRIoLEAST64): Likewise.
25463         [C99-based-standards] (PRIuLEAST64): Likewise.
25464         [C99-based-standards] (PRIxLEAST64): Likewise.
25465         [C99-based-standards] (PRIXLEAST64): Likewise.
25466         [C99-based-standards] (SCNdLEAST64): Likewise.
25467         [C99-based-standards] (SCNiLEAST64): Likewise.
25468         [C99-based-standards] (SCNoLEAST64): Likewise.
25469         [C99-based-standards] (SCNuLEAST64): Likewise.
25470         [C99-based-standards] (SCNxLEAST64): Likewise.
25471         [C99-based-standards] (PRIdFAST64): Likewise.
25472         [C99-based-standards] (PRIiFAST64): Likewise.
25473         [C99-based-standards] (PRIoFAST64): Likewise.
25474         [C99-based-standards] (PRIuFAST64): Likewise.
25475         [C99-based-standards] (PRIxFAST64): Likewise.
25476         [C99-based-standards] (PRIXFAST64): Likewise.
25477         [C99-based-standards] (SCNdFAST64): Likewise.
25478         [C99-based-standards] (SCNiFAST64): Likewise.
25479         [C99-based-standards] (SCNoFAST64): Likewise.
25480         [C99-based-standards] (SCNuFAST64): Likewise.
25481         [C99-based-standards] (SCNxFAST64): Likewise.
25482         [C99-based-standards] (PRIdMAX): Likewise.
25483         [C99-based-standards] (PRIiMAX): Likewise.
25484         [C99-based-standards] (PRIoMAX): Likewise.
25485         [C99-based-standards] (PRIuMAX): Likewise.
25486         [C99-based-standards] (PRIxMAX): Likewise.
25487         [C99-based-standards] (PRIXMAX): Likewise.
25488         [C99-based-standards] (SCNdMAX): Likewise.
25489         [C99-based-standards] (SCNiMAX): Likewise.
25490         [C99-based-standards] (SCNoMAX): Likewise.
25491         [C99-based-standards] (SCNuMAX): Likewise.
25492         [C99-based-standards] (SCNxMAX): Likewise.
25493         [C99-based-standards] (PRIdPTR): Likewise.
25494         [C99-based-standards] (PRIiPTR): Likewise.
25495         [C99-based-standards] (PRIoPTR): Likewise.
25496         [C99-based-standards] (PRIuPTR): Likewise.
25497         [C99-based-standards] (PRIxPTR): Likewise.
25498         [C99-based-standards] (PRIXPTR): Likewise.
25499         [C99-based-standards] (SCNdPTR): Likewise.
25500         [C99-based-standards] (SCNiPTR): Likewise.
25501         [C99-based-standards] (SCNoPTR): Likewise.
25502         [C99-based-standards] (SCNuPTR): Likewise.
25503         [C99-based-standards] (SCNxPTR): Likewise.
25504         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25505         allow.
25506         * conform/data/stdint.h-data: Update comments to clarify
25507         requirements.
25508         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
25509         type.
25510         [C99-based standards] (INT8_MAX): Likewise.
25511         [C99-based standards] (INT16_MIN): Likewise.
25512         [C99-based standards] (INT16_MAX): Likewise.
25513         [C99-based standards] (INT32_MIN): Likewise.
25514         [C99-based standards] (INT32_MAX): Likewise.
25515         [C99-based standards] (INT64_MIN): Likewise.
25516         [C99-based standards] (INT64_MAX): Likewise.
25517         [C99-based standards] (UINT8_MAX): Likewise.
25518         [C99-based standards] (UINT16_MAX): Likewise.
25519         [C99-based standards] (UINT32_MAX): Likewise.
25520         [C99-based standards] (UINT64_MAX): Likewise.
25521         [C99-based standards] (INT_LEAST8_MIN): Likewise.
25522         [C99-based standards] (INT_LEAST8_MAX): Likewise.
25523         [C99-based standards] (INT_LEAST16_MIN): Likewise.
25524         [C99-based standards] (INT_LEAST16_MAX): Likewise.
25525         [C99-based standards] (INT_LEAST32_MIN): Likewise.
25526         [C99-based standards] (INT_LEAST32_MAX): Likewise.
25527         [C99-based standards] (INT_LEAST64_MIN): Likewise.
25528         [C99-based standards] (INT_LEAST64_MAX): Likewise.
25529         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25530         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25531         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25532         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25533         [C99-based standards] (INT_FAST8_MIN): Likewise.
25534         [C99-based standards] (INT_FAST8_MAX): Likewise.
25535         [C99-based standards] (INT_FAST16_MIN): Likewise.
25536         [C99-based standards] (INT_FAST16_MAX): Likewise.
25537         [C99-based standards] (INT_FAST32_MIN): Likewise.
25538         [C99-based standards] (INT_FAST32_MAX): Likewise.
25539         [C99-based standards] (INT_FAST64_MIN): Likewise.
25540         [C99-based standards] (INT_FAST64_MAX): Likewise.
25541         [C99-based standards] (UINT_FAST8_MAX): Likewise.
25542         [C99-based standards] (UINT_FAST16_MAX): Likewise.
25543         [C99-based standards] (UINT_FAST32_MAX): Likewise.
25544         [C99-based standards] (UINT_FAST64_MAX): Likewise.
25545         [C99-based standards] (INTPTR_MIN): Likewise.
25546         [C99-based standards] (INTPTR_MAX): Likewise.
25547         [C99-based standards] (UINTPTR_MAX): Likewise.
25548         [C99-based standards] (INTMAX_MIN): Likewise.
25549         [C99-based standards] (INTMAX_MAX): Likewise.
25550         [C99-based standards] (UINTMAX_MAX): Likewise.
25551         [C99-based standards] (PTRDIFF_MIN): Likewise.
25552         [C99-based standards] (PTRDIFF_MAX): Likewise.
25553         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25554         [C99-based standards] (SIZE_MAX): Likewise.
25555         [C99-based standards] (WCHAR_MAX): Likewise.
25556         [C99-based standards] (WINT_MAX): Likewise.
25557         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
25558         constraint on value.
25559         [C99-based standards] (WCHAR_MIN): Likewise.
25560         [C99-based standards] (WINT_MIN): Likewise.
25561         [C99-based standards] (*_t): Allow.
25562         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25563         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25564         Include math.h-data and complex.h-data.  Remove all expectations
25565         of math.h and complex.h contents.
25566         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25567         at end of line.
25568         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25569         (struct tm): Expect tag.
25570         [C99-based-standards] (wcstof): Expect function.
25571         [C99-based-standards] (wcstold): Likewise.
25572         [C99-based-standards] (wcstoll): Likewise.
25573         [C99-based-standards] (wcstoull): Likewise.
25574         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25575         macro-int-constant.  Specify type.
25576         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
25577         constraint on value.
25578         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25579         Specify type.
25580         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25581         Specify value.
25582         [ISO C standards]: Do not allow headers.
25583         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25584         wcs[abcdefghijklmnopqrstuvwxyz]*.
25585         [ISO C standards] (*_t): Do not allow.
25586         * conform/data/wctype.h-data [C99-based standards] (iswblank):
25587         Expect function.
25588         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25589         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25590         Specify type.
25591         [ISO C standards]: Do not allow headers.
25592         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25593         is[abcdefghijklmnopqrstuvwxyz]*.
25594         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25595         to[abcdefghijklmnopqrstuvwxyz]*.
25596         [ISO C standards] (*_t): Do not allow.
25597         * conform/data/stdalign.h-data: New file.
25598         * conform/data/stdbool.h-data: Likewise.
25599         * conform/data/stdnoreturn.h-data: Likewise.
25601 2012-11-07  Roland McGrath  <roland@hack.frob.com>
25603         [BZ #14815]
25604         * manual/filesys.texi (Directory Entries): Typo fix.
25605         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25607 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25609         * elf/elf.h (EM_AARCH64): New macro.
25610         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25611         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25612         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25613         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25614         (R_AARCH64_TLSDESC): Likewise.
25615         (NT_ARM_TLS): Likewise.
25616         (NT_ARM_HW_BREAK): Likewise.
25617         (NT_ARM_HW_WATCH): Likewise.
25619 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25621         [BZ #14811]
25622         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25623         (__ieee754_powl): Saturate nonzero exponents with absolute value
25624         below 0x1p-79 to +/- 0x1p-79.
25625         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25626         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25627         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25628         nonzero exponents with absolute value below 0x1p-32 to +/-
25629         0x1p-32.
25630         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25631         (__ieee754_powl): Saturate nonzero exponents with absolute value
25632         below 0x1p-79 to +/- 0x1p-79.
25633         * math/libm-test.inc (pow_test): Add more tests.
25635 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25637         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25638         _dl_s390_cap_flags with kernel. Increase string length.
25639         (_dl_s390_platforms): Add z196 and zEC12.
25641 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25643         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25644         Change XOPEN21K to XOPEN2K.
25646 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
25648         * string/memmove.c: Use memcpy when possible.
25650 2012-11-06  Andreas Jaeger  <aj@suse.de>
25652         * po/eo.po: Update from translation team.
25654 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
25656         [BZ #14793]
25657         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25658         exponent and small x and y exponents, scale x or y up.  Increase
25659         by 2 the exponent used in scaling up.
25660         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25661         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25662         * math/libm-test.inc (fma_test): Add more tests.
25663         (fma_test_towardzero): Likewise.
25664         (fma_test_downward): Likewise.
25665         (fma_test_upward): Likewise.
25667 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
25669         [BZ #14805]
25670         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25671         fenv_t *.
25673         [BZ #14801]
25674         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25675         namespace for names of struct fields.
25676         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25677         fenv_t fields.
25678         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25679         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25681 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25683         [BZ #3665]
25684         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25686 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25688         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25689         PTR_DEMANGLE.
25691         [BZ #5246]
25692         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25693         PTR_DEMANGLE.
25695 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
25697         [BZ #14797]
25698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25699         definitely overflow as x * y not x * y + z.
25700         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25701         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25702         * math/libm-test.inc (fma_test): Add more tests.
25703         (fma_test_towardzero): Likewise.
25704         (fma_test_downward): Likewise.
25705         (fma_test_upward): Likewise.
25707 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25709         [BZ #157]
25711         * include/stub-tag.h: Remove file.
25712         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25713         '#include' of it.
25714         * manual/maint.texi (Porting): Don't reference it.
25715         * Makerules ($(objpfx)stubs): Likewise.
25716         * dirent/closedir.c: Don't include <stub-tag.h>.
25717         * dirent/dirfd.c: Likewise.
25718         * dirent/fdopendir.c: Likewise.
25719         * dirent/getdents.c: Likewise.
25720         * dirent/getdents64.c: Likewise.
25721         * dirent/opendir.c: Likewise.
25722         * dirent/readdir.c: Likewise.
25723         * dirent/readdir64.c: Likewise.
25724         * dirent/readdir64_r.c: Likewise.
25725         * dirent/readdir_r.c: Likewise.
25726         * dirent/rewinddir.c: Likewise.
25727         * dirent/seekdir.c: Likewise.
25728         * dirent/telldir.c: Likewise.
25729         * gmon/profil.c: Likewise.
25730         * grp/setgroups.c: Likewise.
25731         * inet/if_index.c: Likewise.
25732         * io/access.c: Likewise.
25733         * io/chdir.c: Likewise.
25734         * io/chmod.c: Likewise.
25735         * io/chown.c: Likewise.
25736         * io/close.c: Likewise.
25737         * io/dup.c: Likewise.
25738         * io/dup2.c: Likewise.
25739         * io/dup3.c: Likewise.
25740         * io/euidaccess.c: Likewise.
25741         * io/faccessat.c: Likewise.
25742         * io/fchdir.c: Likewise.
25743         * io/fchmod.c: Likewise.
25744         * io/fchmodat.c: Likewise.
25745         * io/fchown.c: Likewise.
25746         * io/fchownat.c: Likewise.
25747         * io/fcntl.c: Likewise.
25748         * io/flock.c: Likewise.
25749         * io/fstatfs.c: Likewise.
25750         * io/fstatfs64.c: Likewise.
25751         * io/fstatvfs.c: Likewise.
25752         * io/fstatvfs64.c: Likewise.
25753         * io/futimens.c: Likewise.
25754         * io/fxstat.c: Likewise.
25755         * io/fxstat64.c: Likewise.
25756         * io/fxstatat.c: Likewise.
25757         * io/fxstatat64.c: Likewise.
25758         * io/getcwd.c: Likewise.
25759         * io/isatty.c: Likewise.
25760         * io/lchmod.c: Likewise.
25761         * io/lchown.c: Likewise.
25762         * io/link.c: Likewise.
25763         * io/linkat.c: Likewise.
25764         * io/lseek.c: Likewise.
25765         * io/lseek64.c: Likewise.
25766         * io/lxstat64.c: Likewise.
25767         * io/mkdir.c: Likewise.
25768         * io/mkdirat.c: Likewise.
25769         * io/mkfifo.c: Likewise.
25770         * io/mkfifoat.c: Likewise.
25771         * io/open.c: Likewise.
25772         * io/open64.c: Likewise.
25773         * io/openat.c: Likewise.
25774         * io/openat64.c: Likewise.
25775         * io/pipe.c: Likewise.
25776         * io/pipe2.c: Likewise.
25777         * io/poll.c: Likewise.
25778         * io/posix_fadvise.c: Likewise.
25779         * io/posix_fadvise64.c: Likewise.
25780         * io/posix_fallocate.c: Likewise.
25781         * io/posix_fallocate64.c: Likewise.
25782         * io/read.c: Likewise.
25783         * io/readlink.c: Likewise.
25784         * io/readlinkat.c: Likewise.
25785         * io/rmdir.c: Likewise.
25786         * io/sendfile.c: Likewise.
25787         * io/sendfile64.c: Likewise.
25788         * io/statfs.c: Likewise.
25789         * io/statfs64.c: Likewise.
25790         * io/statvfs.c: Likewise.
25791         * io/statvfs64.c: Likewise.
25792         * io/symlink.c: Likewise.
25793         * io/symlinkat.c: Likewise.
25794         * io/ttyname.c: Likewise.
25795         * io/ttyname_r.c: Likewise.
25796         * io/umask.c: Likewise.
25797         * io/unlink.c: Likewise.
25798         * io/unlinkat.c: Likewise.
25799         * io/utime.c: Likewise.
25800         * io/utimensat.c: Likewise.
25801         * io/write.c: Likewise.
25802         * io/xmknod.c: Likewise.
25803         * io/xmknodat.c: Likewise.
25804         * io/xstat.c: Likewise.
25805         * io/xstat64.c: Likewise.
25806         * login/getpt.c: Likewise.
25807         * login/grantpt.c: Likewise.
25808         * login/unlockpt.c: Likewise.
25809         * math/e_acoshl.c: Likewise.
25810         * math/e_acosl.c: Likewise.
25811         * math/e_asinl.c: Likewise.
25812         * math/e_atan2l.c: Likewise.
25813         * math/e_atanhl.c: Likewise.
25814         * math/e_coshl.c: Likewise.
25815         * math/e_expl.c: Likewise.
25816         * math/e_fmodl.c: Likewise.
25817         * math/e_gammal_r.c: Likewise.
25818         * math/e_hypotl.c: Likewise.
25819         * math/e_j0l.c: Likewise.
25820         * math/e_j1l.c: Likewise.
25821         * math/e_jnl.c: Likewise.
25822         * math/e_lgammal_r.c: Likewise.
25823         * math/e_log10l.c: Likewise.
25824         * math/e_log2l.c: Likewise.
25825         * math/e_logl.c: Likewise.
25826         * math/e_powl.c: Likewise.
25827         * math/e_rem_pio2l.c: Likewise.
25828         * math/e_sinhl.c: Likewise.
25829         * math/e_sqrtl.c: Likewise.
25830         * math/fclrexcpt.c: Likewise.
25831         * math/fedisblxcpt.c: Likewise.
25832         * math/feenablxcpt.c: Likewise.
25833         * math/fegetenv.c: Likewise.
25834         * math/fegetexcept.c: Likewise.
25835         * math/fegetround.c: Likewise.
25836         * math/feholdexcpt.c: Likewise.
25837         * math/fesetenv.c: Likewise.
25838         * math/fesetround.c: Likewise.
25839         * math/feupdateenv.c: Likewise.
25840         * math/fgetexcptflg.c: Likewise.
25841         * math/fraiseexcpt.c: Likewise.
25842         * math/fsetexcptflg.c: Likewise.
25843         * math/ftestexcept.c: Likewise.
25844         * math/k_cosl.c: Likewise.
25845         * math/k_rem_pio2l.c: Likewise.
25846         * math/k_sinl.c: Likewise.
25847         * math/k_tanl.c: Likewise.
25848         * math/s_asinhl.c: Likewise.
25849         * math/s_atanl.c: Likewise.
25850         * math/s_cbrtl.c: Likewise.
25851         * math/s_erfl.c: Likewise.
25852         * math/s_expm1l.c: Likewise.
25853         * math/s_log1pl.c: Likewise.
25854         * math/s_tanhl.c: Likewise.
25855         * misc/acct.c: Likewise.
25856         * misc/brk.c: Likewise.
25857         * misc/chflags.c: Likewise.
25858         * misc/chroot.c: Likewise.
25859         * misc/fchflags.c: Likewise.
25860         * misc/fgetxattr.c: Likewise.
25861         * misc/flistxattr.c: Likewise.
25862         * misc/fremovexattr.c: Likewise.
25863         * misc/fsetxattr.c: Likewise.
25864         * misc/fsync.c: Likewise.
25865         * misc/ftruncate.c: Likewise.
25866         * misc/futimes.c: Likewise.
25867         * misc/futimesat.c: Likewise.
25868         * misc/getdomain.c: Likewise.
25869         * misc/getdtsz.c: Likewise.
25870         * misc/gethostid.c: Likewise.
25871         * misc/gethostname.c: Likewise.
25872         * misc/getloadavg.c: Likewise.
25873         * misc/getpagesize.c: Likewise.
25874         * misc/getsysstats.c: Likewise.
25875         * misc/getxattr.c: Likewise.
25876         * misc/gtty.c: Likewise.
25877         * misc/ioctl.c: Likewise.
25878         * misc/lgetxattr.c: Likewise.
25879         * misc/listxattr.c: Likewise.
25880         * misc/llistxattr.c: Likewise.
25881         * misc/lremovexattr.c: Likewise.
25882         * misc/lsetxattr.c: Likewise.
25883         * misc/lutimes.c: Likewise.
25884         * misc/madvise.c: Likewise.
25885         * misc/mincore.c: Likewise.
25886         * misc/mlock.c: Likewise.
25887         * misc/mlockall.c: Likewise.
25888         * misc/mmap.c: Likewise.
25889         * misc/mprotect.c: Likewise.
25890         * misc/msync.c: Likewise.
25891         * misc/munlock.c: Likewise.
25892         * misc/munlockall.c: Likewise.
25893         * misc/munmap.c: Likewise.
25894         * misc/preadv.c: Likewise.
25895         * misc/preadv64.c: Likewise.
25896         * misc/ptrace.c: Likewise.
25897         * misc/pwritev.c: Likewise.
25898         * misc/pwritev64.c: Likewise.
25899         * misc/readv.c: Likewise.
25900         * misc/reboot.c: Likewise.
25901         * misc/remap_file_pages.c: Likewise.
25902         * misc/removexattr.c: Likewise.
25903         * misc/revoke.c: Likewise.
25904         * misc/select.c: Likewise.
25905         * misc/setdomain.c: Likewise.
25906         * misc/setegid.c: Likewise.
25907         * misc/seteuid.c: Likewise.
25908         * misc/sethostid.c: Likewise.
25909         * misc/sethostname.c: Likewise.
25910         * misc/setregid.c: Likewise.
25911         * misc/setreuid.c: Likewise.
25912         * misc/setxattr.c: Likewise.
25913         * misc/sstk.c: Likewise.
25914         * misc/stty.c: Likewise.
25915         * misc/swapoff.c: Likewise.
25916         * misc/swapon.c: Likewise.
25917         * misc/sync.c: Likewise.
25918         * misc/syncfs.c: Likewise.
25919         * misc/syscall.c: Likewise.
25920         * misc/truncate.c: Likewise.
25921         * misc/ualarm.c: Likewise.
25922         * misc/usleep.c: Likewise.
25923         * misc/ustat.c: Likewise.
25924         * misc/utimes.c: Likewise.
25925         * misc/vhangup.c: Likewise.
25926         * misc/writev.c: Likewise.
25927         * posix/_exit.c: Likewise.
25928         * posix/alarm.c: Likewise.
25929         * posix/execve.c: Likewise.
25930         * posix/fexecve.c: Likewise.
25931         * posix/fork.c: Likewise.
25932         * posix/fpathconf.c: Likewise.
25933         * posix/getaddrinfo.c: Likewise.
25934         * posix/getegid.c: Likewise.
25935         * posix/geteuid.c: Likewise.
25936         * posix/getgid.c: Likewise.
25937         * posix/getgroups.c: Likewise.
25938         * posix/getlogin.c: Likewise.
25939         * posix/getlogin_r.c: Likewise.
25940         * posix/getpgid.c: Likewise.
25941         * posix/getpid.c: Likewise.
25942         * posix/getppid.c: Likewise.
25943         * posix/getresgid.c: Likewise.
25944         * posix/getresuid.c: Likewise.
25945         * posix/getsid.c: Likewise.
25946         * posix/getuid.c: Likewise.
25947         * posix/glob64.c: Likewise.
25948         * posix/nanosleep.c: Likewise.
25949         * posix/pathconf.c: Likewise.
25950         * posix/pause.c: Likewise.
25951         * posix/posix_madvise.c: Likewise.
25952         * posix/pread.c: Likewise.
25953         * posix/pread64.c: Likewise.
25954         * posix/pwrite.c: Likewise.
25955         * posix/pwrite64.c: Likewise.
25956         * posix/sched_getaffinity.c: Likewise.
25957         * posix/sched_getp.c: Likewise.
25958         * posix/sched_gets.c: Likewise.
25959         * posix/sched_primax.c: Likewise.
25960         * posix/sched_primin.c: Likewise.
25961         * posix/sched_rr_gi.c: Likewise.
25962         * posix/sched_setaffinity.c: Likewise.
25963         * posix/sched_setp.c: Likewise.
25964         * posix/sched_sets.c: Likewise.
25965         * posix/sched_yield.c: Likewise.
25966         * posix/setgid.c: Likewise.
25967         * posix/setlogin.c: Likewise.
25968         * posix/setpgid.c: Likewise.
25969         * posix/setresgid.c: Likewise.
25970         * posix/setresuid.c: Likewise.
25971         * posix/setsid.c: Likewise.
25972         * posix/setuid.c: Likewise.
25973         * posix/sleep.c: Likewise.
25974         * posix/spawni.c: Likewise.
25975         * posix/sysconf.c: Likewise.
25976         * posix/times.c: Likewise.
25977         * posix/wait.c: Likewise.
25978         * posix/wait3.c: Likewise.
25979         * posix/wait4.c: Likewise.
25980         * posix/waitpid.c: Likewise.
25981         * resolv/gai_sigqueue.c: Likewise.
25982         * resource/getpriority.c: Likewise.
25983         * resource/getrlimit.c: Likewise.
25984         * resource/getrusage.c: Likewise.
25985         * resource/nice.c: Likewise.
25986         * resource/setpriority.c: Likewise.
25987         * resource/setrlimit.c: Likewise.
25988         * resource/ulimit.c: Likewise.
25989         * rt/aio_cancel.c: Likewise.
25990         * rt/aio_fsync.c: Likewise.
25991         * rt/aio_read.c: Likewise.
25992         * rt/aio_sigqueue.c: Likewise.
25993         * rt/aio_suspend.c: Likewise.
25994         * rt/aio_write.c: Likewise.
25995         * rt/clock_getres.c: Likewise.
25996         * rt/clock_gettime.c: Likewise.
25997         * rt/clock_nanosleep.c: Likewise.
25998         * rt/clock_settime.c: Likewise.
25999         * rt/lio_listio.c: Likewise.
26000         * rt/mq_close.c: Likewise.
26001         * rt/mq_getattr.c: Likewise.
26002         * rt/mq_notify.c: Likewise.
26003         * rt/mq_open.c: Likewise.
26004         * rt/mq_receive.c: Likewise.
26005         * rt/mq_send.c: Likewise.
26006         * rt/mq_setattr.c: Likewise.
26007         * rt/mq_timedreceive.c: Likewise.
26008         * rt/mq_timedsend.c: Likewise.
26009         * rt/mq_unlink.c: Likewise.
26010         * rt/shm_open.c: Likewise.
26011         * rt/shm_unlink.c: Likewise.
26012         * rt/timer_create.c: Likewise.
26013         * rt/timer_delete.c: Likewise.
26014         * rt/timer_getoverr.c: Likewise.
26015         * rt/timer_gettime.c: Likewise.
26016         * rt/timer_settime.c: Likewise.
26017         * setjmp/__longjmp.c: Likewise.
26018         * setjmp/setjmp.c: Likewise.
26019         * signal/kill.c: Likewise.
26020         * signal/killpg.c: Likewise.
26021         * signal/raise.c: Likewise.
26022         * signal/sigaction.c: Likewise.
26023         * signal/sigaltstack.c: Likewise.
26024         * signal/sigblock.c: Likewise.
26025         * signal/sigignore.c: Likewise.
26026         * signal/sigintr.c: Likewise.
26027         * signal/signal.c: Likewise.
26028         * signal/sigpause.c: Likewise.
26029         * signal/sigpending.c: Likewise.
26030         * signal/sigqueue.c: Likewise.
26031         * signal/sigreturn.c: Likewise.
26032         * signal/sigset.c: Likewise.
26033         * signal/sigsetmask.c: Likewise.
26034         * signal/sigstack.c: Likewise.
26035         * signal/sigsuspend.c: Likewise.
26036         * signal/sigtimedwait.c: Likewise.
26037         * signal/sigvec.c: Likewise.
26038         * signal/sigwait.c: Likewise.
26039         * signal/sigwaitinfo.c: Likewise.
26040         * signal/sysv_signal.c: Likewise.
26041         * socket/accept.c: Likewise.
26042         * socket/accept4.c: Likewise.
26043         * socket/bind.c: Likewise.
26044         * socket/connect.c: Likewise.
26045         * socket/getpeername.c: Likewise.
26046         * socket/getsockname.c: Likewise.
26047         * socket/getsockopt.c: Likewise.
26048         * socket/isfdtype.c: Likewise.
26049         * socket/listen.c: Likewise.
26050         * socket/recv.c: Likewise.
26051         * socket/recvfrom.c: Likewise.
26052         * socket/recvmsg.c: Likewise.
26053         * socket/send.c: Likewise.
26054         * socket/sendmsg.c: Likewise.
26055         * socket/sendto.c: Likewise.
26056         * socket/setsockopt.c: Likewise.
26057         * socket/shutdown.c: Likewise.
26058         * socket/sockatmark.c: Likewise.
26059         * socket/socket.c: Likewise.
26060         * socket/socketpair.c: Likewise.
26061         * stdio-common/ctermid.c: Likewise.
26062         * stdio-common/cuserid.c: Likewise.
26063         * stdio-common/remove.c: Likewise.
26064         * stdio-common/rename.c: Likewise.
26065         * stdio-common/renameat.c: Likewise.
26066         * stdio-common/tempname.c: Likewise.
26067         * stdlib/getcontext.c: Likewise.
26068         * stdlib/makecontext.c: Likewise.
26069         * stdlib/setcontext.c: Likewise.
26070         * stdlib/swapcontext.c: Likewise.
26071         * stdlib/system.c: Likewise.
26072         * streams/fattach.c: Likewise.
26073         * streams/fdetach.c: Likewise.
26074         * streams/getmsg.c: Likewise.
26075         * streams/getpmsg.c: Likewise.
26076         * streams/putmsg.c: Likewise.
26077         * streams/putpmsg.c: Likewise.
26078         * sysdeps/unix/bsd/getpt.c: Likewise.
26079         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26080         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26081         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26083         Likewise.
26084         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26085         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26086         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26087         * sysvipc/msgctl.c: Likewise.
26088         * sysvipc/msgget.c: Likewise.
26089         * sysvipc/msgrcv.c: Likewise.
26090         * sysvipc/msgsnd.c: Likewise.
26091         * sysvipc/semctl.c: Likewise.
26092         * sysvipc/semget.c: Likewise.
26093         * sysvipc/semop.c: Likewise.
26094         * sysvipc/semtimedop.c: Likewise.
26095         * sysvipc/shmat.c: Likewise.
26096         * sysvipc/shmctl.c: Likewise.
26097         * sysvipc/shmdt.c: Likewise.
26098         * sysvipc/shmget.c: Likewise.
26099         * termios/tcdrain.c: Likewise.
26100         * termios/tcflow.c: Likewise.
26101         * termios/tcflush.c: Likewise.
26102         * termios/tcgetattr.c: Likewise.
26103         * termios/tcgetpgrp.c: Likewise.
26104         * termios/tcsendbrk.c: Likewise.
26105         * termios/tcsetattr.c: Likewise.
26106         * termios/tcsetpgrp.c: Likewise.
26107         * time/adjtime.c: Likewise.
26108         * time/clock.c: Likewise.
26109         * time/getitimer.c: Likewise.
26110         * time/gettimeofday.c: Likewise.
26111         * time/setitimer.c: Likewise.
26112         * time/settimeofday.c: Likewise.
26113         * time/stime.c: Likewise.
26114         * time/time.c: Likewise.
26116 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26118         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26119         /usr/old/bin.
26121         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26122         instead of spaces.
26123         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26125 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26127         [BZ #14796]
26128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26129         FE_TONEAREST before applying Dekker multiplication and Knuth
26130         addition.  Clear inexact exceptions and check for exact zero
26131         results afterwards.
26132         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26133         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26134         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26135         * math/libm-test.inc (fma_test): Add more tests.
26136         (fma_test_towardzero): Likewise.
26137         (fma_test_downward): Likewise.
26138         (fma_test_upward): Likewise.
26139         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26140         function.
26141         (libc_fesetround): New macro.
26142         (libc_fesetroundf): Likewise.
26143         (libc_fesetroundl): Likewise.
26144         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26145         function.
26146         (libc_fesetround_387): Likewise.
26147         (libc_fesetroundf): New macro.
26148         (libc_fesetround): Likewise.
26149         (libc_fesetroundl): Likewise.
26150         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26151         function.
26152         (libc_fesetroundf): New macro.
26153         (libc_fesetround): Likewise.
26154         (libc_fesetroundl): Likewise.
26155         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26156         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26157         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26158         libm_hidden_ver.
26159         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26160         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26161         libm_hidden_def.
26162         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26163         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26164         libm_hidden_ver.
26165         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26166         libm_hidden_def.
26168         [BZ #3439]
26169         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26170         integer constant usable in #if and use that to give value to enum
26171         constant.
26172         (FE_DIVBYZERO): Likewise.
26173         (FE_UNDERFLOW): Likewise.
26174         (FE_OVERFLOW): Likewise.
26175         (FE_INVALID): Likewise.
26176         (FE_INVALID_SNAN): Likewise.
26177         (FE_INVALID_ISI): Likewise.
26178         (FE_INVALID_IDI): Likewise.
26179         (FE_INVALID_ZDZ): Likewise.
26180         (FE_INVALID_IMZ): Likewise.
26181         (FE_INVALID_COMPARE): Likewise.
26182         (FE_INVALID_SOFTWARE): Likewise.
26183         (FE_INVALID_SQRT): Likewise.
26184         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26185         (FE_TONEAREST): Likewise.
26186         (FE_TOWARDZERO): Likewise.
26187         (FE_UPWARD): Likewise.
26188         (FE_DOWNWARD): Likewise.
26189         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26190         (FE_DIVBYZERO): Likewise.
26191         (FE_OVERFLOW): Likewise.
26192         (FE_UNDERFLOW): Likewise.
26193         (FE_INEXACT): Likewise.
26194         (FE_TONEAREST): Likewise.
26195         (FE_DOWNWARD): Likewise.
26196         (FE_UPWARD): Likewise.
26197         (FE_TOWARDZERO): Likewise.
26198         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26199         (FE_UNDERFLOW): Likewise.
26200         (FE_OVERFLOW): Likewise.
26201         (FE_DIVBYZERO): Likewise.
26202         (FE_INVALID): Likewise.
26203         (FE_TONEAREST): Likewise.
26204         (FE_TOWARDZERO): Likewise.
26205         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26206         (FE_OVERFLOW): Likewise.
26207         (FE_UNDERFLOW): Likewise.
26208         (FE_DIVBYZERO): Likewise.
26209         (FE_INEXACT): Likewise.
26210         (FE_TONEAREST): Likewise.
26211         (FE_TOWARDZERO): Likewise.
26212         (FE_UPWARD): Likewise.
26213         (FE_DOWNWARD): Likewise.
26214         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26215         (FE_DIVBYZERO): Likewise.
26216         (FE_OVERFLOW): Likewise.
26217         (FE_UNDERFLOW): Likewise.
26218         (FE_INEXACT): Likewise.
26219         (FE_TONEAREST): Likewise.
26220         (FE_DOWNWARD): Likewise.
26221         (FE_UPWARD): Likewise.
26222         (FE_TOWARDZERO): Likewise.
26224 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26226         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26228 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26230         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26231         commands.  Quote $PWD.
26232         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26233         -x" by "export".
26234         (remove_newlines): Remove.
26236 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26238         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26239         * stdlib/stdlib.h (atof): Moved to ...
26240         * include/bits/stdlib-float.h: Here.  New file.
26241         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26242         * stdlib/bits/stdlib-float.h: New file.
26243         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26244         -mno-sse -mno-mmx.
26245         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26246         <xmmintrin.h>.
26248 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26250         * conform/conformtest.pl (@headers): Add fenv.h.
26251         * conform/data/fenv.h-data: New file.
26252         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26253         include of <math/fenv.h>.
26255         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26256         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26257         && !UNIX98].  Enables tests for XOPEN2K8.
26258         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26259         POSIX2008]: Likewise.
26261         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26262         (struct rusage): Do not expect type or its members.
26264         [BZ #3439]
26265         * math/math.h (FP_NAN): Define macro to integer constant usable in
26266         #if and use that to give value to enum constant.
26267         (FP_INFINITE): Likewise.
26268         (FP_ZERO): Likewise.
26269         (FP_SUBNORMAL): Likewise.
26270         (FP_NORMAL): Likewise.
26272 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26274         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26275         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26276         arguments.
26278 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26280         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26281         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26282         autoconf-time if not.
26283         * configure.in: Remove AC_PREREQ.
26285 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26287         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26288         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26289         of the internal implementation.
26291 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26293         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26294         except include of <misc/sys/syslog.h>.
26296 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26299         function returns with a NULL context exit with zero.
26301 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26303         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26305 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26307         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26308         (run_program_cmd): This.
26309         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26310         (tst_langinfo): New variable.  Use it.
26312 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26314         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26315         floating point opcodes.
26317 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26319         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26320         variable.
26322         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26324         * sysdeps/mach/hurd/powerpc: Remove directory.
26325         * sysdeps/mach/powerpc: Likewise.
26327 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26329         * scripts/check-local-headers.sh: Ignore c++ headers.
26331 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26333         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26334         __libc_cleanup_region_start argument.
26336 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
26338         [BZ #14784]
26339         [BZ #14785]
26340         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26341         x * y using scaling, not as x * y + z.
26342         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26343         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26344         * math/libm-test.inc (fma_test): Add more tests.
26345         (fma_test_towardzero): Likewise.
26346         (fma_test_downward): Likewise.
26347         (fma_test_upward): Likewise.
26349 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26351         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26353 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26355         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26356         New variable.
26358 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
26360         * rt/tst-shm.c (worker): Correct checking for mmap failure.
26362 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26365         Fix sort order.
26366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26367         Likewise.
26369 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26372         Fix the order of the list for glibc 2.17.
26373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26374         Likewise.
26376 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26380 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26382         [BZ #14610]
26383         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26384         for low part of x being zero before using __atanl (y).
26385         * math/libm-test.inc (atan2_test): Add another test.
26387         * manual/install.texi (Configuring and compiling): Document
26388         general use of test-wrapper and test-wrapper-env.
26389         * INSTALL: Regenerated.
26391         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26392         (__fma): Do not extract and scale down low bits on after-rounding
26393         systems when result rounded to normal precision would have normal
26394         exponent.
26395         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26396         (__fmal): Do not extract and scale down low bits on after-rounding
26397         systems when result rounded to normal precision would have normal
26398         exponent.
26399         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26400         (__fmal): Do not extract and scale down low bits on after-rounding
26401         systems when result rounded to normal precision would have normal
26402         exponent.
26403         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26404         macro.
26405         (fma_test): Add more tests.
26406         (fma_test_towardzero): Likewise.
26407         (fma_test_downward): Likewise.
26408         (fma_test_upward): Likewise.
26410 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
26412         * sysdeps/i386/tininess.h: Renamed to ...
26413         * sysdeps/x86/tininess.h: This.
26414         * sysdeps/x86_64/tininess.h: Removed.
26416 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26418         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26419         input.  Use $(build-program-cmd).
26420         ($(objpfx)tst-array1-static.out): Likewise.
26421         ($(objpfx)tst-array2.out): Likewise.
26422         ($(objpfx)tst-array3.out): Likewise.
26423         ($(objpfx)tst-array4.out): Likewise.
26424         ($(objpfx)tst-array5.out): Likewise.
26425         ($(objpfx)tst-array5-static.out): Likewise.
26427 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
26429         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26430         if defined.
26432         * nss/nsswitch.h (nss_interface_function): Provide new
26433         macro for use with NSS functions.
26434         * grp/initgroups.c: Use new macro.
26435         * nss/getXXbyYY.c: Likewise.
26436         * nss/getXXbyYY_r.c: Likewise.
26437         * nss/getXXent.c: Likewise.
26438         * nss/getXXent_r.c: Likewise.
26439         * sysdeps/posix/getaddrinfo.c: Likewise.
26441 2012-10-30  Andreas Jaeger  <aj@suse.de>
26443         * po/ru.po: Update Russion translation from translation project.
26445 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26447         [BZ #14152]
26448         [BZ #14783]
26449         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26450         result and shift together with sticky bit instead of replicating
26451         round-to-nearest rounding.
26452         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26453         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26454         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
26455         missing underflow exceptions.
26456         (fma_test_towardzero): Add more tests.
26457         (fma_test_downward): Likewise.
26458         (fma_test_upward): Likewise.
26460         [BZ #14047]
26461         * sysdeps/generic/tininess.h: New file.
26462         * sysdeps/i386/tininess.h: Likewise.
26463         * sysdeps/sh/tininess.h: Likewise.
26464         * sysdeps/x86_64/tininess.h: Likewise.
26465         * stdlib/tst-strtod-underflow.c: Likewise.
26466         * stdlib/tst-tininess.c: Likewise.
26467         * stdlib/strtod_l.c: Include <tininess.h>.
26468         (round_and_return): Do not set errno for exact underflow cases.
26469         Force an underflow exception when setting errno for underflow.
26470         Determine underflow based on rounding to normal precision if
26471         TININESS_AFTER_ROUNDING.
26472         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26473         ERANGE for exact underflow cases.
26474         * stdlib/Makefile (tests): Add tst-tininess and
26475         tst-strtod-underflow.
26476         ($(objpfx)tst-tininess): Use $(link-libm).
26477         ($(objpfx)tst-strtod-underflow): Likewise.
26479 2012-10-30  Andreas Jaeger  <aj@suse.de>
26481         [BZ#14767]
26482         * elf/Makefile (tests): Remove conditional for have-initfini-array
26483         since this is now always required and the variable does not exist
26484         anymore.
26485         (tests-static): Likewise.
26486         (modules-names): Likewise.
26488         * po/eo.po: Add Esperanto translation from translation project.
26490         * elf/tst-array1.c (fini_array): Make writeable so that it can be
26491         merged with constructor/destructor.
26492         (init_array): Likewise.
26493         * elf/tst-array2dep.c (fini_array): Likewise.
26494         (init_array): Likewise.
26496 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
26498         * manual/message.texi: Delete @cartouche tags.
26500 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
26502         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26503         EOPNOTSUPP.
26504         * sysdeps/mach/hurd/fsync.c: Likewise.
26506         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26507         [_POSIX_REALTIME_SIGNALS]: Change condition to
26508         [_POSIX_REALTIME_SIGNALS > 0].
26510 2012-10-27  Andreas Jaeger  <aj@suse.de>
26512         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26513         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26514         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26515         [__WORDSIZE != 64]: Likewise.
26517 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
26519         *  iconvdata/tst-table.sh: Remove ${SHELL}.
26520         *  iconvdata/tst-tables.sh: Likewise.
26522 2012-10-25  David S. Miller  <davem@davemloft.net>
26524         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26525         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26526         of strtoull.
26528         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26529         ifunc-impl-list.c
26530         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26531         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26532         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26533         file.
26535 2012-10-25  Roland McGrath  <roland@hack.frob.com>
26537         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26538         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26539         __getdirentries.
26541 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26542             Jim Blandy  <jimb@codesourcery.com>
26544         * scripts/cross-test-ssh.sh: New file.
26545         * manual/install.texi (Configuring and compiling): Document use of
26546         cross-test-ssh.sh.
26547         * INSTALL: Regenerated.
26549 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
26551         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26552         EOPNOTSUPP.
26554 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26556         * Makeconfig (run-program-prefix): Fix comment.
26558 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26559             Jim Blandy  <jimb@codesourcery.com>
26561         * Makeconfig (test-wrapper): New variable,
26562         (test-wrapper-env): Likewise.
26563         [$(cross-compiling) = yes && $(test-wrapper) != ""]
26564         (run-built-tests): Define to yes.
26565         (run-program-prefix): Use $(test-wrapper).
26566         (built-program-cmd): Likewise.
26567         * Rules (make-test-out): Use $(test-wrapper-env) and
26568         $(host-built-program-cmd).
26569         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26570         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26571         tst-pathopt.sh.
26572         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26573         $(test-wrapper-env) to tst-rtld-load-self.sh.
26574         ($(objpfx)order2.out): Use $(test-wrapper).
26575         ($(objpfx)tst-initorder.out): Likewise.
26576         ($(objpfx)tst-initorder2.out): Likewise.
26577         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26578         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26579         (test_wrapper_env): New variable.  Use it to run ld.so.
26580         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26581         Use it to run ld.so.
26582         (test_wrapper_env): Likewise.
26583         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26584         $(test-wrapper) to run-iconv-test.sh.
26585         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26586         (ICONV): Use $test_wrapper.
26587         * posix/Makefile ($(objpfx)globtest.out): Pass
26588         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26589         globtest.sh, not $(run-program-prefix).
26590         * posix/globtest.sh (run_via_rtld_prefix): New variable.
26591         (test_wrapper): Likewise.
26592         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
26593         set together with run_via_rtld_prefix.
26594         (run_program_prefix): Define in terms of test_wrapper and
26595         run_via_rtld_prefix.
26597 2012-10-24  Roland McGrath  <roland@hack.frob.com>
26599         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26600         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26601         Targets removed.
26603         [BZ #14743]
26604         * include/time.h: Remove librt_hidden_proto (clock_gettime).
26605         Declare __clock_getres, __clock_gettime, __clock_settime,
26606         __clock_nanosleep, and __clock_getcpuclockid.
26607         * rt/clock_gettime.c: Define __clock_gettime as an alias.
26608         Remove librt_hidden_def (clock_gettime).
26609         * sysdeps/unix/clock_gettime.c: Likewise.
26610         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26611         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26612         * rt/clock_getres.c: Define __clock_getres as an alias.
26613         * sysdeps/posix/clock_getres.c: Likewise.
26614         * rt/clock_settime.c: Define __clock_settime as an alias.
26615         * sysdeps/unix/clock_settime.c: Likewise.
26616         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26617         * sysdeps/unix/clock_nanosleep.c: Likewise.
26618         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26619         * rt/clock-compat.c: New file.
26620         * rt/Makefile (librt-routines): Add clock-compat and move
26621         $(clock-routines) to ...
26622         (routines): ... here, new variable.
26623         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26624         Don't add get_clockfreq here.
26625         * rt/Versions (libc: GLIBC_2.17): New version set.
26626         Add clock_* symbols here.
26627         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
26628         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26629         (GLIBC_2.17): Add clock_* symbols.
26630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26632         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26634         Likewise.
26635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26636         Likewise.
26637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26641         * NEWS: Mention the move.
26643         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26644         Use __open, __read, __close rather than their public counterparts.
26645         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26646         (__get_clockfreq_via_cpuinfo): Likewise.
26647         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26648         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26650         * config.h.in (HAVE_IFUNC): New #undef.
26651         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26652         was successful.
26653         * configure: Regenerated.
26655 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26657         * configure.in: Move READELF check to start of file.
26658         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26659         libc_cv_asm_gnu_indirect_function in the process.
26660         * configure: Regenerated.
26662 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26664         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26665         send the output to /dev/null.
26666         (libc_cv_cc_with_libunwind): Likewise.
26667         (libc_cv_as_noexecstack): Likewise.
26668         * configure: Regenerate.
26670 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26672         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26674         * posix/globtest.sh (TMPDIR): Do not set.
26675         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26676         (testout): Likewise.
26678 2012-10-24  Andreas Jaeger  <aj@suse.de>
26680         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26681         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26682         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26683         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26684         posix_fadvise64, posix_fallocate64.
26686         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26687         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26688         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26689         Likewise.
26690         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26691         Likewise.
26692         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26694         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26695         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26696         <bits/fcntl-linux.h>.
26697         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26699         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26700         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26701         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26702         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26703         [__WORDSIZE != 64]: Likewise.
26705 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26707         * Makeconfig (run-built-tests): New variable.
26708         * Rules [$(cross-compiling) = yes]: Change condition to
26709         [$(run-built-tests) = no].
26710         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26711         to [$(run-built-tests) = yes].
26712         * elf/Makefile [$(cross-compiling) = no]: Likewise
26713         * grp/Makefile [$(cross-compiling) = no]: Likewise.
26714         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26715         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26716         * intl/Makefile [$(cross-compiling) = no]: Likewise.
26717         * io/Makefile [$(cross-compiling) = no]: Likewise.
26718         * libio/Makefile [$(cross-compiling) = no]: Likewise.
26719         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26720         * misc/Makefile [$(cross-compiling) = no]: Likewise.
26721         * posix/Makefile [$(cross-compiling) = no]: Likewise.
26722         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26723         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26724         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26725         * string/Makefile [$(cross-compiling) = no]: Likewise.
26727         * posix/Makefile ($(objpfx)globtest.out): Pass
26728         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26729         $(rtld-installed-name).
26730         * posix/globtest.sh (elf_objpfx): Remove variable.
26731         (rtld_installed_name): Likewise.
26732         (library_path): Likewise.
26733         (run_program_prefix): New variable.  Use for running globtest
26734         binary.
26736 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
26737             Joseph Myers  <joseph@codesourcery.com>
26739         * Makeconfig (host-built-program-cmd): New variable.
26740         * elf/Makefile (tst-stackguard1-ARGS): Use
26741         $(host-built-program-cmd).
26742         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26743         (tst-spawn-ARGS): Likewise.
26744         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26746 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26747             Jim Blandy  <jimb@codesourcery.com>
26749         * Makeconfig (run-via-rtld-prefix): New variable.
26750         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26751         (built-program-cmd): Likewise.
26753 2012-10-22  Andreas Jaeger  <aj@suse.de>
26755         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26756         __O_RSYNC if it exists, otherwise to O_SYNC.
26758 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
26759             Joseph Myers  <joseph@codesourcery.com>
26761         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26762         /dev/null.
26763         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26764         from /dev/null
26765         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26766         /dev/null.
26768 2012-10-22  Andreas Jaeger  <aj@suse.de>
26770         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26771         Define always.
26772         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26774         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26775         bits/fcntl-linux.h.
26777         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26778         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26780         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26781         to __O_LARGEFILE.
26782         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26783         to __O_LARGEFILE.
26785 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
26786             Joseph Myers  <joseph@codesourcery.com>
26788         * config.make.in (NM): New variable.
26790 2012-10-21  Andreas Jaeger  <aj@suse.de>
26792         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26793         definitions and declarations that are provided by
26794         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26796 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26798         [BZ #14683]
26799         * elf/Makefile (tests-static): Add tst-leaks1-static.
26800         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26801         ($(objpfx)tst-leaks1-static): New rule.
26802         ($(objpfx)tst-leaks1-static-mem): Likewise.
26803         (tst-leaks1-static-ENV): New macro.
26804         * elf/dl-open.c (dl_open_worker): Check the main application
26805         only if SHARED is defined.
26806         * elf/tst-leaks1-static.c: New file.
26808 2012-10-20  Andreas Jaeger  <aj@suse.de>
26810         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26811         generic values for Linux.
26812         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26813         and declarations that are provided by <bits/fcntl-linux.h> and
26814         include <bits/fcntl-linux.h>.
26815         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26816         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26818 2012-10-20  Roland McGrath  <roland@hack.frob.com>
26820         * io/fcntl.h: Move include of <bits/types.h> to the top and
26821         include it unconditionally.
26823 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26825         * wcsmbs/Makefile (tests-ifunc): New variable.
26826         (tests): Add $(tests-ifunc).
26827         * wcsmbs/test-wcschr-ifunc.c: New file.
26828         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26829         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26830         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26831         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26832         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26834         * string/Makefile (tests-ifunc): New variable.
26835         (tests): Add $(tests-ifunc).
26836         * string/test-memccpy.c (TEST_NAME): New macro.
26837         * string/test-memchr.c (TEST_NAME): Likewise.
26838         * string/test-memcmp.c (TEST_NAME): Likewise.
26839         * string/test-memcpy.c (TEST_NAME): Likewise.
26840         * string/test-memmem.c (TEST_NAME): Likewise.
26841         * string/test-memmove.c (TEST_NAME): Likewise.
26842         * string/test-memset.c (TEST_NAME): Likewise.
26843         * string/test-rawmemchr.c (TEST_NAME): Likewise.
26844         * string/test-stpcpy.c (TEST_NAME): Likewise.
26845         * string/test-stpncpy.c (TEST_NAME): Likewise.
26846         * string/test-strcasecmp.c (TEST_NAME): Likewise.
26847         * string/test-strcasestr.c (TEST_NAME): Likewise.
26848         * string/test-strcat.c (TEST_NAME): Likewise.
26849         * string/test-strchr.c (TEST_NAME): Likewise.
26850         * string/test-strcmp.c(TEST_NAME): Likewise.
26851         * string/test-strcpy.c (TEST_NAME): Likewise.
26852         * string/test-strcspn.c (TEST_NAME): Likewise.
26853         * string/test-strlen.c (TEST_NAME): Likewise.
26854         * string/test-strncasecmp.c (TEST_NAME): Likewise.
26855         * string/test-strncmp.c (TEST_NAME): Likewise.
26856         * string/test-strncpy.c (TEST_NAME): Likewise.
26857         * string/test-strnlen.c (TEST_NAME): Likewise.
26858         * string/test-strpbrk.c (TEST_NAME): Likewise.
26859         * string/test-strrchr.c (TEST_NAME): Likewise.
26860         * string/test-strspn.c (TEST_NAME): Likewise.
26861         * string/test-strstr.c (TEST_NAME): Likewise.
26862         * string/test-bcopy-ifunc.c: New file.
26863         * string/test-bzero-ifunc.c: Likewise.
26864         * string/test-memccpy-ifunc.c: Likewise.
26865         * string/test-memchr-ifunc.c: Likewise.
26866         * string/test-memcmp-ifunc.c: Likewise.
26867         * string/test-memcpy-ifunc.c: Likewise.
26868         * string/test-memmem-ifunc.c: Likewise.
26869         * string/test-memmove-ifunc.c: Likewise.
26870         * string/test-mempcpy-ifunc.c: Likewise.
26871         * string/test-memset-ifunc.c: Likewise.
26872         * string/test-rawmemchr-ifunc.c: Likewise.
26873         * string/test-stpcpy-ifunc.c: Likewise.
26874         * string/test-stpncpy-ifunc.c: Likewise.
26875         * string/test-strcasecmp-ifunc.c: Likewise.
26876         * string/test-strcasestr-ifunc.c: Likewise.
26877         * string/test-strcat-ifunc.c: Likewise.
26878         * string/test-strchr-ifunc.c: Likewise.
26879         * string/test-strchrnul-ifunc.c: Likewise.
26880         * string/test-strcmp-ifunc.c: Likewise.
26881         * string/test-strcpy-ifunc.c: Likewise.
26882         * string/test-strcspn-ifunc.c: Likewise.
26883         * string/test-strlen-ifunc.c: Likewise.
26884         * string/test-strncasecmp-ifunc.c: Likewise.
26885         * string/test-strncat-ifunc.c: Likewise.
26886         * string/test-strncmp-ifunc.c: Likewise.
26887         * string/test-strncpy-ifunc.c: Likewise.
26888         * string/test-strnlen-ifunc.c: Likewise.
26889         * string/test-strpbrk-ifunc.c: Likewise.
26890         * string/test-strrchr-ifunc.c: Likewise.
26891         * string/test-strspn-ifunc.c: Likewise.
26892         * string/test-strstr-ifunc.c: Likewise.
26894         * debug/Makefile (tests-ifunc): New variable.
26895         (tests): Add $(tests-ifunc).
26896         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26897         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26898         * debug/test-stpcpy_chk-ifunc.c: New file.
26899         * debug/test-strcpy_chk-ifunc.c: Likewise.
26901 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26903         [BZ #13601]
26904         * elf/dl-load.c (open_verify): Retry read if the entire ELF
26905         header is not read in.
26907 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
26909         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
26910         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
26911         directly.  Pass built executable to script as
26912         $(built-program-cmd).
26913         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
26914         $testprogram without using LD_LIBRARY_PATH and $ldso.
26916         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26917         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26918         $(rtld-installed-name).
26919         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26920         (rtld_installed_name): Likewise.
26921         (library_path): Likewise.
26922         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
26923         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26924         $(run-program-prefix) to tst-tables.sh.
26925         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
26926         it to run tst-table-from and tst-table-to.
26927         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26928         Pass it to tst-table.sh.
26929         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26930         $(run-program-prefix) to tst-gettext.sh.
26931         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26932         tst-translit.sh.
26933         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26934         tst-gettext2.sh.
26935         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
26936         to run tst-gettext.
26937         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
26938         to run tst-gettext2.
26939         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
26940         to run tst-translit.
26941         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26942         $(run-program-prefix) to tst-mtrace.sh.
26943         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
26944         to run tst-mtrace.
26945         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26946         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26947         $(rtld-installed-name).
26948         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26949         (rtld_installed_name): Likewise.
26950         (run_program_prefix): New variable.  Use it to run wordexp-test.
26952         * Makeconfig (ARCH): Remove all definitions.
26953         (machine): Likewise.
26954         [ARCH]: Remove conditional code.
26955         [!objdir]: Give error.
26956         [!objdir] (objpfx): Remove.
26957         [!objdir] (common-objpfx): Likewise.
26958         [!objdir] (common-objdir): Likewise.
26959         * configure.in (config_makefile): Remove.  Hardcode Makefile in
26960         AC_CONFIG_FILES call.
26961         * configure: Regenerated.
26963         [BZ #13888]
26964         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26965         or TMPDIR.
26966         (testout): Likewise.
26968         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26969         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26970         $(rtld-installed-name).
26971         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26972         (rtld_installed_name): Likwise.
26973         (runit): Remove function.
26974         (run_getconf): New variable,  Use it for running getconf binary.
26976 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
26978         [BZ #14716]
26979         * string/test-memmem.c (check_result): New function.
26980         (do_one_test): Use it.
26981         (check1): New function.
26982         (test_main): Use it.
26984 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
26986         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26988 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
26990         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26991         (_G_LSEEK64): Likewise.
26992         (_G_MMAP64): Likewise.
26993         (_G_FSTAT64): Likewise.
26994         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26995         (_G_LSEEK64): Likewise.
26996         (_G_MMAP64): Likewise.
26997         (_G_FSTAT64): Likewise.
26998         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26999         unconditional.  Call __mmap64 directly.
27000         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27001         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27002         __lseek64 directly.
27003         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27004         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27005         __mmap64 directly.
27006         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27007         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27008         __lseek64 directly.
27009         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27010         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27011         __lseek64 directly.
27012         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27013         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27014         __lseek64 directly.
27015         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27016         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27017         __fxstat64 directly.
27018         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27019         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27020         unconditional.
27021         (freopen64) [!_G_OPEN64]: Remove conditional code.
27022         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27023         unconditional.
27024         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27025         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27026         unconditional.
27027         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27028         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27029         unconditional.
27030         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27031         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27032         unconditional.
27033         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27034         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27035         unconditional.
27036         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27037         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27038         unconditional.
27039         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27040         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27041         unconditional.
27042         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27044 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27046         [BZ #12140]
27047         * manual/memory.texi (Malloc Tunable Parameters): Add note
27048         about free list pointers overwriting some perturb bytes.
27049         Wording suggested by Roland McGrath.
27051 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27053         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27054         (lgamma_test): Likewise.
27055         (tgamma_test): Likewise.
27057 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27059         [BZ #14700]
27060         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27061         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27063 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27065         * NEWS: Mention BZ #14716.
27066         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27067         when removing AVAILABLE1_USES_J macro.
27069 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27071         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27072         (__bswap_64): __uint64_t for unsigned 64-bit int.
27074 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27076         * include/string.h (memmem): Declare libc hidden alias.
27077         * string/memmem.c (memmem): Define libc hidden alias.
27078         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27079         __read, __close instead of open, read, close.
27081 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27084         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27085         global and hidden.
27086         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27087         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27088         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27089         Likewise.
27090         (__rawmemchr_sse2): Likewise.
27091         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27092         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27093         (__strchr_sse2): Likewise.
27094         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27095         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27096         (__strcasecmp_sse2): Likewise.
27097         (__strncasecmp_sse2): Likewise.
27098         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27099         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27100         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27101         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27102         (__strrchr_sse2): Likewise.
27103         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27104         ifunc-impl-list.c.
27105         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27106         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27107         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27108         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27109         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27110         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27111         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27112         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27113         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27114         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27115         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27116         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27117         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27118         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27119         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27120         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27121         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27122         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27123         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27124         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27125         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27126         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27127         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27128         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27129         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27130         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27131         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27132         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27133         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27134         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27136         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27137         global and hidden.
27138         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27139         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27140         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27141         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27142         Likewise.
27143         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27144         Likewise.
27145         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27146         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27147         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27148         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27149         ifunc-impl-list.c.
27150         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27151         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27152         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27153         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27154         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27155         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27156         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27157         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27158         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27159         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27160         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27161         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27162         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27163         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27164         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27165         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27166         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27167         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27168         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27169         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27170         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27171         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27172         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27173         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27174         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27175         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27176         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27177         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27178         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27179         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27180         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27181         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27182         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27183         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27184         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27185         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27186         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27187         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27188         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27189         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27190         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27192         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27193         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27194         * include/ifunc-impl-list.h: New file.
27195         * misc/ifunc-impl-list.c: Likewise.
27196         * misc/Makefile (routines): Add ifunc-impl-list.
27197         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27198         * string/test-string.h: Include <ifunc-impl-list.h>.
27199         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27200         TEST_NAME]: New variables.
27201         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27202         are defined.
27203         (test_init): Call __libc_ifunc_impl_list to initialize
27204         func_list if TEST_IFUNC and TEST_NAME are defined.
27206         * string/Makefile (strop-tests): Add bcopy and bzero.
27207         * string/test-bcopy.c: New file.
27208         * string/test-bzero.c: Likewise.
27209         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27210         defined.
27211         * string/test-memset.c: Support bzero test if TEST_BZERO is
27212         defined.
27213         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27214         __libc_memmove.
27215         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27216         __libc_memset.
27217         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27218         of memset.
27220 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27222         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27223         * configure: Regenerated.
27225         * Makeconfig (+link-static-before-libc): Don't include
27226         $(link-static-libc).
27228         * libio/libio.h (_IO_pos_t): Remove.
27230 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27232         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27233         McGrath.
27235 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27237         * crypt/crypt-entry.c: Include fips-private.h.
27238         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27239         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27240         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27241         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27243 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27245         * crypt/crypt-private.h: Include stdbool.h.
27246         (_ufc_setup_salt_r): Return bool.
27247         * crypt/crypt-entry.c: Include errno.h.
27248         (__crypt_r): Return NULL with EINVAL for bad salt.
27249         * crypt/crypt_util.c (bad_for_salt): New.
27250         (_ufc_setup_salt_r): Check that salt is long enough and within
27251         the specified alphabet.
27252         * crypt/badsalttest.c: New file.
27253         * crypt/Makefile (tests): Add it.
27254         ($(objpfx)badsalttest): New.
27256 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27258         * NEWS: Add entry for BZ #14602.
27260 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27262         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27263         type-generic.
27264         * math/libm-test.inc: Update comment listing what functions and
27265         macros are tested.
27266         (isgreater_test): New function.
27267         (isgreaterequal_test): Likewise.
27268         (isless_test): Likewise.
27269         (islessequal_test): Likewise.
27270         (islessgreater_test): Likewise.
27271         (isunordered_test): Likewise.
27272         (main): Call the new functions.
27274 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27276         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27277         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27278         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27279         * sysdeps/i386/configure: Regenerated.
27280         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27281         * sysdeps/mach/configure: Regenerated.
27282         * sysdeps/mach/hurd/configure: Regenerated.
27283         * sysdeps/powerpc/configure: Regenerated.
27284         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27285         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27286         * sysdeps/s390/s390-32/configure: Regenerated.
27287         * sysdeps/s390/s390-64/configure: Regenerated.
27288         * sysdeps/sh/configure: Regenerated.
27289         * sysdeps/sparc/configure: Regenerated.
27290         * sysdeps/unix/sysv/linux/configure: Regenerated.
27291         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27292         * sysdeps/x86_64/configure: Regenerated.
27294         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27295         defined.  Don't check if MAP is NULL.
27297 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27299         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27300         (_G_stat64): Likewise.
27301         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27302         (_G_stat64): Likewise.
27303         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27304         instead of struct _G_stat64.
27305         * libio/fileops.c (mmap_remap_check): Likewise.
27306         (decide_maybe_mmap): Likewise.
27307         (_IO_new_file_seekoff): Likewise.
27308         (_IO_file_stat): Likewise.
27309         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27310         _G_off64_t.
27311         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27312         instead of struct _G_stat64.
27313         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27315 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27317         [BZ #14602]
27318         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27319         Replace with ...
27320         (CHECK_EOL): New macro.
27321         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27322         CHECK_EOL.
27323         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27324         Replace with CHECK_EOL.
27325         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27326         Replace with CHECK_EOL.
27328 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27330         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27331         type-generic.
27332         * math/libm-test.inc: Update comment listing what functions and
27333         macros are tested.
27334         (finite_test): New function.
27335         (isinf_test): Likewise.
27336         (isnan_test): Likewise.
27337         (fpclassify_test): Test subnormal input.
27338         (isfinite_test): Likewise.
27339         (isnormal_test): Likewise.
27340         (main): Call the new functions.
27342 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
27344         [BZ #14660]
27345         * Makerules (%.dynsym): Force C locale when running
27346         $(OBJDUMP) --dynamic-syms.
27348 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
27350         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27351         <stdint.h>.
27353 2012-10-06  David S. Miller  <davem@davemloft.net>
27355         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27356         upper 32-bits of the length value in %o2 since we use branch-on-register
27357         tests which consider the entire 64-bit register.
27359 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
27361         * string/test-strstr.c (check2): Add a test for page boundary.
27363 2012-10-05  David S. Miller  <davem@davemloft.net>
27365         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27366         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27367         file.
27368         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27369         sysdep_routines.
27370         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27371         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27372         and bzero when HWCAP_SPARC_CRYPTO is present.
27374 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
27376         [BZ #14602]
27377         * string/test-strstr.c (check2): New function.
27378         (test_main): Call check2.
27380         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27381         and bug-strchr1.
27382         * string/bug-strcasestr1.c (do_test): Moved to ...
27383         * string/test-strcasestr.c (check1): Here.  New function.
27384         (do_one_test): Break out result checking code into ...
27385         (check_result): This.  New function.
27386         (do_one_test): Call check_result.
27387         (test_main): Call check1.
27388         * string/bug-strchr1.c (do_test): Moved to ...
27389         * string/test-strchr.c (check1): Here.  New function.
27390         (do_one_test): Break out result checking code into ...
27391         (check_result): This.  New function.
27392         (do_one_test): Call check_result.
27393         (test_main): Call check1.
27394         * string/bug-strstr1.c (main): Moved to ...
27395         * string/test-strstr.c (check1): Here.  New function.
27396         (do_one_test): Break out result checking code into ...
27397         (check_result): This.  New function.
27398         (do_one_test): Call check_result.
27399         (test_main): Call check1.
27400         * string/bug-strcasestr1.c: Removed.
27401         * string/bug-strchr1.c: Likewise.
27402         * string/bug-strstr1.c: Likewise.
27404         * elf/Makefile (dl-routines): Add hwcaps.
27405         * elf/dl-support.c (_dl_important_hwcaps): Removed.
27406         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27407         (_dl_important_hwcaps): Moved to ...
27408         * elf/dl-hwcaps.c: Here.  New file.
27409         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27411         [BZ #14557]
27412         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27413         if IS_IN_rtld isn't defined.
27415         * elf/dl-support.c (_dl_sysinfo_map): New.
27416         Include "get-dynamic-info.h" and "setup-vdso.h".
27417         (_dl_non_dynamic_init): Call setup_vdso.
27418         * elf/dynamic-link.h: Don't include <assert.h>.
27419         (elf_get_dynamic_info): Moved to ...
27420         * elf/get-dynamic-info.h: Here.  New file.
27421         * elf/dynamic-link.h: Include "get-dynamic-info.h".
27422         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27423         * elf/setup-vdso.h: Here.  New file.
27424         * elf/rtld.c: Include "setup-vdso.h".
27425         (dl_main): Call setup_vdso.
27427 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
27429         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27430         creal in comment listing functions tested.  List finite, isinf,
27431         isnan, isless, islessequal, isgreater, isgreaterequal,
27432         islessgreater, isunordered, lgamma_r and pow10 as functions and
27433         macros not tested.  Mention which functions not tested are aliases
27434         for other functions.  Fix typo.  Note that signs of NaNs are not
27435         tested.
27437         * scripts/config.guess: Update from config.git.
27438         * scripts/config.sub: Likewise.
27440 2012-10-04  Roland McGrath  <roland@hack.frob.com>
27442         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27443         * misc/madvise.c (madvise): Renamed to __madvise.
27444         Make madvise a weak alias.
27445         * include/sys/mman.h: Declare __madvise.
27446         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27447         * sysdeps/unix/syscalls.list
27448         (madvise): Make __madvise the strong name, and madvise a weak alias.
27449         * sysdeps/unix/sysv/linux/syscalls.list
27450         (madvise, mmap): Remove redundant entries.
27451         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27452         * malloc/malloc.c (mtrim): Likewise.
27453         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27455 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27457         * sysdeps/mach/hurd/dl-cache.c: File removed.
27458         * config.h.in (USE_LDCONFIG): New #undef.
27459         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27460         * configure: Regenerated.
27461         * elf/Makefile (dl-routines): Add dl-cache only under
27462         [$(use-ldconfig) = yes].
27463         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27464         cache on [USE_LDCONFIG].
27465         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27466         [USE_LDCONFIG].
27467         * elf/rtld.c (dl_main): Likewise.
27469 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
27471         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27472         _SC_LEVEL4_CACHE_LINESIZE.
27474 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27476         * sysdeps/unix/bsd/confstr.h: File removed.
27478 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
27480         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27481         sys/sdt-config.h.
27483 2012-10-02  Roland McGrath  <roland@hack.frob.com>
27485         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27486         Make 'mapoff' field ElfW(Off) rather than off_t.
27488 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
27490         * nscd/Makefile: Remove nscd-cflags and all its users.
27491         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27492         (CFLAGS-nonlib): Add compiler flags for nscd modules.
27494         [BZ #10631]
27495         * malloc.c (malloc_printerr): Clarify error message.
27497 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
27499         [BZ #14648]
27500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27501         Set bit_FMA_Usable if FMA is supported.
27502         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27503         macro.
27504         (bit_FMA4_Usable): Updated.
27505         (index_FMA_Usable): New macro.
27506         (CPUID_FMA): Likewise
27507         (HAS_FMA): Defined with bit_FMA_Usable.
27509 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27511         * bits/types.h (__swblk_t): Type removed.
27512         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27513         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27514         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27515         (__SWBLK_T_TYPE): Likewise.
27516         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27517         (__SWBLK_T_TYPE): Likewise.
27518         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27519         (__SWBLK_T_TYPE): Likewise.
27520         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27521         (__SWBLK_T_TYPE): Likewise.
27523 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
27524             Honza Horak <hhorak@redhat.com>
27526         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27527         (xdr_mapname): Use YPMAXMAP as maxsize.
27528         (xdr_peername): Use YPMAXPEER as maxsize.
27529         (xdr_keydat): Use YPAXRECORD as maxsize.
27530         (xdr_valdat): Use YPMAXRECORD as maxsize.
27532 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27534         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27536         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27537         * csu/init-first.c: ... here.
27538         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27539         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27540         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27541         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27542         * sysdeps/i386/init-first.c: File removed.
27543         * sysdeps/sh/init-first.c: File removed.
27545 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
27547         [BZ #14645]
27548         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27549         if x * y might underflow to zero and z is zero.
27550         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27551         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27552         * math/libm-test.inc (min_subnorm_value): New variable.
27553         (fma_test): Add more tests.
27554         (fma_test_towardzero): Likewise.
27555         (fma_test_downward): Likewise
27556         (fma_test_upward): Likewise.
27557         (initialize): Set min_subnorm_value.
27559 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
27561         [BZ #14638]
27562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27563         0 + 0.
27564         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27565         mode for addition resulting in exact zero.
27566         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27567         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27568         exact 0 + 0.
27569         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27570         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27571         * math/libm-test.inc (fma_test): Add more tests.
27572         (fma_test_towardzero): New function.
27573         (fma_test_downward): Likewise.
27574         (fma_test_upward): Likewise.
27575         (main): Call the new functions.
27577 2012-09-28  David S. Miller  <davem@davemloft.net>
27579         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27581 2012-09-28  Roland McGrath  <roland@hack.frob.com>
27583         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27584         instead of SIGALRM.
27586         * sysdeps/gnu/_G_config.h: Moved to ...
27587         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27588         * sysdeps/mach/hurd/_G_config.h: Moved to ...
27589         * sysdeps/generic/_G_config.h: ... here.
27591         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
27593         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27595         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27596         Conditionalize target on [libnss_test1.so-version].
27598         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27600         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27601         (elfobjdir): Move out of conditionals.
27603         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27604         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27605         (__nss_lookup_function): Conditionalize label remove_from_tree on
27606         [!DO_STATIC_NSS || SHARED], matching its only use.
27608 2012-09-28  David S. Miller  <davem@davemloft.net>
27610         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27611         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27612         file.
27613         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27614         sysdep_routines.
27615         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27616         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27617         when HWCAP_SPARC_CRYPTO is present.
27619 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27621         * io/tst-mknodat.c: Create a FIFO instead of a socket.
27623 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
27625         [BZ #6530]
27626         * stdio-common/vfprintf.c (process_string_arg): Revert
27627         2000-07-22 change.
27629 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
27631         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27632         for testcase.
27633         * stdio-common/tst-sprintf.c: Include <locale.h>
27634         (main): Test sprintf's handling of incomplete multibyte
27635         characters.
27637 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
27639         * elf/dl-runtime.c (VERSYMIDX): Removed.
27640         * elf/dl-version.c (VERSYMIDX): Likewise.
27641         * elf/do-rel.h (VERSYMIDX): Likewise.
27642         (VALIDX): Likewise.
27643         * elf/dynamic-link.h (VERSYMIDX): Likewise.
27644         * elf/rtld.c (VALIDX): Likewise.
27645         (ADDRIDX): Likewise.
27646         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27647         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27648         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27649         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27650         (VALIDX): Likewise.
27651         (ADDRIDX): Likewise.
27653 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27655         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27657 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
27659         [BZ #11438]
27660         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27661         to global scope.
27662         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27663         addresses are in the same scope as 192.0.2/24.
27664         * posix/gai.conf: Document new scope table defaults.
27666 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27668         [BZ #5298]
27669         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27670         for ftell.  Compute offsets from write pointers instead.
27671         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27673 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27675         [BZ #14543]
27676         * libio/Makefile (tests): New test case tst-fseek.
27677         * libio/tst-fseek.c: New test case to verify that fseek/ftell
27678         combination works in wide mode.
27679         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27680         state when the external buffer state changes.
27682 2012-09-27  David S. Miller  <davem@davemloft.net>
27684         [BZ #14376]
27685         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27686         pass reloc->r_addend in as the 'high' argument to
27687         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27691 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27693         * rt/tst-aio2.c: Include <pthread.h>.
27694         * rt/tst-aio3.c: Likewise.
27696 2012-09-27  Steve Ellcey  <sellcey@mips.com>
27698         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27700 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
27702         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27703         contents on [SHARED].
27705 2012-09-26  Marek Polacek  <polacek@redhat.com>
27707         [BZ #14530]
27708         [BZ #13741]
27709         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27710         for C++ and GCC <4.3 as well as for non GCC compilers.
27712 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27716 2012-09-25  Roland McGrath  <roland@hack.frob.com>
27718         * Makefile.in (all, install): Declare with .PHONY.
27719         Reported by Michael Hope <michael.hope@linaro.org>.
27721 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27723         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27724         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27725         system header.
27726         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27727         Likewise.
27728         (sydep_routines): Add the new and the internal functions.
27729         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27730         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27732         (GLIBC_2.17): Add the new function.
27733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27734         (GLIBC_2.17): Likewise.
27735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27736         (GLIBC_2.17): Likewise.
27737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27738         (GLIBC_2.17): Likewise.
27739         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27741 2012-09-25  Alan Modra  <amodra@gmail.com>
27743         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27744         Add release barrier before setting once_control to say
27745         initialisation is done.  Add hints on lwarx.  Use macro in
27746         place of isync.
27747         (clear_once_control): Add release barrier.
27749 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27751         [BZ #13629]
27752         * math/s_clog.c (__clog): Handle more values close to |z| = 1
27753         specially.
27754         * math/s_clog10.c (__clog10): Likewise.
27755         * math/s_clog10f.c (__clog10f): Likewise.
27756         * math/s_clog10l.c (__clog10l): Likewise.
27757         * math/s_clogf.c (__clogf): Likewise.
27758         * math/s_clogl.c (__clogl): Likewise.
27759         * math/Makefile (libm-calls): Add x2y2m1.
27760         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27761         (__x2y2m1): Likewise.
27762         (__x2y2m1l): Likewise.
27763         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27764         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27765         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27766         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27767         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27768         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27769         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27770         * sysdeps/i386/fpu/libm-test-ulps: Update.
27771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27773         [BZ #14621]
27774         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27775         int as type of variable DEPTH.
27776         (glob): Use size_t instead of int as type of variables NEWCOUNT
27777         and OLD_PATHC.
27779 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27781         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27782         Add s_sincosf-sse2.
27783         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27784         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27785         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27786         macros for using routine as __sincosf_ia32.
27787         Use macro for function declaration and weak_alias.
27788         * sysdeps/i386/fpu/libm-test-ulps: Update.
27790         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27793         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27794         subnormal argument.
27795         * math/s_cexpf.c (__cexpf): Likewise.
27796         * math/s_csinf.c (__csinf): Likewise.
27797         * math/s_csinhf.c (__csinhf): Likewise.
27798         * math/s_ctanf.c (__ctanf): Likewise.
27799         * math/s_ctanhf.c (__ctanhf): Likewise.
27800         * math/s_ccosh.c (__ccoshf): Likewise.
27801         * math/s_cexp.c (__cexpl): Likewise.
27802         * math/s_csin.c (__csin): Likewise.
27803         * math/s_csinh.c (__csinh): Likewise.
27804         * math/s_ctan.c (__ctan): Likewise.
27805         * math/s_ctanh.c (ctanh): Likewise.
27806         * math/s_ccoshl.c (__ccoshl): Likewise.
27807         * math/s_cexpl.c (__cexpl): Likewise.
27808         * math/s_csinl.c (__csinl): Likewise.
27809         * math/s_csinhl.c (__csinhl): Likewise.
27810         * math/s_ctanl.c (__ctanl): Likewise.
27811         * math/s_ctanhl.c (__ctanhl): Likewise.
27813 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27815         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27816         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27817         (_IO_off_t): Define to __off_t, not _G_off_t.
27818         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27819         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27820         (_IO_wint_t): Define to wint_t, not _G_wint_t.
27821         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27822         type of __dummy and __dummy2 fields.
27823         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27824         (_G_ssize_t): Likewise.
27825         (_G_off_t): Likewise.
27826         (_G_pid_t): Likewise.
27827         (_G_uid_t): Likewise.
27828         (_G_wchar_t): Likewise.
27829         (_G_wint_t): Likewise.
27830         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27831         (_G_ssize_t): Likewise.
27832         (_G_off_t): Likewise.
27833         (_G_pid_t): Likewise.
27834         (_G_uid_t): Likewise.
27835         (_G_wchar_t): Likewise.
27836         (_G_wint_t): Likewise.
27837         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27838         (_G_ssize_t): Likewise.
27839         (_G_off_t): Likewise.
27840         (_G_pid_t): Likewise.
27841         (_G_uid_t): Likewise.
27842         (_G_wchar_t): Likewise.
27843         (_G_wint_t): Likewise.
27845 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27847         * malloc/arena.c: Include malloc-sysdep.h.
27848         (shrink_heap): Use check_may_shrink_heap to decide if madvise
27849         is sufficient to shrink the heap or an unmap is needed.
27850         * sysdeps/generic/malloc-sysdep.h: New file.  Define
27851         new function check_may_shrink_heap.
27852         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
27853         new function check_may_shrink_heap.
27855 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27857         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27858         comments.
27860 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
27862         * catgets/test-gencat.sh: Add "set -e".
27863         * elf/tst-pathopt.sh: Likewise.
27864         * grp/tst_fgetgrent.sh: Likewise.
27865         * iconvdata/run-iconv-test.sh: Likewise.
27866         * intl/tst-gettext.sh: Likewise.
27867         * intl/tst-gettext2.sh: Likewise.
27868         * intl/tst-gettext4.sh: Likewise.
27869         * intl/tst-gettext6.sh: Likewise.
27870         * intl/tst-translit.sh: Likewise.
27871         * io/ftwtest-sh: Likewise.
27872         * libio/test-freopen.sh: Likewise.
27873         * malloc/tst-mtrace.sh: Likewise.
27874         * posix/globtest.sh: Likewise.
27875         * posix/tst-getconf.sh: Likewise.
27876         * posix/wordexp-tst.sh: Likewise.
27877         * stdio-common/tst-printf.sh: Likewise.
27878         * stdio-common/tst-unbputc.sh: Likewise.
27879         * stdlib/tst-fmtmsg.sh: Likewise.
27880         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27881         * catgets/Makefile: Do not specify -e option when running
27882         testsuite shell scripts.
27883         * elf/Makefile: Likewise.
27884         * grp/Makefile: Likewise.
27885         * iconvdata/Makefile: Likewise.
27886         * intl/Makefile: Likewise.
27887         * io/Makefile: Likewise.
27888         * libio/Makefile: Likewise.
27889         * malloc/Makefile: Likewise.
27890         * posix/Makefile: Likewise.
27891         * stdio-common/Makefile: Likewise.
27892         * stdlib/Makefile: Likewise.
27893         * sysdeps/x86_64/Makefile: Likewise.
27895         * io/ftwtest-sh: Add copyright header.
27896         * posix/globtest.sh: Likewise.
27897         * posix/tst-getconf.sh: Likewise.
27898         * posix/wordexp-tst.sh: Likewise.
27899         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27901 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
27903         [BZ #13679]
27904         * Makeconfig (+link): Defined as $(+link-static) if
27905         $(build-shared) isn't yes.
27906         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27907         isn't yes.
27908         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27910         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27912         [BZ #14562]
27913         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27914         new chunk size with MALLOC_ALIGN_MASK.
27916 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
27918         [BZ #5044]
27919         * stdio-common/printf_fphex.c: Include <stdbool.h> and
27920         <rounding-mode.h>.
27921         (__printf_fphex): Determine rounding using get_rounding_mode and
27922         round_away.
27923         * stdio-common/tst-printf-round.c (struct hex_test): New
27924         structure.
27925         (hex_tests): New variable.
27926         (test_hex_in_one_mode): New function.
27927         (do_test): Also run tests for hex float output.
27929 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
27931         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27932         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27933         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27934         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27935         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27936         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27937         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27938         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27940 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
27942         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27943         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27944         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27945         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27947 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
27949         [BZ #14579]
27950         * elf/rtld.c (dl_main): Limit the check for self loading to normal
27951         mode only.
27952         * elf/tst-rtld-load-self.sh: New test.
27953         * elf/Makefile: Run it.
27955 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
27957         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27958         (tst-writev-ENV): Remove.
27959         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27961 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
27963         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27965 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
27967         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27968         unconditional.
27969         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27970         Likewise.
27971         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27972         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27973         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27974         Likewise.
27976 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
27978         [BZ #14587]
27979         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27980         * config.make.in (have-cpp-asm-debuginfo): Removed.
27981         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27982         * configure: Regenerated.
27984 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
27986         [BZ #5044]
27987         * stdio-common/printf_fp.c: Include <stdbool.h> and
27988         <rounding-mode.h>.
27989         (___printf_fp): Determine rounding using get_rounding_mode and
27990         round_away.
27991         * stdio-common/tst-printf-round.c: New file.
27992         * stdio-common/Makefile (tests): Add tst-printf-round.
27993         (link-libm): New variable.
27994         ($(objpfx)tst-printf-round): Depend in $(link-libm).
27996 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
27998         [BZ #14576]
27999         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28000         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28001         Likewise.
28002         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28003         Likewise.
28005 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28007         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28008         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28009         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28010         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28012 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28014         [BZ #14518]
28015         * include/rounding-mode.h: New file.
28016         * sysdeps/generic/get-rounding-mode.h: Likewise.
28017         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28018         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28019         (MAX_VALUE): New macro.
28020         (MIN_VALUE): Likewise.
28021         (overflow_value): New function.
28022         (underflow_value): Likewise.
28023         (round_and_return): Use overflow_value and underflow_value to
28024         determine return values in overflow and underflow cases.  Use
28025         round_away to determine rounding depending on rounding mode.
28026         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28027         determine return values in overflow and underflow cases.
28028         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28029         (struct test_results): New structure.
28030         (struct test): Use struct test_results to store expected results
28031         for all rounding modes.
28032         (TEST): Include expected results for all rounding modes.
28033         (test_in_one_mode): New function.
28034         (do_test): Use test_in_one_mode to compute and check results.
28035         Check results for all rounding modes.
28036         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28037         $(link-libm).
28039 2012-12-09  Allan McRae  <allan@archlinux.org>
28041         * sysdeps/i386/fpu/libm-test-ulps: Update
28043 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28045         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28046         (_G_int32_t): Likewise.
28047         (_G_uint16_t): Likewise.
28048         (_G_uint32_t): Likewise.
28049         (_G_HAVE_BOOL): Likewise.
28050         (_G_HAVE_ATEXIT): Likewise.
28051         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28052         (_G_HAVE_IO_FILE_OPEN): Likewise.
28053         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28054         (_G_int32_t): Likewise.
28055         (_G_uint16_t): Likewise.
28056         (_G_uint32_t): Likewise.
28057         (_G_HAVE_BOOL): Likewise.
28058         (_G_HAVE_ATEXIT): Likewise.
28059         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28060         (_G_HAVE_IO_FILE_OPEN): Likewise.
28061         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28062         (_G_int32_t): Likewise.
28063         (_G_uint16_t): Likewise.
28064         (_G_uint32_t): Likewise.
28065         (_G_HAVE_BOOL): Likewise.
28066         (_G_HAVE_ATEXIT): Likewise.
28067         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28068         (_G_HAVE_IO_FILE_OPEN): Likewise.
28070 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28072         * csu/libc-tls.c: Update copyright years.
28074 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28076         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28077         [!_G_USING_THUNKS]: Remove conditional code.
28078         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28079         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28081         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28082         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28083         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28084         (_G_VTABLE_LABEL_PREFIX): Likewise.
28085         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28086         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28087         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28088         (_G_VTABLE_LABEL_PREFIX): Likewise.
28089         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28090         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28091         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28092         (_G_VTABLE_LABEL_PREFIX): Likewise.
28093         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28095 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28097         * libio/Makefile: Include ../Makeconfig before tests.
28098         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28099         only if $(build-shared) is yes.
28101         * iconv/gconv_db.c: Update copyright years.
28103 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28105         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28106         unwind info if defined PIC. Fix special cases description.
28107         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28109         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28110         DP_HI_MASK entry.
28111         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28113 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28115         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28117         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28118         is NULL.
28120         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28121         (LDLIBS-tst-chk4): This.
28122         (LDFLAGS-tst-chk5): Renamed to ...
28123         (LDLIBS-tst-chk5): This.
28124         (LDFLAGS-tst-chk6): Renamed to ...
28125         (LDLIBS-tst-chk6): This.
28126         (LDFLAGS-tst-lfschk4): Renamed to ...
28127         (LDLIBS-tst-lfschk4): This.
28128         (LDFLAGS-tst-lfschk5): Renamed to ...
28129         (LDLIBS-tst-lfschk5): This.
28130         (LDFLAGS-tst-lfschk6): Renamed to ...
28131         (LDLIBS-tst-lfschk6): This.
28133         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28134         on $(common-objpfx)soversions.mk.
28136 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28138         [BZ #10014]
28139         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28140         example host name.
28142 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28144         * malloc/arena.c (arena_get_retry): New function that gets
28145         another arena for the caller to try its request on.
28146         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28147         current arena cannot fulfill the request.
28148         (__libc_memalign): Likewise.
28149         (__libc_memalign): Likewise.
28150         (__libc_pvalloc): Likewise.
28151         (__libc_calloc): Likewise.
28153 2012-09-05  John Tobey  <john.tobey@gmail.com>
28155         [BZ #13542]
28156         * manual/arith.texi (Operations on Complex): Fix description
28157         of carg branch cut.
28159 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28161         [BZ #10014]
28162         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28163         host name.
28165         [BZ #10038]
28166         * manual/memory.texi (Memory): Make order of menu items match
28167         order of sections.
28169 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28171         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28172         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28173         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28175 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28177         * csu/libc-tls.c (static_dtv): Renamed to ...
28178         (_dl_static_dtv): This.  Make it global.
28179         (_dl_initial_dtv): Removed.
28180         (__libc_setup_tls): Updated.
28181         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28182         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28183         DL_INITIAL_DTV.
28185 2012-09-06  Petr Machata  <pmachata@redhat.com>
28187         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28188         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28189         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28190         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28192 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28194         [BZ #14545]
28195         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28196         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28197         freeing dtv[-1].
28199 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28201         [BZ #14544]
28202         * Makeconfig (link-static-before-libc): Replace $(+prector)
28203         with $(+prectorT).
28204         (link-static-after-libc): Replace $(+postctor) with
28205         $(+postctorT).
28206         (link-bounded): Replace $(+prector)/$(+postctor) with
28207         $(+prectorT)/$(+postctorT).
28208         (+prectorT): New macro.
28209         (+postctorT): Likewise.
28211 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28213         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28214         (round_str): Handle values above the maximum for IBM long double
28215         as inexact.
28216         * stdlib/tst-strtod-round.c (tests): Regenerated.
28218 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28220         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28221         assembler flag.
28222         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28223         zarch_nohighgprs around the zarch optimized routines.
28224         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28225         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28226         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28227         for zarch.
28229 2012-09-05  David S. Miller  <davem@davemloft.net>
28231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28233         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28234         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28235         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28236         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28237         entries.
28239 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28241         * malloc/arena.c: Fold copyright years.
28242         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28244 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28246         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28248 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28250         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28252 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28254         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28255         change internal state upon failure.
28257 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28259         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28260         * malloc/memusage.c (mmap): Likewise.
28261         (mmap64, mremap): Likewise.  Adjust name in comment.
28263 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28265         * libio/fileops.c: Fix typos in comments.
28266         * libio/oldfileops.c: Likewise.
28267         * libio/wfileops.c: Likewise.
28269 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28271         [BZ #1349]
28272         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28273         (tst-malloc-usable-ENV): Set environment for test case.
28274         * malloc/hooks.c (malloc_check_get_size): New function to get
28275         requested size.
28276         * malloc/malloc.c (musable): Use malloc_check_get_size.
28277         * malloc/tst-malloc-usable.c: New test case.
28279 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28281         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28283 2012-09-05  Allan McRae  <allan@archlinux.org>
28285         [BZ #13966]
28286         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28287         determine header location.
28288         * configure: Regenerated.
28290 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28292         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28293         float format.
28294         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28295         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28296         format.
28297         (test): Regenerate.
28299 2012-09-04  David S. Miller  <davem@davemloft.net>
28301         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28302         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28303         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28305 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28307         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28308         failures.
28310         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28312 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28314         [BZ #9914]
28315         * libio/iogetdelim.c: Include <limits.h>.
28316         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28317         + len + 1 would overflow.
28319 2012-09-03  Andreas Jaeger  <aj@suse.de>
28321         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28322         * sysdeps/i386/fpu/libm-test-ulps: Update.
28324 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28326         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28327         Add s_sinf-sse2, s_conf-sse2.
28329         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28330         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28331         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28332         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28334         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28335         for using routine as __sinf_ia32.
28336         Use macro for function declaration and weak_alias.
28337         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28338         for using routine as __cosf_ia32.
28339         Use macro for function declaration and weak_alias.
28341         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28342         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28344         * sysdeps/x86_64/fpu/s_sinf.S: New file.
28345         * sysdeps/x86_64/fpu/s_cosf.S: New file.
28346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28348         * math/libm-test.inc (cos_test): Add more test cases.
28349         (sin_test): Likewise.
28350         (sincos_test): Likewise.
28352 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28354         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28355         (IFUNC_RESOLVE): Make pointers to the specialized implementations
28356         hidden.
28357         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28359 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
28361         [BZ #14538]
28362         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28363         first element of the GOT.
28364         (elf_machine_load_address): Return the difference between
28365         the runtime address of _DYNAMIC and elf_machine_dynamic ().
28367 2012-09-01  Allan McRae  <allan@archlinux.org>
28369         [BZ #13412]
28370         * configure.in (AWK): Require gawk version 3.0 or later.
28371         * configure: Regenerated.
28373 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
28375         * sysdeps/unix/sysv/linux/kernel-features.h
28376         (__ASSUME_POSIX_CPU_TIMERS): Remove.
28377         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28378         [__NR_clock_getres]: Make code unconditional.
28379         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28380         (clock_getcpuclockid): Remove code left unreachable by removal of
28381         conditionals.
28382         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28383         code unconditional.
28384         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28385         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28386         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28387         Make code unconditional.
28388         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28389         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28390         * sysdeps/unix/sysv/linux/clock_settime.c
28391         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28392         conditional code.
28393         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28394         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28396 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
28398         [BZ #14476]
28399         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28400         scripts/test-installation.pl.
28402         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28403         and $ld_so_version if it is set.
28405 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28407         [BZ #14516]
28408         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28409         failure if reading from procfs failed.
28410         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28412 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28414         * sysdeps/unix/sysv/linux/kernel-features.h
28415         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28416         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28417         Remove conditional code.
28418         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28419         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28420         Remove conditional code.
28421         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28422         * sysdeps/unix/sysv/linux/i386/fxstat.c
28423         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28424         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28425         * sysdeps/unix/sysv/linux/i386/fxstatat.c
28426         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28427         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28428         * sysdeps/unix/sysv/linux/i386/lxstat.c
28429         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28430         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28431         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28432         Remove conditional code.
28433         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28434         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28435         Remove conditional code.
28436         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28437         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28438         <kernel-features.h>.
28439         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28440         Remove.
28441         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28442         Remove conditional code.
28443         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28444         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28445         Remove conditional.
28447 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
28449         [BZ #5400]
28450         * NEWS: Add fixed bug number.
28452 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28454         [BZ #14519]
28455         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28456         underflowing exponent in case of negative sign.
28457         * stdlib/tst-strtod-round-data: Add more tests.
28458         * stdlib/tst-strtod-round.c (tests): Regenerated.
28460         [BZ #3479]
28461         * stdlib/strtod_l.c (NDIG): Remove.
28462         (HEXNDIG): Likewise.
28463         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28464         smallest representable value.
28465         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28466         lie within an exact representation of 1/2 ulp of the result.
28467         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28468         unconditionally.
28469         (TENS_P9_IDX): Define unconditionally.
28470         (TENS_P9_SIZE): Likewise.
28471         (TENS_P10_IDX): Likewise.
28472         (TENS_P10_SIZE): Likewise.
28473         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28474         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28475         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28476         entries for 10^2^13 and 10^2^14.
28477         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28478         (TENS_P13_IDX): Define.
28479         (TENS_P13_SIZE): Likewise.
28480         (TENS_P14_IDX): Likewise.
28481         (TENS_P14_SIZE): Likewise.
28482         (_fpioconst_pow10): Change array size to
28483         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
28484         unconditional.
28485         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28486         1024]: Add entries for 10^2^13 and 10^2^14.
28487         [LAST_POW10 > _LAST_POW10]: Remove #error.
28488         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28489         (_fpioconst_pow10): Change array size to
28490         FPIOCONST_POW10_ARRAY_SIZE.
28491         * stdlib/gen-fpioconst.c: New file.
28492         * stdlib/gen-tst-strtod-round.c: Likewise.
28493         * stdlib/tst-strtod-round-data: Likewise.
28494         * stdlib/tst-strtod-round.c: Likewise.
28495         * stdlib/Makefile (tests): Add tst-strtod-round.
28497         [BZ #14459]
28498         * stdlib/strtod_l.c: Include <stdint.h>.
28499         (NDEBUG): Do not define.
28500         (round_and_return): Change EXPONENT parameter to type intmax_t.
28501         Rearrange calculations to avoid internal overflow possibilities.
28502         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28503         Rearrange calculations to avoid internal overflow possibilities.
28504         Assert that number fits inside MPNSIZE limbs.
28505         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28506         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
28507         calculations and add assertions to avoid internal overflow
28508         possibilities.  Add casts to avoid signed/unsigned operations.
28509         * stdlib/tst-strtod-overflow.c: New file.
28510         * stdlib/Makefile (tests): Add tst-strtod-overflow.
28512 2012-08-25  Marek Polacek  <polacek@redhat.com>
28514         * time/time.h: Fix some typos in comments.
28516 2012-08-23  Roland McGrath  <roland@hack.frob.com>
28518         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28519         * posix/tst-rfc3484-2.c: Likewise.
28520         * posix/tst-rfc3484-3.c: Likewise.
28522 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
28524         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28525         (EF_ARM_ABI_FLOAT_HARD): Likewise.
28527 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
28529         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28530         #include of fxstatat64.c.
28532 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28534         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28535         * shadow/getspent_r.c: Likewise.
28536         * shadow/getspnam.c: Likewise.
28537         * shadow/getspnam_r.c: Likewise.
28538         * gshadow/getsgent.c: Likewise.
28539         * gshadow/getsgent_r.c: Likewise.
28540         * gshadow/getsgnam.c: Likewise.
28541         * gshadow/getsgnam_r.c: Likewise.
28542         * inet/getnetbyad.c: Likewise.
28543         * inet/getnetbyad_r.c: Likewise.
28544         * inet/getnetbynm.c: Likewise.
28545         * inet/getnetbynm_r.c: Likewise.
28546         * inet/getnetent.c: Likewise.
28547         * inet/getnetent_r.c: Likewise.
28548         * inet/getproto.c: Likewise.
28549         * inet/getproto_r.c: Likewise.
28550         * inet/getprtent.c: Likewise.
28551         * inet/getprtent_r.c: Likewise.
28552         * inet/getprtname.c: Likewise.
28553         * inet/getprtname_r.c: Likewise.
28554         * inet/getrpcbyname.c: Likewise.
28555         * inet/getrpcbyname_r.c: Likewise.
28556         * inet/getrpcbynumber.c: Likewise.
28557         * inet/getrpcbynumber_r.c: Likewise.
28558         * inet/getrpcent.c: Likewise.
28559         * inet/getrpcent_r.c: Likewise.
28560         * inet/getaliasent.c: Likewise.
28561         * inet/getaliasent_r.c: Likewise.
28562         * inet/getaliasname.c: Likewise.
28563         * inet/getaliasname_r.c: Likewise.
28564         * nscd/getgrgid_r.c: Likewise.
28565         * nscd/getgrnam_r.c: Likewise.
28566         * nscd/gethstbyad_r.c: Likewise.
28567         * nscd/gethstbynm3_r.c: Likewise.
28568         * nscd/getpwnam_r.c: Likewise.
28569         * nscd/getpwuid_r.c: Likewise.
28570         * nscd/getsrvbynm_r.c: Likewise.
28571         * nscd/getsrvbypt_r.c: Likewise.
28572         * nscd/gai.c: Likewise.
28574         * configure.in (build_nscd): New substituted variable, set
28575         by --disable-build-nscd and defaults to $use_nscd.
28576         * configure: Regenerated.
28577         * config.make.in (build-nscd): New substituted variable.
28578         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28579         Change conditional to require [$(build-nscd) = yes] as well.
28580         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28582         [BZ# 13696]
28583         * configure.in (use_nscd): New substituted variable, set by
28584         --disable-nscd.  If enabled, define USE_NSCD.
28585         * configure: Regenerated.
28586         * config.h.in: Add USE_NSCD.
28587         * config.make.in (use-nscd): New substituted variable.
28588         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28589         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28590         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28591         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28592         (CFLAGS-getgrnam_r.c): Likewise.
28593         (CFLAGS-initgroups.c): Likewise.
28594         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28595         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28596         Variables removed.
28597         * inet/getnetgrent_r.c
28598         (nscd_setnetgrent): New function, broken out of ...
28599         (setnetgrent): ... here.  Call it.
28600         (innetgr): Conditionalize nscd bits on [USE_NSCD].
28601         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28602         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28603         * nscd/Makefile (routines, aux): Move definitions after include of
28604         Makeconfig.  Conditionalize on [$(use-nscd) != no].
28605         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28606         Conditionalize on [USE_NSCD].
28607         (is_nscd, nscd_init_cb): Likewise.
28608         (nss_load_library): Conditionalize init callback on [USE_NSCD].
28609         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28610         * nss/nss_db/db-init.c: Likewise.
28611         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28612         [USE_NSCD].
28613         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28614         (make_request): Use it.
28615         (cache_valid_p): New function.
28616         (__check_pf): Use it.
28617         * NEWS: Add item for --disable-nscd.
28619 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
28621         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28622         to support sed >= 4.2.1-20-ga9bf076.
28623         * configure: Regenerated.
28625 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28627         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28628         Conditionalize whole body on [IREL].
28630 2012-08-22  Jeff Law <law@redhat.com>
28632         [BZ #14505]
28633         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28634         if the family is PF_UNSPEC.
28636 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
28638         * Makerules (lib-version): Rename from V.
28639         (install-lib-nosubdir): Change V to lib-version.
28641 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
28643         [BZ #14252]
28644         * powerpc32/power6/wcschr.c: New file.
28645         * powerpc32/power6/wcscpy.c: New file.
28646         * powerpc32/power6/wcsrchr.c: New file.
28647         * powerpc64/power6/wcschr.c: New file.
28648         * powerpc64/power6/wcscpy.c: New file.
28649         * powerpc64/power6/wcsrchr.c: New file.
28651 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28653         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28654         (two_way_short_needle): Use it.
28655         * string/strstr.c (AVAILABLE1_USES_J): Define.
28656         * string/strcasestr.c: Likewise.
28658         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28659         array references.
28660         * string/strcasestr.c (TOLOWER): Make side-effect safe.
28662         [BZ #11607]
28663         * NEWS: Add an entry.
28664         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28665         define their defaults.
28666         (two_way_short_needle): Detect end-of-string on-the-fly.
28667         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28668         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28669         * string/bug-strcasestr1.c: New test.
28670         * string/Makefile: Run it.
28672 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28674         [BZ #11607]
28675         * string/str-two-way.h (two_way_short_needle): Optimize matching of
28676         the first character.
28678 2012-08-21  Roland McGrath  <roland@hack.frob.com>
28680         * csu/elf-init.c (__libc_csu_irel): Function removed.
28681         * csu/libc-start.c (apply_irel): New function.
28682         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28684 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
28686         * sysdeps/unix/sysv/linux/kernel-features.h
28687         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28688         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28689         <kernel-features.h>.
28690         [__NR_fadvise64_64]: Make code unconditional.
28691         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28692         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28693         !__NR_fadvise64_64)]: Likewise.
28694         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28695         !__NR_fadvise64_64))]: Likewise.
28696         [__NR_fadvise64]: Make code unconditional.
28697         [!__NR_fadvise64]: Remove conditional code.
28698         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28699         <kernel-features.h>.
28700         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28701         unconditional.
28702         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28703         conditional code.
28704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28705         not include <kernel-features.h>.
28706         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28707         unconditional.
28708         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28709         conditional code.
28710         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28711         include <kernel-features.h>.
28712         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28713         unconditional.
28714         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28715         conditional code.
28717 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28719         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28720         slight instruction rearrangements per scrollpipe analysis.
28721         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28723 2012-08-20  Roland McGrath  <roland@hack.frob.com>
28725         * manual/syslog.texi (syslog; vsyslog, closelog):
28726         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28727         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28729         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28730         DSOCAPS to match condition on defining it.
28732 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
28734         * sysdeps/unix/sysv/linux/kernel-features.h
28735         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28737         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28738         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28740         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28741         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28743         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28744         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28746         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28747         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28749         * sysdeps/unix/sysv/linux/kernel-features.h
28750         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28751         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28752         unconditional.
28753         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28754         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28755         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28756         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28757         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28758         Make code unconditional.
28759         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28760         (__mmap64) [!__NR_mmap2]: Likewise.
28761         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28762         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28763         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28764         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28765         [__NR_mmap2]: Make code unconditional.
28766         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28767         (__mmap64) [!__NR_mmap2]: Likewise.
28769 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28771         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28773 2012-08-18  Andreas Jaeger  <aj@suse.de>
28775         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28777 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28779         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28780         * include/unistd.h (__have_sock_cloexec): Likewise.
28781         (__have_pipe2): Likewise.
28782         (__have_dup3): Likewise.
28784 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28786         [BZ #9685]
28787         * include/unistd.h (__have_pipe2): Change define into an extern int.
28788         (__have_dup3): Likewise.
28789         * socket/have_sock_cloexec.c: Include fcntl.h.
28790         (__have_pipe2): New variable.
28791         (__have_dup3): Likewise.
28793 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
28795         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28797 2012-08-17  Marek Polacek  <polacek@redhat.com>
28799         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28800         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28802 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28804         * configure.in: Add AC_SUBST for sysheaders.
28805         * configure: Regenerated.
28806         * config.make.in (sysheaders): New substituted variable.
28808         * sysdeps/unix/mkfifo.c: Moved ...
28809         * sysdeps/posix/mkfifo.c: ... here.
28810         * sysdeps/unix/mkfifoat.c: Moved ...
28811         * sysdeps/posix/mkfifoat.c: ... here.
28813         * sysdeps/unix/utime.c: Moved ...
28814         * sysdeps/posix/utime.c: ... here.
28816         * sysdeps/unix/time.c: Moved ...
28817         * sysdeps/posix/time.c: ... here.
28818         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28819         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28821         * sysdeps/unix/nice.c: Moved ...
28822         * sysdeps/posix/nice.c: ... here.
28824         * sysdeps/unix/alarm.c: Moved ...
28825         * sysdeps/posix/alarm.c: ... here.
28827         * intl/Makefile ($(codeset_mo)): Depend on the input file.
28829 2012-08-17  Jeff Law <law@redhat.com>
28831         * intl/Makefile (codeset_mo): New variable.
28832         ($(codeset_mo)): New target.
28833         (tst-codeset.out): Depend on that.  Remove explicit rule.
28834         (tst-gettext3.out, tst-gettext5.out): Likewise.
28835         (LOCPATH-ENV, tst-codeset-ENV): New variables.
28836         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28837         * intl/tst-codeset.sh: Remove.
28838         * intl/tst-gettext3.sh: Likewise.
28839         * intl/tst-gettext5.sh: Likewise.
28841 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28843         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
28844         * sysdeps/unix/syscalls.list: ... here.
28846         * sysdeps/posix/getaddrinfo.c
28847         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28848         (gaiconf_init, gaiconf_reload): Use them.
28849         [!_STATBUF_ST_NSEC]
28850         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28851         Define using time_t rather than struct timespec.
28853         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28854         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28855         Macros removed.
28856         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28857         [!NO_THREADS].
28858         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28859         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28860         Likewise.
28862         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28863         __libc_cleanup_push argument.
28865         * bits/param.h: New file.
28866         * misc/sys/param.h: New file.
28867         * include/sys/param.h: New file.
28868         * misc/Makefile (headers): Add bits/param.h.
28869         * sysdeps/generic/sys/param.h: File removed.
28870         * sysdeps/unix/sysv/linux/bits/param.h: New file.
28871         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28872         * sysdeps/mach/hurd/bits/param.h: New file.
28873         * sysdeps/mach/hurd/sys/param.h: File removed.
28875         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28876         last change.
28878         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28879         [_IO_MTSAFE_IO].
28880         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28881         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28882         New macros.
28884         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28885         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28886         rather than -D_IO_MTSAFE_IO conditionally.
28887         * stdio-common/Makefile (CPPFLAGS): Likewise.
28888         * wcsmbs/Makefile (CPPFLAGS): Likewise.
28889         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28890         Use $(libio-mtsafe).
28891         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28892         of -D_IO_MTSAFE_IO.
28893         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28894         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28895         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28896         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28897         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28898         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28899         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28900         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28901         (CFLAGS-fread_u_chk.c): Likewise.
28902         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28903         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28904         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28905         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28906         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28907         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28908         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28909         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28910         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28912         * libio/Makefile: Test [$(libc-reentrant) = yes]
28913         instead of [$(filter %REENTRANT, $(defines)) nonempty].
28915         * Makeconfig
28916         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28917         * sysdeps/pthread/configure: File removed.
28918         * sysdeps/pthread/Makeconfig: New file.
28919         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28920         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28922 2012-08-16  Gary Benson  <gbenson@redhat.com>
28924         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28925         unmapping the first object in a namespace.
28927 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28929         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28930         (__internal_setnetgrent): ... this.  Add internal_function to
28931         definition.  Add libc_hidden_def.
28932         (setnetgrent): Update caller.
28933         (internal_endnetgrent): Renamed to ...
28934         (__internal_endnetgrent): ... this.  Add internal_function to
28935         definition.  Add libc_hidden_def.
28936         (endnetgrent): Update caller.
28937         (internal_getnetgrent_r): Renamed to ...
28938         (__internal_getnetgrent_r): ... this.  Add internal_function to
28939         definition.  Add libc_hidden_def.
28940         (__getnetgrent_r): Update caller.
28941         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
28943 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28945         * stdlib/longlong.h: Update from GCC.
28947 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28949         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28950         on _QL, which is set by umul_ppmm but never used.
28951         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28952         variables, which are set by GMP macros but never used.
28953         * stdio-common/_itowa.c (_itowa): Likewise.
28954         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28955         * stdlib/mod_1.c (mpn_mod_1): Likewise.
28957 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
28959         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28960         struct La_sh_regs is not constant.
28961         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28962         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28963         and struct La_sparc64_regs are not constant.
28965 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28967         * sysdeps/unix/sysv/linux/kernel-features.h
28968         (__ASSUME_POSIX_TIMERS): Remove.
28969         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28970         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28971         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28972         Make code unconditional.
28973         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28974         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28975         Make code unconditional.
28976         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28977         * sysdeps/unix/sysv/linux/clock_nanosleep.c
28978         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28979         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28980         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28981         Make code unconditional.
28982         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28983         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28984         (__libc_missing_posix_timers): Remove.
28986 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28988         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28989         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28991         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28993         * elf/dl-sym.c: Include <stdlib.h>.
28995         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28996         constants, which avoids warnings in 32-bit builds.
28998         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28999         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29001         * misc/lseek.c: File moved to ...
29002         * io/lseek.c: ... here.
29004         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29006         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29007         shifting LEN more than 31 bits at once.
29009 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29011         [BZ #14195]
29012         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29013         segmentation fault for a case of two empty input strings.
29014         * string/test-strncasecmp.c (check1): Renamed to...
29015         (bz12205): ...this.
29016         (bz14195): Add new testcase for two empty input strings and N > 0.
29017         (test_main): Call new testcase, adapt for renamed function.
29019 2012-08-15  Andreas Jaeger  <aj@suse.de>
29021         [BZ #14090]
29022         * crypt/md5test2.c: New test, based on test supplied by Serge
29023         Belyshev <belyshev@depni.sinp.msu.ru>.
29024         * crypt/Makefile (xtests): Add md5test-giant..
29025         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29027 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29029         [BZ #14090]
29030         * crypt/md5.c (md5_process_block): Don't assume the buffer
29031         length is less than 2**32.
29032         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29033         length is less than 2**64.
29035 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29037         * string/str-two-way.h: Include <sys/param.h>.
29038         (MAX): Macro removed.
29040         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29041         Move #define and #undef of memmove to just before and after
29042         including <string.h>.
29044         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29045         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29046         and after including <string.h>.  Move declarations of
29047         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29048         to before #include "string/memmove.c".
29050         * include/dirent.h: Declare __getdirentries.
29052         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29053         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29055 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29057         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29058         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29059         * sysdeps/i386/configure: Regenerated.
29060         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29061         STABS_CURRENT_FILE, and STABS_FUN.
29062         (END): Remove call to STABS_FUN_END.
29063         (STABS_CURRENT_FILE1): Delete.
29064         (STABS_CURRENT_FILE): Likewise.
29065         (STABS_FUN): Likewise.
29066         (STABS_FUN_END): Likewise.
29067         (STABS_FUN2): Likewise.
29068         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29069         * sysdeps/x86_64/configure: Regenerated.
29071 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29073         * elf/dl-open.c: Include <atomic.h>.
29074         * elf/dl-lookup.c: Likewise.
29076 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29078         * sysdeps/unix/sysv/linux/kernel-features.h
29079         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29080         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29081         unconditionally.
29082         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29083         unconditionally.
29084         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29085         condition on __ASSUME_CLONE_THREAD_FLAGS.
29087 2012-08-14  Andreas Jaeger  <aj@suse.de>
29089         * sysdeps/i386/fpu/libm-test-ulps: Update.
29091 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29093         * include/atomic.h (atomic_exchange_and_add): Split into ...
29094         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29095         New atomic macros.
29097 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29101 2012-08-13  Jeff Law <law@redhat.com>
29103         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29104         null byte in the output string.
29106 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29108         * sysdeps/unix/sysv/linux/kernel-features.h
29109         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29110         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29111         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29112         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29113         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29114         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29115         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29117 2012-08-09  Jeff Law <law@redhat.com>
29119         [BZ #13939]
29120         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29121         When avoid_arena is set, don't retry in the that arena.  Pick the
29122         next one, whatever it might be.
29123         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29124         (arena_lock): Pass in new parameter to arena_get2.
29125         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29126         arena_get2.
29127         (__libc_malloc): Unify retrying after main arena failure with
29128         __libc_memalign version.
29129         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29131 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29133         [BZ #14166]
29134         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29135         to __redirect_strstr.
29136         (__strstr_sse42): Use typeof __redirect_strstr.
29137         (__strstr_ia32): Likewise.
29138         (__libc_strstr): New prototype.
29139         (strstr): Renamed to ...
29140         (__libc_strstr): This.
29141         (strstr): New strong alias of __libc_strstr.
29142         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29143         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29144         __redirect_time.
29145         Include <time.h>.
29146         (__libc_time): New prototype.
29147         (time_ifunc): Replace time with __libc_time.
29148         (time): New strong alias and hidden definition of __libc_time.
29149         (__GI_time): Remove strong alias.
29150         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29151         Include <stddef.h>.
29152         (memmove): Redefined to __redirect_memmove.
29153         (__memmove_sse2): Use typeof __redirect_memmove.
29154         (__memmove_ssse3): Likewise.
29155         (__memmove_ssse3_back): Likewise.
29156         (__libc_memmove): New prototype.
29157         (memmove): Renamed to ...
29158         (__libc_memmove): This.
29159         (memmove): New strong alias of __libc_memmove.
29161 2012-08-08  Mark Salter  <msalter@redhat.com>
29163         * elf/elf.h
29164         (R_MN10300_TLS_GD): Define.
29165         (R_MN10300_TLS_LD): Likewise.
29166         (R_MN10300_TLS_LDO): Likewise.
29167         (R_MN10300_TLS_GOTIE): Likewise.
29168         (R_MN10300_TLS_IE): Likewise.
29169         (R_MN10300_TLS_LE): Likewise.
29170         (R_MN10300_TLS_DTPMOD): Likewise.
29171         (R_MN10300_TLS_DTPOFF): Likewise.
29172         (R_MN10300_TLS_TPOFF): Likewise.
29173         (R_MN10300_SYM_DIFF): Likewise.
29174         (R_MN10300_ALIGN): Likewise.
29175         (R_MN10300_NUM): Update.
29177 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29179         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29180         Remove.
29182 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29184         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29186         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29187         sysdeps/unix -> sysdeps/posix move.
29188         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29190 2012-08-07      Allan McRae     <allan@archlinux.org>
29192         [BZ #14303]
29193         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29194         (SUNOS_CPP): Likewise.
29195         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29196         not found.
29197         (open_input): Call CPP using execvp.
29199 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29201         * sysdeps/unix/sysv/linux/kernel-features.h
29202         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29203         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29204         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29205         (__ASSUME_WAITID_SYSCALL): Likewise.
29206         * sysdeps/unix/sysv/linux/dl-execstack.c
29207         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29208         code unconditional.
29209         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29210         conditional code.
29211         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29212         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29213         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29214         code.
29215         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29216         unconditional.
29217         [__ASSUME_WAITID_SYSCALL]: Likewise.
29218         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29220 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29222         * sysdeps/unix/closedir.c: Renamed to ...
29223         * sysdeps/posix/closedir.c: ... here.
29224         * sysdeps/unix/dirfd.c: Renamed to ...
29225         * sysdeps/posix/dirfd.c: ... here.
29226         * sysdeps/unix/dirstream.h: Renamed to ...
29227         * sysdeps/posix/dirstream.h: ... here.
29228         * sysdeps/unix/fdopendir.c: Renamed to ...
29229         * sysdeps/posix/fdopendir.c: ... here.
29230         * sysdeps/unix/opendir.c: Renamed to ...
29231         * sysdeps/posix/opendir.c: ... here.
29232         * sysdeps/unix/readdir.c: Renamed to ...
29233         * sysdeps/posix/readdir.c: ... here.
29234         * sysdeps/unix/readdir_r.c: Renamed to ...
29235         * sysdeps/posix/readdir_r.c: ... here.
29236         * sysdeps/unix/rewinddir.c: Renamed to ...
29237         * sysdeps/posix/rewinddir.c: ... here.
29238         * sysdeps/unix/seekdir.c: Renamed to ...
29239         * sysdeps/posix/seekdir.c: ... here.
29240         * sysdeps/unix/telldir.c: Renamed to ...
29241         * sysdeps/posix/telldir.c: ... here.
29242         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29243         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29244         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29245         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29247         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29248         * bits/fcntl.h: ... here.
29250         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29251         not 0.
29252         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29253         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29254         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29255         (struct flock): Move l_start, l_len to the beginning.
29256         Use __pid_t for l_pid.
29257         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29258         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29259         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29260         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29261         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29262         [__USE_LARGEFILE64] (struct flock64): New type.
29263         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29265         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29266         * bits/dirent.h: ... here.
29268         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29269         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29271 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29273         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29274         Change from 2.6.0 to 2.6.16.
29275         * sysdeps/unix/sysv/linux/configure: Regenerated.
29276         * sysdeps/unix/sysv/linux/kernel-features.h
29277         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29278         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29279         version.
29280         (__ASSUME_UTIMES): Likewise.
29281         (__ASSUME_CLONE_STOPPED): Remove.
29282         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29283         architectures, not kernel version.
29284         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29285         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29286         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29287         (__ASSUME_WAITID_SYSCALL): Likewise.
29288         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29289         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29290         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29291         refer to older versions.
29293 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29295         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29296         Define alphasort64 as an alias.
29297         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29298         Define versionsort64 as an alias.
29299         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29300         Define scandir64 as an alias.
29301         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29302         Define scandirat64 as an alias.
29303         * dirent/alphasort64.c (alphasort64):
29304         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29305         * dirent/versionsort64.c: Likewise.
29306         * dirent/scandir64.c: Likewise.
29307         * dirent/scandirat64.c: Likewise.
29308         * sysdeps/wordsize-64/alphasort.c: File removed.
29309         * sysdeps/wordsize-64/alphasort64.c: File removed.
29310         * sysdeps/wordsize-64/scandir.c: File removed.
29311         * sysdeps/wordsize-64/scandir64.c: File removed.
29312         * sysdeps/wordsize-64/scandirat.c: File removed.
29313         * sysdeps/wordsize-64/scandirat64.c: File removed.
29314         * sysdeps/wordsize-64/versionsort.c: File removed.
29315         * sysdeps/wordsize-64/versionsort64.c: File removed.
29316         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29317         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29318         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29319         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29320         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29321         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29322         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29323         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29325         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29326         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29327         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29328         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29329         [defined __arch64__ || defined __sparcv9]
29330         (__INO_T_MATCHES_INO64_T): New macro.
29331         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29332         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29333         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29334         * sysdeps/unix/sysv/linux/bits/dirent.h
29335         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29336         (_DIRENT_MATCHES_DIRENT64): New macro.
29338         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29339         Define lockf64 as an alias.
29340         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29341         Define fseeko64 as an alias.
29342         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29343         Define ftello64 as an alias.
29344         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29345         Define _IO_fgetpos64 and fgetpos64 as aliases.
29346         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29347         Define _IO_fsetpos64 and fsetpos64 as aliases.
29348         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29349         Conditionalize body on this.
29350         * libio/fseeko64.c: Likewise.
29351         * libio/ftello64.c: Likewise.
29352         * libio/iofgetpos64.c: Likewise.
29353         * libio/iofsetpos64.c: Likewise.
29354         * sysdeps/wordsize-64/lockf.c: File removed.
29355         * sysdeps/wordsize-64/lockf64.c: File removed.
29356         * sysdeps/wordsize-64/fseeko.c: File removed.
29357         * sysdeps/wordsize-64/fseeko64.c: File removed.
29358         * sysdeps/wordsize-64/ftello.c: File removed.
29359         * sysdeps/wordsize-64/ftello64.c: File removed.
29360         * sysdeps/wordsize-64/iofgetpos.c: File removed.
29361         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29362         * sysdeps/wordsize-64/iofsetpos.c: File removed.
29363         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29364         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29365         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29366         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29367         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29368         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29369         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29370         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29371         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29372         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29373         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29375         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29376         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29377         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29378         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29379         [defined __arch64__ || defined __sparcv9]
29380         (__OFF_T_MATCHES_OFF64_T): New macro.
29381         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29382         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29383         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29384         (__OFF_T_MATCHES_OFF64_T): New macro.
29386 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29388         * stdlib/secure-getenv.c (__secure_getenv): Replace
29389         GLIBC_2_16 with GLIBC_2_17.
29391 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29393         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29394         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29396 2012-08-03  David S. Miller  <davem@davemloft.net>
29398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29400 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29402         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29403         Remove.
29404         (__ASSUME_CORRECT_SI_PID): Likewise.
29405         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29406         (__ASSUME_TMPFS_NAME): Likewise.
29407         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29408         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29409         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29410         (HAVE_AUX_SECURE): Make definition unconditional.
29411         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29412         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29414 2012-08-03  Roland McGrath  <roland@hack.frob.com>
29416         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29417         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29418         * sysdeps/mach/hurd/eloop-threshold.h: New file.
29419         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29420         __eloop_threshold instead of SYMLOOP_MAX.
29422         * sysdeps/generic/eloop-threshold.h: New file.
29423         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29424         of MAXSYMLINKS.
29425         * elf/chroot_canon.c (chroot_canon): Likewise.
29427 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29429         [BZ #13717]
29430         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29431         Change to 2.6.0 everywhere.
29432         * sysdeps/unix/sysv/linux/configure: Regenerated.
29433         * sysdeps/unix/sysv/linux/kernel-features.h
29434         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29435         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29436         kernel versions.
29437         (__ASSUME_POSIX_TIMERS): Define unconditionally.
29438         (__ASSUME_FUTEX_REQUEUE): Remove.
29439         (__ASSUME_STATFS64): Define unconditionally.
29440         (__ASSUME_AT_SECURE): Likewise.
29441         (__ASSUME_CORRECT_SI_PID): Likewise.
29442         (__ASSUME_TGKILL): Define without depending on kernel version for
29443         i386.
29444         (__ASSUME_UTIMES): Likewise.
29445         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29446         kernel version.
29447         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29448         (__ASSUME_TMPFS_NAME): Likewise.
29449         * README: Update reference to Linux kernel versions.
29451 2012-08-02  Marek Polacek  <polacek@redhat.com>
29453         [BZ# 14150]
29454         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
29455         libc_cv_asm_type_prefix with %.
29456         * configure: Regenerated.
29457         * include/libc-symbols.h: Remove comment about
29458         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29459         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29460         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29461         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29462         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29463         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29464         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29465         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29466         * elf/tst-unique2mod1.c: Likewise.
29467         * elf/tst-unique1mod2.c: Likewise.
29468         * elf/tst-unique1mod1.c: Likewise.
29469         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29470         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29471         Replace ASM_TYPE_DIRECTIVE with .type.
29472         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29473         * sysdeps/i386/sysdep.h: Likewise.
29474         * sysdeps/x86_64/sysdep.h: Likewise.
29475         * sysdeps/sh/sysdep.h: Likewise.
29476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29477         Do not define ASM_TYPE_DIRECTIVE.
29478         * sysdeps/powerpc/sysdep.h: Likewise.
29479         * sysdeps/powerpc/powerpc32/sysdep.h:
29480         Replace ASM_TYPE_DIRECTIVE with .type.
29481         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29482         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29483         * sysdeps/i386/fpu/e_powf.S: Likewise.
29484         * sysdeps/i386/fpu/e_expl.S: Likewise.
29485         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29486         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29487         * sysdeps/i386/fpu/e_pow.S: Likewise.
29488         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29489         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29490         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29491         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29492         * sysdeps/i386/fpu/e_log2.S: Likewise.
29493         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29494         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29495         * sysdeps/i386/fpu/e_powl.S: Likewise.
29496         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29497         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29498         * sysdeps/i386/fpu/e_logl.S: Likewise.
29499         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29500         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29501         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29502         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29503         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29504         * sysdeps/i386/fpu/e_log.S: Likewise.
29505         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29506         * sysdeps/i386/fpu/e_logf.S: Likewise.
29507         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29508         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29509         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29510         * sysdeps/i386/fpu/e_log10.S: Likewise.
29511         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29512         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29513         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29514         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29515         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29516         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29517         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29518         * sysdeps/i386/i686/strtok.S: Likewise.
29519         * sysdeps/i386/i386-mcount.S: Likewise.
29520         * sysdeps/i386/strtok.S: Likewise.
29521         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29522         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29523         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29524         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29525         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29526         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29527         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29528         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29529         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29530         * sysdeps/x86_64/_mcount.S: Likewise.
29531         * sysdeps/x86_64/strtok.S: Likewise.
29532         * sysdeps/sh/_mcount.S: Likewise.
29534 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29536         * libio/iofopen.c: Include <fcntl.h>.
29537         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29538         (_IO_fopen64, fopen64): Define as aliases.
29539         * libio/iofopen64.c: Include <fcntl.h>.
29540         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29541         Conditionalize body on this.
29542         * sysdeps/wordsize-64/iofopen.c: File removed.
29543         * sysdeps/wordsize-64/iofopen64.c: File removed.
29545 2012-08-01  Marek Polacek  <polacek@redhat.com>
29547         * libc/Makeconfig: Use elf in place of binfmt-subdir.
29548         Use dlfcn directly instead of a variable.
29549         (binfmt-subdir): Do not define.
29550         (dlfcn): Likewise.
29552 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
29554         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29555         Remove all definitions.
29556         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29557         <kernel-features.h>.
29558         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29559         (miss_F_GETOWN_EX): Remove all definitions.
29560         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29561         macro definition.
29562         [!__ASSUME_FCNTL64]: Remove conditional code.
29563         [__ASSUME_FCNTL64]: Make code unconditional.
29564         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29565         <kernel-features.h>.
29566         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29567         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29568         (lockf64) [__NR_fcntl64]: Make code unconditional.
29569         (lockf64) [__ASSUME_FCNTL64]: Likewise.
29571         * sysdeps/unix/sysv/linux/kernel-features.h
29572         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29573         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29574         Make code unconditional.
29575         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29576         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29578         [__NR_vfork]: Make code unconditional.
29579         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29580         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29582         [__NR_vfork]: Make code unconditional.
29583         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29584         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29586 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29588         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29589         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29591         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29592         Define mkstemp64 as an alias.
29593         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29594         Define mkstemps64 as an alias.
29595         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29596         Define mkostemp64 as an alias.
29597         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29598         Define mkostemps64 as an alias.
29599         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29600         Conditionalize body on this.
29601         * misc/mkostemp64.c: Likewise.
29602         * misc/mkostemps64.c: Likewise.
29603         * misc/mkstemps64.c: Likewise.
29604         * sysdeps/wordsize-64/mkstemp64.c: File removed.
29605         * sysdeps/wordsize-64/mkostemp64.c: File removed.
29606         * sysdeps/wordsize-64/mkostemp.c: File removed.
29607         * sysdeps/wordsize-64/mkstemp.c: File removed.
29608         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29609         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29610         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29611         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29613         [BZ #14138]
29614         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29615         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29616         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29617         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29619         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29620         compat_symbol macros from <shlib-compat.h> rather than the underlying
29621         default_symbol_version and symbol_version macros, so that DEFAULT
29622         lines in shlib-versions are respected.
29623         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29625 2012-08-01  Florian Weimer  <fweimer@redhat.com>
29627         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29628         Declare with warn_unused_result.
29629         (setgid, setregid, setegid, setresgid): Likewise.
29630         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29631         Likewise.
29632         * WUR-REPORT: Remove set*id functions.
29634 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
29636         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29638 2012-07-31  Roland McGrath  <roland@hack.frob.com>
29640         [BZ #10191]
29641         * include/sys/socket.h (__libc_accept, __libc_accept4):
29642         Add attribute_hidden.
29643         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29645         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29646         use of PTR_MANGLE.
29647         * inet/getnetgrent_r.c (setup): Likewise.
29649         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29651 2012-07-31  David S. Miller  <davem@davemloft.net>
29653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29655 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
29657         [BZ #13629]
29658         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29659         value between 1.0 and 2.0 and smaller part has absolute value less
29660         than 1.0.
29661         * math/s_clog10.c (__clog10): Likewise.
29662         * math/s_clog10f.c (__clog10f): Likewise.
29663         * math/s_clog10l.c (__clog10l): Likewise.
29664         * math/s_clogf.c (__clogf): Likewise.
29665         * math/s_clogl.c (__clogl): Likewise.
29666         * math/libm-test.inc (clog_test): Add more tests.
29667         (clog10_test): Likewise.
29668         * sysdeps/i386/fpu/libm-test-ulps: Update.
29669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29671 2012-07-31  Florian Weimer  <fweimer@redhat.com>
29673         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29674         Exit with zero in case no suitable GID is found, and write a
29675         message to standard error.
29677 2012-07-30  Roland McGrath  <roland@hack.frob.com>
29679         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29680         rather than to 1.
29681         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29682         (MAXPATHLEN): Removed.
29683         (NOGROUP, NODEV): New macros.
29684         (setbit, clrbit, isset, isclr): New macros.
29685         (howmany, roundup, powerof2): New macros.
29686         (DEV_BSIZE): New macro.
29688         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29689         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29691         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29692         definition on [!__NO_LONG_DOUBLE_MATH].
29694         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29695         PTR_MANGLE and PTR_DEMANGLE.
29697         * socket/accept4.c (accept4): Rename to __libc_accept4.
29698         Define accept4 as a weak alias.
29700         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29701         on [_DIRENT_HAVE_D_TYPE].
29702         * io/ftw.c (ftw_dir): Likewise.
29704         * io/xmknod.c (__xmknod): Don't check PATH for being null.
29706         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29708         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29709         Use the BSD numbers rather than the arbitrary ones we had.
29710         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29711         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29712         (SIGXCPU, SIGXFSZ): New macros.
29713         (_NSIG): Now 32.
29715         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29716         initializer on [_LIBC_REENTRANT].
29718         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29719         definitions inside [_POSIX_MAPPED_FILES].
29721         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29723         * dirent/opendir.c: Include <fcntl.h>.
29725         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29726         (__libc_getspecific): Likewise.
29727         (__libc_key_create): Likewise.
29729         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29730         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29731         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29732         (tmpfile64): Define as alias.
29733         * sysdeps/wordsize-64/tmpfile.c: File removed.
29734         * sysdeps/wordsize-64/tmpfile64.c: File removed.
29735         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29736         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29738         * stdio-common/vfscanf.c: Include <stdbool.h>.
29739         * nss/makedb.c: Likewise.
29740         * stdio-common/_i18n_number.h: Likewise.
29741         * argp/argp-help.c: Likewise.
29742         * posix/wordexp.c: Likewise.
29743         * sysdeps/posix/spawni.c: Likewise.
29744         * nss/nss_files/files-initgroups.c: Likewise.
29745         * stdio-common/reg-modifier.c: Include <stdlib.h>.
29746         * nss/nss_files/files-initgroups.c: Likewise.
29747         * nss/nss_db/db-netgrp.c: Likewise.
29748         * nss/nss_db/db-initgroups.c: Likewise.
29749         * io/fchmodat.c: Include <sys/stat.h>.
29751         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29752         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29754         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29755         [HAVE_MMAP].
29757         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29758         Add multiple inclusion protection.
29760 2012-07-27  David S. Miller  <davem@davemloft.net>
29762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29764 2012-07-27  Gary Benson  <gbenson@redhat.com>
29766         [BZ #14298]
29767         * elf/rtld.c: Include <stap-probe.h>.
29768         (dl_main): Added static probes "init_start" and "init_complete".
29769         * elf/dl-load.c: Include <stap-probe.h>.
29770         (lose): Take new parameter "nsid".
29771         Added static probe "map_failed".
29772         (_dl_map_object_from_fd): Pass namespace id to lose.
29773         Added static probe "map_start".
29774         (open_verify): Pass namespace id to lose.
29775         * elf/dl-open.c: Include <stap-probe.h>.
29776         (dl_open_worker) Added static probes "map_complete", "reloc_start"
29777         and "reloc_complete".
29778         * elf/dl-close.c: Include <stap-probe.h>.
29779         (_dl_close_worker): Added static probes "unmap_start" and
29780         "unmap_complete".
29781         * elf/rtld-debugger-interface.txt: New file documenting the above.
29783 2012-07-26  Roland McGrath  <roland@hack.frob.com>
29785         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29786         rather than a string variable.
29787         * sunrpc/rpc_main.c (h_output): Likewise.
29788         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29790 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
29792         * inet/check_native.c: New file.
29794 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
29796         [BZ #13629]
29797         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29798         if larger part has absolute value 1.0.
29799         * math/s_clog10.c (__clog10): Likewise.
29800         * math/s_clog10f.c (__clog10f): Likewise.
29801         * math/s_clog10l.c (__clog10l): Likewise.
29802         * math/s_clogf.c (__clogf): Likewise.
29803         * math/s_clogl.c (__clogl): Likewise.
29804         * math/libm-test.inc (clog_test): Add more tests.
29805         (clog10_test): Likewise.
29806         * sysdeps/i386/fpu/libm-test-ulps: Update.
29807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29809         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29810         (pltexit): Likewise.
29811         (La_regs): Likewise.
29812         (La_retval): Likewise.
29813         (int_retval): Likewise.
29814         Update #error for removed macros to refer only to definitions in
29815         tst-audit.h.
29816         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29817         macro.
29818         (pltexit): Likewise.
29819         (La_regs): Likewise.
29820         (La_retval): Likewise.
29821         (int_retval): Likewise.
29822         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29823         macro.
29824         (pltexit): Likewise.
29825         (La_regs): Likewise.
29826         (La_retval): Likewise.
29827         (int_retval): Likewise.
29828         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29829         macro.
29830         (pltexit): Likewise.
29831         (La_regs): Likewise.
29832         (La_retval): Likewise.
29833         (int_retval): Likewise.
29834         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29835         macro.
29836         (pltexit): Likewise.
29837         (La_regs): Likewise.
29838         (La_retval): Likewise.
29839         (int_retval): Likewise.
29840         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29841         macro.
29842         (pltexit): Likewise.
29843         (La_regs): Likewise.
29844         (La_retval): Likewise.
29845         (int_retval): Likewise.
29846         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29847         macro.
29848         (pltexit): Likewise.
29849         (La_regs): Likewise.
29850         (La_retval): Likewise.
29851         (int_retval): Likewise.
29852         * sysdeps/generic/tst-audit.h: Update comment to refer only to
29853         macro definitions in tst-audit.h.
29854         * sysdeps/i386/tst-audit.h: New file.
29855         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29856         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29857         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29858         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29859         * sysdeps/sh/tst-audit.h: Likewise.
29860         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29861         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29862         * sysdeps/x86_64/tst-audit.h: Likewise.
29864 2012-07-26  Andreas Jaeger  <aj@suse.de>
29866         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29867         ptrace.
29869         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29870         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29871         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29872         PTRACE_O_MASK.
29873         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29874         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29875         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29877         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29878         value.
29880         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29881         _sigsys.
29882         (si_call_addr, si_syscall, si_arch): Define new macro.
29883         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29884         _sigsys.
29885         (si_call_addr, si_syscall, si_arch): Define new marcro.
29886         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29887         _sigsys.
29888         (si_call_addr, si_syscall, si_arch): Define new macro.
29889         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29890         _sigsys.
29891         (si_call_addr, si_syscall, si_arch): Define new macro.
29893 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29895         [BZ #13717]
29896         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29897         Change to 2.4.21 where previously 2.4.1.
29898         * sysdeps/unix/sysv/linux/configure: Regenerated.
29899         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29900         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29901         Linux kernel version.
29902         (__ASSUME_STD_AUXV): Remove.
29903         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29904         kernel version.
29905         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29906         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29907         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29908         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29909         (__ASSUME_NETLINK_SUPPORT): Likewise.
29910         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29911         (__no_netlink_support): Remove conditional definition.
29912         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29913         Remove.
29914         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29915         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29916         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29917         (if_nameindex_ioctl): Remove.
29918         (if_nameindex_netlink): Do not handle __no_netlink_support.
29919         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29920         code.
29921         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29922         Remove conditional code.
29923         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29924         code.
29925         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29926         unconditional.
29927         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29928         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29929         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29930         Remove.
29931         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29932         [!__ASSUME_STD_AUXV]: Remove conditional code.
29933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29934         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29935         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29937         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29938         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29939         code.
29940         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29942         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29943         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29944         conditional code.
29945         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29947         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29948         code.
29949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29950         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29951         conditional code.
29952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29953         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29954         code unconditional.
29955         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29956         conditional code.
29957         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29958         unconditional.
29959         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29960         conditional code.
29961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29962         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29963         unconditional.
29964         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29965         conditional code.
29966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29967         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29968         code unconditional.
29969         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29970         conditional code.
29971         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29972         unconditional.
29973         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29974         conditional code.
29975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29976         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29977         code unconditional.
29978         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29979         conditional code.
29980         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29981         unconditional.
29982         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29983         conditional code.
29985 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
29987         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29988         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29989         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29990         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29991         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29992         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29993         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29994         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29995         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29996         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29997         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29998         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29999         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30000         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30001         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30002         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30003         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30004         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30005         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30006         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30007         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30008         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30009         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30011 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30013         * Versions.def: Add GLIBC_2.17.
30014         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30015         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30016         Introduce __libc_secure_getenv.
30017         * stdlib/Versions (2.17): Add secure_getenv
30018         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30019         * stdlib/secure-getenv.c: Rename __secure_getenv to
30020         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30021         symbol __secure_getenv for GLIBC_2.0.
30022         * stdlib/tst-secure-getenv.c: New.
30023         * stdlib/Makefile (tests): Add testcase.
30024         * manual/startup.texi (Environment Access): Document
30025         secure_getenv.
30026         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30027         __libc_secure_getenv.
30028         * inet/ruserpass.c (ruserpass): Likewise.
30029         * malloc/mtrace.c (mtrace): Likewise.
30030         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30031         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30032         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30033         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30034         HAVE_SECURE_GETENV.
30035         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30036         __secure_getenv to __libc_secure_getenv.
30037         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30039         Likewise.
30040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30041         Likewise.
30042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30044         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30050 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30052         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30053         (struct La_i86_retval): Likewise.
30054         (struct La_x86_64_regs): Likewise.
30055         (struct La_x86_64_retval): Likewise.
30056         (struct La_x32_regs): Likewise.
30057         (struct La_x32_retval): Likewise.
30058         (struct La_ppc32_regs): Likewise.
30059         (struct La_ppc32_retval): Likewise.
30060         (struct La_ppc64_regs): Likewise.
30061         (struct La_ppc64_retval): Likewise.
30062         (struct La_sh_regs): Likewise.
30063         (struct La_sh_retval): Likewise.
30064         (struct La_s390_32_regs): Likewise.
30065         (struct La_s390_32_retval): Likewise.
30066         (struct La_s390_64_regs): Likewise.
30067         (struct La_s390_64_retval): Likewise.
30068         (struct La_sparc32_regs): Likewise.
30069         (struct La_sparc32_retval): Likewise.
30070         (struct La_sparc64_regs): Likewise.
30071         (struct La_sparc64_retval): Likewise.
30072         (struct audit_ifaces): Remove architecture-specific pltenter and
30073         pltexit members.
30074         * sysdeps/i386/ldsodefs.h: New file.
30075         * sysdeps/powerpc/ldsodefs.h: Likewise.
30076         * sysdeps/s390/ldsodefs.h: Likewise.
30077         * sysdeps/sh/ldsodefs.h: Likewise.
30078         * sysdeps/sparc/ldsodefs.h: Likewise.
30079         * sysdeps/x86_64/ldsodefs.h: Likewise.
30081 2012-07-25  Marek Polacek  <polacek@redhat.com>
30083         [BZ #6808]
30084         * math/libm-test.inc (yn_test): Add another test.
30085         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30086         to ERANGE when the result is +-Inf.
30087         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30088         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30089         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30090         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30092 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30094         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30095         equal to 0.
30096         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30097         clock_t.
30098         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30100 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30102         * configure.in <sysdeps resolving>: Correct printing
30103         Implies_before.
30104         * configure: Regenerate.
30106 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30108         * math/w_ilogb.c: Include <limits.h>.
30109         * math/w_ilogbl.c: Likewise.
30111 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30113         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30114         va_copy.  Document allowing for unavailable va_copy only as
30115         pre-C99 compatibility.
30116         * manual/string.texi (Copying and Concatenation): Use va_copy
30117         instead of __va_copy in concat example.
30119 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30121         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30122         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30123         it if not null.
30125         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30126         with O_NOLINK passed to __file_name_lookup.
30128         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30129         with O_NOLINK passed to __file_name_lookup.
30131         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30132         negative N or less than NGIDS.
30134         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30135         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30136         enough.  Use memcpy instead of strncpy.
30138 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30140         * elf/Makefile (check-data): Remove.
30141         (localplt.data): New vpath directive.
30142         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30143         instead of $(check-data).
30144         * scripts/data/localplt-generic.data: Move to ...
30145         * sysdeps/generic/localplt.data: ... here.
30146         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30147         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30148         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30150         ... here.
30151         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30153         ... here.
30154         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30156         ... here.
30157         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30159         ... here.
30160         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30162         ... here.
30163         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30165         ... here.
30167 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30169         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30170         PPC32 and PPC64 files.
30171         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30172         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30174 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30176         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30177         __makecontext_ret to ...
30178         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30179         ... here and call exit if uc_link is NULL.  New file.
30180         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30181         __makecontext_ret.S.
30182         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30183         __makecontext_ret to ...
30184         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30185         ... here and call exit if uc_link is NULL.  New file.
30186         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30187         __makecontext_ret.S.
30189 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30191         * elf/elf.h (R_390_IRELATIVE): New definition.
30192         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30193         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30194         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30195         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30196         (elf_machine_lazy_rel): Likewise.
30197         * sysdeps/s390/dl-irel.h: New file.
30198         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30199         * sysdeps/s390/s390-64/memset.S: New asm code.
30200         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30201         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30202         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30203         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30204         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30205         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30206         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30207         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30208         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30209         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30210         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30211         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30212         * sysdeps/s390/s390-32/memset.S: New asm code.
30213         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30215 2012-07-17  Marek Polacek  <polacek@redhat.com>
30217         [BZ #14349]
30218         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30219         * sysdeps/s390/s390-64/configure.in: Likewise.
30220         * sysdeps/sparc/configure.in: Likewise.
30221         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30222         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30223         * sysdeps/i386/configure.in: Likewise.
30224         * sysdeps/x86_64/configure.in: Likewise.
30225         * sysdeps/sh/configure.in: Likewise.
30226         * sysdeps/s390/s390-32/configure: Regenerated.
30227         * sysdeps/s390/s390-64/configure: Likewise.
30228         * sysdeps/x86_64/configure: Likewise.
30229         * sysdeps/sh/configure: Likewise.
30230         * sysdeps/powerpc/powerpc64/configure: Likewise.
30231         * sysdeps/powerpc/powerpc32/configure: Likewise.
30232         * sysdeps/sparc/configure: Likwise.
30233         * sysdeps/i386/configure: Likewise.
30235         * elf/dl-open.c: Comment fixes.
30237 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30239         * Makefile [CXX] (check-data): Remove.
30240         [CXX] (c++-types.data): New vpath directive.
30241         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30242         vpath.  Do not allow for C++ type data being missing.
30243         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30244         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30245         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30246         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30247         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30248         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30249         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30251         ... here.
30252         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30254         ... here.
30255         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30257         ... here.
30258         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30260         ... here.
30261         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30263         ... here.
30264         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30266         ... here.
30267         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30269         ... here.
30270         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30273         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30274         definitions to architecture-specific files.
30275         (TLS_IE): Likewise.
30276         (TLS_LD): Likewise.
30277         (TLS_GD): Likewise.
30278         * sysdeps/i386/tls-macros.h: New file.
30279         * sysdeps/powerpc/tls-macros.h: Likewise.
30280         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30281         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30282         * sysdeps/sh/tls-macros.h: Likewise.
30283         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30284         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30285         * sysdeps/x86_64/tls-macros.h: Likewise.
30287 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30289         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30290         zero value for regular exit case.
30292         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30293         (__start_context): Preserve zero value for regular exit case.
30295 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30296             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30298         * manual/setjmp.texi (setcontext): Clarify normal process
30299         termination when uc_link is the null pointer.
30300         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30301         exit call.
30303 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30305         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30306         preprocessor.  Test for each exception mask separately.
30308 2012-07-16  Andreas Jaeger  <aj@suse.de>
30310         * po/ru.po: Update from translation team.
30312 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30314         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30315         equal to 0.
30316         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30317         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30318         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30319         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30320         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30322 2012-07-13  Andreas Jaeger  <aj@suse.de>
30324         * po/fr.po: Update from translation team.
30326 2012-07-12  Marek Polacek  <polacek@redhat.com>
30328         [BZ #14173]
30329         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30330         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30331         loop condition.
30333 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
30335         [BZ #13717]
30336         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30337         Change to 2.4.1 where previously 2.4.0.
30338         * sysdeps/unix/sysv/linux/configure: Regenerated.
30339         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30340         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30341         version.
30342         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30343         (__ASSUME_AT_CLKTCK): Remove.
30344         (__ASSUME_AT_PAGESIZE): Likewise.
30345         (__ASSUME_AT_XID): Likewise.
30346         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30347         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30348         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30349         unconditionally.
30350         (HAVE_AUX_PAGESIZE): Likewise.
30351         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30352         [__ASSUME_AT_CLKTCK]: Make code unconditional.
30353         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30355 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
30357         [BZ #14307]
30358         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30359         the temporary buffer used to invoke __gethostbyname2_r,
30360         __gethostbyaddr_r and gethostbyname4_r to make room for struct
30361         host_data / struct gaih_addrtuple.
30362         * resolv/nss_dns/dns-host.c (global scope): Move definition of
30363         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30364         header file nss/nsswitch.h.
30365         * nss/nsswitch.h (global scope): Add definition of implementation
30366         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30367         resolv/nss_dns/dns-host.c).
30369 2012-07-11  Andreas Jaeger  <aj@suse.de>
30371         * po/fr.po: Update from translation team.
30373         * po/sv.po: Update from translation team
30374         * po/fr.po: Another update from translation team.
30376 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30378         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30379         for subnormals or multiply small sinh result by itself.
30380         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30383 2012-07-11  David S. Miller  <davem@davemloft.net>
30385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30387 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
30389         [BZ #14347]
30390         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30391         (INTERNAL_MARK): Shift it here.
30393 2012-07-10  Marek Polacek  <polacek@redhat.com>
30395         [BZ #14151]
30396         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
30397         libc_cv_asm_global_directive with .globl.
30398         * configure: Regenerated.
30399         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30400         with .globl.
30401         * sysdeps/i386/configure: Regenerated.
30402         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30403         with .globl.
30404         * sysdeps/x86_64/configure: Regenerated.
30405         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30406         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30407         * elf/tst-unique2mod2.c: Likewise.
30408         * elf/tst-unique2mod1.c: Likewise.
30409         * elf/tst-unique1mod2.c: Likewise.
30410         * elf/tst-unique1mod1.c: Likewise.
30411         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30412         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30413         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30414         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30415         * sysdeps/mach/sysdep.h: Likewise.
30416         * sysdeps/i386/sysdep.h: Likewise.
30417         * sysdeps/i386/i386-mcount.S: Likewise.
30418         * sysdeps/x86_64/_mcount.S: Likewise.
30419         * sysdeps/x86_64/sysdep.h: Likewise.
30420         * sysdeps/sh/_mcount.S: Likewise.
30421         * sysdeps/sh/sysdep.h: Likewise.
30422         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30423         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30424         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30425         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30426         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30427         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30428         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30429         * locale/localeinfo.h: Likewise.
30430         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30431         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30433 2012-07-09  Roland McGrath  <roland@hack.frob.com>
30435         [BZ #14336]
30436         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30437         system".
30438         * manual/message.texi (The Uniforum approach): Likewise.
30439         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30440         (glibc iconv Implementation): Likewise.
30442 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
30444         [BZ #14337]
30445         * math/s_clog.c (__clog): Avoid scaling a value down where that
30446         could result in underflow.
30447         * math/s_clog10.c (__clog10): Likewise.
30448         * math/s_clog10f.c (__clog10f): Likewise.
30449         * math/s_clog10l.c (__clog10l): Likewise.
30450         * math/s_clogf.c (__clogf): Likewise.
30451         * math/s_clogl.c (__clogl): Likewise.
30452         * math/libm-test.inc (clog_test): Add more tests.
30453         (clog10_test): Likewise.
30454         * sysdeps/i386/fpu/libm-test-ulps: Update.
30455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30457 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
30459         [BZ #14283]
30460         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30461         by 7 not 8 to examine high bit of fractional part.
30463         [BZ #14042]
30464         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30465         for call to __mcount_internal.
30466         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30467         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30468         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30470 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
30472         [BZ #14154]
30473         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30474         approximation for values within 0x1p-13f of an odd multiple of
30475         pi/4.
30476         * math/libm-test.inc (tan_test): Do not allow spurious underflow
30477         exception.  Add more tests.
30478         * sysdeps/i386/fpu/libm-test-ulps: Update.
30480         [BZ #6778]
30481         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30482         inputs and return -1 for them.  Do not check for +Inf in case not
30483         reachable for +Inf.
30484         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30485         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30486         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30487         and return -1 for them.  Do not check for +Inf in case not
30488         reachable for +Inf.
30489         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30490         define.
30491         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30492         and return -1 for them.  Do not check for +Inf in case not
30493         reachable for +Inf.
30494         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
30495         spurious underflow.
30496         * sysdeps/i386/fpu/libm-test-ulps: Update.
30497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30499 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
30501         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30503 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
30505         [BZ #14157]
30506         [BZ #14331]
30507         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30508         could result in spurious underflow.  Scale down values above
30509         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30510         * math/s_csqrtf.c (__csqrtf): Likewise.
30511         * math/s_csqrtl.c (__csqrtl): Likewise.
30512         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
30513         spurious underflow.
30514         * sysdeps/i386/fpu/libm-test-ulps: Update.
30515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30517 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
30519         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30520         xopen-msg.sed.
30521         * catgets/xopen-msg.awk: New file.
30522         * catgets/xopen-msg.sed: Removed.
30524         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30525         po2text.sed.
30526         * intl/po2test.awk: New file.
30527         * intl/po2test.sed: Removed.
30529 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
30531         [BZ #14328]
30532         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30533         or multiply small sinh result by itself.
30534         * math/s_ctanf.c (__ctanf): Likewise.
30535         * math/s_ctanh.c (__ctanh): Likewise.
30536         * math/s_ctanhf.c (__ctanhf): Likewise.
30537         * math/s_ctanhl.c (__ctanhl): Likewise.
30538         * math/s_ctanl.c (__ctanl): Likewise.
30539         * math/libm-test.inc (ctan_test_tonearest): New function.
30540         (ctan_test_towardzero): Likewise.
30541         (ctan_test_downward): Likewise.
30542         (ctan_test_upward): Likewise.
30543         (ctanh_test_tonearest): Likewise.
30544         (ctanh_test_towardzero): Likewise.
30545         (ctanh_test_downward): Likewise.
30546         (ctanh_test_upward): Likewise.
30547         (main): Call these new functions.
30548         * sysdeps/i386/fpu/libm-test-ulps: Update.
30549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30551 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
30553         * .gitignore: Delete /ports entry.
30555 2012-07-03  Andreas Jaeger  <aj@suse.de>
30557         * po/bg.po: Update from translation team.
30558         * po/cs.po: Likewise.
30559         * po/de.po: Likewise.
30560         * po/hr.po: Likewise.
30561         * po/nl.pl: Likewise.
30562         * po/pl.po: Likewise.
30563         * po/vi.po: Likewise.
30565 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
30567         * Makeconfig [!+link] (+link-before-libc): New variable.
30568         [!+link] (+link-after-libc): Likewise.
30569         [!+link] (+link-tests): Likewise.
30570         [!+link] (+link): Define in terms of $(+link-before-libc) and
30571         $(+link-after-libc).
30572         [!+link-static] (+link-static-before-libc): New variable.
30573         [!+link-static] (+link-static-after-libc): Likewise.
30574         [!+link-static] (+link-static-tests): Likewise.
30575         [!+link-static] (+link-static): Define in terms of
30576         $(+link-static-before-libc) and $(+link-static-after-libc).
30577         [build-shared] (link-libc-before-gnulib): New variable.
30578         [build-shared] (link-libc-tests): Likewise.
30579         [build-shared] (link-libc): Define in terms of
30580         $(link-libc-before-gnulib).
30581         [!build-shared] (link-libc-tests): New variable.
30582         (link-libc-static-tests): New variable.
30583         [!gnulib] (gnulib-arch): New variable.
30584         [!gnulib] (gnulib-tests): Likewise.
30585         [!gnulib] (static-gnulib-arch): Likewise.
30586         [!gnulib] (static-gnulib-tests): Likewise.
30587         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
30588         Define with "=" instead of ":=".
30589         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
30590         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
30591         * Rules (binaries-all-notests): New variable.
30592         (binaries-all-tests): Likewise.
30593         (binaries-static-notests): Likewise.
30594         (binaries-static-tests): Likewise.
30595         (binaries-all): Define using $(binaries-all-notests) and
30596         $(binaries-all-tests).
30597         (binaries-static): Define using $(binaries-static-notests) and
30598         $(binaries-static-tests).
30599         (binaries-shared-tests): New variable.
30600         (binaries-shared-notests): Likewise.
30601         (binaries-shared): Remove variable.
30602         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30603         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30604         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30605         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30606         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30607         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30608         * elf/Makefile (sln-modules): New variable.
30609         (extra-objs): Add $(sln-modules:=.o).
30610         (ldconfig-modules): Add static-stubs.
30611         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30612         * elf/static-stubs.c: New file.
30614         [BZ #14283]
30615         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30616         by 7 not 8 to examine high bit of fractional part.  Use volatile
30617         variables when splitting into final array of floats if
30618         __FLT_EVAL_METHOD__ != 0.
30619         * math/libm-test.inc (cos_test): Add another test.
30620         (sin_test): Likewise.
30621         * sysdeps/i386/fpu/libm-test-ulps: Update.
30623         [BZ #14273]
30624         * math/libm-test.inc (cosh_test): Add more tests.
30626         * version.h (RELEASE): Set to "development".
30627         (VERSION): Set to "2.16.90".
30629 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
30631         * NEWS: Update copyright. Remove last-updated date.
30632         Mention math library bug fixes and timezone data changes.
30633         * README: Mention GNU/Hurd, x32, and HPPA support status.
30635 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
30637         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30639 2012-06-27  Andreas Jaeger  <aj@suse.de>
30641         * manual/contrib.texi (Contributors): Add Samuel Thibault.
30643 2012-06-25  Andreas Jaeger  <aj@suse.de>
30645         * sysdeps/s390/fpu/libm-test-ulps: Update.
30647 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
30648             Thomas Schwinge  <thomas@codesourcery.com>
30650         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30651         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30652         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30653         fanotify_mark.
30655 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
30657         * sysdeps/mach/start.c: Remove file.
30658         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30659         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30660         * sysdeps/sh/init-first.c: Likewise.
30662         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30663         registers for frame unwinding purposes, add CFI directives.
30664         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30665         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30666         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30667         Likewise.
30669         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30670         __fortify_fail returning.
30671         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30673         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30674         sysdeps/sh/____longjmp_chk.S.
30675         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30676         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30677         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30678         (gen-as-const-headers): Append sigaltstack-offsets.sym.
30680         * sysdeps/sh/abort-instr.h: New file.
30681         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30682         process in case exit returns.
30684         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30685         initialize the GOT register before use.
30687         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30688         calculation of ARGC > 4.
30690         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30691         meaningful names to some local labels.
30693 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30694             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30696         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30697         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30698         (__arch_compare_and_exchange_val_16_acq): Likewise.
30699         (__arch_compare_and_exchange_val_32_acq): Likewise.
30700         (atomic_exchange_and_add): Fix gUSA sequence.
30701         (atomic_add): Likewise.
30702         (atomic_add_negative): Likewise.
30703         (atomic_add_zero): Likewise.
30704         (atomic_bit_test_set): Likewise.
30706 2012-06-22  Andreas Schwab  <schwab@redhat.com>
30708         [BZ #13579]
30709         * include/link.h (struct link_map): Add l_free_initfini.
30710         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30711         l_initfini.
30712         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30713         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30714         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30715         set.
30717 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
30719         * configure.in: Use AC_LANG_SOURCE.
30720         * configure: Regenerate.
30722 2012-06-22  Roland McGrath  <roland@hack.frob.com>
30724         * configure.in (libc_cv_localstatedir): New substituted variable.
30725         * configure: Regenerated.
30726         * config.make.in (localstatedir): New variable, substituted from
30727         libc_cv_localstatedir.
30728         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30729         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30730         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30731         * sysdeps/gnu/configure: Regenerated.
30733 2012-06-21  Jeff Law  <law@redhat.com>
30735         [BZ #14277]
30736         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30737         free.  Simplify list management for _LIBC case.
30739 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
30741         [BZ #14273]
30742         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30743         Clear sign bit of 64-bit integer value before comparing against
30744         overflow value.
30746         * sysdeps/mach/configure: Regenerated.
30748 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
30750         [BZ #14278]
30751         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30753 2012-06-21  Jeff Law  <law@redhat.com>
30755         [BZ #13882]
30756         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
30757         uint16_t for elements in the "seen" array to avoid char overflows.
30758         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30759         * elf/dl-open.c (dl_open_worker): Likewise.
30761 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
30763         * scripts/list-sources.sh: Scan PORTS for translations.
30764         * po/libc.pot: Regenerated.
30766 2012-06-21  Andreas Jaeger  <aj@suse.de>
30768         [BZ #12194]
30769         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30770         warning.
30771         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30772         * bits/byteswap-16.h (__bswap_16): Likewise.
30773         * bits/byteswap.h (__bswap_constant_16): Likewise.
30775 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
30777         [BZ #14117]
30778         * sysdeps/i386/fpu_control.h: Removed.
30779         * sysdeps/x86_64/fpu_control.h: Moved to ...
30780         * sysdeps/x86/fpu_control.h: Here.
30782         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30783         (_FPU_SETCW): Likewise.
30785 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
30787         [BZ #14117]
30788         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30789         * sysdeps/x86/fpu/bits/mathinline.h: This.
30790         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30792         [BZ #14050]
30793         [BZ #14117]
30794         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30795         functions if __x86_64__ is defined.
30797 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
30799         * string/endian.h: Add !__ASSEMBLER__ condition for including
30800         conversion interfaces.
30802 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
30804         [BZ #14241]
30805         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30806         of ABS(x) in calculating zero to negative powers other than odd
30807         integers.
30808         * math/libm-test.inc (pow_test): Add more tests.
30810 2012-06-15  Andreas Jaeger  <aj@suse.de>
30812         * manual/contrib.texi (Contributors): Update entry of Liubov
30813         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30814         Machado Filho.
30816 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
30818         * string/string.h: Add __wur to GNU version of strerror_r.
30820 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
30822         [BZ #14229]
30823         * string/Makefile (tests): Add tst-strtok_r.
30824         * string/tst-strtok_r.c: New file.
30825         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30826         RAX_LP/RDX_LP on SAVE_PTR.
30828 2012-06-14  Roland McGrath  <roland@hack.frob.com>
30830         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30832 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
30834         * libm_test.inc (csqrt_test): Allow more spurious underflow
30835         exceptions.
30836         (j0_test): Likewise.
30837         (j1_test): Likewise.
30838         (y0_test): Likewise.
30839         (y1_test): Likewise.
30841 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
30843         * po/Makefile (libc.pot): Use UTF-8 charset.
30845 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
30847         [BZ #14210]
30848         Suppress sign-conversion warning from FD_SET.
30849         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30850         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30851         not unsigned long int.
30852         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30854 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
30856         [BZ #14050]
30857         [BZ #14117]
30858         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30859         __extern_always_inline instead of __extern_inline.
30860         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30861         (__signbit): Likewise.
30862         (__signbitl): Support C++ namespace.
30863         (lrintf): New inline function.
30864         (lrint): Likewise.
30865         (llrintf): Likewise.
30866         (llrint): Likewise.
30867         (fmaxf): Likewise.
30868         (fmax): Likewise.
30869         (fminf): Likewise.
30870         (fmin): Likewise.
30871         (rint): Likewise.
30872         (rintf): Likewise.
30873         (ceil): Likewise.
30874         (ceilf): Likewise.
30875         (floor): Likewise.
30876         (floorf): Likewise.
30877         (nearbyint): Likewise.
30878         (nearbyintf): Likewise.
30880 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
30882         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30883         non-default versions.
30885 2012-06-11  Roland McGrath  <roland@hack.frob.com>
30887         [BZ #14218]
30888         * manual/argp.texi (Argp): Reword argp_parse description slightly.
30890 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
30892         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30893         (FE_UPWARD, FE_DOWNWARD): Don't define.
30894         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30895         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30897         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30898         reading it.
30899         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30900         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30902 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30904         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30905         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30906         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30907         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30909 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
30911         [BZ #14117]
30912         * sysdeps/i386/fpu/bits/fenv.h: Removed.
30913         * sysdeps/i386/fpu/Implies: New file.
30914         * sysdeps/x86_64/fpu/Implies: Likewise.
30915         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30916         * sysdeps/x86/fpu/bits/fenv.h: This.
30918         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30919         __SSE_MATH__.
30921 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30923         [BZ #14134]
30924         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30925         character 0xffff that matches the last element of the
30926         conversion table.
30928 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30930         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30931         fmodl commit.
30933 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30935         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30936         values higher than 25.6283.
30938 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30940         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30941         subnormal exponent extraction and add some __builtin_expect.
30942         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30943         Fix for subnormal mantissa calculation.
30945 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
30947         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30948         cpu2 is -1 and errno is not ENOSYS.
30950 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
30952         [BZ #14117]
30953         * sysdeps/i386/i486/bits/string.h: Renamed to ...
30954         * sysdeps/x86/bits/string.h: This.
30955         * sysdeps/x86_64/bits/string.h: Removed.
30957         * sysdeps/i386/i486/bits/string.h: Define inline functions only
30958         if not compiling for x86-64, but compiling for >= i486.
30960         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30961         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30963         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30964         New macro from Linux kernel 3.4.0.
30965         (FP_XSTATE_MAGIC2): Likewise.
30966         (FP_XSTATE_MAGIC2_SIZE): Likewise.
30967         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30968         (struct _fpx_sw_bytes): New struct.
30969         (struct _xsave_hdr): Likewise.
30970         (struct _ymmh_state): Likewise.
30971         (struct _xstate): Likewise.
30973         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30974         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30975         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30976         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30977         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30978         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30980         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30981         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30982         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30983         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30984         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30985         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30987 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30989         [BZ #13743]
30990         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30991         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30992         (sysdep_headers): Include sys/platform/ppc.h.
30993         * sysdeps/powerpc/test-gettimebase.c: Test for
30994         __ppc_get_timebase() to catch future ISA opcode/insn changes.
30995         * manual/Makefile (appendices): Include platform.texi.
30996         * manual/contrib.texi (Contributors): Update @node pointers.
30997         * manual/maint.texi (Maintenance): Likewise.
30998         (Platform): New node.
30999         * manual/platform.texi: New file.  Document the new features.
31001 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31002             Jakub Jelinek  <jakub@redhat.com>
31004         [BZ #14188]
31005         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31006         where __builtin_expect is unavailable.
31008 2012-06-03  David S. Miller  <davem@davemloft.net>
31010         * stdlib/longlong.h: Updated from GCC.
31012 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31014         [BZ #14042]
31015         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31016         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31017         __mcount_internal.
31018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31019         (GLIBC_2.16): Likewise.
31021 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31023         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31025 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31028         (default-abi): New variable.
31029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31030         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31031         variable.
31032         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31033         Likewise.
31034         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31035         Likewise.
31036         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31037         Likewise.
31039         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31040         definition.  Document in comment.
31042 2012-06-01  David S. Miller  <davem@davemloft.net>
31044         * stdlib/longlong.h: Updated from GCC.
31046 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31048         [BZ #14117]
31049         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31050         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31051         sys/debugreg.h sys/io.h here.
31052         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31053         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31054         sys/io.h.
31055         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31056         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31057         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31058         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31059         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31060         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31062         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31063         Define only if __x86_64__ is defined.
31065 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31067         [BZ #14048]
31068         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31069         Use int64_t for variable i.
31070         * math/libm-test.inc (fmod_test): Add more tests.
31072         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31073         z computation is not scheduled after fetestexcept.
31074         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31075         Use math_force_eval instead of asm to ensure calculation scheduled
31076         before exception test.
31077         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31078         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31080 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31083         computation is not scheduled after fetestexcept.
31085 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31087         [BZ #14117]
31088         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31089         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31091 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31093         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31094         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31096 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31098         [BZ #14117]
31099         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31100         <bits/wordsize.h>.
31101         (__WCHAR_MIN): Support __WORDSIZE == 64.
31102         (__WCHAR_MAX): Likewise.
31104         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31105         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31107         [BZ #14183]
31108         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31109         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31111         [BZ #14117]
31112         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31113         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31115         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31116         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31118         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31119         Defined to 1 if __x86_64__ isn't defined.
31120         (_STAT_VER_LINUX_OLD): New.
31121         (st_atime): Remove duplicate.
31122         (st_mtime): Likewise.
31123         (st_ctime): Likewise.
31125 2012-05-31  David S. Miller  <davem@davemloft.net>
31127         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31128         entries.
31130 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31132         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31133         gen-libm-test.pl.
31135         [BZ #14132]
31136         * elf/dl-reloc.c: Include <_itoa.h>.
31137         (_dl_reloc_bad_type): Remove use of INTUSE.
31138         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31139         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31140         * stdio-common/psiginfo.c (psiginfo): Likewise.
31141         * stdio-common/psignal.c (psignal): Likewise.
31142         * string/strsignal.c (strsignal): Likewise.
31143         * include/signal.h (_sys_siglist): Declare hidden proto.
31144         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31145         INTVARDEF with libc_hidden_data_def.
31146         * stdio-common/itoa-udigits.c: Likewise.
31147         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31148         (_itoa_lower_digits_internal): Remove declaration.
31149         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31150         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31151         (_sys_sigabbrev_internal): Remove aliases.
31152         (_sys_siglist): Define hidden alias.
31154 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31156         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31157         bits/sysctl.h.
31159 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31161         [BZ #14117]
31162         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31163         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31165         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31166         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31167         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31168         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31169         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31170         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31172         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31173         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31174         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31176         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31177         with __addr.
31178         (insw): Likewise.
31179         (insl): Likewise.
31180         (outsb): Likewise.
31181         (outsw): Likewise.
31182         (outsl): Likewise.
31184         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31185         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31186         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31188         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31189         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31190         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31191         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31192         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31193         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31195         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31196         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31198         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31199         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31201         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31202         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31203         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31205         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31206         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31207         to ...
31208         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31210         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31211         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31212         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31214         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31215         for x86-64.
31216         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31218 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31220         * math/math.h (M_El): Use two more decimal places.
31221         (M_LOG2El): Likewise.
31222         (M_LOG10El): Likewise.
31223         (M_LN2l): Likewise.
31224         (M_LN10l): Likewise.
31225         (M_PIl): Likewise.
31226         (M_PI_2l): Likewise.
31227         (M_PI_4l): Likewise.
31228         (M_1_PIl): Likewise.
31229         (M_2_PIl): Likewise.
31230         (M_2_SQRTPIl): Likewise.
31231         (M_SQRT2l): Likewise.
31232         (M_SQRT1_2l): Likewise.
31234 2012-05-31  David S. Miller  <davem@davemloft.net>
31236         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31237         values between float registers.
31238         * sysdeps/sparc/sparc64/memset.S: Likewise.
31239         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31241 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31243         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31244         -D_FORTIFY_SOURCE=1.
31245         (CPPFLAGS-tst-longjmp_chk.c): Define.
31246         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31247         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31248         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31249         CFLAGS-tst-wchar-h.c.
31251 2012-05-31  Marek Polacek  <polacek@redhat.com>
31253         [BZ #14132]
31254         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31255         __endmntent_internal): Remove declaration.
31256         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31257         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31258         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31260 2012-05-30  David S. Miller  <davem@davemloft.net>
31262         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31263         (___Q_simulate_exceptions): Use real FP ops rather than writing
31264         into the %fsr.
31265         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31266         Likewise.
31268 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31270         [BZ #14117]
31271         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31272         * sysdeps/x86/bits/xtitypes.h: This.
31274         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31275         * sysdeps/x86/bits/wordsize.h: This.
31277         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31278         * sysdeps/x86/bits/huge_vall.h: This.
31280         * sysdeps/i386/bits/select.h: Removed.
31281         * sysdeps/x86_64/bits/select.h: Renamed to ...
31282         * sysdeps/x86/bits/select.h: This.
31284         * sysdeps/i386/bits/setjmp.h: Removed.
31285         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31286         * sysdeps/x86/bits/setjmp.h: This.
31288         * sysdeps/i386/bits/mathdef.h: Removed.
31289         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31290         * sysdeps/x86/bits/mathdef.h: This.
31292 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31294         [BZ #14132]
31295         * include/sys/socket.h (__connect_internal)
31296         (__libc_sa_len_internal): Remove declaration.
31297         (__connect, __libc_sa_len): Declare hidden_proto.
31298         (SA_LEN): Remove use of INTUSE.
31299         * socket/connect.c: Add libc_hidden_def.
31300         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31301         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31302         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31303         alias.
31304         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31305         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31306         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31307         of adding _internal alias.
31309 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31311         [BZ #14117]
31312         * sysdeps/i386/bits/link.h: Removed.
31313         * sysdeps/i386/bits/linkmap.h: Likewise.
31314         * sysdeps/x86_64/bits/link.h: Renamed to ...
31315         * sysdeps/x86/bits/link.h: This.
31316         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31317         * sysdeps/x86/bits/linkmap.h: This.
31319         * sysdeps/i386/bits/endian.h: Removed.
31320         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31321         * sysdeps/x86/bits/endian.h: This.
31323         * sysdeps/i386/bits/byteswap.h: Removed.
31324         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31325         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31326         * sysdeps/x86/bits/byteswap.h: This.
31327         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31328         * sysdeps/x86/bits/byteswap-16.h: This.
31329         * sysdeps/i386/Implies: Add x86.
31330         * sysdeps/x86_64/Implies: Likewise.
31332 2012-05-30  David S. Miller  <davem@davemloft.net>
31334         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31335         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31336         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31337         (FP_TRAPPING_EXCEPTIONS): Define.
31338         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31339         (FP_TRAPPING_EXCEPTIONS): Define.
31340         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31341         subnormals only when inexact has been signalled or underflow
31342         exceptions are enabled.
31343         (_FP_PACK_CANONICAL): Likewise.
31345 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31347         [BZ #14183]
31348         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31349         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31351 2012-05-30  Richard Henderson  <rth@twiddle.net>
31353         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31354         with #ifndef NOT_IN_libc.
31356         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
31357         marked to avoid plt entry.
31359 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31361         [BZ #14112]
31362         * Makeconfig (default-abi): New macro.
31363         (abi-includes): Likewise.
31364         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
31365         $(abi-$(default-abi)-lib-soname) for soname if defined.
31366         ($(common-objpfx)gnu/lib-names.stmp): Generate from
31367         abi-variants.
31368         * Makefile (installed-stubs): Likewise.
31369         * include/stubs-biarch.h: Removed.
31370         * scripts/lib-names.awk: Only handle one library at a time.
31371         * scripts/soversions.awk: Remove WORDSIZE support.
31372         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31373         entries.
31374         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31375         Removed.
31376         (syscall-list-default-condition): Likewise.
31377         (syscall-list-default-condition): Likewise.
31378         (syscall-list-includes): Likewise.
31379         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31380         syscall-list-* with abi-*.  Handle undefined abi-variants.
31381         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31382         * sysdeps/unix/sysv/linux/i386/Implies: New file.
31383         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31384         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31385         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31386         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31387         Removed.
31388         (syscall-list-32-options): Likewise.
31389         (syscall-list-32-condition): Likewise.
31390         (syscall-list-64-options): Likewise.
31391         (syscall-list-64-condition): Likewise.
31392         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31393         macro.
31394         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31395         Renamed to ...
31396         (abi-*): This.
31397         (abi-64-ld-soname): New macro.
31398         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31399         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31400         Renamed to ...
31401         (abi-*): This.
31402         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31403         * sysdeps/x86_64/x32/shlib-versions: Likewise.
31405 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
31407         * sysdeps/unix/sysv/linux/kernel-features.h
31408         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31409         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31410         include <kernel-features.h>.
31411         [!__NR_ftruncate64]: Remove conditional code.
31412         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31413         [__NR_ftruncate64]: Make code unconditional.
31414         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31415         * sysdeps/unix/sysv/linux/truncate64.c: Do not
31416         include <kernel-features.h>.
31417         [!__NR_ftruncate64]: Remove conditional code.
31418         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31419         [__NR_ftruncate64]: Make code unconditional.
31420         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31422         include <kernel-features.h>.
31423         [!__NR_ftruncate64]: Remove conditional code.
31424         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31425         [__NR_ftruncate64]: Make code unconditional.
31426         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31428         include <kernel-features.h>.
31429         [!__NR_ftruncate64]: Remove conditional code.
31430         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31431         [__NR_ftruncate64]: Make code unconditional.
31432         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31434         * configure.in (libc_cv_fpie): Weaken to a compile test using
31435         LIBC_TRY_CC_OPTION.
31436         * configure: Regenerated.
31438 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31444         Refreshed.
31445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31451         Refreshed.
31453 2012-05-27  David S. Miller  <davem@davemloft.net>
31455         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31456         (___Q_zero): New.
31457         (__Q_simulate_exceptions): Return void.  Change to simulate
31458         exceptions by writing into the %fsr.
31459         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31460         (__Qp_handle_exceptions): Likewise.
31461         (numbers): Delete.
31462         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31463         __Qp_handle_exceptions.
31464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31465         __Qp_handle_exceptions.
31466         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31467         as unused and give dummy FP_RND_NEAREST initializer.
31468         (FP_INHIBIT_RESULTS): Define.
31469         (___Q_simulate_exceptions): Update declaration.
31470         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31471         formatting.
31472         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31473         as unused and give dummy FP_RND_NEAREST initializer.
31474         (__Qp_handle_exceptions): Update declaration.
31475         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31476         formatting.
31478 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
31480         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31481         the temporary FPU control word.
31482         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31483         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31484         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31485         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31486         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31487         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31488         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31489         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31490         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31491         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31492         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31494 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31496         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31497         fields.
31499 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
31501         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31502         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31503         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31504         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31505         Likewise.
31506         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31507         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31508         Likewise.
31510 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
31512         * po/h.po: Update from translation team.
31514 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
31516         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31518         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31519         handling of denormals.
31520         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31521         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31522         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31523         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31524         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31525         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31526         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31527         Likewise.
31529 2012-05-26  Marek Polacek  <polacek@redhat.com>
31531         [BZ #14152]
31532         * math/libm-test.inc (fma_test): Don't always expect underflow
31533         exception.
31535 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31537         [BZ #12416]
31538         * elf/tst-execstack.c: Include stackinfo.h.
31539         (do_test): Adjust test case to ensure that pthread_getattr_np
31540         behaviour remains the same after marking stack executable.
31542 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31544         * sysdeps/unix/sysv/linux/kernel-features.h
31545         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31546         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31547         kernel-features.h.
31548         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31549         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31550         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31551         kernel-features.h.
31552         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31553         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31555 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
31557         * configure.in: Define the default includes to being none.
31558         * configure: Regenerated.
31560 2012-05-25  Roland McGrath  <roland@hack.frob.com>
31562         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31563         * sysdeps/x86_64/setjmp.S: Likewise.
31564         * sysdeps/i386/bsd-setjmp.S: Likewise.
31565         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31566         * sysdeps/i386/setjmp.S: Likewise.
31567         * sysdeps/i386/__longjmp.S: Likewise.
31568         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31569         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31571         * include/stap-probe.h: New file.
31572         * configure.in: Handle --enable-systemtap.
31573         * configure: Regenerated.
31574         * config.h.in (USE_STAP_PROBE): New #undef.
31575         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31576         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31577         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31579 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31581         [BZ #13717]
31582         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31583         to 2.4.0 where earlier.
31584         * sysdeps/unix/sysv/linux/configure: Regenerated.
31585         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31586         <kernel-features.h>.
31587         [__ASSUME_32BITUIDS]: Make code unconditional.
31588         [!__ASSUME_32BITUIDS]: Remove conditional code.
31589         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31590         <kernel-features.h>.
31591         [__ASSUME_32BITUIDS]: Make code unconditional.
31592         [!__ASSUME_32BITUIDS]: Remove conditional code.
31593         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31594         [__ASSUME_32BITUIDS]: Make code unconditional.
31595         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31596         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31597         <kernel-features.h>.
31598         [__ASSUME_32BITUIDS]: Make code unconditional.
31599         [!__ASSUME_32BITUIDS]: Remove conditional code.
31600         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31601         <kernel-features.h>.
31602         [__ASSUME_32BITUIDS]: Make code unconditional.
31603         [!__ASSUME_32BITUIDS]: Remove conditional code.
31604         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31605         <kernel-features.h>.
31606         [__ASSUME_32BITUIDS]: Make code unconditional.
31607         [!__ASSUME_32BITUIDS]: Remove conditional code.
31608         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31609         <kernel-features.h>.
31610         [__ASSUME_32BITUIDS]: Make code unconditional.
31611         [!__ASSUME_32BITUIDS]: Remove conditional code.
31612         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31613         <kernel-features.h>.
31614         [__ASSUME_32BITUIDS]: Make code unconditional.
31615         [!__ASSUME_32BITUIDS]: Remove conditional code.
31616         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31617         <kernel-features.h>.
31618         [__ASSUME_32BITUIDS]: Make code unconditional.
31619         [!__ASSUME_32BITUIDS]: Remove conditional code.
31620         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31621         <kernel-features.h>.
31622         [__ASSUME_32BITUIDS]: Make code unconditional.
31623         [!__ASSUME_32BITUIDS]: Remove conditional code.
31624         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31625         <kernel-features.h>.
31626         [__ASSUME_32BITUIDS]: Make code unconditional.
31627         [!__ASSUME_32BITUIDS]: Remove conditional code.
31628         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31629         <kernel-features.h>.
31630         [__ASSUME_32BITUIDS]: Make code unconditional.
31631         [!__ASSUME_32BITUIDS]: Remove conditional code.
31632         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31633         <kernel-features.h>.
31634         [__ASSUME_32BITUIDS]: Make code unconditional.
31635         [!__ASSUME_32BITUIDS]: Remove conditional code.
31636         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31637         <kernel-features.h>.
31638         [__NR_setresgid] (__setresgid): Do not declare.
31639         [__ASSUME_32BITUIDS]: Make code unconditional.
31640         [!__ASSUME_32BITUIDS]: Remove conditional code.
31641         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31642         <kernel-features.h>.
31643         [__NR_setresuid] (__setresuid): Do not declare.
31644         [__ASSUME_32BITUIDS]: Make code unconditional.
31645         [!__ASSUME_32BITUIDS]: Remove conditional code.
31646         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.c: Do not include
31679         <kernel-features.h>.
31680         [__ASSUME_32BITUIDS]: Make code unconditional.
31681         [!__ASSUME_32BITUIDS]: Remove conditional code.
31682         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31683         <kernel-features.h>.
31684         [__ASSUME_32BITUIDS]: Make code unconditional.
31685         [!__ASSUME_32BITUIDS]: Remove conditional code.
31686         * sysdeps/unix/sysv/linux/kernel-features.h
31687         (__ASSUME_SETRESUID_SYSCALL): Remove.
31688         (__ASSUME_SETRESGID_SYSCALL): Likewise.
31689         (__ASSUME_32BITUIDS): Likewise.
31690         (__ASSUME_LDT_WORKS): Likewise.
31691         (__ASSUME_O_DIRECTORY): Likewise.
31692         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31693         architecture but not kernel version.
31694         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31695         (__ASSUME_MMAP2_SYSCALL): Likewise.
31696         (__ASSUME_STAT64_SYSCALL): Likewise.
31697         (__ASSUME_IPC64): Likewise.
31698         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31699         <kernel-features.h>.
31700         [__ASSUME_32BITUIDS]: Make code unconditional.
31701         [!__ASSUME_32BITUIDS]: Remove conditional code.
31702         * sysdeps/unix/sysv/linux/opendir.c: Do not include
31703         <kernel-features.h>.
31704         [__ASSUME_O_DIRECTORY]: Make code unconditional.
31705         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31706         132096]: Remove conditional code.
31707         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31708         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
31717         <kernel-features.h>.
31718         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31719         unconditional.
31720         (__setresgid): Do not declare.
31721         [__ASSUME_32BITUIDS]: Make code unconditional.
31722         [!__ASSUME_32BITUIDS]: Remove conditional code.
31723         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31724         <kernel-features.h>.
31725         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31726         unconditional.
31727         (__setresuid): Do not declare.
31728         [__ASSUME_32BITUIDS]: Make code unconditional.
31729         [!__ASSUME_32BITUIDS]: Remove conditional code.
31730         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31731         <kernel-features.h>.
31732         [__ASSUME_32BITUIDS]: Make code unconditional.
31733         [!__ASSUME_32BITUIDS]: Remove conditional code.
31734         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31735         <kernel-features.h>.
31736         [__ASSUME_32BITUIDS]: Make code unconditional.
31737         [!__ASSUME_32BITUIDS]: Remove conditional code.
31739 2012-05-25  Richard Henderson  <rth@twiddle.net>
31741         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31742         dl_hwcap to ifunc resolver.
31743         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31744         elf_ifunc_invoke.
31745         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31746         dl_hwcap to ifunc resolver.
31747         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31749 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31751         [BZ #14153]
31752         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31753         for |x| <= 2**-26, not 2**-57.
31754         * math/libm-test.inc (acos_test): Do not allow spurious underflow
31755         exception.
31757 2012-05-24  Jeff Law  <law@redhat.com>
31759         * stdio-common/Makefile (tests): Add bug25.
31760         * stdio-common/bug25.c: New test.
31762 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31764         [BZ #13576]
31765         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31766         multiple of MALLOC_ALIGNMENT in size.
31767         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31769 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31771         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31772         Require >= 256.
31773         (FILENAME_MAX): Use macro-int-constant.
31774         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
31775         (_IOFBF): Use macro-int-constant.
31776         (_IOLBF): Likewise.
31777         (_IONBF): Likewise.
31778         (SEEK_CUR): Likewise.
31779         (SEEK_END): Likewise.
31780         (SEEK_SET): Likewise.
31781         (TMP_MAX): Likewise.
31782         (EOF): Use macro-int-constant.  Require < 0.
31783         (NULL): Use macro-constant.  Require == 0.
31784         (stdin): Require type to be FILE *.
31785         (stdout): Likewise.
31786         (stderr): Likewise.
31787         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31788         macro-int-constant.
31789         (EXIT_SUCCESS): Likewise.
31790         (NULL): Use macro-constant.  Require == 0.
31791         (RAND_MAX): Use macro-int-constant.
31792         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31793         [C99-based standards] (strtof): Require function.
31794         [C99-based standards] (strtold): Likewise.
31795         [C99-based standards] (strtoll): Likewise.
31796         [C99-based standards] (strtoull): Likewise.
31797         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31798         [ISO || ISO99 || ISO11] (limits.h): Likewise.
31799         [ISO || ISO99 || ISO11] (math.h): Likewise.
31800         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31801         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31802         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31804 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
31806         [BZ #14132]
31807         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31808         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31809         * intl/dgettext.c (DCGETTEXT): Likewise.
31810         * intl/gettext.c (DCGETTEXT): Likewise.
31811         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31812         * posix/regex_internal.h (gettext): Likewise.
31813         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31814         Remove declaration.
31815         * include/argz.h (__argz_count_internal)
31816         (__argz_stringify_internal): Remove declaration.
31817         (__argz_count, __argz_stringify): Declare hidden proto.
31818         * intl/dcgettext.c: Remove use of INTDEF.
31819         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31820         * string/argz-stringify.c: Likewise.
31821         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31822         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31823         Declare hidden proto.
31824         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31825         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31826         Declare hidden proto.
31827         * include/stdio.h (__asprintf_internal): Don't declare.
31828         (__asprintf): Don't define as macro.  Declare hidden proto.
31829         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31830         (__fsetlocking): Declare hidden proto.
31831         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31832         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31833         hidden proto.
31834         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31835         (_IO_setlinebuf): Remove use of INTUSE.
31836         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31837         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31838         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31839         Remove declaration.
31840         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31841         (_IO_do_flush): Remove use of INTUSE.
31842         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31843         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31844         (_IO_adjust_column, _IO_least_wmarker)
31845         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31846         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31847         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31848         (_IO_default_doallocate, _IO_wdefault_doallocate)
31849         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31850         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31851         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31852         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31853         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31854         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31855         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31856         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31857         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31858         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31859         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31860         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31861         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31862         proto.
31863         (_IO_flush_all_internal, _IO_adjust_column_internal)
31864         (_IO_default_uflow_internal, _IO_default_finish_internal)
31865         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31866         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31867         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31868         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31869         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31870         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31871         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31872         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31873         (_IO_file_close_internal, _IO_file_close_it_internal)
31874         (_IO_file_underflow_internal, _IO_file_overflow_internal)
31875         (_IO_file_init_internal, _IO_file_attach_internal)
31876         (_IO_file_fopen_internal, _IO_file_read_internal)
31877         (_IO_file_sync_internal, _IO_file_seek_internal)
31878         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31879         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31880         (_IO_str_underflow_internal, _IO_str_overflow_internal)
31881         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31882         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31883         (_IO_list_all_internal, _IO_link_in_internal)
31884         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31885         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31886         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31887         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31888         (_IO_do_write_internal, _IO_padn_internal)
31889         (_IO_getline_info_internal, _IO_getline_internal)
31890         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31891         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31892         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31893         (_IO_vfscanf_internal, _IO_vfprintf_internal)
31894         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31895         (_IO_init_internal, _IO_un_link_internal): Don't declare.
31896         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31897         with libc_hidden_ver, remove use of INTUSE.
31898         * libio/genops.c: Likewise.
31899         * libio/freopen.c: Likewise.
31900         * libio/freopen64.c: Likewise.
31901         * libio/iofclose.c: Likewise.
31902         * libio/iofdopen.c: Likewise.
31903         * libio/iofflush.c: Likewise.
31904         * libio/iofflush_u.c: Likewise.
31905         * libio/iofgets.c: Likewise.
31906         * libio/iofgets_u.c: Likewise.
31907         * libio/iofopen.c: Likewise.
31908         * libio/iofopncook.c: Likewise.
31909         * libio/iofread.c: Likewise.
31910         * libio/iofread_u.c: Likewise.
31911         * libio/ioftell.c: Likewise.
31912         * libio/iofwrite.c: Likewise.
31913         * libio/iogetline.c: Likewise.
31914         * libio/iogets.c: Likewise.
31915         * libio/iogetwline.c: Likewise.
31916         * libio/iopadn.c: Likewise.
31917         * libio/iopopen.c: Likewise.
31918         * libio/ioseekoff.c: Likewise.
31919         * libio/ioseekpos.c: Likewise.
31920         * libio/iosetbuffer.c: Likewise.
31921         * libio/iosetvbuf.c: Likewise.
31922         * libio/ioungetc.c: Likewise.
31923         * libio/ioungetwc.c: Likewise.
31924         * libio/iovdprintf.c: Likewise.
31925         * libio/iovsprintf.c: Likewise.
31926         * libio/iovsscanf.c: Likewise.
31927         * libio/memstream.c: Likewise.
31928         * libio/obprintf.c: Likewise.
31929         * libio/oldfileops.c: Likewise.
31930         * libio/oldiofclose.c: Likewise.
31931         * libio/oldiofdopen.c: Likewise.
31932         * libio/oldiofopen.c: Likewise.
31933         * libio/oldiopopen.c: Likewise.
31934         * libio/oldstdfiles.c: Likewise.
31935         * libio/putc.c: Likewise.
31936         * libio/setbuf.c: Likewise.
31937         * libio/setlinebuf.c: Likewise.
31938         * libio/stdfiles.c: Likewise.
31939         * libio/strops.c: Likewise.
31940         * libio/vasprintf.c: Likewise.
31941         * libio/vscanf.c: Likewise.
31942         * libio/vsnprintf.c: Likewise.
31943         * libio/vswprintf.c: Likewise.
31944         * libio/wfiledoalloc.c: Likewise.
31945         * libio/wfileops.c: Likewise.
31946         * libio/wgenops.c: Likewise.
31947         * libio/wmemstream.c: Likewise.
31948         * libio/wstrops.c: Likewise.
31949         * libio/__fpurge.c: Likewise.
31950         * libio/__fsetlocking.c: Likewise.
31951         * assert/assert.c: Likewise.
31952         * debug/fgets_chk.c: Likewise.
31953         * debug/fgets_u_chk.c: Likewise.
31954         * debug/fread_chk.c: Likewise.
31955         * debug/fread_u_chk.c: Likewise.
31956         * debug/gets_chk.c: Likewise.
31957         * debug/obprintf_chk.c: Likewise.
31958         * debug/vasprintf_chk.c: Likewise.
31959         * debug/vdprintf_chk.c: Likewise.
31960         * debug/vsnprintf_chk.c: Likewise.
31961         * debug/vsprintf_chk.c: Likewise.
31962         * malloc/mtrace.c: Likewise.
31963         * misc/error.c: Likewise.
31964         * misc/syslog.c: Likewise.
31965         * stdio-common/asprintf.c: Likewise.
31966         * stdio-common/fxprintf.c: Likewise.
31967         * stdio-common/getw.c: Likewise.
31968         * stdio-common/isoc99_fscanf.c: Likewise.
31969         * stdio-common/isoc99_scanf.c: Likewise.
31970         * stdio-common/isoc99_vfscanf.c: Likewise.
31971         * stdio-common/isoc99_vscanf.c: Likewise.
31972         * stdio-common/isoc99_vsscanf.c: Likewise.
31973         * stdio-common/printf-prs.c: Likewise.
31974         * stdio-common/printf_fp.c: Likewise.
31975         * stdio-common/printf_fphex.c: Likewise.
31976         * stdio-common/printf_size.c: Likewise.
31977         * stdio-common/putw.c: Likewise.
31978         * stdio-common/scanf.c: Likewise.
31979         * stdio-common/sprintf.c: Likewise.
31980         * stdio-common/tmpfile.c: Likewise.
31981         * stdio-common/vfprintf.c: Likewise.
31982         * stdio-common/vfscanf.c: Likewise.
31983         * stdlib/strfmon_l.c: Likewise.
31984         * sunrpc/openchild.c: Likewise.
31985         * sunrpc/xdr_stdio.c: Likewise.
31986         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31987         * sysdeps/mach/hurd/tmpfile.c: Likewise.
31989 2012-05-24  Roland McGrath  <roland@hack.frob.com>
31991         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31993         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31994         in the third column, to generate for the shared library an IFUNC
31995         that uses _dl_vdso_vsym.
31996         * Makerules (COMPILE.c, compile-stdin.c): New variables.
31997         * Makeconfig (object-suffixes-noshared): New variable.
31999         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32000         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32001         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32002         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32004         [BZ #14132]
32005         * include/sys/time.h (__gettimeofday): Remove macro.
32006         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32007         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32008         Remove INTDEF.
32009         (__gettimeofday): Add libc_hidden_def.
32010         (gettimeofday): Add libc_hidden_weak.
32011         * sysdeps/mach/gettimeofday.c: Likewise.
32012         * sysdeps/posix/gettimeofday.c: Likewise.
32013         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32014         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32015         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32016         (__gettimeofday_internal): Remove strong_alias.
32017         (__gettimeofday): Add libc_hidden_def.
32018         (gettimeofday): Add libc_hidden_weak.
32019         * sysdeps/unix/syscalls.list (gettimeofday):
32020         Remove __gettimeofday_internal alias.
32022 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32023             H.J. Lu  <hongjiu.lu@intel.com>
32025         [BZ #12495]
32026         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32027         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32028         (largebin_index_32_big): New.
32029         (largebin_index): Use it for 16-byte alignment.
32030         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32031         correction with front_misalign.
32033 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32037         Likewise.
32038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32039         Likewise.
32040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32041         Likewise.
32042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32043         Likewise.
32044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32045         Likewise.
32046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32047         Likewise.
32048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32049         Likewise.
32050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32051         Likewise.
32052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32053         Likewise.
32054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32055         Likewise.
32056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32057         Likewise.
32058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32059         Likewise.
32061         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32062         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32064 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32066         [BZ #10846]
32067         [BZ #14036]
32068         * math/libm-test.inc (exp_test): Add test from bug 14036.
32069         (pow_test): Add test from bug 10846.
32071         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32072         and other flags.
32073         (special_function): Do not include flags in test name.
32074         (parse_args): Likewise.
32075         * sysdeps/i386/fpu/libm-test-ulps: Update.
32076         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32077         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32078         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32081         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32082         exceptions.
32083         * math/libm-test.inc ("Philosophy"): Update comment about
32084         exception testing.
32085         (UNDERFLOW_EXCEPTION): New macro.
32086         (UNDERFLOW_EXCEPTION_OK): Likewise.
32087         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32088         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32089         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32090         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32091         (INVALID_EXCEPTION_OK): Update value.
32092         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32093         (OVERFLOW_EXCEPTION_OK): Likewise.
32094         (IGNORE_ZERO_INF_SIGN): Likewise.
32095         (test_exceptions): Handle underflow exceptions.
32096         (acos_test): Update for underflow exception expectations.
32097         (cexp_test): Likewise.
32098         (clog_test): Likewise.
32099         (clog10_test): Likewise.
32100         (csqrt_test): Likewise.
32101         (ctan_test): Likewise.
32102         (ctanh_test): Likewise.
32103         (exp_test): Likewise.
32104         (exp10_test): Likewise.
32105         (exp2_test): Likewise.
32106         (expm1_test): Likewise.
32107         (fma_test): Likewise.
32108         (j0_test): Likewise.
32109         (jn_test): Likewise.
32110         (nexttoward_test): Likewise.
32111         (pow_test): Likewise.
32112         (scalbn_test): Likewise.
32113         (scalbln_test): Likewise.
32114         (tan_test): Likewise.
32115         (y1_test): Likewise.
32116         * sysdeps/i386/fpu/libm-test-ulps: Update.
32117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32119 2012-05-23  David S. Miller  <davem@davemloft.net>
32121         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32122         (__libc_sigaction): Remove unused local variables.
32124 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32126         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32128 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32130         mktime: avoid signed integer overflow
32131         * time/mktime.c (__mktime_internal): Do not mishandle the case
32132         where diff == INT_MIN.
32134         mktime: simplify computation of average
32135         * time/mktime.c (ranged_convert): Use new time_t_avg function
32136         instead of rolling our own (probably-slower) code.
32138         mktime: do not assume signed right shift propagates sign bit
32139         * time/mktime.c (isdst_differ): New static function.
32140         (__mktime_internal): No need to normalize tm_isdst now.
32141         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32142         tm_isdst values.
32144         mktime: merge another wrapv change from gnulib
32145         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32146         from some compilers.
32148         mktime: remove incorrect attempt at unusual arithmetics
32149         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32150         The code didn't really work on such machines anyway.
32151         (TYPE_MINIMUM): Assume two's complement.
32152         (twos_complement_arithmetic): Verify that long_int and time_t
32153         are two's complement (or unsigned, in the latter case).
32155         mktime: check signed shifts on long_int and time_t, too
32156         * time/mktime.c (SHR): Check that shifts work as desired
32157         on the types long_int and time_t too, as SHR is used on
32158         such types.
32160         mktime: do not assume 'long' is wide enough
32161         * time/mktime.c (verify): Move decl up.
32162         (long_int): New type.
32163         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32164         to remove assumption in the code that 'long' is wide enough to
32165         store year values.  This assumption is not true on x32 and on
32166         some non-glibc platforms.
32168         mktime: merge wrapv change from gnulib
32169         * time/mktime.c (WRAPV): New macro.
32170         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32171         (guess_time_tm, __mktime_internal): Do not assume that signed
32172         integer overflow wraps around; modern compilers generate code
32173         where this assumption is no longer valid.
32175 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32177         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32178         Replace "jmp L(pseudo_end)" with "ret".
32179         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32180         Likewise.
32182 2012-05-23  Andreas Jaeger  <aj@suse.de>
32184         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32185         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32187 2012-05-23  Andreas Jaeger  <aj@suse.de>
32188             Maximilian Attems  <max@stro.at>
32190         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32191         New macros.
32193 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32195         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32196         code so that pseudo_end is just ret and the stack pointer is
32197         correct also for static library in error case.
32199 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32201         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32202         move to syscalls.list.
32203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32208         * manual/install.texi (Running make install): Do not mention Linux
32209         kernel version for which pt_chown is not needed.
32210         (Linux): Do not mention problems with nscd with 2.0 kernels.
32211         * INSTALL: Regenerated.
32213 2012-05-23  Andreas Jaeger  <aj@suse.de>
32215         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32216         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32217         macro.
32218         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32219         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32220         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32221         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32222         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32223         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32224         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32225         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32226         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32227         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32228         * sysdeps/unix/sysv/linux/bits/in.h
32229         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32231 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32233         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32234         (PREPARE_VERSION): Just use assert instead, it will be elided
32235         under [NDEBUG] anyway.
32237 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32239         * sysdeps/unix/sysv/linux/Makefile: Include
32240         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32241         (sysdep_routines): Remove sysctl.
32242         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32243         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32244         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32245         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32246         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32248 2012-05-22  Andreas Jaeger  <aj@suse.de>
32250         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32251         that pseudo_end is just ret and the stack pointer is correct also
32252         for static library in error case.
32254 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32256         [BZ #14122]
32257         * nss/nsswitch.c (defconfig_entries): New variable.
32258         (__nss_database_lookup): Don't leak defconfig entries.
32259         (nss_parse_service_list): Don't leak on error paths.
32260         (free_database_entries): New function.
32261         (free_defconfig): New function.
32262         (free_mem): Move common code to free_database_entries.
32264 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32266         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32267         Add arch_prctl.
32268         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32270         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32271         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32272         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32273         New macro.
32274         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32275         (INTERNAL_SYSCALL_TYPES): Likewise.
32276         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32277         (LOAD_REGS_TYPES_[1-6]): Likewise.
32278         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32279         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32281 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32283         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32284         copysignl for GLIBC_2_0.
32285         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32286         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32287         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32288         logbl for GLIBC_2_0.
32289         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32290         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32292 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32294         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32295         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32297         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32298         Use "neg %eax".
32300         * time/mktime.c: Update copyright years.
32302 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32304         mktime: merge comment-quoting-style change from gnulib
32305         * time/mktime.c: Quote 'like this' in comments.
32306         The GNU coding standards suggest that we no longer quote `like this',
32307         as "`" and "'" are typically rendered asymmetrically nowadays.
32308         The typical gnulib style is to quote 'like this' when quoting
32309         code, and "like this" when quoting English.
32311         * time/mktime.c (compile-command): Add "-I.".
32313         mktime: merge mktime-internal.h change from gnulib
32314         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32316         mktime: merge time_r change from gnulib
32317         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32319         mktime: merge DEBUG change from gnulib
32320         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32321         case system <time.h> has a #define.
32323         mktime: merge <sys/types.h> change from gnulib
32324         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32325         since <time.t> is now guaranteed to define time_t.
32327         mktime: merge HAVE_CONFIG_H change from gnulib
32328         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32330 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32332         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32333         Use "neg %eax".
32335         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32336         __rlim_t cast.
32337         (struct rusage): Use anonymous union to pad each field to
32338         __syscall_slong_t.
32340 2012-05-21  David S. Miller  <davem@davemloft.net>
32342         * Makefules (o-iterator): Remove .s cases.
32343         (compile-command.s): Delete.
32344         (COMPILE.s): Delete.
32345         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32347 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
32349         * configure.in (libc_cv_predef_stack_protector): Only consider
32350         "foobar" and "__stack_chk_fail" lines in libc_undefs.
32351         * configure: Regenerated.
32353 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32355         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32356         New macro.  Use R*LP on int and pointer.
32357         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32358         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32359         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32360         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32362         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32363         [__WORDSIZE_TIME64_COMPAT32] instead of
32364         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32365         (struct utmp): Likewise.
32366         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32367         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32368         Renamed to ...
32369         (__WORDSIZE_TIME64_COMPAT32): This.
32370         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32371         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32372         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32373         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32374         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32375         (__WORDSIZE_TIME64_COMPAT32): New macro.
32377 2012-05-21  Andreas Jaeger  <aj@suse.de>
32379         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32380         only if [SHARED]. Add prototype for __wcschr_ia32.
32382 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32384         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32385         of %rbp unmolested in the jmp_buf while mangling the low bits.
32386         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32387         unmolested high bits of %rbp while demangling the low bits.
32388         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32390 2012-05-21  Andreas Jaeger  <aj@suse.de>
32392         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32393         * sunrpc/svc_simple.c: Use it for registerrpc.
32394         * sunrpc/xcrypt.c: Use it for passwd2des.
32396         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32398 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32400         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32401         Don't define if [__SYSCALL_WORDSIZE != 32].
32402         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32403         New macro.
32405 2012-05-21  Bruno Haible  <bruno@clisp.org>
32406             Andreas Jaeger  <aj@suse.de>
32408         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32409         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32410         inptr and inend for must_buffer_ch.
32411         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32412         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32413         * stdio-common/Makefile (tests): Remove bug15.
32414         (bug15-ENV): Remove macro.
32415         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32416         anymore.
32418 2012-05-19  Andreas Jaeger  <aj@suse.de>
32419             Roland McGrath  <roland@hack.frob.com>
32421         * manual/contrib.texi: Completely rewritten. It contains now an
32422         alphabetical list of contributors and their contributions.
32424 2012-05-21  Richard Henderson  <rth@twiddle.net>
32426         * misc/getauxval.c (__getauxval): Use unsigned long int.
32427         * misc/sys/auxv.h: Include <sys/cdefs.h>.
32428         (getauxval): Use unsigned long int.
32430 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32432         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32434 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32436         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32437         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32438         __alignof__ (long double).
32440 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32444 2012-05-20  Richard Henderson  <rth@twiddle.net>
32446         * misc/getauxval.c: New file.
32447         * misc/sys/auxv.h: New file.
32448         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32449         (routines): Add getauxval.
32450         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32451         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32452         * elf/dl-sysdep.c (_dl_auxv): Remove.
32453         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32454         * elf/dl-support.c (_dl_auxv): New variable.
32455         (_dl_aux_init): Initialize it.
32456         * manual/startup.texi (Auxiliary Vector): New node.
32457         * sysdeps/generic/bits/hwcap.h: New file.
32458         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32459         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
32460         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32461         * sysdeps/sparc/sysdep.h: ... here.  Include it.
32462         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32463         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32465         Update.
32466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32469         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32475 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32479 2012-05-19  David S. Miller  <davem@davemloft.net>
32481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32483 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32485         [BZ #14123]
32486         * math/s_ccosh.c: Include <float.h>
32487         (__ccosh): Avoid internal overflow calculating sinh and cosh
32488         values before multiplying by sin and cos values.
32489         * math/s_ccoshf.c: Likewise.
32490         * math/s_ccoshl.c: Likewise.
32491         * math/s_csin.c: Likewise.
32492         * math/s_csinf.c: Likewise.
32493         * math/s_csinl.c: Likewise.
32494         * math/s_csinh.c: Likewise.
32495         * math/s_csinhf.c: Likewise.
32496         * math/s_csinhl.c: Likewise.
32497         * math/libm-test.inc (ccos_test): Add more tests.
32498         (ccosh_test): Likewise.
32499         (csin_test): Likewise.
32500         (csinh_test): Likewise.
32501         * sysdeps/i386/fpu/libm-test-ulps: Update.
32502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32504 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
32506         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32507         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32509         * sysdeps/x86_64/x32/_itoa.h: Add comment.
32511 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32513         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32514         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32515         * sysdeps/powerpc/soft-fp/Versions: Likewise.
32516         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32517         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32518         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32519         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32520         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32521         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32522         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32523         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32524         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32525         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32526         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32527         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32528         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32529         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32530         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32531         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32532         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32533         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32534         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32535         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32536         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32537         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32538         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32539         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32540         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32541         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32542         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32543         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32545 2012-05-18  Andreas Jaeger  <aj@suse.de>
32547         * csu/.gitignore: Delete.
32549 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32551         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32552         (timex): Use __syscall_slong_t.
32554 2012-05-18  Andreas Jaeger  <aj@suse.de>
32555             Carlos O'Donell  <carlos_odonell@mentor.com>
32557         * manual/install.texi (Configuring and compiling): Update
32558         description about files modified in the source directory.
32559         * INSTALL: Regenerated.
32561 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32563         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32564         value.  Use "or" to set return value to -1.
32565         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32566         negate return value.
32568 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32570         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32571         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32572         failure if the compiler has Graphite support disabled.
32573         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32574         Likewise.
32575         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32576         (CFLAGS-memmove.c): Likewise.
32577         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32578         Likewise.
32580 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32582         * sysdeps/x86_64/x32/_itoa.h: New file.
32584         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32585         getdents system call only if kernel and user dirents have the
32586         same d_ino and d_off.
32588         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32589         LLONG_MAX != LONG_MAX.
32590         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32591         (_fitoa_word): Likewise.
32593         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32594         years.
32595         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32596         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32597         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32599         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32600         include <bits/wordsize.h>.  Check __x86_64__ instead of
32601         __WORDSIZE.
32602         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32603         if __x86_64__ is defined.  Use anonymous union on fpstate.
32605         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32606         anonymous union.
32608 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
32610         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32611         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32612         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32613         Refer to _rtld_local_ro instead of _rtld_global_ro.
32614         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32615         Likewise.
32616         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32617         Likewise.
32618         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32619         Likewise.
32620         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32621         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32622         of _rtld_global, and rtld_progname instead of _dl_argv[0].
32624         * sysdeps/powerpc/powerpc32/dl-machine.c
32625         (__elf_machine_runtime_setup) [PROF]: Don't reference
32626         _dl_prof_resolve.
32628 2012-05-18  Andreas Jaeger  <aj@suse.de>
32630         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32631         function only available for GCCs before 3.4 since GCC 3.4
32632         introduced a builtin.
32633         (lrint): Likewise.
32634         (llrintf): Likewise.
32635         (llrint): Likewise.
32636         (fmaxf): Likewise.
32637         (fmax): Likewise.
32638         (fminf): Likewise.
32639         (fmin): Likewise.
32640         (rint): Likewise.
32641         (rintf): Likewise.
32642         (nearbyint): Likewise.
32643         (nearbyintf): Likewise.
32644         (ceil): Likewise.
32645         (ceilf): Likewise.
32646         (floor): Likewise.
32647         (floorf): Likewise.
32649 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32651         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32652         on both fields and cast pointer to __syscall_ulong_t.
32654         * bits/types.h (__fsword_t): New type.
32655         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32656         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32657         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32658         (__FSWORD_T_TYPE): Likewise.
32659         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32660         (__FSWORD_T_TYPE): Likewise.
32661         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32662         (__FSWORD_T_TYPE): Likewise.
32663         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32664         (__FSWORD_T_TYPE): Likewise.
32665         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32666         __SWORD_TYPE with __fsword_t.
32667         (statfs64): Likewise.
32669 2012-05-17  David S. Miller  <davem@davemloft.net>
32671         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32673 2012-05-17  Andreas Jaeger  <aj@suse.de>
32675         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32676         warning.
32678 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32680         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32682 2012-05-17  Andreas Jaeger  <aj@suse.de>
32684         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32685         when it is used.
32687 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32689         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32691 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32693         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32694         * sysdeps/x86_64/tst-mallocalign1.c: New file.
32696 2012-05-17  Andreas Jaeger  <aj@suse.de>
32697             Carlos O'Donell  <carlos_odonell@mentor.com>
32699         [BZ #14059]
32700         * sysdeps/x86_64/multiarch/init-arch.h
32701         (bit_YMM_Usable): Rename to...
32702         (bit_AVX_Usable): ... this.
32703         (bit_FMA4_Usable): New macro.
32704         (bit_XMM_state): New macro.
32705         (bit_YMM_state): New macro.
32706         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32707         [__ASSEMBLER__] (index_AVX_Usable): ... this.
32708         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32709         (CPUID_OSXSAVE): New macro.
32710         (CPUID_AVX): New macro.
32711         (CPUID_FMA4): New macro.
32712         (index_YMM_Usable): Rename to...
32713         (index_AVX_Usable): ... this.
32714         (HAS_AVX): Use HAS_ARCH_FEATURE.
32715         (HAS_FMA4): Likewise.
32716         (HAS_YMM_USABLE): Remove.
32717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32718         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32719         are present.
32720         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32721         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32722         * sysdeps/x86_64/multiarch/Makefile: Likewise.
32723         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32724         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32726 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32728         * math/libm-test.c: Support platforms without multiple rounding modes.
32729         * math/bug-nextafter.c: Support platforms without FP exceptions.
32730         * math/bug-nexttoward.c: Likewise.
32731         * math/test-fenv.c: Likewise.
32732         * math/test-misc.c: Likewise.
32733         * stdlib/bug-getcontext.c: Likewise.
32735 2012-05-17  Andreas Jaeger  <aj@suse.de>
32737         * manual/examples/search.c (critter_cmp): Change signature to
32738         avoid warnings.
32739         * manual/string.texi (Collation Functions): Likewise.
32741 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32743         * bits/types.h: Fold copyright years.
32744         * bits/typesizes.h: Likewise.
32745         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32746         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32747         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32748         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32749         * time/time.h: Likewise.
32751 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
32753         [BZ #208]
32754         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32755         in instead of returning them.  Return void.
32756         (__libc_mallinfo): Accumulate over all arenas.
32757         (__malloc_stats): Adjust for change in int_mallinfo interface.
32759 2012-05-16  Roland McGrath  <roland@hack.frob.com>
32761         [BZ #10375]
32762         * configure.in (NM): Add AC_CHECK_TOOL for it.
32763         (libc_extra_cflags): New substituted variable.
32764         Check for -fstack-protector being used implicitly.
32765         * configure: Regenerated.
32766         * config.make.in (config-extra-cflags): New variable,
32767         gets @libc_extra_cflags@.
32768         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32770         [BZ #10375]
32771         * configure.in: Check for _FORTIFY_SOURCE being predefined.
32772         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32773         * configure: Regenerated.
32774         * config.make.in (CPPUNDEFS): New substituted variable.
32775         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32776         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32777         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32779 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32781         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32782         (mq_attr): Use __syscall_slong_t.
32784 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32786         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32787         Check __x86_64__ instead of __WORDSIZE.
32788         (_STAT_VER_LINUX): Likewise.
32789         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
32790         __syscall_ulong_t and __syscall_slong_t.
32791         (stat64): Likewise.
32793 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32795         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32797 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32799         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32801 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32803         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32804         __syscall_ulong_t.
32806         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32807         include <bits/wordsize.h>.  Check __x86_64__ instead of
32808         __WORDSIZE.
32809         (greg_t): Use "__extension__ long long int" if __x86_64__ is
32810         defined.
32811         (mcontext_t): Replace "unsigned long" with "unsigned long long".
32813         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32814         include <bits/wordsize.h>.  Check __x86_64__ instead of
32815         __WORDSIZE.
32816         (user_regs_struct): Use "__extension__ unsigned long long"
32817         instead of "unsigned long" if __x86_64__ is defined.
32818         (user): Likewise.  Pad after pointer field if __ILP32__ is
32819         defined.
32821 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
32823         * configure.in (makeinfo): Require version 4.5 or later.  Allow
32824         versions 5 to 9.
32825         * configure: Regenerated.
32826         * manual/install.texi (texinfo): Increase version requirement to
32827         4.5 or later.
32828         * INSTALL: Regenerated.
32830         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32832 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32834         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32836         * sysdeps/x86_64/x32/ffs.c: New file.
32838         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32839         __syscall_ulong_t.
32840         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32841         defined.  Use __syscall_ulong_t.
32842         (shminfo): Use __syscall_ulong_t.
32843         (shm_info): Likewise.
32845         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32846         __syscall_ulong_t.
32848         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32849         <bits/wordsize.h>.
32850         (msgqnum_t): Use __syscall_ulong_t.
32851         (msglen_t): Likewise.
32852         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
32853         __syscall_ulong_t.
32855         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32856         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32858         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32860         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32861         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32863         * sysvipc/sys/msg.h (msgbuf): Replace long int with
32864         __syscall_slong_t.
32866         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32867         include <bits/wordsize.h>.  Check __x86_64__ instead of
32868         __WORDSIZE.
32870         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32871         "unsigned long long int" if __x86_64__ is defined.
32872         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32874         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32875         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32876         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32878         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32879         <stdint.h>.
32880         (GET_PC): Cast to uintptr_t first.
32881         (GET_FRAME): Likewise.
32882         (GET_STACK): Likewise.
32884         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32885         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32886         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32887         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32888         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32889         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32890         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32891         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32892         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32893         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32894         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32895         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32896         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32897         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32898         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32899         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32900         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32901         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32902         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32903         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32904         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32905         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32906         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32907         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32908         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32909         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32910         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32911         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32912         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32914 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
32916         * Makerules (+depfiles): Also collect depfiles from .oS in
32917         $(extra-objs).
32918         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32919         .oS, $(libnldbl-routines)).
32921         * Makerules (native-compile-mkdep-flags): Define.
32922         * sunrpc/Makefile (extra-objs): Add $(addprefix
32923         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32924         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32925         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
32926         calling $(make-target-directory).
32928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32930         * bits/types.h (__snseconds_t): Removed.
32931         * time/time.h (struct timespec): Replace __snseconds_t with
32932         __syscall_slong_t.
32933         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32934         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32935         Likewise.
32936         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32937         (__SNSECONDS_T_TYPE): Likewise.
32938         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32939         (__SNSECONDS_T_TYPE): Likewise.
32940         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32941         (__SNSECONDS_T_TYPE): Likewise.
32943 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32945         * sysdeps/mach/hurd/bits/typesizes.h
32946         (__SYSCALL_SLONG_TYPE): New macro.
32947         (__SYSCALL_ULONG_TYPE): Likewise.
32949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32951         * bits/types.h (__syscall_slong_t): New type.
32952         (__syscall_ulong_t): Likewise.
32954         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32955         (__SYSCALL_ULONG_TYPE): Likewise.
32956         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32957         (__SYSCALL_SLONG_TYPE): Likewise.
32958         (__SYSCALL_ULONG_TYPE): Likewise.
32959         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32960         (__SYSCALL_SLONG_TYPE): Likewise.
32961         (__SYSCALL_ULONG_TYPE): Likewise.
32962         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32963         (__SYSCALL_SLONG_TYPE): Likewise.
32964         (__SYSCALL_ULONG_TYPE): Likewise.
32966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32968         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32969         Add sigaltstack-offsets.sym.
32970         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32971         <sigaltstack-offsets.h>.
32972         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
32973         longjmp_msg pointer.
32974         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
32975         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32976         signal stack.
32977         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32979 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32981         * elf/stackguard-macros.h: Remove file.
32982         * sysdeps/generic/stackguard-macros.h: New file.
32983         * sysdeps/i386/stackguard-macros.h: Likewise.
32984         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32985         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32986         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32987         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32988         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32989         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32990         * sysdeps/x86_64/stackguard-macros.h: Likewise.
32991         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32992         <elf/stackguard-macros.h>.
32994         [BZ #14109]
32995         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32996         __aligned__ in attribute.
32997         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32998         (gregset_t): Likewise.
33000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33002         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33003         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33004         * sysdeps/x86_64/x32/Implies-after: New file.
33006 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33008         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33009         and access return value for _dl_profile_fixup.  Use R10_LP to
33010         load frame size.
33012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33014         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33018         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33019         * sysdeps/x86_64/x32/sysdep.h: New file.
33021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33023         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33024         * sysdeps/x86_64/setjmp.S: Likewise.
33026 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33028         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33029         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33030         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33031         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33032         remove unused global constant.
33034 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33036         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33037         include of <not-cancel.h>.
33039 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33041         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33043 2012-05-15  Jeff Law  <law@redhat.com>
33044             Andreas Jaeger  <aj@suse.de>
33046         [BZ #13594]
33047         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33048         out from...
33049         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33050         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33051         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33052         code changing __hst_map_handle.map.
33054 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33056         * configure.in (sysnames): Look for Implies-before and Implies-after
33057         files.
33058         * configure: Regenerated.
33060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33062         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33063         8-byte data alignment with LP_SIZE alignment.
33065 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33067         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33068         into R10_LP.
33070 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33072         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33076         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33077         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33078         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33079         Likewise.
33080         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33084         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33085         (stackinfo_sub_sp): Likewise.
33087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33089         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33090         RAX_LP.
33092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33094         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33095         into R*_LP.
33097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33099         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33100         sizes into R*_LP.
33102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33104         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33108         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33109         into R11_LP and load __x86_64_shared_cache_size_half into
33110         R8_LP.
33112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33114         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33115         R8_LP.
33117 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33119         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33120         logb for POWER7.
33121         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33122         logbf for POWER7.
33123         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33124         logbl for POWER7.
33125         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33126         powerpc32/power7/fpu/s_logb.c via #include.
33127         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33128         powerpc32/power7/fpu/s_logbf.c via #include.
33129         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33130         powerpc32/power7/fpu/s_logbl.c via #include.
33132 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33134         * README.libm: Remove file.
33136 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33138         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33139         count for x32.  Use R*_LP and omit operand-size suffix.
33141 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33143         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33144         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33145         * sysdeps/x86_64/x32/shlib-versions: New file.
33147 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33149         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33150         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33151         Use _dl_fatal_printf instead.
33153 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33155         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33156         set if not set by the user.  Do not allow for being unset.
33157         * sysdeps/unix/sysv/linux/configure: Regenerated.
33159 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33161         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33162         the `q' suffix from lea and replace .quad with ASM_ADDR.
33164 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33167         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33168         instead of $17.
33169         (PTR_DEMANGLE): Likewise.
33171 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33173         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33174         (LP_OP): Likewise.
33175         (ASM_ADDR): Likewise.
33176         (RAX_LP): Likewise.
33177         (RBP_LP): Likewise.
33178         (RBX_LP): Likewise.
33179         (RCX_LP): Likewise.
33180         (RDI_LP): Likewise.
33181         (RSI_LP): Likewise.
33182         (RSP_LP): Likewise.
33183         (R8_LP): Likewise.
33184         (R9_LP): Likewise.
33185         (R10_LP): Likewise.
33186         (R10_LP): Likewise.
33187         (R11_LP): Likewise.
33188         (R12_LP): Likewise.
33189         (R13_LP): Likewise.
33190         (R14_LP): Likewise.
33191         (R15_LP): Likewise.
33193 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33195         * sysdeps/x86_64/x32/dl-machine.h: New file.
33197 2012-05-14  Andreas Jaeger  <aj@suse.de>
33199         * manual/Makefile (subdir): Remove export of subdir.
33200         (all): Remove target.
33201         (.PHONY): Remove all from list.
33202         (mkinstalldirs): Remove.
33203         (.PHONY): Remove installdirs from list.
33204         ($(inst_infodir)/libc.info): Use make-target-directory.
33205         (installdirs): Remove.
33206         (subdir_%): Remove.
33207         (glibc-targets): Remove.
33208         (lib): Remove.
33209         (stubs): Remove.
33210         ($(objpfx)stubs ../po/manual.pot): Remove.
33211         ($(objpfx)stamp%): Remove.
33212         (make-target-directory): Remove.
33213         (subdir_install): Remove.
33214         (routines): Remove.
33215         (aux): Remove.
33216         (sources): Remove.
33217         (objects): Remove.
33218         (headers): Remove.
33220         [BZ #13750]
33221         * manual/.gitignore: Remove, it's not needed anymore.
33222         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33223         all files in it.
33224         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33225         directory.
33226         (texis): Renamed to $(objpfx)texis.
33227         (texis-path): New, contains path to generated files.
33228         (chapters.%): Use texis-path for complete path, add extra argument
33229         libc-texinfo.sh.
33230         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33231         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33232         (summary,texi, stamp-summary): Use complete path of
33233         files. Generate files in build dir.
33234         (dir-add.texi): Build in build dir.
33235         (libm-err.texi,stamp-libm-err): Likewise.
33236         (version.texi, stamp-version): Likewise.
33237         (.%c.texi): Likewise.
33238         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33239         (mostlyclean): Remove target.
33240         (realclean): Remove target.
33241         (generated): Add new variable with contents from mostlyclean and
33242         realclean, remove entries duplicated in common-mostlyclean, add
33243         stamp-libm-err and stamp-version.
33244         (generated-dirs): Add libc directory.
33245         ($(inst_infodir)/libc.info): Install files from build dir.
33247         * manual/install.texi (Configuring and compiling): Adjust since
33248         the info files are not part of the tar ball anymore.
33250 2012-05-14  Andreas Jaeger  <aj@suse.de>
33252         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33253         variable.
33255 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33257         [BZ #13717]
33258         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33259         to 2.2.0 where earlier.
33260         * sysdeps/unix/sysv/linux/configure: Regenerated.
33261         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33262         Remove conditional code.
33263         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33264         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33265         Remove conditional code.
33266         [!__NR_lchown]: Likewise.
33267         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33268         [__NR_lchown]: Likewise.
33269         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33270         comment referencing __ASSUME_LCHOWN_SYSCALL.
33271         * sysdeps/unix/sysv/linux/i386/sigaction.c
33272         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33273         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33274         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33275         Remove conditional code.
33276         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33277         (__protocol_available): Remove #if 0 code.
33278         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33279         conditional code.
33280         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33281         * sysdeps/unix/sysv/linux/kernel-features.h
33282         (__ASSUME_GETCWD_SYSCALL): Don't define.
33283         (__ASSUME_REALTIME_SIGNALS): Likewise.
33284         (__ASSUME_PREAD_SYSCALL): Likewise.
33285         (__ASSUME_PWRITE_SYSCALL): Likewise.
33286         (__ASSUME_POLL_SYSCALL): Likewise.
33287         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33288         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33289         non-SPARC.
33290         (__ASSUME_SIOCGIFNAME): Don't define.
33291         (__ASSUME_MSG_NOSIGNAL): Likewise.
33292         (__ASSUME_SENDFILE): Define unconditionally.
33293         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33294         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33295         conditional code.
33296         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33297         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33298         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33299         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33300         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33301         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33302         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33304         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33305         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33307         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33308         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33310         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33311         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33313         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33314         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33316         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33317         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33319         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33320         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33322         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33323         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33325         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33326         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33327         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33328         Remove conditional code.
33329         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33330         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33331         Remove conditional code.
33332         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33333         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33334         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33335         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33336         Remove conditional code.
33337         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33338         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33339         Remove conditional code.
33340         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33341         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33342         Remove conditional code.
33343         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33344         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33345         Remove conditional code.
33346         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33347         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33348         Remove conditional code.
33349         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33350         * sysdeps/unix/sysv/linux/sh/pwrite64.c
33351         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33352         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33353         * sysdeps/unix/sysv/linux/sigaction.c
33354         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33355         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33356         * sysdeps/unix/sysv/linux/sigpending.c
33357         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33358         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33359         * sysdeps/unix/sysv/linux/sigprocmask.c
33360         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33361         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33362         * sysdeps/unix/sysv/linux/sigsuspend.c
33363         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33364         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33365         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33366         (__libc_missing_rt_sigs): Remove.
33367         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33368         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33369         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33370         Remove conditional code.
33371         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33372         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33373         return 1.
33374         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33375         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33376         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33377         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33379 2012-05-14  Andreas Jaeger  <aj@suse.de>
33381         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33382         it's not used in glibc.
33383         (__coshm1): Likewise.
33384         (__acosh1p): Likewise.
33385         (__sgn): Likewise.
33387         * manual/string.texi (Copying and Concatenation): Add missing
33388         variable in concat example.
33389         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33391 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33393         [BZ #14103]
33394         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33395         __builtin_clzl with __builtin_clzll.
33397 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33399         [BZ #14104]
33400         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33401         libc_freeres_ptr.
33403 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33405         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33406         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33407         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33408         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33410 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
33412         * NEWS: Update ia64 info.
33414 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
33416         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33417         used as bcopy.
33419 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
33421         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33422         * sysdeps/unix/syscalls.list (dup3): Likewise.
33423         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33424         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33426 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33428         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33429         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33431 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33433         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33434         thread pointer.
33435         (TLS_IE): Use mov/add instead of movq/addq to load thread
33436         pointer.
33437         (TLS_GD_PREFIX): New.
33438         (TLS_GD): Use it.
33440 2012-05-11  David S. Miller  <davem@davemloft.net>
33442         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33443         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33444         (_FPU_SETCW): Likewise.
33446 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33448         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33449         is 32-byte aligned.
33451 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
33453         [BZ #11837]
33454         * iconvdata/gb18030.c: Update tables.
33455         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
33456         characters specially.
33457         (BODY for TO_LOOP): Add encoding of missing ranges.
33459 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
33461         [BZ #13673]
33462         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33463         * sysdeps/mach/hurd/dup3.c: Likewise.
33464         * sysdeps/mach/hurd/readlinkat.c: Likewise.
33465         * sysdeps/powerpc/memmove.c:: Likewise.
33467 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33469         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33470         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33472 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33474         * elf/elf.h (R_X86_64_RELATIVE64): New.
33475         (R_X86_64_NUM): Updated.
33476         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33477         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
33478         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33479         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33480         tst-quad1pie tst-quad2pie
33481         (modules-names): Add tst-quadmod1 tst-quadmod2.
33482         ($(objpfx)tst-quad1): New dependency.
33483         ($(objpfx)tst-quad2): Likewise.
33484         ($(objpfx)tst-quad1pie): Likewise.
33485         ($(objpfx)tst-quad2pie): Likewise.
33486         * sysdeps/x86_64/tst-quad1.c: New file.
33487         * sysdeps/x86_64/tst-quad1pie.c: New file.
33488         * sysdeps/x86_64/tst-quad2.c: Likewise.
33489         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33490         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33491         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33492         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33493         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33495 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33497         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33498         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33499         * streams/stropts.h (t_scalar_t): Define type.
33501         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33502         (_PATH_PRESERVE): Set to "/var/lib".
33503         (_PATH_RWHODIR): Set to "/var/spool/rwho".
33505         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33506         instead of int.
33508         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33509         if __dir_mkfile succeeded.
33511         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33512         checking for _hurd_dtablesize.  Unlock it right after having
33513         finished _hurd_dtable allocation.
33515 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33517         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33518         * sysdeps/mach/hurd/configure: Regenerated.
33519         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33520         special-casing to...
33521         * sysdeps/gnu/configure.in: ... this new file.
33522         * sysdeps/unix/sysv/linux/configure: Regenerated.
33523         * sysdeps/gnu/configure: New generated file.
33525         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33526         for Linux: use nsec instead of usec, as well as:
33527         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33528         members of type struct timespec.
33529         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33530         New macros.
33531         (struct stat64): Likewise.
33532         (_STATBUF_ST_NSEC): New macro.
33533         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33535         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33536         __strtoul_internal rather than strtoul.
33538 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33540         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33541         and reject them.
33543 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33545         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33546         which preserves existing values.
33547         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33549 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33551         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33552         TIMEOUT values.  Return EINVAL for NFDS values either negative or
33553         greater than FD_SETSIZE.
33555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33557         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33558         allocated, call __vm_protect to finish enabling the existing space, and
33559         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33560         allocate the remainder.
33562 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33564         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33565         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
33567 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33569         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33570         sysdeps/mach/hurd/readlink.c.
33572         * posix/tst-sysconf.c (posix_options): Only use
33573         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33574         _POSIX_SYNCHRONIZED_IO when they are defined
33575         * sysdeps/mach/hurd/bits/posix_opt.h:
33576         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33577         (_XOPEN_REALTIME): Undefine macro.
33578         (_XOPEN_REALTIME_THREADS): Undefine macro.
33579         (_XOPEN_SHM): Undefine macro.
33580         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33581         macro to -1.
33582         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33583         macro to -1.
33584         (_POSIX_ASYNC_IO): Undefine macro.
33585         (_POSIX_PRIORITIZED_IO): Undefine macro.
33586         (_POSIX_SPIN_LOCKS): Define macro to -1.
33588         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33589         SA_NODEFER, SA_RESETHAND.
33590         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33591         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33592         F_DUPFD_CLOEXEC.
33594 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33596         * elf/Makefile (pldd-modules): Define unconditionally.
33598 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33600         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33602 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33604         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33605         Return ENOENT when name is empty.
33606         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33608 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33610         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33612         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33614 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33616         Fix mlock in all cases except non-readable pages.
33617         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33618         instead of VM_PROT_ALL as parameter to __vm_wire function.
33620         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33621         (__mkdir): When path is `/', just fail with EEXIST.
33622         * sysdeps/mach/hurd/mkdirat.c: Likewise.
33624 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33626         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33627         <sys/uio.h> (for writev).
33628         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33629         and <sys/param.h> (for MIN).
33631 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33633         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33634         REQUESTED_TIME.  Properly set the remaining time and return EINTR
33635         if interrupted.
33637 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33639         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33640         Depend on against $(link-rpcuserlibs).
33642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33644         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33645         (__libc_stack_end): Do not use attribute_relro.
33646         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33647         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33648         to libthread-provided value.
33649         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33650         attribute_relro.
33652 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33654         [BZ #3748]
33655         * bits/libc-lock.h (__libc_once_get): New macro.
33656         * sysdeps/mach/bits/libc-lock.h: Likewise.
33657         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33658         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33659         instead of using implementation details.
33661         * libio/fileops.c: Unconditionally include <kernel-features.h>.
33662         * libio/freopen.c: Likewise.
33663         * libio/freopen64.c: Likewise.
33664         * misc/syslog.c: Likewise.
33665         * nscd/connections.c: Likewise.
33666         * nscd/netgroupcache.c: Likewise.
33667         * sysdeps/posix/getcwd.c: Likewise.
33669 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33671         * math/w_ilogbf.c: Add #include <limits.h>.
33673 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33675         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33676         path instead of returning without unlocking.
33678         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33679         immediate-write ioctls.
33680         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33682 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33684         * sysdeps/mach/hurd/i386/init-first.c (init): Use
33685         __builtin_frame_address instead of making assumptions about the
33686         location of the return address relative to DATA.  Force early load of
33687         the return address.
33688         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33689         __builtin_frame_address.
33691         dup3 for GNU Hurd.
33692         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33693         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
33694         implement dup3 and do some further code clean-ups.
33695         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33696         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33698 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33700         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33702         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33703         HURD_CRITICAL_END around holding _hurd_dtable_lock.
33704         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33705         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33706         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33707         d->port.lock.
33709         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33710         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
33711         when handler == SIG_ERR, not when handler != SIG_ERR.
33713 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33715         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33716         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33717         definitions.
33719         accept4 for GNU Hurd.
33720         * include/sys/socket.h (__libc_accept4): New prototype.
33721         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
33722         to implement __libc_accept4.
33723         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33724         __libc_accept4.
33725         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33727         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33728         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33729         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33730         signal-defines.sym.
33732 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33734         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33736 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33738         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33739         assertion on O_CLOEXEC flag.
33740         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33741         * hurd/intern-fd.c: Likewise.
33742         * hurd/port2fd.c: Likewise.
33744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33746         [BZ #3906]
33747         * bits/in.h (IPV6_PKTINFO): Define new macro.
33748         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33750 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33752         [BZ #13954]
33753         [BZ #13955]
33754         [BZ #13956]
33755         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33756         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33757         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33758         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33759         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33760         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33761         * math/libm-test.inc (logb_test) : Additional logb tests.
33763 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
33764             Andreas Jaeger  <aj@suse.de>
33766         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33767         * configure: Regenerated.
33768         * config.h.in (LINK_OBSOLETE_RPC): New macro.
33769         * config.make.in (link-obsolete-rpc): New substituted variable.
33770         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33771         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33772         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33773         (shared-only-routines): Don't set it under [link-obsolete-rpc],
33774         so that libc.a contains the symbols.
33775         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33776         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33777         * sunrpc/auth_none.c: Likewise.
33778         * sunrpc/auth_unix.c: Likewise.
33779         * sunrpc/authdes_prot.c: Likewise.
33780         * sunrpc/authuxprot.c: Likewise.
33781         * sunrpc/clnt_gen.c: Likewise.
33782         * sunrpc/clnt_perr.c: Likewise.
33783         * sunrpc/clnt_raw.c: Likewise.
33784         * sunrpc/clnt_simp.c: Likewise.
33785         * sunrpc/clnt_tcp.c: Likewise.
33786         * sunrpc/clnt_udp.c: Likewise.
33787         * sunrpc/clnt_unix.c: Likewise.
33788         * sunrpc/des_crypt.c: Likewise.
33789         * sunrpc/des_soft.c: Likewise.
33790         * sunrpc/get_myaddr.c: Likewise.
33791         * sunrpc/key_call.c: Likewise.
33792         * sunrpc/key_prot.c: Likewise.
33793         * sunrpc/netname.c: Likewise.
33794         * sunrpc/pm_getmaps.c: Likewise.
33795         * sunrpc/pm_getport.c: Likewise.
33796         * sunrpc/pmap_clnt.c: Likewise.
33797         * sunrpc/pmap_prot.c: Likewise.
33798         * sunrpc/pmap_prot2.c: Likewise.
33799         * sunrpc/pmap_rmt.c: Likewise.
33800         * sunrpc/publickey.c: Likewise.
33801         * sunrpc/rpc_cmsg.c: Likewise.
33802         * sunrpc/rpc_common.c: Likewise.
33803         * sunrpc/rpc_dtable.c: Likewise.
33804         * sunrpc/rpc_prot.c: Likewise.
33805         * sunrpc/rpc_thread.c: Likewise.
33806         * sunrpc/rtime.c: Likewise.
33807         * sunrpc/svc.c: Likewise.
33808         * sunrpc/svc_auth.c: Likewise.
33809         * sunrpc/svc_raw.c: Likewise.
33810         * sunrpc/svc_run.c: Likewise.
33811         * sunrpc/svc_tcp.c: Likewise.
33812         * sunrpc/svc_udp.c: Likewise.
33813         * sunrpc/svc_unix.c: Likewise.
33814         * sunrpc/svcauth_des.c: Likewise.
33815         * sunrpc/xcrypt.c: Likewise.
33816         * sunrpc/xdr.c: Likewise.
33817         * sunrpc/xdr_array.c: Likewise.
33818         * sunrpc/xdr_float.c: Likewise.
33819         * sunrpc/xdr_intXX_t.c: Likewise.
33820         * sunrpc/xdr_mem.c: Likewise.
33821         * sunrpc/xdr_rec.c: Likewise.
33822         * sunrpc/xdr_ref.c: Likewise.
33823         * sunrpc/xdr_sizeof.c: Likewise.
33824         * sunrpc/xdr_stdio.c: Likewise.
33826 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33828         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33829         change.  Update copyright years.
33831 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33833         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33835 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
33836             Joseph Myers  <joseph@codesourcery.com>
33837             Paul Pluzhnikov  <ppluzhnikov@google.com>
33839         [BZ #14012]
33840         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33841         requiring rpcgen.
33842         [cross-compiling] (extra-libs): Likewise.
33843         [cross-compiling] (extra-libs-others): Likewise.
33844         [cross-compiling] (librpcsvc-routines): Likewise.
33845         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33846         [cross-compiling] (omit-deps): Likewise.
33847         (sunrpc-CPPFLAGS): New variable.
33848         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33849         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33850         (cross-rpcgen-objs): New variable.
33851         (extra-objs): Append $(cross-rpcgen-objs).
33852         ($(cross-rpcgen-objs)): New rule.
33853         ($(objpfx)cross-rpcgen): Likewise.
33854         (rpcgen-cmd): Define to use $(built-program-file).  Expand
33855         comment.
33856         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33857         ($(objpfx)x%.stmp): Likewise.
33858         * sunrpc/proto.h [IS_IN_build] (_): Define.
33859         [IS_IN_build] (_libc_intl_domainname): Likewise.
33861 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33863         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33864         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33865         and R_X86_64_TPOFF64.
33867 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33869         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33870         sysdeps/unix/sysv/syscalls.list.
33871         (stime): Likewise.
33872         (utime): Likewise.
33873         * sysdeps/unix/sysv/syscalls.list: Remove file.
33875 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
33877         [BZ #3440]
33878         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33879         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33880         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33881         (__LC_IDENTIFICATION): Make these macros useful in #if
33882         expressions, as required by C99.
33884 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
33886         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33887         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
33888         after this.
33890 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
33892         * stdlib/longlong.h: Updated from GCC.
33894 2012-05-09  Andreas Jaeger  <aj@suse.de>
33896         * nscd/nscd.c (run_modes): Make named enum, reorder so that
33897         default is first entry.
33898         (run_mode): Set type.
33899         (main): Remove informal message about syslog.
33900         (options): Fix typo.
33902         [BZ #14053]
33903         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33904         to asm.
33905         (lrint): Likewise.
33906         (llrintf): Likewise.
33907         (llrint): Likewise.
33908         (rint): Likewise.
33909         (rintf): Likewise.
33910         (nearbyint): Likewise.
33911         (nearbyintf): Likewise.
33913 2012-05-09  Andreas Jaeger  <aj@suse.de>
33914             Pedro Alves  <palves@redhat.com>
33916         * nscd/nscd.c (run_mode): Use enum.
33917         (main): Cleanup coding style issue.
33919 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
33920             Andreas Jaeger  <aj@suse.de>
33922         * nscd/nscd.c (go_background): Replaced with...
33923         (run_mode): ... this.
33924         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33925         (options): Add -F --foreground.
33926         (main): Implement it.
33927         (parse_opt): Parse it.
33929 2012-05-09  Andreas Jaeger  <aj@suse.de>
33931         [BZ #14083]
33932         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33933         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33934         -Wconversion warning.
33935         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33936         Likewise.
33938 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
33940         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
33941         == 0.
33942         (LC_ALL): Use macro-int-constant.
33943         (LC_COLLATE): Likewise.
33944         (LC_CTYPE): Likewise.
33945         (LC_MESSAGES): Likewise.
33946         (LC_MONETARY): Likewise.
33947         (LC_NUMERIC): Likewise.
33948         (LC_TIME): Likewise.
33949         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33950         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33951         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33952         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33953         Specify type.
33954         [C99-based standards] (float_t): Expect type.
33955         [C99-based standards] (double_t): Expect type.
33956         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
33957         type.
33958         [C99-based standards] (HUGE_VALL): Likewise.
33959         [C99-based standards] (INFINITY): Likewise.
33960         [C99-based standards] (NAN): Likewise.
33961         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33962         [C99-based standards] (FP_NAN): Likewise.
33963         [C99-based standards] (FP_NORMAL): Likewise.
33964         [C99-based standards] (FP_SUBNORMAL): Likewise.
33965         [C99-based standards] (FP_ZERO): Likewise.
33966         [C99-based standards] (FP_FAST_FMA): Use
33967         optional-macro-int-constant.  Specify type.  Require == 1.
33968         [C99-based standards] (FP_FAST_FMAF): Likewise.
33969         [C99-based standards] (FP_FAST_FMAL): Likewise.
33970         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33971         [C99-based standards] (FP_ILOGBNAN): Likewise.
33972         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33973         Specify type.
33974         [C99-based standards] (MATH_ERREXCEPT): Likewise.
33975         [C99-based standards] (math_errhandling): Specify type.
33976         [ISO99 || ISO11] (signgam): Do not allow.
33977         [non-C99-based standards] (copysignf): Do not allow.
33978         [non-C99-based standards] (exp2f): Likewise.
33979         [non-C99-based standards] (log2f): Likewise.
33980         [non-C99-based standards] (modff): Allow.
33981         [non-C99-based standards] (erff): Do not allow.
33982         [non-C99-based standards] (erfcf): Likewise.
33983         [non-C99-based standards] (gammaf): Likewise.
33984         [non-C99-based standards] (hypotf): Likewise.
33985         [non-C99-based standards] (j0f): Likewise.
33986         [non-C99-based standards] (j1f): Likewise.
33987         [non-C99-based standards] (jnf): Likewise.
33988         [non-C99-based standards] (lgammaf): Likewise.
33989         [non-C99-based standards] (tgammaf): Likewise.
33990         [non-C99-based standards] (y0f): Likewise.
33991         [non-C99-based standards] (y1f): Likewise.
33992         [non-C99-based standards] (ynf): Likewise.
33993         [non-C99-based standards] (isnanf): Likewise.
33994         [non-C99-based standards] (acoshf): Likewise.
33995         [non-C99-based standards] (asinhf): Likewise.
33996         [non-C99-based standards] (atanhf): Likewise.
33997         [non-C99-based standards] (cbrtf): Likewise.
33998         [non-C99-based standards] (expm1f): Likewise.
33999         [non-C99-based standards] (ilogbf): Likewise.
34000         [non-C99-based standards] (log1pf): Likewise.
34001         [non-C99-based standards] (logbf): Likewise.
34002         [non-C99-based standards] (nextafterf): Likewise.
34003         [non-C99-based standards] (remainderf): Likewise.
34004         [non-C99-based standards] (rintf): Likewise.
34005         [non-C99-based standards] (scalbf): Likewise.
34006         [non-C99-based standards] (copysignl): Likewise.
34007         [non-C99-based standards] (exp2l): Likewise.
34008         [non-C99-based standards] (log2l): Likewise.
34009         [non-C99-based standards] (modfl): Allow.
34010         [non-C99-based standards] (erfl): Do not allow.
34011         [non-C99-based standards] (erfcl): Likewise.
34012         [non-C99-based standards] (gammal): Likewise.
34013         [non-C99-based standards] (hypotl): Likewise.
34014         [non-C99-based standards] (j0l): Likewise.
34015         [non-C99-based standards] (j1l): Likewise.
34016         [non-C99-based standards] (jnl): Likewise.
34017         [non-C99-based standards] (lgammal): Likewise.
34018         [non-C99-based standards] (tgammal): Likewise.
34019         [non-C99-based standards] (y0l): Likewise.
34020         [non-C99-based standards] (y1l): Likewise.
34021         [non-C99-based standards] (ynl): Likewise.
34022         [non-C99-based standards] (isnanl): Likewise.
34023         [non-C99-based standards] (acoshl): Likewise.
34024         [non-C99-based standards] (asinhl): Likewise.
34025         [non-C99-based standards] (atanhl): Likewise.
34026         [non-C99-based standards] (cbrtl): Likewise.
34027         [non-C99-based standards] (expm1l): Likewise.
34028         [non-C99-based standards] (ilogbl): Likewise.
34029         [non-C99-based standards] (log1pl): Likewise.
34030         [non-C99-based standards] (logbl): Likewise.
34031         [non-C99-based standards] (nextafterl): Likewise.
34032         [non-C99-based standards] (remainderl): Likewise.
34033         [non-C99-based standards] (rintl): Likewise.
34034         [non-C99-based standards] (scalbl): Likewise.
34035         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34036         [non-C99-based standards] (FP_*): Do not allow.
34037         [C99-based standards] (FP_*): Change to
34038         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34039         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34040         allow.
34041         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34042         (SIG_ERR): Likewise.
34043         [X/Open-based standards] (SIG_HOLD): Likewise.
34044         (SIG_IGN): Likewise.
34045         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34046         positive value.
34047         (SIGFPE): Likewise.
34048         (SIGILL): Likewise.
34049         (SIGINT): Likewise.
34050         (SIGSEGV): Likewise.
34051         (SIGTER): Likewise.
34052         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34053         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34054         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34055         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34056         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34057         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34058         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34059         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34060         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34061         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34062         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34063         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34064         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34065         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34066         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34067         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34068         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34069         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34070         [X/Open-based standards] (SIGTRAP): Likewise.
34071         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34072         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34073         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34074         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34075         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34076         allow.
34078 2012-05-08  Ian Wienand  <ianw@vmware.com>
34080         [BZ #14080]
34081         * time/tzset.c (__tzset_parse_tz): Update default rules for
34082         daylight time changes in the Energy Policy Act of 2005.
34084 2012-05-09  Andreas Jaeger  <aj@suse.de>
34086         [BZ #13983]
34087         * elf/ldconfig.c (parse_conf): Change string to make clear that
34088         ldconfig only issued a warning if ld.so.conf does not exist.
34090 2012-05-08  David S. Miller  <davem@davemloft.net>
34092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34093         movxtod instead of popping the value on the stack.
34095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34097 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34099         * config.h.in: Add HAVE_ARM_PCS_VFP.
34101 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34103         [BZ #13979]
34104         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34105         checking but the checks are disabled for any reason.
34107 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34109         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34110         and ELF64_R_TYPE with ELFW(R_TYPE).
34112 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34114         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34115         (ulimit): Likewise.
34117         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34118         (settimeofday): Likewise.
34120 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34122         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34123         a struct th_u2 inside the union, and move tu_block/tu_code into
34124         a new th_u3 union of tu_block/tu_code inside of that.  Move
34125         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34126         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34127         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34128         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34129         (th_stuff): Change to th_u1.tu_stuff.
34130         (th_data): Define.
34131         (th_msg): Change to th_u1.th_u2.tu_data.
34133 2012-05-07  David S. Miller  <davem@davemloft.net>
34135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34137         [BZ #14074]
34138         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34139         (SETUP_PIC_REG): Use it.
34140         (SETUP_PIC_REG_LEAF): Use it.
34142 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34144         [BZ #13885]
34145         [BZ #13923]
34146         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34147         USE_AS_EXPM1L.
34148         (EXPL_FINITE): Likewise.
34149         (FLDLOG): Likewise.
34150         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34151         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34152         e_expl.S.
34153         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34154         USE_AS_EXPM1L.
34155         (EXPL_FINITE): Likewise.
34156         (FLDLOG): Likewise.
34157         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34158         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34159         e_expl.S.
34160         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34161         test of -max_value argument for long double.
34162         * sysdeps/i386/fpu/libm-test-ulps: Update.
34163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34165 2012-05-06  David S. Miller  <davem@davemloft.net>
34167         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34168         quad soft-float symbols whose references which are compiler
34169         generated.
34170         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34172 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34174         [BZ #13884]
34175         [BZ #13914]
34176         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34177         USE_AS_EXP10L.
34178         (EXPL_FINITE): Likewise.
34179         (FLDLOG): Likewise.
34180         (c0): Likewise.
34181         (c1): Likewise.
34182         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34183         Adjust comments for base varying.
34184         (__expl_finite): Change alias to EXPL_FINITE.
34185         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34186         e_expl.S.
34187         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34188         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34189         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34190         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34191         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34192         USE_AS_EXP10L.
34193         (EXPL_FINITE): Likewise.
34194         (FLDLOG): Likewise.
34195         (c0): Likewise.
34196         (c1): Likewise.
34197         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34198         Adjust comments for base varying.
34199         (__expl_finite): Change alias to EXPL_FINITE.
34200         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34201         tests for bugs.
34202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34204         [BZ #14064]
34205         * math/libm-test.inc (check_float_internal): Correct ulp
34206         calculation for subnormal expected results.
34208 2012-05-06  Andreas Jaeger  <aj@suse.de>
34210         * Makeconfig (+math-flags): New, set to -frounding-math.
34211         (+cflags): Add +math-flags so that all of glibc gets compiled with
34212         it.
34214         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34216 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34218         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34219         Disable one test.
34221         [BZ #13787]
34222         [BZ #13922]
34223         [BZ #14036]
34224         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34225         (__ieee754_expl): Allow for and saturate large arguments.
34226         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34227         (u_threshold): Likewise.
34228         (__exp): Call __ieee754_exp before checking for overflow and
34229         underflow.
34230         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34231         (u_threshold): Likewise.
34232         (__expf): Call __ieee754_expf before checking for overflow and
34233         underflow.
34234         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34235         (u_threshold): Likewise.
34236         (__expl): Call __ieee754_expl before checking for overflow and
34237         underflow.
34238         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34239         (__ieee754_expl): Allow for and saturate large arguments.
34240         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34241         missing overflow exception on overflow.
34242         (expm1_test): Do not allow missing overflow exception on overflow.
34244         * sysdeps/i386/fpu/e_expl.c: Move to ...
34245         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34246         rather than using inline asm.
34247         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34248         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34249         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34251         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34252         (nice): Likewise.
34253         (poll): Likewise.
34254         (signal): Likewise.
34255         (time): Likewise.
34256         (times): Likewise.
34258 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34260         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34261         sysdeps/unix/common/syscalls.list.
34262         (fchmod): Likewise.
34263         (fchown): Likewise.
34264         (ftruncate): Likewise.
34265         (getrusage): Likewise.
34266         (gettimeofday): Likewise.
34267         (setpgid): Likewise.
34268         (setregid): Likewise.
34269         (setreuid): Likewise.
34270         (sigaction): Likewise.
34271         (truncate): Likewise.
34272         (vhangup): Likewise.
34273         * sysdeps/unix/common/syscalls.list: Remove file.
34274         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34275         * sysdeps/unix/sysv/linux/Implies: Likewise.
34277 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34279         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34281         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34282         Moved to ...
34283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34284         Here.
34285         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34286         to ...
34287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34288         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34289         to ...
34290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34291         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34292         to ...
34293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34294         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34295         to ...
34296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34297         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34298         to ...
34299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34300         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34301         to ...
34302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34303         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34304         to ...
34305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34306         Here.
34307         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34308         to ...
34309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34310         Here.
34311         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34312         to ...
34313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34314         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34315         Moved to ...
34316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34317         Here.
34318         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34319         to ...
34320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34322 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34324         * sysdeps/unix/common/bits/dirent.h: Remove file.
34325         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34327         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34328         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34329         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34330         * sysdeps/unix/bsd/isatty.c: Likewise.
34331         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34332         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34333         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34335 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34337         [BZ #13563]
34338         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34339         long double comparison inaccuracies.
34340         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34343 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
34345         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34346         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34348 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34350         [BZ #14049]
34351         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34352         nonzero digits before rounding a hex value.
34353         * stdlib/tst-strtod.c (tests): Add another test.
34355 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34357         * sysdeps/s390/fpu/libm-test-ulps: Update.
34359 2012-05-03  Andreas Jaeger  <aj@suse.de>
34361         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34362         does not get optimized out.
34363         (malloc_opt_barrier): New.
34365 2012-05-03  Andreas Jaeger  <aj@suse.de>
34366             Roland McGrath  <roland@hack.frob.com>
34368         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34369         intermediate file deletion.
34370         (generated): Add .symlist files.
34372 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
34374         [BZ #13775]
34375         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34376         Redirect under this condition.
34377         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34378         [__USE_GNU] (__dprintf_chk): Not under this condition.
34379         [__USE_GNU] (__vdprintf_chk): Likewise.
34380         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34381         under this condition.
34382         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34383         [__USE_XOPEN2K8] (dprintf): Define under this condition.
34384         [__USE_XOPEN2K8] (vdprintf): Likewise.
34385         [__USE_GNU] (__dprintf_chk): Not under this condition.
34386         [__USE_GNU] (__vdprintf_chk): Likewise.
34387         [__USE_GNU] (dprintf): Likewise.
34388         [__USE_GNU] (vdprintf): Likewise.
34390 2012-05-03  Roland McGrath  <roland@hack.frob.com>
34392         * elf/Makefile (common-generated): Set this instead of generated for
34393         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
34394         $(all-built-dso)-derived lists.
34396 2012-05-03  Andreas Jaeger  <aj@suse.de>
34398         * sysdeps/i386/fpu/libm-test-ulps: Update.
34400         * FAQ: Removed.
34401         * FAQ.in: Likewise.
34402         * scripts/gen-FAQ.pl: Likewise.
34403         * manual/install.texi (Installation): Point to online location of
34404         FAQ.
34405         * Makefile (files-for-dist): Remove FAQ.
34406         (FAQ): Remove.
34408 2012-05-02  Allan McRae  <allan@archlinux.org>
34410         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34411         (LDFLAGS-reldepmod5.so): Likewise.
34412         (LDFLAGS-reldep6mod1.so): Likewise.
34413         (LDFLAGS-reldep6mod4.so): Likewise.
34414         (LDFLAGS-reldep8mod3.so): Likewise.
34415         (LDFLAGS-unload4mod1.so): Likewise.
34416         (LDFLAGS-unload4mod2.so): Likewise.
34417         (LDFLAGS-tst-initorder): Likewise.
34418         (LDFLAGS-tst-initordera2.so): Likewise.
34419         (LDFLAGS-tst-initordera3.so): Likewise.
34420         (LDFLAGS-tst-initordera4.so): Likewise.
34421         (LDFLAGS-tst-initorderb2.so): Likewise.
34422         (LDFLAGS-noload): Likewise.
34423         (LDFLAGS-next): Likewise.
34424         (LDFLAGS-order2mod1.so): Likewise.
34425         (LDFLAGS-order2mod2.so): Likewise.
34426         (LDFLAGS-tst-initorder2): Likewise.
34427         (LDFLAGS-tst-initorder2a.so): Likewise.
34428         (LDFLAGS-tst-initorder2b.so): Likewise.
34429         (LDFLAGS-tst-initorder2c.so): Likewise.
34430         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34432 2012-05-02  David S. Miller  <davem@davemloft.net>
34434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34436 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34438         [BZ #14055]
34439         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34441 2012-05-02  Andreas Jaeger  <aj@suse.de>
34443         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34444         since we manipulate rounding mode.
34445         (CPPFLAGS-test-idouble.c): Likewise.
34446         (CPPFLAGS-test-ifloat.c): Likewise.
34447         (CFLAGS-test-ldouble.c): Likewise.
34448         (CFLAGS-test-double.c): Likewise.
34449         (CFLAGS-test-float.c): Likewise.
34450         (CFLAGS-test-misc.c): Likewise.
34451         (CFLAGS-test-test-fenv.c): Likewise.
34453 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34455         [BZ #2550]
34456         [BZ #2570]
34457         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34458         comparisons to determine direction to adjust input.
34460 2012-05-01  Roland McGrath  <roland@hack.frob.com>
34462         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34463         output to the target.
34465         * scripts/localplt.awk: New file.
34466         * elf/Makefile ($(objpfx)check-localplt): Target removed.
34467         (check-localplt-CFLAGS): Variable removed.
34468         ($(all-built-dso:=.jmprel)): New static pattern rule.
34469         (generated): Add those targets.
34470         (localplt-built-dso): New variable.
34471         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34473         * elf/check-localplt.c: File removed.
34475         * scripts/check-execstack.awk: New file.
34476         * elf/Makefile ($(objpfx)check-execstack): Target removed.
34477         (check-execstack-CFLAGS): Variable removed.
34478         ($(objpfx)check-execstack.h): Target removed.
34479         ($(objpfx)execstack-default): New target.
34480         (generated): Add that instead of check-execstack.h.
34481         ($(all-built-dso:=.phdr)): New static pattern rule.
34482         (generated): Add those targets.
34483         * elf/check-execstack.c: File removed.
34485         * scripts/check-textrel.awk: New file.
34486         * elf/Makefile ($(objpfx)check-textrel): Target removed.
34487         (check-textrel-CFLAGS): Variable removed.
34488         (all-built-dso): Use := to define.o
34489         ($(all-built-dso:=.dyn)): New static pattern rule.
34490         (generated): Add those targets.
34491         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34492         * config.make.in (READELF): New substituted variable.
34493         * elf/check-textrel.c: File removed.
34495 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34497         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34498         allow.
34499         * conform/data/ctype.h-data [C99-based standards] (isblank):
34500         Expect function.
34501         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34502         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34503         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34504         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34505         Specify type.  Require positive value.
34506         (EILSEQ): Likewise.
34507         (ERANGE): Likewise.
34508         [ISO || POSIX] (EILSEQ): Do not expect.
34509         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34510         Specify type.  Require positive value.
34511         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34512         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34513         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34514         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34515         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34516         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34517         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34518         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34519         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34520         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34521         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34522         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34523         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34524         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34525         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34526         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34527         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34528         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34529         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34530         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34531         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34532         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34533         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34534         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34535         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34536         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34537         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34538         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34539         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34540         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34541         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34542         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34543         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34544         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34545         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34546         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34547         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34548         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34549         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34550         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34551         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34552         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34553         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34554         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34555         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34556         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34557         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34558         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34559         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34560         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34561         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34562         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34563         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34564         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34565         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34566         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34567         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34568         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34569         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34570         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34571         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34572         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34573         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34574         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34575         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34576         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34577         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34578         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34579         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34580         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34581         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34582         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34583         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34584         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34585         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34586         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34587         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34588         Require >= 2.
34589         (FLT_ROUNDS): Expect as macro, not constant.
34590         (FLT_MANT_DIG): Use macro-int-constant.
34591         (DBL_MANT_DIG): Likewise.
34592         (LDBL_MANT_DIG): Likewise.
34593         (FLT_DIG): Likewise.
34594         (DBL_DIG): Likewise.
34595         (LDBL_DIG): Likewise.
34596         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
34597         (DBL_MIN_EXP): Likewise.
34598         (LDBL_MIN_EXP): Likewise.
34599         (FLT_MAX_EXP): Use macro-int-constant.
34600         (DBL_MAX_EXP): Likewise.
34601         (LDBL_MAX_EXP): Likewise.
34602         (FLT_MAX_10_EXP): Likewise.
34603         (DBL_MAX_10_EXP): Likewise.
34604         (LDBL_MAX_10_EXP): Likewise.
34605         (FLT_MAX): Use macro-constant.
34606         (DBL_MAX): Likewise.
34607         (LDBL_MAX): Likewise.
34608         (FLT_EPSILON): Use macro-constant.  Give upper bound.
34609         (DBL_EPSILON): Likewise.
34610         (LDBL_EPSILON): Likewise.
34611         (FLT_MIN): Likewise.
34612         (DBL_MIN): Likewise.
34613         (LDBL_MIN): Likewise.
34614         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34615         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34616         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34617         [ISO11] (FLT_HAS_SUBNORM): Likewise.
34618         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34619         [ISO11] (DBL_DECIMAL_DIG): Likewise.
34620         [ISO11] (FLT_DECIMAL_DIG): Likewise.
34621         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34622         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34623         [ISO11] (FLT_TRUE_MIN): Likewise.
34624         [ISO11] (LDBL_TRUE_MIN): Likewise.
34625         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34626         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34627         (SCHAR_MIN): Use macro-int-constant.  Specify type.
34628         (SCHAR_MAX): Likewise.
34629         (UCHAR_MAX): Likewise.
34630         (CHAR_MIN): Likewise.
34631         (CHAR_MAX): Likewise.
34632         (MB_LEN_MAX): Use macro-int-constant.
34633         (SHRT_MIN): Use macro-int-constant.  Specify type.
34634         (SHRT_MAX): Likewise.
34635         (USHRT_MAX): Likewise.
34636         (INT_MAX): Likewise.
34637         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
34638         bound negative.
34639         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34640         bound with "U".
34641         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34642         bound with "L".
34643         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
34644         bound negative.  Suffix upper bound with "L".
34645         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34646         bound with "UL".
34647         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34648         Specify type.
34649         [C99-based standards] (LLONG_MAX): Likewise.
34650         [C99-based standards] (ULLONG_MAX): Likewise.
34651         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
34652         == 0.
34653         [ISO11] (max_align_t): Require type.
34654         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34656         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34657         from $CFLAGS, without defining away __attribute__ calls.
34658         (checknamespace): Use $CFLAGS_namespace.
34660         * conform/conformtest.pl (@keywords): Only include C99 keywords
34661         for standards based on C99 or C11.
34663         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34664         Disable tests.
34665         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34666         UNIX98]: Likewise.
34668         * conform/conformtest.pl: Handle "macro-int-constant" and test for
34669         usability of symbols in #if.
34671         * conform/conformtest.pl: If macro or constant types start
34672         "promoted:", expect the symbol to be of the following type
34673         promoted by the integer promotions.
34675         * conform/conformtest.pl: Parse all "constant" and "macro" lines
34676         in one place.  Also handle "macro-constant".
34678         * conform/conformtest.pl: Only accept expected macro values with
34679         "==".  Parse all "macro" lines in one place.
34680         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34682         * conform/conformtest.pl: Handle braced types on "constant" lines
34683         instead of handling "typed-constant".
34684         * conform/data/signal.h-data: Use "constant" instead of
34685         "typed-constant".
34687         * conform/conformtest.pl: Handle "optional-" at start of lines in
34688         one place rather than duplicating several cases.  Handle each
34689         format of "macro" line with initial "optional-".
34691         * conform/conformtest.pl: Only accept expected constant or
34692         optional-constant values with "==".  Parse all "constant" lines in
34693         one place.  Parse all "optional-constant" lines in one place.
34694         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34695         * conform/data/fmtmsg.h-data: Likewise.
34696         * conform/data/netinet/in.h-data: Likewise.
34697         * conform/data/tar.h-data: Likewise.
34698         * conform/data/limits.h-data: Use "==" form on "constant" and
34699         "optional-constant" lines.
34701         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34702         Use -std=c99 for XOPEN2K.
34703         (@knownproblems): Remove.
34704         (newtoken): Don't check %isknown.
34706         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34707         Do not expect macro.
34708         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34709         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34710         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34711         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34712         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34713         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34714         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34715         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34716         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34717         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34718         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34719         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34720         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34721         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34722         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34723         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34724         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34725         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34726         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34727         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34728         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34729         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34730         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34731         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34732         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34733         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34734         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34735         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34736         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34737         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34738         [XPG3] (acosh): Likewise.
34739         [XPG3] (asinh): Likewise.
34740         [XPG3] (atanh): Likewise.
34741         [XPG3] (cbrt): Likewise.
34742         [XPG3] (expm1): Likewise.
34743         [XPG3] (ilogb): Likewise.
34744         [XPG3] (log1p): Likewise.
34745         [XPG3] (logb): Likewise.
34746         [XPG3] (nextafter): Likewise.
34747         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34748         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34749         [XPG3] (remainder): Likewise.
34750         [XPG3] (rint): Likewise.
34751         [XPG3 || XPG4 || UNIX98] (round): Likewise.
34752         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34753         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34754         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34755         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34756         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34757         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34758         [UNIX98 || XOPEN2K] (scalb): Expect.
34759         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34760         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34761         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34762         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34763         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34764         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34765         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34766         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34767         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34768         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34769         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34770         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34771         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34772         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34773         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34774         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34775         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34776         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34777         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34778         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34779         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34780         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34781         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34782         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34783         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34784         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34785         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34786         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34787         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34788         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34789         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34790         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34791         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34792         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34793         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34794         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34795         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34796         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34797         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34798         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34799         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34800         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34801         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34802         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34803         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34804         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34805         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34806         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34807         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34808         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34809         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34810         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34811         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34812         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34813         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34814         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34815         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34816         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34817         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34818         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34819         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34820         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34821         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34822         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34823         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34824         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34825         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34826         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34827         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34828         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34829         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34830         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34831         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34832         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34833         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34834         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34835         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34836         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34837         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34838         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34839         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34840         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34841         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34842         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34843         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34844         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34845         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34846         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34847         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34848         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34849         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34850         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34851         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34852         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34853         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34854         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34855         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34856         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34857         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34858         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34859         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34860         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34861         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34862         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34863         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34864         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34865         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34866         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34867         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34868         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34869         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34870         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34871         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34872         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34873         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34874         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34875         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34876         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34877         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34878         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34879         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34880         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34881         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34882         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34883         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34884         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34885         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34886         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34887         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34888         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34889         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34890         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34891         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34892         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34893         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34894         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34895         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34897         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34898         _XOPEN_SOURCE_EXTENDED for XPG4.
34900         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34902         * Makeconfig (localtime): Remove variable.
34903         (inst_localtime-file): Likewise.
34905 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34908         Update.
34909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34910         Update.
34911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34912         Update.
34913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34914         Update.
34915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34916         Update.
34917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34918         Update.
34919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34920         Update.
34921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34922         Update.
34923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34924         Update.
34926 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34928         [BZ #2550]
34929         [BZ #2570]
34930         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34931         comparisons to determine direction to adjust input.
34932         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34933         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34934         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34935         Likewise.
34936         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34937         Likewise.
34938         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34939         Likewise.
34940         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34941         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34942         Likewise.
34943         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34944         Likewise.
34945         * math/libm-test.inc (nexttoward_test): Add more tests.
34947 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34949         [BZ #14040]
34950         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34951         in version GLIBC_2.1, not GLIBC_2.0.
34952         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34953         Likewise.
34955 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
34957         [BZ #13942]
34958         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34959         (1 - x) * (1 + x).
34960         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34961         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34962         * math/libm-test.inc (acos_test): Add more tests.
34963         (asin_test): Likewise.
34964         * sysdeps/i386/fpu/libm-test-ulps: Update.
34965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34967         [BZ #14034]
34968         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34969         of square root.
34970         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34971         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34972         * math/libm-test.inc (acos_test_tonearest): New function.
34973         (acos_test_towardzero): Likewise.
34974         (acos_test_downward): Likewise.
34975         (acos_test_upward): Likewise.
34976         (asin_test_tonearest): Likewise.
34977         (asin_test_towardzero): Likewise.
34978         (asin_test_downward): Likewise.
34979         (asin_test_upward): Likewise.
34980         (main): Call the new functions.
34981         * sysdeps/i386/fpu/libm-test-ulps: Update.
34982         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34984         [BZ #13884]
34985         [BZ #13924]
34986         * math/e_exp10.c: Include <float.h>.
34987         (__ieee754_exp10): Handle underflow here rather than multiplying
34988         large negative argument by M_LN10.
34989         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34990         of __ieee754_expf.
34991         * math/e_exp10l.c: Include <float.h>.
34992         (__ieee754_exp10l): Handle underflow here rather than multiplying
34993         large negative argument by M_LN10l.
34994         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
34995         spurious overflow exception on underflow.
34997 2012-04-29  Marek Polacek  <polacek@redhat.com>
34999         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35000         (__fortify_function): New macro.
35001         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35002         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35003         __extern_always_inline.
35004         * libio/bits/stdio2.h: Likewise.
35005         * libio/bits/stdio.h: Likewise.
35006         * string/string.h: Likewise.
35007         * string/bits/string3.h: Likewise.
35008         * include/stdio.h: Likewise.
35009         * stdlib/bits/stdlib.h: Likewise.
35010         * stdlib/stdlib.h: Likewise.
35011         * rt/bits/mqueue2.h: Likewise.
35012         * rt/mqueue.h: Likewise.
35013         * posix/bits/unistd.h: Likewise.
35014         * posix/unistd.h: Likewise.
35015         * io/bits/poll2.h: Likewise.
35016         * io/bits/fcntl2.h: Likewise.
35017         * io/fcntl.h: Likewise.
35018         * io/sys/poll.h: Likewise.
35019         * misc/bits/syslog.h: Likewise.
35020         * misc/bits/syslog-ldbl.h: Likewise.
35021         * misc/sys/syslog.h: Likewise.
35022         * socket/bits/socket2.h: Likewise.
35023         * socket/sys/socket.h: Likewise.
35024         * debug/tst-chk1.c: Likewise.
35025         * wcsmbs/bits/wchar2.h: Likewise.
35026         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35027         * wcsmbs/wchar.h: Likewise.
35029 2012-04-29  Andreas Jaeger  <aj@suse.de>
35031         * Makerules (tests): Remove enable-check-abi protection.
35032         (check-abi-warn): Remove.
35033         (check-abi-%): Remove check-abi-warn usage.
35035         * configure.in: Remove check-abi configure option.
35036         * configure: Regenerated.
35037         * config.make.in (enable-check-abi): Remove.
35039 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35041         [BZ #14033]
35042         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35043         double functions to double *_finite functions.
35045         [BZ #13941]
35046         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35047         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35048         LDBL_MIN_EXP.
35049         * stdio-common/Makefile (tests): Add tst-sprintf3.
35050         * stdio-common/tst-sprintf3.c: New file.
35052         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35053         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35055 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35057         * conform/conformtest.pl: Remove duplicate typed-constant
35058         handling.
35060 2012-04-28  David S. Miller  <davem@davemloft.net>
35062         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35063         (check-abi-%): Remove AWK script prerequisite and explicit
35064         abilist directory.
35065         (check-abi): Rewrite to just diff the symlist with the abilist.
35066         (config-tls, config-abi-config): Delete, no longer used.
35067         (update-abi-%): Remove AWK script and explicit abilist directory.
35068         (update-abi): Rewrite to simply compare and conditionally copy the
35069         symlist and the sysdep abilist file.  Remove update-abi-config
35070         checks.
35071         * abilist/ld.abilist: Remove.
35072         * abilist/libBrokenLocale.abilist: Remove.
35073         * abilist/libanl.abilist: Remove.
35074         * abilist/libcrypt.abilist: Remove.
35075         * abilist/libdl.abilist: Remove.
35076         * abilist/librt.abilist: Remove.
35077         * abilist/libthread_db.abilist: Remove.
35078         * abilist/libutil.abilist: Remove.
35079         * scripts/extract-abilist.awk: Remove.
35080         * scripts/merge-abilist.awk: Remove.
35081         * sysdeps/generic/libcidn.abilist: New file.
35082         * sysdeps/generic/libnss_compat.abilist: New file.
35083         * sysdeps/generic/libnss_db.abilist: New file.
35084         * sysdeps/generic/libnss_dns.abilist: New file.
35085         * sysdeps/generic/libnss_files.abilist: New file.
35086         * sysdeps/generic/libnss_hesiod.abilist: New file.
35087         * sysdeps/generic/libnss_nis.abilist: New file.
35088         * sysdeps/generic/libnss_nisplus.abilist: New file.
35089         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35090         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35091         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35092         file.
35093         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35094         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35095         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35096         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35097         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35098         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35099         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35100         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35101         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35102         file.
35103         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35104         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35105         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35106         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35107         file.
35108         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35109         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35110         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35111         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35112         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35113         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35114         file.
35115         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35116         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35117         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35118         file.
35119         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35120         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35121         New file.
35122         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35123         New file.
35124         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35125         New file.
35126         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35127         New file.
35128         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35129         New file.
35130         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35131         New file.
35132         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35133         New file.
35134         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35135         New file.
35136         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35137         New file.
35138         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35139         New file.
35140         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35141         New file.
35142         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35143         New file.
35144         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35145         New file.
35146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35147         file.
35148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35149         New file.
35150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35151         New file.
35152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35153         file.
35154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35155         New file.
35156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35157         New file.
35158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35159         file.
35160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35161         New file.
35162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35163         New file.
35164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35165         New file.
35166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35167         New file.
35168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35169         New file.
35170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35171         New file.
35172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35174         file.
35175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35176         New file.
35177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35178         file.
35179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35180         file.
35181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35182         file.
35183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35184         file.
35185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35186         file.
35187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35188         New file.
35189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35190         file.
35191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35192         file.
35193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35194         New file.
35195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35196         file.
35197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35199         file.
35200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35201         New file.
35202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35203         file.
35204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35205         file.
35206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35207         file.
35208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35209         file.
35210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35211         file.
35212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35213         New file.
35214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35215         file.
35216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35217         file.
35218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35219         New file.
35220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35221         file.
35222         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35223         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35224         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35225         file.
35226         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35227         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35228         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35229         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35230         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35231         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35232         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35233         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35234         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35235         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35238         file.
35239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35240         New file.
35241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35242         file.
35243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35244         file.
35245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35246         file.
35247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35248         file.
35249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35250         file.
35251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35252         New file.
35253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35254         New file.
35255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35256         file.
35257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35258         New file.
35259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35260         file.
35261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35263         file.
35264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35265         New file.
35266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35267         file.
35268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35269         file.
35270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35271         file.
35272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35273         file.
35274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35275         file.
35276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35277         New file.
35278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35279         New file.
35280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35281         file.
35282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35283         New file.
35284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35285         file.
35287 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35289         * conform/conformtest.pl: Fix typo in handling typed-constant from
35290         allow-header.
35292 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35294         * README: Cut down references to pre-2.6 Linux kernels and
35295         Linuxthreads.  Update lists of configurations in libc and ports
35296         and sort alphabetically.  Say "or newer" with Linux kernel version
35297         requirements.
35299         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35301 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35303         [BZ #887]
35304         * math/libm-test.inc (logb_test_downward): New test to expose
35305         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35306         rounding mode.
35308 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35310         [BZ #14027]
35311         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35312         to be done.
35313         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35314         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35316 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35318         * sysdeps/unix/i386/brk.S: Remove file.
35319         * sysdeps/unix/i386/dl-brk.S: Likewise.
35320         * sysdeps/unix/i386/pipe.S: Likewise.
35321         * sysdeps/unix/i386/sigreturn.S: Likewise.
35322         * sysdeps/unix/i386/syscall.S: Likewise.
35323         * sysdeps/unix/i386/vfork.S: Likewise.
35324         * sysdeps/unix/i386/wait.S: Likewise.
35326         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35327         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35329         * configure.in (arm*-none*): Do not allow without
35330         --enable-hacker-mode.
35331         (netbsd*): Remove case setting base_os.
35332         (386bsd*): Likewise.
35333         (freebsd*): Likewise.
35334         (bsdi*): Likewise.
35335         (osf*): Likewise.
35336         (sunos*): Likewise.
35337         (ultrix*): Likewise.
35338         (newsos*): Likewise.
35339         (dynix*): Likewise.
35340         (*bsd*): Likewise.
35341         (sysv*): Likewise.
35342         (isc*): Likewise.
35343         (esix*): Likewise.
35344         (sco*): Likewise.
35345         (minix*): Likewise.
35346         (irix4*): Likewise.
35347         (irix6*): Likewise.
35348         (solaris[2-9]*): Likewise.
35349         (none): Likewise.
35350         * configure: Regenerated.
35352 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35354         [BZ #11521]
35355         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35356         overflow or cancellation in calculating denominator.
35357         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35358         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35359         down expression to avoid unexpected rounding in newer GCCs.
35360         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35362 2012-04-26  David S. Miller  <davem@davemloft.net>
35364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35365         long-double compat symbols.
35366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35380 2012-04-25  David S. Miller  <davem@davemloft.net>
35382         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35383         HWCAP_* values only after the memory barriers have been defined.
35384         (atomic_full_barrier): Define.
35385         (atomic_read_barrier): Define.
35386         (atomic_write_barrier): Define.
35388 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35390         * shlib-versions: Add libgcc_s version information.
35391         * sysdeps/generic/libgcc_s.h: Remove.
35392         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35393         libgcc_s.h.
35394         * sysdeps/gnu/unwind-resume.c: Likewise.
35395         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35397 2012-04-25  David S. Miller  <davem@davemloft.net>
35399         * sysdeps/unix/sparc/brk.S: Delete.
35400         * sysdeps/unix/sparc/dl-brk.S: Delete.
35401         * sysdeps/unix/sparc/pipe.S: Delete.
35402         * sysdeps/unix/sparc/sysdep.S: Delete.
35403         * sysdeps/unix/sparc/sysdep.h: Delete.
35404         * sysdeps/unix/sparc/vfork.S: Delete.
35405         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35406         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35407         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35408         (ret_ERRVAL, r0, r1, MOVE): Define.
35409         (JUMPTARGET): Remove.
35410         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35411         sysdeps/unix/sparc/sysdep.h
35412         (ENTRY, END): Remove.
35413         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35415 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
35417         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35418         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35419         -DIS_IN_build.
35421         * timezone/README: Update upstream location and email address for
35422         tzcode and tzdata.
35423         * timezone/zdump.c: Update from tzcode 2012b.
35424         * timezone/zic.c: Likewise.
35426         * configure.in (libc_cv_as_needed): Remove test.
35427         * configure: Regenerated.
35428         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35429         conditional definition.
35430         [$(have-as-needed) != yes] (no-as-needed): Likewise.
35431         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35432         * config.make.in (have-as-needed): Remove variable.
35434 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35435             Paul Pluzhnikov  <ppluzhnikov@google.com>
35437         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35438         strings correctly.
35440 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
35442         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35443         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35444         * sysdeps/sh/strlen.S: Likewise.
35446 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35448         * sysdeps/unix/fork.S: Remove file.
35449         * sysdeps/unix/i386/fork.S: Likewise.
35450         * sysdeps/unix/sparc/fork.S: Likewise.
35452         * sysdeps/unix/system.c: Remove file.
35453         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35455         * sysdeps/unix/getegid.S: Remove file.
35456         * sysdeps/unix/geteuid.S: Likewise.
35458 2012-04-24  Roland McGrath  <roland@hack.frob.com>
35460         * scripts/check-localplt.awk: New file.
35461         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35462         of diff.
35463         * scripts/data/localplt-generic.data: Add a comment.
35465         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35466         NODE when __dir_mkfile failed.
35467         * sysdeps/mach/hurd/symlinkat.c: Likewise.
35468         Reported by Ludovic Courtès <ludo@gnu.org>.
35470 2012-04-24  Andreas Jaeger  <aj@suse.de>
35472         * Makerules (common-clean): Also remove gen-as-const-headers
35473         files.
35475 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35477         * Makerules (native-compile): Do not change working directory for
35478         build.  Use $(OUTPUT_OPTION) in command.
35479         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35481 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35483         [BZ #13886]
35484         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35485         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35486         * math/libm-test.inc (floor_test): Add more tests.
35487         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35489 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35491         * sysdeps/unix/getdents.c: Remove file.
35492         * sysdeps/unix/sysv/getdents.c: Likewise.
35493         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35495         * sysdeps/unix/syscalls.list (madvise): Add syscall from
35496         sysdeps/unix/mman/syscalls.list.
35497         (mmap): Likewise.
35498         (mprotect): Likewise.
35499         (msync): Likewise.
35500         (munmap): Likewise.
35501         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35502         * sysdeps/unix/mman/syscalls.list: Remove.
35503         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35505         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35506         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35507         * configure: Regenerated.
35508         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35509         $(libgcc_s_suffix).
35510         * config.make.in (libgcc_s_suffix): Remove variable.
35512 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
35514         * sysdeps/unix/sysv/gethostname.c: Move to ...
35515         * sysdeps/posix/gethostname.c: ... here.
35517         * sysdeps/unix/execve.S: Remove file.
35519         * sysdeps/unix/_exit.S: Remove file.
35521 2012-04-23  Andreas Jaeger  <aj@suse.de>
35523         [BZ #13739]
35524         * manual/Makefile: Remove make dist support, there's no
35525         need for a stand-alone documentation tar ball.
35526         (TEXI2DVI): Define always, it's not in Makeconfig.
35527         (dist): Removed.
35528         (tar-it): Removed.
35529         (edition): Removed.
35530         (glibc-doc-$(edition).tar): Removed
35531         (%.Z): Removed.
35532         (%.gz): Removed.
35533         (%.uu): Removed.
35534         (ETAGS): Remove, it's in Makeconfig.
35535         (move-if-change): Remove, it's in Makeconfig.
35537 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
35539         [BZ #13970]
35540         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35541         (strtod, strtof, strtold, strtol, strtoul, strtoq)
35542         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35543         (strtod_l, strtof_l, strtold_l): Remove __wur.
35544         It is not necessarily an error to ignore strtol's return value.
35545         One can reliably look at the stored endptr to decide whether
35546         the number had valid syntax.
35548 2012-04-21  Andreas Jaeger  <aj@suse.de>
35550         [BZ #13739]
35551         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35553 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
35555         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35556         * sysdeps/unix/sysv/Versions: Remove file.
35558 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
35560         [BZ #13927]
35561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35563 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
35565         [BZ #7064]
35566         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35567         version from __vm86.
35569 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
35571         * sysdeps/unix/common/lxstat.c: Remove file.
35572         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35574         * sysdeps/unix/sysv/Makefile: Remove file.
35576         * sysdeps/unix/sysv/direct.h: Remove file.
35578         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35579         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35580         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35581         * sysdeps/unix/sysv/bits/signum.h: Likewise.
35582         * sysdeps/unix/sysv/bits/stat.h: Likewise.
35583         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35584         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35586         * sysdeps/unix/sysv/setrlimit.c: Remove file.
35588         * sysdeps/unix/xmknod.c: Remove file.
35589         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35591         * sysdeps/unix/sysv/settimeofday.c: Remove file.
35593         * sysdeps/unix/sysv/i386/time.S: Remove file.
35595         * sysdeps/unix/fxstat.c: Remove file.
35596         * sysdeps/unix/xstat.c: Likewise.
35597         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35599         * sysdeps/unix/sysv/sigaction.c: Remove file.
35601         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35602         (sysdep_headers): Remove variable.
35603         [termio.h not in sysdep_headers] (generated): Likewise.
35604         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35605         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35606         * sysdeps/unix/sysv/tcdrain.c: Likewise.
35607         * sysdeps/unix/sysv/tcflow.c: Likewise.
35608         * sysdeps/unix/sysv/tcflush.c: Likewise.
35609         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35610         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35611         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35612         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35613         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35615         * sysdeps/unix/siglist.c: Remove file.
35617         * sysdeps/unix/getppid.S: Remove file.
35619         * sysdeps/unix/mkdir.c: Remove file.
35620         * sysdeps/unix/rmdir.c: Likewise.
35622 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
35624         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35625         ERR_MAX value.
35626         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35627         errlist-compat value.
35629 2012-04-18  David S. Miller  <davem@davemloft.net>
35631         * sysdeps/generic/memcopy.h (reg_char): Delete.
35632         * debug/strcat_chk.c: Use char, not reg_char.
35633         * debug/strcpy_chk.c: Likewise.
35634         * debug/strncat_chk.c: Likewise.
35635         * debug/strncpy_chk.c: Likewise.
35636         * string/memchr.c: Likewise.
35637         * string/memrchr.c: Likewise.
35638         * string/rawmemchr.c: Likewise.
35639         * string/strcat.c: Likewise.
35640         * string/strchr.c: Likewise.
35641         * string/strchrnul.c: Likewise.
35642         * string/strcmp.c: Likewise.
35643         * string/strcpy.c: Likewise.
35644         * string/strncat.c: Likewise.
35645         * string/strncmp.c: Likewise.
35646         * string/strncpy.c: Likewise.
35648 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35650         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35651         __builtin_memcopy is called when src and dest ranges are known to not
35652         overlap.
35654 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35656         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35657         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35658         fwd_align_merge macro call.
35659         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35660         bwd_align_merge macro call.
35661         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35663 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35665         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35666         bwd_align_merge macros.
35667         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35668         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35669         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35671 2012-04-18  David S. Miller  <davem@davemloft.net>
35673         * sysdeps/sparc/sparc64/memcopy.h: Delete.
35675 2012-04-18  Andreas Jaeger  <aj@suse.de>
35677         [BZ# 6794]
35678         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35679         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35680         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35682         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35683         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35684         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35686         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35687         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35688         Adjust for changed ldbl-128 files.
35690         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35691         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35692         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35694 2012-04-17  David S. Miller  <davem@davemloft.net>
35696         * sysdeps/sparc/sparc32/memcopy.h: Delete.
35698 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
35700         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35701         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35702         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35703         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35704         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35705         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35707 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35709         [BZ #6794]
35710         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35711         * math/libm-test.inc: Add ilogb errno and exception tests.
35712         * math/w_ilogb.c: New file: ilogb wrapper.
35713         * math/w_ilogbf.c: New file: ilogbf wrapper.
35714         * math/w_ilogbl.c: New file: ilogbl wrapper.
35715         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35716         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35717         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35718         exception being thrown with 0.0 as argument.
35719         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35720         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35721         exception being thrown with 0.0 as argument.
35722         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35723         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35724         exception being thrown with 0.0 as argument.
35725         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35726         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35727         exception being thrown with 0.0 as argument.
35728         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35729         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35730         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35731         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35732         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35733         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35734         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35735         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35736         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35738 2012-04-17  Petr Baudis  <pasky@ucw.cz>
35740         * include/sys/uio.h: Change __vector to __iovec to avoid clash
35741         with altivec.
35743 2012-04-16  Marek Polacek  <polacek@redhat.com>
35745         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35747 2012-04-16  Marek Polacek  <polacek@redhat.com>
35749         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35750         operands of fdivp instruction.
35752 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35754         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35755         * elf/tst-auditmod3b.c: Likewise.
35756         * elf/tst-auditmod4b.c: Likewise.
35757         * elf/tst-auditmod5b.c: Likewise.
35758         * elf/tst-auditmod6b.c: Likewise.
35759         * elf/tst-auditmod6c.c: Likewise.
35760         * elf/tst-auditmod7b.c: Likewise.
35761         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35762         * sysdeps/x86_64/preconfigure.in: Likewise.
35763         * sysdeps/x86_64/preconfigure: Regenerated.
35765 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35767         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35768         __ILP32__.
35770 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
35772         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35773         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35775 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
35777         [BZ #13973]
35778         * locale/iso-639.def: Fix gl language name. Spotted by
35779         Yaron Shahrabani.
35781 2012-04-12  Roland McGrath  <roland@hack.frob.com>
35783         [BZ #2074]
35784         * libio/libio.h (__io_write_fn): Update comment.
35786 2012-04-12  Petr Baudis  <pasky@ucw.cz>
35788         [BZ #2074]
35789         * stdio.texi (Hook Functions): The user provided writer function
35790         is not allowed to return -1.
35792 2012-04-11  David S. Miller  <davem@davemloft.net>
35794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35796 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
35798         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35799         Add a leading slash to rtkaio.
35801 2012-04-11  Jim Meyering  <meyering@redhat.com>
35803         [BZ #11959]
35804         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35805         It is not necessarily an error to ignore fwrite's return
35806         value.  One can reliably use ferror to test for errors after
35807         the fact.
35809 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35811         * bits/types.h (__snseconds_t): New type.
35812         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35814         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35815         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35816         (__SNSECONDS_T_TYPE): Likewise.
35817         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35818         (__SNSECONDS_T_TYPE): Likewise.
35819         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35820         (__SNSECONDS_T_TYPE): Likewise.
35822 2012-04-10  Andreas Jaeger  <aj@suse.de>
35824         [BZ #2636]
35825         * manual/time.texi (Processor Time): Return type of times is
35826         elapsed real time since an arbitrary point in the past.
35827         (CPU Time): Move CLK_TCK from here...
35828         (Processor Time): ...to here.  Correct description.
35829         * manual/conf.texi (Constants for Sysconf): Correct description of
35830         _SC_CLK_TCK.
35832 2012-04-10  David S. Miller  <davem@davemloft.net>
35834         [BZ #13967]
35835         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35836         where the is a gap between DT_REL(A) and DT_JMPREL.
35838 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35840         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35841         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35842         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35844 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35846         * elf/dl-support.c (_dl_inhibit_cache): New variable.
35847         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35848         (dl_main): Handle --inhibit-cache.
35849         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35850         _dl_inhibit_cache.
35851         * elf/dl-load.c (_dl_map_object): Use it.
35852         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35854 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35856         [BZ #13872]
35857         * sysdeps/i386/fpu/e_powl.S (p78): New object.
35858         (__ieee754_powl): Saturate large exponents rather than testing for
35859         overflow of y*log2(x).
35860         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35861         * math/libm-test.inc (pow_test): Do not permit spurious overflow
35862         exceptions.
35864         [BZ #11521]
35865         * math/s_ctan.c: Include <float.h>.
35866         (__ctan): Avoid internal overflow or cancellation in calculating
35867         denominator.
35868         * math/s_ctanf.c: Likewise.
35869         * math/s_ctanl.c: Likewise.
35870         * math/s_ctanh.c: Likewise.
35871         * math/s_ctanhf.c: Likewise.
35872         * math/s_ctanhl.c: Likewise.
35873         * math/libm-test.inc (ctan_test): Add more tests.
35874         (ctanh_test): Likewise.
35875         * sysdeps/i386/fpu/libm-test-ulps: Update.
35876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35878 2012-04-09  Andreas Jaeger  <aj@suse.de>
35880         [BZ #6894]
35881         * manual/filesys.texi (Directory Entries): Mention that d_namlen
35882         is an optional BSD extension.
35884         [BZ #10254]
35885         * manual/stdio.texi (Opening Streams): Document additional fopen
35886         parameters.
35888 2012-04-09  Roland McGrath  <roland@hack.frob.com>
35890         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35891         %eax without telling the compiler.
35893 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
35895         [BZ # 13963]
35896         * manual/install.texi: Use sourceware.org.
35898 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35900         [BZ #13873]
35901         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35902         (__ieee754_pow): Generate overflow and underflow using huge*huge
35903         and tiny*tiny rather than just returning constant infinity or zero
35904         for large exponents.
35905         * math/libm-test.inc (pow_test): Require overflow exceptions for
35906         applicable cases of large exponents.
35908         [BZ #706]
35909         * sysdeps/i386/fpu/e_pow.S (p10): New object.
35910         (__ieee754_pow): Use iterative multiplication algorithm only for
35911         integer exponents with absolute value below 1024.  Check for odd
35912         integer exponents when using algorithm for real exponents.
35913         * math/libm-test.inc (pow_test): Add more tests.
35914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35916 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
35918         [BZ #13705]
35919         * math/libm-test.inc (exp_test): Do not allow overflow exception
35920         on underflow test.
35922 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
35924         [BZ #13705]
35925         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35926         instead of __kernel_standard_f.
35928 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
35930         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35931         * sysdeps/x86_64/memset_chk.S: Likewise.
35933 2012-04-08  Andreas Jaeger  <aj@suse.de>
35935         [BZ #10153]
35936         * manual/startup.texi (Environment Access): Describe return value
35937         for putenv and setenv.
35939         [BZ #6895]
35940         * manual/filesys.texi (Directory Entries): Add description for
35941         DT_LNK.
35943         [BZ #6890]
35944         * manual/filesys.texi (Directory Entries): Clarify that it's file
35945         system not operating system in the description of DT_UNKNOWN.
35947         [BZ #6578]
35948         * manual/syslog.texi (closelog): Fix reference, it's openlog.
35950 2012-04-08  Stephen Compall  <s11@member.fsf.org>
35952         [BZ #6649]
35953         * manual/llio.texi (Opening and Closing Files): Add cross
35954         reference to explain mode argument.
35956 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
35958         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35959         * sysdeps/x86_64/memset_chk.S: Likewise.
35961 2012-04-07  David S. Miller  <davem@davemloft.net>
35963         * elf/elf.h (R_SPARC_WDISP10): Define.
35964         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35965         R_SPARC_SIZE32.
35966         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35967         R_SPARC_SIZE64 and R_SPARC_H34.
35969 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
35971         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35972         conditions and remove no longer applicable assertion.
35974 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35976         * bits/byteswap.h: Include <features.h>.
35977         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35978         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35980 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35982         * bits/byteswap.h (__bswap_16): Removed.
35983         Include <bits/byteswap-16.h> to get __bswap_16.
35984         * sysdeps/i386/bits/byteswap.h: Likewise.
35985         * sysdeps/s390/bits/byteswap.h: Likewise.
35986         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35987         * bits/byteswap-16.h: New file.
35988         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35989         * sysdeps/s390/bits/byteswap-16.h: Likewise.
35990         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35991         * string/Makefile (headers): Add bits/byteswap-16.h.
35993 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35995         [BZ #13895]
35996         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35997         extra indirection.
35998         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35999         * nss/tst-nss-static.c: New.
36001 2012-04-06  Robert Millan  <rmh@gnu.org>
36003         [BZ #6486]
36004         * manual/llio.texi (File Position Primitive): lseek
36005         refers to WHENCE when it really means OFFSET.
36007 2012-04-06  Andreas Jaeger  <aj@suse.de>
36009         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36010         strncmp declarations.
36012         * abilist/libc.abilist: Add __poll and __ppoll.
36014 2012-04-05  David S. Miller  <davem@davemloft.net>
36016         * scripts/check-local-headers.sh: Accept a host triplet in the
36017         path matched by the exclude regexp.
36019         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36020         definition.
36021         * sysdeps/powerpc/powerpc32/dl-machine.h
36022         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36023         * sysdeps/s390/s390-32/dl-machine.h
36024         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36025         * sysdeps/sparc/sparc32/dl-machine.h
36026         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36027         * sysdeps/sparc/sparc64/dl-machine.h
36028         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36030         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36031         lazy binding.
36032         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36033         undefined symbol errors.
36035         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36036         DT_NEEDED entries.
36038 2012-04-05  Michael Matz  <matz@suse.de>
36040         [BZ #13592]
36041         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36043 2012-04-05  Andreas Jaeger  <aj@suse.de>
36045         [BZ #13908]
36046         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36047         comment.
36049 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36051         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36052         which ROUND is no valid rounding mode.
36054 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36056         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36057         read again.
36058         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36060 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36062         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36063         an exception using FPU order intentionally.
36065 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36067         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36068         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36069         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36070         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36072 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36074         [BZ #12340]
36075         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36076         EINVAL when BUFLEN is too smal.
36078 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36080         [BZ #13553]
36081         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36082         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36084 2012-04-03  Andreas Jaeger  <aj@suse.de>
36086         [BZ #13938]
36087         * manual/setjmp.texi (System V contexts): Fix sentence.
36089         [BZ #13926]
36090         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36091         New macro for this case.
36092         [!__GNUC__] (__bswap_64): New inline function for this case.
36093         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36094         * bits/byteswap.h: Likewise.
36095         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36096         ull, guard with __GLIBC_HAVE_LONG_LONG.
36098         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36099         __GLIBC_HAVE_LONG_LONG.
36101         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36102         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36104 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36106         [BZ #13691]
36107         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36108         inptr and inend, rather than using last_ch.
36110 2012-04-02  David S. Miller  <davem@davemloft.net>
36112         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36113         * stdio-common/printf-parse.h (read_int): Change return type to
36114         'int', return -1 on INT_MAX overflow.
36115         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36116         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36117         overflows INT_MAX.  Check for overflow of in-format-string precision
36118         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36119         SIZE_MAX not INT_MAX for integer overflow test.
36120         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36121         skip the construct in the format string but do not record anything.
36122         * stdio-common/bug22.c: Adjust to test both width/prevision
36123         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36124         explicitly for proper errno values.
36126 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36128         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36129         CHAR_MAX.
36130         * string/test-strcmp.c [! WIDE]: Likewise.
36131         * time/tst-mktime2.c: Likewise for INT_MAX.
36132         * string/test-string.h: #include <sys/param.h> for MIN.
36134         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36135         * sysdeps/i386/init-first.c (init): Likewise.
36136         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36137         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36138         * sysdeps/sh/init-first.c (init): Likewise.
36140 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36142         * po/ru.po: Update from translation team.
36143         * po/vi.po: Likewise.
36145 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36147         * resolv/nss_dns/dns-host.c: Merge copyright years.
36149 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36151         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36152         Optimize memcpy with prefetch if
36153         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36154         src, dst pointers have unequal 16 byte alignments.
36156 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36158         [BZ #13928]
36159         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36160         from a CNAME entry and return the minimum ttl for the query.
36161         (gaih_getanswer_slice): Likewise.
36163 2012-03-30  Jeff Law  <law@redhat.com>
36165         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36166         due to long keys.
36167         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36168         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36170         * resolv/nss_dns/dns-host.c: Update copyright year.
36172 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36174         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36175         requests to save a system call.  Fix check that all bytes are sent.
36177         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36178         comments for sendmmsg.
36180 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36182         [BZ #13691]
36183         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36184         with only 1 character between 0x0041 and 0x01b0.
36185         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36186         * wcsmbs/tst-mbsnrtowcs.c: New file.
36188 2012-03-29  David S. Miller  <davem@davemloft.net>
36190         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36191         small copies by hand.
36193 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36195         [BZ #13761]
36196         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36197         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36198         group memberships.
36200 2012-03-28  David S. Miller  <davem@davemloft.net>
36202         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36203         that branches into memcpy.
36204         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36205         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36206         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36207         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36208         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36209         bits.
36210         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36211         implementation too.
36212         * sysdeps/sparc/mempcpy.S: New file.
36214         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36215         the IFUNC routine in the libc case.
36216         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36218         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36219         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36220         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36221         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36222         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36223         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36224         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36225         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36227         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36228         loop to 256 bytes instead of 64 bytes and fix test signedness.
36230         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36231         * sysdeps/sparc/sparc32/Makefile: rather than here...
36232         * sysdeps/sparc/sparc64/Makefile: and here.
36234 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36236         * malloc/mallocbug.c: Avoid warnings about unused variables.
36238 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36240         [BZ #13760]
36241         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36242         in the right place. Discard and retry query if response is
36243         larger than input buffer size.
36245 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36247         [BZ #369]
36248         [BZ #2678]
36249         [BZ #3866]
36250         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36251         x for large integer exponent.
36252         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36253         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36254         sign of result as needed afterwards.
36255         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36256         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36257         result for underflowing pow the same as for overflow.
36258         (__kernel_standard_l): Handle powl overflow and underflow here
36259         rather than calling __kernel_standard.
36260         * math/libm-test.inc (pow_test): Add more tests.
36262         [BZ #3868]
36263         [BZ #13879]
36264         [BZ #13910]
36265         [BZ #13911]
36266         [BZ #13912]
36267         [BZ #13913]
36268         [BZ #13915]
36269         [BZ #13916]
36270         [BZ #13917]
36271         [BZ #13918]
36272         [BZ #13919]
36273         [BZ #13920]
36274         [BZ #13921]
36275         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36276         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36277         (__kernel_standard_l): New function.
36278         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36279         __kernel_standard.
36280         * math/w_acosl.c (__acosl): Likewise.
36281         * math/w_asinl.c (__asinl): Likewise.
36282         * math/w_atan2l.c (__atan2l): Likewise.
36283         * math/w_atanhl.c (__atanhl): Likewise.
36284         * math/w_coshl.c (__coshl): Likewise.
36285         * math/w_exp10l.c (__exp10l): Likewise.
36286         * math/w_exp2l.c (__exp2l): Likewise.
36287         * math/w_fmodl.c (__fmodl): Likewise.
36288         * math/w_hypotl.c (__hypotl): Likewise.
36289         * math/w_j0l.c (__j0l, __y0l): Likewise.
36290         * math/w_j1l.c (__j1l, __y1l): Likewise.
36291         * math/w_jnl.c (__jnl, __ynl): Likewise.
36292         * math/w_lgammal.c (__lgammal): Likewise.
36293         * math/w_log10l.c (__log10l): Likewise.
36294         * math/w_log2l.c (__log2l): Likewise.
36295         * math/w_logl.c (__logl): Likewise.
36296         * math/w_powl.c (__powl): Likewise.
36297         * math/w_remainderl.c (__remainderl): Likewise.
36298         * math/w_scalbl.c (sysv_scalbl): Likewise.
36299         * math/w_sinhl.c (__sinhl): Likewise.
36300         * math/w_sqrtl.c (__sqrtl): Likewise.
36301         * math/w_tgammal.c (__tgammal): Likewise.
36302         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36303         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36304         * math/libm-test.inc (acos_test): Add more tests.
36305         (acosh_test): Likewise.
36306         (asin_test): Likewise.
36307         (atanh_test): Likewise.
36308         (exp_test): Likewise.
36309         (exp10_test): Likewise.
36310         (exp2_test): Likewise.
36311         (expm1_test): Likewise.
36312         (lgamma_test): Likewise.
36313         (log_test): Likewise.
36314         (log10_test): Likewise.
36315         (log1p_test): Likewise.
36316         (log2_test): Likewise.
36317         (pow_test): Do not allow some spurious overflow exceptions.
36318         (sqrt_test): Add more tests.
36319         (tgamma_test): Likewise.
36320         (y0_test): Likewise.
36321         (y1_test): Likewise.
36322         (yn_test): Likewise.
36324 2012-03-27  Anton Blanchard  <anton@samba.org>
36326         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36327         MAP_HUGETLB.
36328         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36329         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36330         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36332 2012-03-27  David S. Miller  <davem@davemloft.net>
36334         * conform/Makefile: Run run-conformtest.sh using $(BASH).
36336         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36337         have-as-vis3 check.
36339 2012-03-27  Andreas Jaeger  <aj@suse.de>
36341         * sysdeps/x86_64/elf/configure.in: Moved to ...
36342         * sysdeps/x86_64/configure.in: ... here.
36343         * sysdeps/x86_64/elf/start.S: Moved to ...
36344         * sysdeps/x86_64/start.S: ... here.
36345         * sysdeps/x86_64/elf/configure: Delete.
36347         * sysdeps/x86_64/configure.in: Merge contents from
36348         sysdeps/i386/configure.in (without i686 check).
36350         * sysdeps/i386/elf/Versions: Merge into ...
36351         * sysdeps/i386/Versions: ... this.
36352         * sysdeps/i386/elf/Versions: Delete file.
36353         * sysdeps/i386/elf/start.S: Moved to ...
36354         * sysdeps/i386/start.S: ...here.
36355         * sysdeps/i386/elf/configure.in: Merge into...
36356         * sysdeps/i386/configure.in: ...here.
36357         * sysdeps/i386/elf/configure.in: Delete file.
36358         * sysdeps/i386/elf/configure: Delete file.
36360         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36361         * debug/backtracesyms.c: ... here.
36362         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36363         * debug/backtracesymsfd.c: ... here.
36364         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36365         * sysdeps/generic/ifunc-sel.h: ... here.
36367         * sysdeps/unix/i386/start.c: Delete file.
36368         * sysdeps/unix/sparc/start.c: Delete file.
36369         * sysdeps/unix/start.c: Delete file.
36371         * sysdeps/sh/elf/configure.in: Moved to ...
36372         * sysdeps/sh/configure.in: ... here.
36373         * sysdeps/sh/elf/start.S: Moved to ...
36374         * sysdeps/sh/start.S: ... here.
36375         * sysdeps/sh/elf/configure: Delete file.
36377         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36378         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36379         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36380         * sysdeps/powerpc/powerpc64/entry.h: ... here.
36381         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36382         * sysdeps/powerpc/powerpc64/start.S: here.
36383         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36384         * sysdeps/powerpc/powerpc64/Makefile: ... this.
36385         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36386         * sysdeps/powerpc/powerpc64/configure.in: ... this.
36387         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36389         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36390         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36391         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36392         * sysdeps/powerpc/powerpc32/start.S: ... here.
36393         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36394         * sysdeps/powerpc/powerpc32/configure.in: ... this.
36395         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36397         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36398         * sysdeps/powerpc/ifunc-sel.h: ... here.
36399         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36400         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36402         * sysdeps/sparc/elf/configure.in: Moved to ...
36403         * sysdeps/sparc/configure.in: ... here.
36404         * sysdeps/sparc/elf/configure: Delete file.
36405         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36406         * sysdeps/sparc/sparc32/start.S: ... here.
36407         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36408         * sysdeps/sparc/sparc64/start.S: ... here.
36409         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36410         * sysdeps/sparc/sparc32/Makefile: ... this.
36411         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36412         * sysdeps/sparc/sparc64/Makefile: ... this.
36414         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36415         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36416         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36417         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36418         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36419         * sysdeps/s390/s390-32/setjmp.S: ... here.
36420         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36421         * sysdeps/s390/s390-32/configure.in: ... here.
36422         * sysdeps/s390/s390-32/elf/configure: Delete file.
36423         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36424         * sysdeps/s390/s390-32/start.S: ... here.
36426         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36427         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36428         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36429         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36430         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36431         * sysdeps/s390/s390-64/setjmp.S: ... here.
36432         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36433         * sysdeps/s390/s390-64/configure.in: ... here
36434         * sysdeps/s390/s390-64/elf/configure: Delete file.
36435         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36436         * sysdeps/s390/s390-64/start.S: ... here.
36437         * sysdeps/s390/s390-64/elf/configure: Delete.
36439         * configure.in: Remove support for elf directories in sysdeps.
36441         * configure: Regenerated.
36442         * sysdeps/i386/configure: Regenerated.
36443         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36444         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36445         * sysdeps/s390/s390-32/configure: Regenerated.
36446         * sysdeps/s390/s390-64/configure: Regenerated.
36447         * sysdeps/sh/configure: Regenerated.
36448         * sysdeps/sparc/configure: Regenerated.
36449         * sysdeps/x86_64/configure: Regenerated.
36451 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
36453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36455         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36456         denormal result into account.
36458 2012-03-25  Roland McGrath  <roland@hack.frob.com>
36460         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36461         Reported by Allan McRae <allan@archlinux.org>.
36463 2012-03-23  Jeff Law  <law@redhat.com>
36465         * nss/getnssent.c (__nss_getent): Fix typo.
36467 2012-03-23  David S. Miller  <davem@davemloft.net>
36469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36471 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
36473         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36474         to pad to uint64_t for each field.
36475         (dl_tls_index): Replace unsigned long with uint64_t.
36477 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
36478         Paul Pluzhnikov  <ppluzhnikov@google.com>
36480         [BZ #6528]
36481         * grp/Makefile (otherlibs): Don't set it.
36482         * inet/Makefile (otherlibs): Likewise.
36483         * login/Makefile (otherlibs): Likewise.
36484         * nscd/Makefile (otherlibs): Likewise.
36485         * posix/Makefile (otherlibs): Likewise.
36486         * pwd/Makefile (otherlibs): Likewise.
36487         * rt/Makefile (otherlibs): Likewise.
36488         * sunrpc/Makefile (otherlibs): Likewise.
36489         * nss/Makefile (otherlibs): Likewise.
36490         Add libnss_files to routines and static-only-routines.
36491         ($(objpfx)getent): Remove rule.
36492         * resolv/Makefile: Add libnss_dns and libresolv to routines and
36493         static-only-routines.
36495 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36497         [BZ #13892]
36498         * math/s_cexp.c: Include <float.h>.
36499         (__cexp): Handle exp result overflowing not necessarily
36500         overflowing both real and imaginary parts of result.
36501         * math/s_cexpf.c: Likewise.
36502         * math/s_cexpl.c: Likewise.
36503         * math/libm-test.inc (cexp_test): Add more tests.
36504         * sysdeps/i386/fpu/libm-test-ulps: Update.
36505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36507 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36509         * include/link.h (ELFW): New macro.
36510         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36511         Replace ELF64_R_TYPE with ELFW(R_TYPE).
36513 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36515         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36516         with uint64_t.
36518 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36520         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36521         declaration.
36522         (struct La_x32_retval): Likewise.
36524 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36526         * sysdeps/x86_64/preconfigure.in: New file.
36527         * sysdeps/x86_64/preconfigure: New generated file.
36529 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36531         [BZ #13824]
36532         * math/e_exp2l.c: Include <float.h>.
36533         (__ieee754_exp2l): Handle overflow and underflow cases
36534         separately.  Only pass fractional part of argument to
36535         __ieee754_expl.
36536         * math/libm-test.inc (exp2_test): Add more tests.
36538         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36539         negating x to take absolute value.
36540         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36541         Likewise.
36542         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36543         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36544         Likewise.
36545         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36546         computing low part if x was negated.
36547         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36549 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36551         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36552         la_x32_gnu_pltexit.
36553         (pltexit): Cast int_retval to ptrdiff_t.
36554         * elf/tst-auditmod3b.c: Likewise.
36555         * elf/tst-auditmod4b.c: Likewise.
36556         * elf/tst-auditmod5b.c: Likewise.
36557         * elf/tst-auditmod6b.c: Likewise.
36558         * elf/tst-auditmod6c.c: Likewise.
36559         * elf/tst-auditmod7b.c: Likewise.
36561         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36562         and x32_gnu_pltexit.
36564         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36565         __ELF_NATIVE_CLASS.
36566         (La_x32_regs): New macro.
36567         (La_x32_retval): Likewise.
36568         (la_x32_gnu_pltenter): New function prototype.
36569         (la_x32_gnu_pltexit): Likewise.
36571 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
36573         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36574         exponent.
36576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36578         * configure.in (libc_cv_cc_nofma): Check for option to disable
36579         generation of FMA instructions.
36580         * configure: Regenerate.
36581         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36582         * sysdeps/ieee754/dbl-64/Makefile: New file.
36583         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36584         Remove brandred-fma4.
36585         (CFLAGS-brandred-fma4.c): Remove.
36586         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36587         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36588         define.
36589         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36590         define.
36592 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36594         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36595         LLONG_MAX != LONG_MAX.
36596         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36597         (_fitoa_word): Likewise.
36598         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36599         LLONG_MAX != LONG_MAX.
36600         * stdio-common/_itowa.h: Include <_itoa.h>.
36601         (_itowa_word): Use _ITOA_WORD_TYPE on value.
36602         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
36603         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
36604         only if not defined.
36605         (_ITOA_WORD_TYPE): Likewise.
36606         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36607         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36609 2012-03-21  David S. Miller  <davem@davemloft.net>
36611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36613 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36615         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36616         of x86_64 when setting libc_cv_slibdir, libdir and
36617         libc_cv_localedir.
36618         * sysdeps/unix/sysv/linux/configure: Regenerated.
36620 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36622         * manual/lang.texi (Old Varargs): Remove section.
36623         (How Variadic): Update menu.
36624         (va_start): Do not mention varargs.h.
36626 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36627             Joseph Myers  <joseph@codesourcery.com>
36629         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36630         link test.
36631         * configure: Regenerated.
36633 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36635         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36636         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36637         conformtest.pl
36639 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36641         * NOTES: Remove.
36642         * Makefile (files-for-dist): Remove NOTES.
36643         (NOTES): Remove rule.
36644         * README: Don't refer to NOTES.
36645         * manual/creature.texi: Don't include macros.texi.
36646         * manual/intro.texi (creature.texi): Remove comment referring to
36647         NOTES.
36649         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36650         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36651         * configure: Regenerated.
36652         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36653         LIBC_TRY_CC_OPTION.
36654         (libc_cv_as_i686): Likewise.
36655         (libc_cv_cc_avx): Likewise.
36656         (libc_cv_cc_sse2avx): Likewise.
36657         (libc_cv_cc_fma4): Likewise.
36658         (libc_cv_cc_novzeroupper): Likewise.
36659         * sysdeps/i386/configure: Regenerated.
36661         [BZ #13883]
36662         * sysdeps/i386/fpu/s_cexp.S: Remove.
36663         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36664         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36665         * math/libm-test.inc (cexp_test): Add more tests.
36666         * sysdeps/i386/fpu/libm-test-ulps: Update.
36667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36669 2012-03-21  Allan McRae  <allan@archlinux.org>
36671         * timezone/Makefile: Do not install iso3166.tab and zone.tab
36673 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36675         [BZ #13871]
36676         * math/w_exp2.c: Do not include <float.h>.
36677         (o_threshold, u_threshold): Remove.
36678         (__exp2): Calculate result before checking finiteness and calling
36679         __kernel_standard.
36680         * math/w_exp2f.c: Likewise.
36681         * math/w_exp2l.c: Likewise.
36682         * math/libm-test.inc (exp2_test): Require overflow exception for
36683         1e6 input.
36685         [BZ #3866]
36686         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36687         range of signed 64-bit integers before using fistpll.  Remove
36688         checks for whether integers fit in mantissa bits.
36689         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36690         the range of signed 32-bit integers before using fistpl.  Remove
36691         checks for whether integers fit in mantissa bits.
36692         * sysdeps/i386/fpu/e_powl.S (p64): New object.
36693         (__ieee754_powl): Test for y outside the range of signed 64-bit
36694         integers before using fistpll.  Reduce 64-bit values to 63-bit
36695         ones as needed.
36696         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36697         divide-by-zero is raised for zero to large negative powers.
36698         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36699         (__ieee754_powl): Test for y outside the range of signed 64-bit
36700         integers before using fistpll.  Reduce 64-bit values to 63-bit
36701         ones as needed.
36702         * math/libm-test.inc (pow_test): Add more tests.
36704 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36706         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36707         <stdio-common/_itoa.h>.
36708         * debug/segfault.c: Likewise.
36709         * elf/dl-cache.c: Likewise.
36710         * elf/dl-minimal.c: Likewise.
36711         * elf/dl-misc.c: Likewise.
36712         * elf/dl-sysdep.c: Likewise.
36713         * elf/dl-version.c: Likewise.
36714         * elf/rtld.c: Likewise.
36715         * hurd/hurdsock.c: Likewise.
36716         * hurd/lookup-retry.c: Likewise.
36717         * malloc/malloc.c: Likewise.
36718         * malloc/mtrace.c: Likewise.
36719         * nscd/nscd_getgr_r.c: Likewise.
36720         * nscd/nscd_getpw_r.c: Likewise.
36721         * nscd/nscd_getserv_r.c: Likewise.
36722         * posix/getopt_init.c: Likewise.
36723         * posix/wordexp.c: Likewise.
36724         * stdio-common/_itoa.c: Likewise.
36725         * stdio-common/printf_fphex.c: Likewise.
36726         * stdio-common/vfprintf.c: Likewise.
36727         * string/_strerror.c: Likewise.
36728         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36729         * sysdeps/i386/i686/hp-timing.h: Likewise.
36730         * sysdeps/mach/_strerror.c: Likewise.
36731         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36732         * sysdeps/mach/hurd/sethostid.c: Likewise.
36733         * sysdeps/mach/hurd/xmknodat.c: Likewise.
36734         * sysdeps/mach/xpg-strerror.c: Likewise.
36735         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36736         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36737         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36738         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36739         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36740         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36741         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36742         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36743         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36744         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36745         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36746         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36747         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36748         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36749         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36750         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36751         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36752         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36753         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36754         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36755         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36757         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36759         * stdio-common/_itoa.h: Moved to ...
36760         * sysdeps/generic/_itoa.h: Here.
36762         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36764         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36765         instead of "_itoa.h" and "_itowa.h".
36766         * stdio-common/vfprintf.: Likewise.
36768 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36770         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36771         <bits/wordsize.h>.
36772         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36773         (__signbit): Likwise.
36774         (llrintf): Likwise.
36775         (llrint): Likwise.
36777 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36779         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36780         __WORDSIZE != 64.
36782 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
36784         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36785         OVERFLOW_EXCEPTION_OK.
36786         * math/libm-test.inc ("Philosophy"): Update comment about
36787         exception testing.
36788         (OVERFLOW_EXCEPTION): Define.
36789         (OVERFLOW_EXCEPTION_OK): Likewise.
36790         (INVALID_EXCEPTION_OK): Renumber.
36791         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36792         (IGNORE_ZERO_INF_SIGN): Likewise.
36793         (test_exceptions): Handle FE_OVERFLOW.
36794         (exp10_test): Expect overflow exceptions.
36795         (exp2_test): Likewise.
36796         (expm1_test): Likewise.
36797         (nextafter_test): Likewise.
36798         (pow_test): Likewise.
36799         (scalbn_test): Likewise.
36800         (scalbln_test): Likewise.
36802 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36804         * sysdeps/x86_64/bits/atomic.h
36805         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36806         64bit integer.
36807         (atomic_exchange_acq): Likewise.
36808         (__arch_exchange_and_add_body): Likewise.
36809         (__arch_add_body): Likewise.
36810         (atomic_add_negative): Likewise.
36811         (atomic_add_zero): Likewise.
36813 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36815         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36816         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36818 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36820         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36821         Check __x86_64__ instead of __WORDSIZE.
36823 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36825         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36827 2012-03-19  David S. Miller  <davem@davemloft.net>
36829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36831         * sysdeps/sparc/fpu/fenv_private.h: New file.
36832         * sysdeps/sparc/fpu/math_private.h: Use it.
36833         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36834         Remove.
36835         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36836         (libc_feholdexcept_setroundl): Remove.
36837         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36838         Remove.
36839         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36840         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36842 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36844         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36845         int64_t instead of long int.
36846         (INSERT_WORDS64): Likwise.
36848 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36850         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36851         _Unwind_GetCFA return to _Unwind_Ptr first.
36853 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
36855         [BZ #13629]
36856         * math/s_clog.c: Include <float.h>.
36857         (__clog): Scale large or subnormal inputs.
36858         * math/s_clogf.c: Likewise.
36859         * math/s_clogl.c: Likewise.
36860         * math/s_clog10.c: Include <float.h>.
36861         (M_LOG10_2): Define.
36862         (__clog10): Scale large or subnormal inputs.
36863         * math/s_clog10f.c: Likewise.
36864         * math/s_clog10l.c: Likewise.
36865         * math/libm-test.inc (clog_test): Add more tests.
36866         (clog10_test): Likewise.
36867         * sysdeps/i386/fpu/libm-test-ulps: Update.
36868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36870         [BZ #11451]
36871         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36872         x and y.
36873         * math/libm-test.inc (atan2_test): Add another test.
36875         * Makerules (common-objdir-compile): Remove.
36876         * sysdeps/unix/Makefile (config-generated): Do not add
36877         $(unix-generated) to variable.
36878         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36879         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36880         Remove rule.
36881         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36882         Likewise.
36883         [generic bits/local_lim.h] (before-compile): Do not append to
36884         variable.
36885         [generic bits/local_lim.h] (common-generated): Likewise.
36886         [generic sys/param.h] (before-compile): Do not append to variable.
36887         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36888         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36889         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36890         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36891         include.
36892         [generic sys/param.h] (sys/param.h-includes): Remove variable.
36893         [generic sys/param.h] (sys/param.h-includes): Remove rule.
36894         [generic sys/param.h] ($(addprefix
36895         $(common-objpfx),$(sys/param.h-includes))): Likewise.
36896         [generic sys/param.h] (common-generated): Do not append to
36897         variable.
36898         [generic sys/param.h] (sysdep_headers): Likewise.
36899         [generic bits/errno.h] (before-compile): Do not append to
36900         variable.
36901         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36902         rule.
36903         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36904         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36905         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36906         [generic bits/errno.h] (common-generated): Do not append to
36907         variable.
36908         [generic bits/ioctls.h] (before-compile): Do not append to
36909         variable.
36910         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36911         rule.
36912         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36913         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36914         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36915         rule.
36916         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36917         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36918         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36919         [generic bits/ioctls.h] (common-generated): Do not append to
36920         variable.
36921         [generic sys/syscall.h] (syscall.h): Remove variable.
36922         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36923         rule.
36924         [generic sys/syscall.h] (before-compile): Do not append to
36925         variable.
36926         [generic sys/syscall.h] (common-generated): Likewise.
36927         * sysdeps/unix/errnos-tmpl.c: Remove file.
36928         * sysdeps/unix/errnos.awk: Likewise.
36929         * sysdeps/unix/ioctls-tmpl.c: Likewise.
36930         * sysdeps/unix/ioctls.awk: Likewise.
36931         * sysdeps/unix/mk-local_lim.c: Likewise.
36932         * sysdeps/unix/snarf-ioctls: Likewise.
36934 2012-03-19  Richard Henderson  <rth@twiddle.net>
36936         * sysdeps/i386/fpu/fenv_private.h: New file.
36937         * sysdeps/i386/fpu/math_private.h: Use it.
36938         (math_opt_barrier, math_force_eval): Remove.
36939         (libc_feholdexcept_setround_53bit): Remove.
36940         (libc_feupdateenv_53bit): Remove.
36941         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36942         (math_opt_barrier, math_force_eval): Remove.
36943         (libc_feholdexcept): Remove.
36944         (libc_feholdexcept_setround): Remove.
36945         (libc_fetestexcept, libc_fesetenv): Remove.
36946         (libc_feupdateenv_test): Remove.
36947         (libc_feupdateenv, libc_feholdsetround): Remove.
36948         (libc_feresetround): Remove.
36950         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36951         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36953         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36954         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36955         (libc_feupdateenv_testl): New.
36956         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36957         (libc_feupdateenv_testf): New.
36958         (libc_feupdateenv): Use libc_feupdateenv_test.
36959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36960         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36962         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36963         (libc_feholdsetroundf, libc_feholdsetroundl): New.
36964         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36965         (libc_feresetround_noex): New.
36966         (libc_feresetround_noexf): New.
36967         (libc_feresetround_noexl): New.
36968         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36969         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36970         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36971         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36972         SET_RESTORE_ROUND.
36973         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36974         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36975         (__cos): Likewise.
36976         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36977         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36978         SET_RESTORE_ROUND_NOEX.
36979         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36980         SET_RESTORE_ROUND_NOEXF.
36981         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36982         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36983         (libc_feholdsetroundf): New.
36984         (libc_feresetround, libc_feresetroundf): New.
36986         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36987         (libc_feholdexcept_setround_53bit): Convert from macro to function.
36988         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
36990         * sysdeps/generic/math_private.h: Include <fenv.h>.
36991         (default_libc_feholdexcept): New.
36992         (default_libc_feholdexcept_setround): New.
36993         (default_libc_fesetenv, default_libc_feupdateenv): New.
36994         (libc_feholdexcept): Only define if undefined.
36995         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36996         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36997         (libc_feholdexcept_setroundl): Likewise.
36998         (libc_feholdexcept_setround_53bit): Likewise.
36999         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37000         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37001         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37002         (libc_feupdateenv_53bit): Likewise.
37003         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37004         (libc_feholdexcept): Convert from macro to inline function.
37005         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37006         (libc_fesetenv, libc_feupdateenv): Likewise.
37008         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37009         not previously defined.
37010         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37011         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37012         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37013         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37014         * sysdeps/ieee754/flt-32/math_private.h: New file.
37015         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37016         math_private.h below SET_FLOAT_WORD.
37017         (__isnan, __isinf_ns, __finite): Remove.
37018         (__isnanf, __isinf_nsf, __finitef): Remove.
37020 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37024 2012-03-17  David S. Miller  <davem@davemloft.net>
37026         [BZ #6471]
37027         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37028         for 2.16.
37030 2012-03-16  David S. Miller  <davem@davemloft.net>
37032         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37033         warnings.
37035         [BZ #6471]
37036         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37037         properly.
37038         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37039         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37040         sysdep_routines when subdir is sysvipc.
37041         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37042         __getshmlba helper.
37044         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37046 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37048         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37049         [__LP64__].
37051 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37053         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37054         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37055         (__lround): Renamed to ...
37056         (__llround): This.  Replace long int with long long int.
37057         Define lround functions as aliases of llround functions.
37058         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37060 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37062         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37063         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37064         adresses to uintptr_t.  Replace "long int" and "unsigned long
37065         int" with "greg_t" on va_arg.
37067 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37069         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37070         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37072         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37073         Move e_machine check before EI_CLASS check.  Handle x32
37074         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37075         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37076         SKIP_EM_IA_64 and include
37077         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37079         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37080         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37081         (add_system_dir): New macro.
37083         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37084         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37086 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37088         [BZ #2551]
37089         [BZ #2552]
37090         [BZ #2553]
37091         [BZ #2554]
37092         [BZ #2562]
37093         [BZ #2563]
37094         [BZ #2565]
37095         [BZ #2566]
37096         [BZ #2576]
37097         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37098         (y0): Likewise.
37099         * math/w_j0f.c (j0f): Likewise.
37100         (y0f): Likewise.
37101         * math/w_j0l.c (__j0l): Likewise.
37102         (__y0l): Likewise.
37103         * math/w_j1.c (j1): Likewise.
37104         (y1): Likewise.
37105         * math/w_j1f.c (j1f): Likewise.
37106         (y1f): Likewise.
37107         * math/w_j1l.c (__j1l): Likewise.
37108         (__y1l): Likewise.
37109         * math/w_jn.c (jn): Likewise.
37110         (yn): Likewise.
37111         * math/w_jnf.c (jnf): Likewise.
37112         (ynf): Likewise.
37113         * math/w_jnl.c (__jnl): Likewise.
37114         (__ynl): Likewise.
37115         * math/libm-test.inc (j0_test): Add more tests.
37116         (j1_test): Likewise.
37117         (jn_test): Likewise.  Add trailing semicolon to existing test.
37118         (y0_test): Likewise.
37119         (y1_test): Likewise.
37120         * sysdeps/i386/fpu/libm-test-ulps: Update.
37121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37123         [BZ #13851]
37124         [BZ #13854]
37125         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37126         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37127         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37128         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37129         (__tanl): Set errno for infinite argument.
37130         * sysdeps/i386/fpu/mptan.c: Remove.
37131         * sysdeps/i386/fpu/s_tan.S: Likewise.
37132         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37133         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37134         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37135         * math/libm-test.inc (tan_test): Add more tests and enable more
37136         tests for double and long double.
37137         * sysdeps/i386/fpu/libm-test-ulps: Update.
37138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37140 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37142         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37143         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37145 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37147         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37148         * configure.in: Use it for both main tree and add-ons.
37149         * configure: Regenerated.
37151 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37153         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37155 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37157         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37158         in comment.
37160         [BZ #13851]
37161         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37162         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37163         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37164         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37165         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37166         infinite argument.
37167         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37168         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37169         != 0 for prec == 2.
37170         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37171         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37172         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37173         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37174         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37175         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37176         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37177         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37178         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37179         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37180         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37181         * math/libm-test.inc (cos_test): Add more tests and enable more
37182         tests for long double.
37183         (sin_test): Likewise.
37184         (sincos_test): Likewise.
37185         * sysdeps/i386/fpu/libm-test-ulps: Update.
37186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37188 2012-03-16  David S. Miller  <davem@davemloft.net>
37190         * sysdeps/sparc/fpu/math_private.h: New file.
37192 2012-03-15  David S. Miller  <davem@davemloft.net>
37194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37195         file.
37196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37198         file.
37199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37204         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37205         sysdep routines.
37206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37208         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37209         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37211         * sysdeps/sparc/sparc-ifunc.h: New file.
37212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37213         sparc-ifunc.h
37214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37216         Likewise.
37217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37218         Likewise.
37219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37223         Likewise.
37224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37229         Likewise.
37230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37231         Likewise.
37232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37237         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37238         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37239         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37241         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37249         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37250         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37251         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37252         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37253         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37254         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37255         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37257 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37259         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37260         scaling.
37261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37263 2012-03-15  Andreas Jaeger  <aj@suse.de>
37265         [BZ #13852]
37266         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37267         ieee754/flt-32 implementation for sin, cos and sincos.
37268         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37269         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37270         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37271         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37272         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37273         ieee754/flt-32 implementation for tan.
37275         * math/libm-test.inc (cos_test): Enable some large input tests for
37276         float as well
37277         (sin_test): Likewise.
37278         (sincos_test): Likewise.
37279         (tan_test): Add tests for large input.
37281         * sysdeps/i386/fpu/libm-test-ulps: Update.
37283 2012-03-15  Andreas Jaeger  <aj@suse.de>
37285         [BZ #13658]
37286         * math/libm-test.inc (cos_test): Add more test cases.
37287         (sin_test): Likewise.
37288         (sincos_test): Likewise.
37290 2012-03-15  Andreas Jaeger  <aj@suse.de>
37292         [BZ #13837]
37293         * math/libm-test.inc (cos_test): Add a test case for large input
37294         value.
37295         (sin_test): Likewise.
37296         (sincos_test): Likewise.
37298 2012-03-15  Andreas Jaeger  <aj@suse.de>
37299             Joseph Myers  <joseph@codesourcery.com>
37301         [BZ #13658]
37302         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37303         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37304         * sysdeps/i386/fpu/branred.c: Likewise.
37305         * sysdeps/i386/fpu/dosincos.c: Likewise.
37306         * sysdeps/i386/fpu/mpa.c: Likewise.
37307         * sysdeps/i386/fpu/s_cos.S: Likewise.
37308         * sysdeps/i386/fpu/s_sin.S: Likewise.
37309         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37310         * sysdeps/i386/fpu/sincos32.c: Likewise.
37312         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37313         Define.
37314         (libc_feupdateenv_53bit): Define.
37315         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37316         Define.
37317         (libc_feupdateenv_53bit): Define.
37319         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37320         53 bit (without extend i386 double precision).
37322         * math/libm-test.inc (sincos_test): Add tests for large input.
37323         (sin): Likewise.
37324         (cos): Likewise.
37326         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37328 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37332 2012-03-15  David S. Miller  <davem@davemloft.net>
37334         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37335         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37336         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37337         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37348         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37350         file.
37351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37353         file.
37354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37356         file.
37357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37359         file.
37360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37361         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37362         fmin/fmax sysdep routines.
37363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37365 2012-03-14  David S. Miller  <davem@davemloft.net>
37367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37370         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37371         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37372         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37373         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37374         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37377         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37378         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37379         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37385         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37386         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37387         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37388         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37389         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37390         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37391         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37392         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37393         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37394         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37395         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37396         routines.
37397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37398         file.
37399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37401         file.
37402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37404         file.
37405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37407         file.
37408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37410         file.
37411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37413         file.
37414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37415         file.
37416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37417         file.
37418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37419         file.
37420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37421         New file.
37422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37423         file.
37424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37425         file.
37426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37428         file.
37429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37431         file.
37432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37434         file.
37435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37437         VIS3 routines.
37439         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37440         New file.
37442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37444         * sysdeps/sparc/configure.in: New file.
37445         * sysdeps/sparc/configure: Generate.
37446         * configure.in (libc_cv_sparc_as_vis3): Substitute.
37447         * configure: Regenerate.
37448         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37449         * config.make.in (have-as-vis3): New.
37450         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37451         available use -Av9d instead of -Av9a.
37452         * sysdeps/sparc/sparc64/Makefile: Likewise.
37453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37455         New file.
37456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37457         file.
37458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37459         New file.
37460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37461         file.
37462         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37463         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37464         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37465         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37466         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37468         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37469         fzeros/fnegs to load 0x80000000 into a float register instead of
37470         using the stack.
37471         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37473 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37476         bits/syscall.h.
37477         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37478         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37479         ($(inst_includedir)/bits/syscall.h): Remove rule.
37480         ($(objpfx)bits/syscall.d): Include instead of
37481         $(objpfx)syscall-list.d.
37482         (generated): Change syscall-list.h and syscall-list.d to
37483         bits/syscall.h and bits/syscall.d.
37485 2012-03-14  Roland McGrath  <roland@hack.frob.com>
37487         [BZ #13846]
37488         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37490 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37492         [BZ #13841]
37493         * math/s_csqrt.c: Include <float.h>.
37494         (__csqrt): Scale large or subnormal inputs.
37495         * math/s_csqrtf.c: Likewise.
37496         * math/s_csqrtl.c: Likewise.
37497         * math/libm-test.inc (csqrt_test): Add more tests.
37498         * sysdeps/i386/fpu/libm-test-ulps: Update.
37499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37501         [BZ #13840]
37502         * math/libm-test.inc (hypot_test): Add more tests.
37504 2012-03-13  David S. Miller  <davem@davemloft.net>
37506         [BZ #13840]
37507         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37508         double-precision for the calculation instead of scaling.
37510 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
37512         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37513         manipulate bits before adding and subtracting TWO52[sx].
37514         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37515         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37516         Likewise.
37517         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37519 2012-03-13  David S. Miller  <davem@davemloft.net>
37521         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37522         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37523         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37524         rtld-global-offsets.h
37525         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37527         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37528         large parameters.
37530         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37532         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37533         'err' in the ifdef scope in which it is actually used.
37535         * nss/nss_db/db-init.c: Include string.h
37537 2012-03-12  David S. Miller  <davem@davemloft.net>
37539         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37540         masking out of the most significant byte of random value used.
37541         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37542         Fix coding style in previous change.
37544         * sysdeps/unix/sysv/linux/kernel-features.h
37545         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37546         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37547         expression.
37548         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37549         later.
37551 2012-03-11  David S. Miller  <davem@davemloft.net>
37553         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37554         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37555         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37556         for 'resultvar' otherwise things get truncated on 64-bit.
37558         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37559         Fix masking out of the most significant byte of random value used.
37561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37563 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
37565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37567 2012-03-09  David S. Miller  <davem@davemloft.net>
37569         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37570         variables with appropriate CPP guards.
37571         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37572         from the frame pointer, not the stack pointer.  Correct layout
37573         comments.  Fix test on resulting framesize and the management of
37574         the outregs buffer for pltexit.  Preserve floating point return
37575         values across _dl_call_pltexit call.
37576         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37577         framesize and the management of the outregs buffer for pltexit.
37578         Preserve floating point return values across _dl_call_pltexit
37579         call.
37580         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37581         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37582         (la_sparc64_gnu_pltexit): New functions.
37583         (print_exit): Fix format string for return register value.
37585 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
37587         * sunrpc/Makefile (others): Add rpcgen.
37588         ($(objpfx)rpcgen): Remove special build rule and dependency on
37589         libc.
37590         * sunrpc/rpcgen.c: New file.
37592 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
37594         [BZ #13673]
37595         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37596         * stdio-common/bug-vfprintf-nargs.c: Likewise.
37597         * sysdeps/i386/crti.S: Likewise.
37598         * sysdeps/i386/crtn.S: Likewise.
37599         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37600         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37601         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37602         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37603         * sysdeps/sh/crti.S: Likewise.
37604         * sysdeps/sh/crtn.S: Likewise.
37605         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37607         [BZ #13673]
37608         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37609         with URL.
37610         * locale/programs/locfile-kw.gperf: Likewise.
37611         * locale/programs/charmap-kw.h: Regenerated.
37612         * locale/programs/locfile-kw.h: Likewise.
37614         [BZ #13673]
37615         * intl/plural.y: Replace FSF snail mail address with URL.
37616         * intl/plural.c: Regenerated.
37618 2012-03-09  Richard Henderson  <rth@twiddle.net>
37620         * include/math_private.h: Remove file.
37621         * math/math_private.h: Move file ...
37622         * sysdeps/generic/math_private.h: ... here.
37624         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37625         * sysdeps/powerpc/fpu/math_private.h: Likewise.
37626         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37628         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37629         and <math_private.h>.
37630         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37631         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37632         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37633         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37634         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37635         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37636         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37637         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37638         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37639         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37640         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37641         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37642         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37643         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37644         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37645         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37646         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37647         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37648         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37649         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37650         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37651         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37652         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37653         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37654         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37655         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37656         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37657         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37658         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37659         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37660         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37661         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37662         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37663         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37664         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37665         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37666         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37667         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37668         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37669         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37670         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37671         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37672         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37673         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37674         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37675         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37676         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37677         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37678         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37679         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37680         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37681         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37682         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37683         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37684         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37685         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37686         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37687         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37688         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37689         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37690         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37691         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37692         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37693         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37694         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37695         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37696         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37697         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37698         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37699         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37700         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37701         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37702         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37703         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37704         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37705         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37706         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37707         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37708         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37709         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37710         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37711         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37712         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37713         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37714         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37715         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37716         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37717         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37718         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37719         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37720         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37721         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37722         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37723         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37724         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37725         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37726         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37727         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37728         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37729         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37730         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37731         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37732         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37733         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37734         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37735         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37736         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37737         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37738         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37739         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37740         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37741         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37742         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37743         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37744         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37745         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37746         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37747         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37748         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37749         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37750         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37751         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37752         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37753         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37754         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37755         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37756         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37757         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37758         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37759         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37760         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37761         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37762         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37763         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37764         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37765         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37766         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37767         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37768         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37769         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37770         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37771         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37772         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37773         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37774         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37775         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37776         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37777         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37778         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37779         * sysdeps/ieee754/k_standard.c: Likewise.
37780         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37781         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37782         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37783         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37784         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37785         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37786         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37787         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37788         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37789         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37790         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37791         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37792         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37793         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37794         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37795         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37796         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37797         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37798         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37799         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37800         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37801         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37802         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37803         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37804         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37805         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37806         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37807         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37808         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37809         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37810         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37811         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37812         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37813         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37814         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37815         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37816         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37817         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37818         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37819         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37820         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37821         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37822         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37823         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37824         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37825         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37826         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37827         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37828         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37829         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37830         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37831         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37832         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37833         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37834         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37835         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37836         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37837         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37838         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37839         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37840         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37841         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37842         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37843         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37844         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37845         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37846         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37847         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37848         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37849         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37850         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37851         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37852         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37853         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37854         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37855         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37856         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37857         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37858         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37859         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37860         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37861         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37862         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37863         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37864         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37865         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37866         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37867         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37868         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37869         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37870         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37871         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37872         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37873         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37874         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37875         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37876         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37877         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37878         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37879         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37880         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37881         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37882         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37883         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37884         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37885         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37886         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37887         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37888         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37889         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37890         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37891         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37892         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37893         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37894         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37895         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37896         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37897         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37898         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37899         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37900         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37901         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37902         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37903         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37904         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37905         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37906         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37907         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37908         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37909         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37910         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37911         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37912         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37913         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37914         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37915         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37916         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37917         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37918         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37919         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37920         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37921         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37922         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37923         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37924         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37925         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37926         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37927         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37928         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37929         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37930         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37931         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37932         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37933         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37934         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37935         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37936         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37937         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37938         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37939         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37940         * sysdeps/ieee754/s_lib_version.c: Likewise.
37941         * sysdeps/ieee754/s_matherr.c: Likewise.
37942         * sysdeps/ieee754/s_signgam.c: Likewise.
37943         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37944         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37945         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37946         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37947         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37948         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37949         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37950         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37951         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37952         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37953         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37954         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37955         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37956         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37957         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37958         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37959         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37960         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37961         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37962         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37963         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37965 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37967         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37968         * sunrpc/rpc_main.c: Likewise.
37969         * sunrpc/rpc_svcout.c: Likewise.
37971 2012-03-09  David S. Miller  <davem@davemloft.net>
37973         * include/math_private.h: New file.
37975 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37977         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37978         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37979         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37980         from <bits/socket_type.h>.
37981         (enum __socket_type): Don't define here.
37982         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37983         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37984         bits/socket_type.h.
37986         [BZ #13566]
37987         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37988         checking __USE_GNU.
37990         * Makerules ($(inst_includedir)/%.h): New rule.
37991         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37992         (install-others): Remove variable setting.
37993         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37995 2012-03-08  Richard Henderson  <rth@twiddle.net>
37997         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37998         from macro to inline function; merge with the
37999         !__LIBC_INTERNAL_MATH_INLINES version.
38000         (__ieee754_sqrtf): Likewise.
38002         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38003         to inline function.
38004         (__rintf, __floor, __floorf): Likewise.
38006         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38007         macro to inline function.
38008         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38010         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38011         not <math/math_private.h>.
38013 2012-03-08  David S. Miller  <davem@davemloft.net>
38015         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38016         copyright year.
38017         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38019 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38021         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38022         normalization.
38023         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38024         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38026 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38028         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38029         be defined individually, they must be defined as a block.  Define
38030         S for printing a string instead of hidint the different by using a
38031         macro for adding the 'l'.
38032         * stdio-common/tst-fphex-wide.c: Adjust.
38034 2012-03-07  Marek Polacek  <polacek@redhat.com>
38036         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38038 2012-03-08  Marek Polacek  <polacek@redhat.com>
38040         [BZ #13806]
38041         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38042         * stdio-common/tst-fphex.c: Define a few macros to make the
38043         test reusable.  Use them.
38044         * stdio-common/tst-fphex-wide.c: New file.
38046 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38048         [BZ #6911]
38049         * manual/macros.texi (gnusystems): New macro.
38050         (nongnusystems): Likewise.
38051         (gnulinuxhurdsystems): Likewise.
38052         (gnuhurdsystems): Likewise..
38053         (gnulinuxsystems): Likewise.
38054         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38055         variants of the GNU system, not "GNU system".
38056         * manual/conf.texi: Likewise.
38057         * manual/errno.texi: Likewise.  Update example of errno macro
38058         expansion.
38059         * manual/filesys.texi: Likewise.
38060         (getumask): Document as specific to GNU/Hurd.
38061         * manual/install.texi: Likewise.  Reword some references to
38062         GNU/Linux.
38063         * manual/intro.texi: Likewise.
38064         * manual/io.texi: Likewise.
38065         (File Name Portability): Detail which constraints are inapplicable
38066         to all GNU systems and which are only inapplicable to GNU/Hurd.
38067         * manual/job.texi: Likewise.
38068         * manual/llio.texi: Likewise.
38069         (O_NOCTTY): Document as present on GNU/Linux.
38070         * manual/maint.texi: Likewise.
38071         * manual/memory.texi: Likewise.
38072         * manual/pattern.texi: Likewise.
38073         * manual/pipe.texi: Likewise.
38074         * manual/process.texi: Likewise.
38075         * manual/resource.texi: Likewise.
38076         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38077         child on GNU/Hurd.
38078         * manual/setjmp.texi: Likewise.
38079         * manual/signal.texi: Likewise.
38080         * manual/startup.texi: Likewise.
38081         * manual/stdio.texi: Likewise.
38082         * manual/terminal.texi: Likewise.
38083         (ONLCR): Document as POSIX.
38084         (OXTABS): Document availability on GNU/Linux as XTABS.
38085         (ONOEOT): Document availability separately from other bits.
38086         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38087         * manual/time.texi: Likewise.
38088         * manual/users.texi: Likewise.
38089         * INSTALL: Regenerated.
38090         * sysdeps/gnu/errlist.c: Regenerated.
38092         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38093         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38094         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38095         puts.
38096         * configure: Regenerated.
38098 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38100         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38101         default includes instead of AC_HEADER_CHECK.
38102         * sysdeps/i386/configure: Regenerated.
38104         [BZ #10716]
38105         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38106         * math/s_cacoshf.c (__cacoshf): Likewise.
38107         * math/s_cacoshl.c (__cacoshl): Likewise.
38108         * math/s_casinh.c (__casinh): Set signs of result from argument.
38109         * math/s_casinhf.c (__casinhf): Likewise.
38110         * math/s_casinhl.c (__casinhl): Likewise.
38111         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38112         (casinh_test): Add more tests.
38113         * sysdeps/i386/fpu/libm-test-ulps: Update.
38114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38116 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38118         * po/zh_TW.po: Update from translation team.
38120         * login/Makefile (distribute): Remove variable.
38121         * catgets/Makefile: Likewise.
38122         * mach/Makefile: Likewise.
38123         * malloc/Makefile: Likewise.
38124         * misc/Makefile: Likewise.
38125         * iconv/Makefile: Likewise.
38126         * nscd/Makefile: Likewise.
38127         * hurd/Makefile: Likewise.
38128         * manual/Makefile: Likewise.
38129         * locale/Makefile: Likewise.
38130         * intl/Makefile: Likewise.
38131         * conform/Makefile: Likewise.
38132         * nss/Makefile: Likewise.
38133         * time/Makefile: Likewise.
38134         * soft-fp/Makefile: Likewise.
38135         * dirent/Makefile: Likewise.
38136         * gmon/Makefile: Likewise.
38137         * po/Makefile: Likewise.
38138         * rt/Makefile: Likewise.
38139         * socket/Makefile: Likewise.
38140         * math/Makefile: Likewise.
38141         * signal/Makefile: Likewise.
38142         * debug/Makefile: Likewise.
38143         * elf/Makefile: Likewise.
38144         * timezone/Makefile: Likewise.
38145         * stdlib/Makefile: Likewise.
38146         * iconvdata/Makefile: Likewise.
38147         * sunrpc/Makefile: Likewise.
38148         * io/Makefile: Likewise.
38149         * argp/Makefile: Likewise.
38150         * inet/Makefile: Likewise.
38151         * hesiod/Makefile: Likewise.
38152         * grp/Makefile: Likewise.
38153         * csu/Makefile: Likewise.
38154         * wctype/Makefile: Likewise.
38155         * crypt/Makefile: Likewise.
38156         * libio/Makefile: Likewise.
38157         * string/Makefile: Likewise.
38158         * nis/Makefile: Likewise.
38159         * resolv/Makefile: Likewise.
38160         * stdio-common/Makefile: Likewise.
38161         * wcsmbs/Makefile: Likewise.
38162         * dlfcn/Makefile: Likewise.
38163         * posix/Makefile: Likewise.
38165         [BZ #6959]
38166         * timezone/Makefile: Don't install timezone files, just the programs
38167         and scripts.
38169 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38171         * nss/databases.def: Add missing gshadow entry.
38173         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38175 2012-03-06  Marek Polacek  <polacek@redhat.com>
38177         [BZ #13726]
38178         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38179         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38180         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38181         * stdio-common/tst-long-dbl-fphex.c: New file.
38183 2012-03-06  David S. Miller  <davem@davemloft.net>
38185         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38186         (set_obp_int): New function.
38187         (get_obp_int): New function.
38188         (__get_clockfreq_via_dev_openprom): Likewise.
38189         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38190         Avoid unused variable warnings on 'val' and use builtin_expect.
38191         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38192         __builtin_expect.
38193         (INLINE_CLONE_SYSCALL): Likewise.
38195 2012-03-05  David S. Miller  <davem@davemloft.net>
38197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38199 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38203         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38204         only for |x| >= 40.
38205         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38207 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38209         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38210         Replace gettimeofday with __vdso_gettimeofday.
38212         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38213         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38214         __vdso_clock_gettime and __vdso_getcpu.
38216         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38217         time with __vdso_time.
38219 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38221         * manual/lang.texi (size_t): Note types to which size_t may be
38222         equivalent with the GNU C Library, but do not describe when
38223         differences between them are significant.
38225 2012-03-05  Andreas Jaeger  <aj@suse.de>
38227         * sysdeps/i386/fpu/libm-test-ulps: Update.
38229 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38231         [BZ #3976]
38232         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38233         (__ieee754_pow): Save and restore rounding mode and use
38234         round-to-nearest for main computations.
38235         * math/libm-test.inc (pow_test_tonearest): New function.
38236         (pow_test_towardzero): Likewise.
38237         (pow_test_downward): Likewise.
38238         (pow_test_upward): Likewise.
38239         (main): Call the new functions.
38240         * sysdeps/i386/fpu/libm-test-ulps: Update.
38241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38243         [BZ #3976]
38244         * math/libm-test.inc (cosh_test_tonearest): New function.
38245         (cosh_test_towardzero): Likewise.
38246         (cosh_test_downward): Likewise.
38247         (cosh_test_upward): Likewise.
38248         (sinh_test_tonearest): Likewise.
38249         (sinh_test_towardzero): Likewise.
38250         (sinh_test_downward): Likewise.
38251         (sinh_test_upward): Likewise.
38252         (main): Call the new functions.
38253         * sysdeps/i386/fpu/libm-test-ulps: Update.
38254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38256 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38258         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38259         default stack guard is set in last bytes.
38260         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38262 2012-03-05  Kees Cook  <keescook@chromium.org>
38264         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38266         [BZ #13656]
38267         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38268         possibly allocate from heap instead of stack.
38269         * stdio-common/bug-vfprintf-nargs.c: New file.
38270         * stdio-common/Makefile (tests): Add nargs overflow test.
38272 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38276 2012-03-03  Marek Polacek  <polacek@redhat.com>
38278         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38279         * math/math_private.h: Likewise.
38280         * stdlib/tst-strtod.c: Likewise.
38281         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38282         * sysdeps/x86_64/bits/atomic.h: Likewise.
38284 2012-03-02  David S. Miller  <davem@davemloft.net>
38286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38290         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38291         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38292         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38293         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38295 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38297         [BZ #13792]
38298         * manual/examples/README: New file, says the example source files
38299         can be used under GPL>=2.
38300         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38301         line containing just "*/".
38302         * manual/examples/add.c: Add copyright header (GPL>=2).
38303         * manual/examples/argp-ex1.c: Likewise.
38304         * manual/examples/argp-ex2.c: Likewise.
38305         * manual/examples/argp-ex3.c: Likewise.
38306         * manual/examples/argp-ex4.c: Likewise.
38307         * manual/examples/atexit.c: Likewise.
38308         * manual/examples/db.c: Likewise.
38309         * manual/examples/dir.c: Likewise.
38310         * manual/examples/dir2.c: Likewise.
38311         * manual/examples/execinfo.c: Likewise.
38312         * manual/examples/filecli.c: Likewise.
38313         * manual/examples/filesrv.c: Likewise.
38314         * manual/examples/fmtmsgexpl.c: Likewise.
38315         * manual/examples/genpass.c: Likewise.
38316         * manual/examples/inetcli.c: Likewise.
38317         * manual/examples/inetsrv.c: Likewise.
38318         * manual/examples/isockad.c: Likewise.
38319         * manual/examples/longopt.c: Likewise.
38320         * manual/examples/memopen.c: Likewise.
38321         * manual/examples/memstrm.c: Likewise.
38322         * manual/examples/mkfsock.c: Likewise.
38323         * manual/examples/mkisock.c: Likewise.
38324         * manual/examples/mygetpass.c: Likewise.
38325         * manual/examples/pipe.c: Likewise.
38326         * manual/examples/popen.c: Likewise.
38327         * manual/examples/rprintf.c: Likewise.
38328         * manual/examples/search.c: Likewise.
38329         * manual/examples/select.c: Likewise.
38330         * manual/examples/setjmp.c: Likewise.
38331         * manual/examples/sigh1.c: Likewise.
38332         * manual/examples/sigusr.c: Likewise.
38333         * manual/examples/stpcpy.c: Likewise.
38334         * manual/examples/strdupa.c: Likewise.
38335         * manual/examples/strftim.c: Likewise.
38336         * manual/examples/strncat.c: Likewise.
38337         * manual/examples/subopt.c: Likewise.
38338         * manual/examples/swapcontext.c: Likewise.
38339         * manual/examples/termios.c: Likewise.
38340         * manual/examples/testopt.c: Likewise.
38341         * manual/examples/testpass.c: Likewise.
38342         * manual/examples/timeval_subtract.c: Likewise.
38344         [BZ #13792]
38345         * manual/time.texi (Elapsed Time): Move timeval_subtract example
38346         function to ...
38347         * manual/timeval_subtract.c.texi: ... here, new file.
38349 2012-03-02  David S. Miller  <davem@davemloft.net>
38351         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38353 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
38355         [BZ #3976]
38356         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38357         (__sin): Save and restore rounding mode and use round-to-nearest
38358         for all computations.
38359         (__cos): Save and restore rounding mode and use round-to-nearest
38360         for all computations.
38361         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38362         <fenv.h>.
38363         (tan): Save and restore rounding mode and use round-to-nearest for
38364         all computations.
38365         * math/libm-test.inc (cos_test_tonearest): New function.
38366         (cos_test_towardzero): Likewise.
38367         (cos_test_downward): Likewise.
38368         (cos_test_upward): Likewise.
38369         (sin_test_tonearest): Likewise.
38370         (sin_test_towardzero): Likewise.
38371         (sin_test_downward): Likewise.
38372         (sin_test_upward): Likewise.
38373         (tan_test_tonearest): Likewise.
38374         (tan_test_towardzero): Likewise.
38375         (tan_test_downward): Likewise.
38376         (tan_test_upward): Likewise.
38377         (main): Call the new functions.
38378         * sysdeps/i386/fpu/libm-test-ulps: Update.
38379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38381         [BZ #10135]
38382         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38383         small n, then large n, before computing and testing k+n.
38384         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38385         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38386         Likewise.
38387         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38388         Likewise.
38389         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38390         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38391         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38392         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38393         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38394         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38395         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38396         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38397         * math/libm-test.inc (scalbn_test): Add more tests.
38398         (scalbln_test): Likewise.
38400         * manual/filesys.texi (mode_t): Describe constraints on size and
38401         signedness, not exact equivalence to a particular type.
38402         (ino_t): Likewise.
38403         (ino64_t): Likewise.
38404         (dev_t): Likewise.
38405         (nlink_t): Likewise.
38406         (blkcnt_t): Likewise.
38407         (blkcnt64_t): Likewise.
38408         * manual/llio.texi (off_t): Likewise.
38410         [BZ #3976]
38411         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38412         (__ieee754_exp): Save and restore rounding mode and use
38413         round-to-nearest for all computations.
38414         * math/libm-test.inc (exp_test_tonearest): New function.
38415         (exp_test_towardzero): Likewise.
38416         (exp_test_downward): Likewise.
38417         (exp_test_upward): Likewise.
38418         (main): Call the new functions.
38419         * sysdeps/i386/fpu/libm-test-ulps: Update.
38420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38422 2012-03-01  Chris Demetriou  <cgd@google.com>
38424         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38425         have predictable order.
38427 2012-03-01  David S. Miller  <davem@davemloft.net>
38429         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38431         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38432         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38433         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38434         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38436         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38437         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38438         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38440         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38441         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38442         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38443         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38444         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38448         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38449         * sysdeps/sparc/fpu/libm-test-ulps: to here.
38450         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38452         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38453         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38454         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38455         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38456         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38457         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38458         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38459         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38460         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38461         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38462         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38463         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38464         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38465         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38466         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38467         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38468         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38469         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38470         * sysdeps/sparc/elf/configure: Regenerated.
38472 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
38474         * configure.in (AS, LD): Require binutils 2.20 or later.
38475         * configure: Regenerated.
38476         * manual/install.texi (Tools for Compilation): Give binutils 2.20
38477         as required minimum version.
38478         * INSTALL: Regenerated.
38480         [BZ #2541]
38481         [BZ #4108]
38482         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38483         before squaring exponent.
38484         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38485         bottom long double and 27 bits of top long double before squaring
38486         exponent.
38487         * math/libm-test.inc (erfc_test): Add more tests.
38488         * sysdeps/i386/fpu/libm-test-ulps: Update.
38489         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38492 2012-03-01  Kai Tietz  <ktietz@redhat.com>
38494         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38495         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38496         containing bit-fields.
38497         * soft-fp/extended.h (_FP_UNION_E): Likewise.
38498         * soft-fp/single.h (_FP_UNION_S): Likewise.
38499         * soft-fp/double.h (_FP_UNION_D): Likewise.
38501 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38503         [BZ #13786]
38504         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38505         not include ../strcmp.S.
38506         [USE_AS_STRNCASECMP_L]: Likewise.
38507         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38508         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38509         * sysdeps/i386/i686/multiarch/strncase_l-c.c
38510         (__strncasecmp_l_ia32): Define as alias to
38511         __strncasecmp_l_nonascii.
38513         [BZ #5794]
38514         * math/libm-test.inc (expm1_test): Add test for bug 5794.
38515         * sysdeps/i386/fpu/libm-test-ulps: Update.
38516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38518         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38521 2012-02-29  Jeff Law  <law@redhat.com>
38523         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38524         out of bounds read.
38526 2012-02-29  Marek Polacek  <polacek@redhat.com>
38528         [BZ #13706]
38529         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38530         * elf/Makefile: Add rules to run tst-unused-dep.out.
38532 2012-02-28  David S. Miller  <davem@davemloft.net>
38534         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38535         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38536         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38537         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38538         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38539         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38541 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38543         * math/libm-test.inc (llround_test): Move one test from
38544         lround_test.  Use TEST_f_L in moved test.
38545         (lround_test): Move misplaced test to llround_test.  Add testcase
38546         from bug 2561.
38548 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
38550         * sysdeps/x86_64/fpu/e_expf.S: New file.
38551         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38553 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
38555         [BZ #13637]
38556         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38557         of remain_len that may cause incomplete multi-byte character and
38558         false match.
38559         * posix/bug-regex33.c: New file.
38560         * posix/Makefile (tests): Add bug-regex33.
38562 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
38564         * manual/macros.texi: New file.
38565         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38566         * manual/libc.texinfo: Include macros.texi.
38567         * manual/creatute.texi: Likewise.
38568         * manual/install.texi: Likewise.
38569         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38570         @glibcadj{} in references to the GNU C Library.
38571         * manual/charset.texi: Likewise.
38572         * manual/conf.texi: Likewise.
38573         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
38574         when not using those macros.
38575         * manual/creature.texi: Likewise.
38576         * manual/crypt.texi: Likewise.
38577         * manual/errno.texi: Likewise.
38578         * manual/filesys.texi: Likewise.
38579         * manual/header.texi: Likewise.
38580         * manual/install.texi: Likewise.
38581         * manual/intro.texi: Likewise.
38582         * manual/io.texi: Likewise.
38583         * manual/job.texi: Likewise.
38584         * manual/lang.texi: Likewise.
38585         * manual/libc.texiinfo: Likewise.
38586         * manual/llio.texi: Likewise.
38587         * manual/locale.texi: Likewise.
38588         * manual/maint.texi: Likewise.
38589         * manual/math.texi: Likewise.
38590         * manual/memory.texi: Likewise.
38591         * manual/message.texi: Likewise.
38592         * manual/nss.texi: Likewise.
38593         * manual/pattern.texi: Likewise.
38594         * manual/process.texi: Likewise.
38595         * manual/resource.texi: Likewise.
38596         * manual/search.texi: Likewise.
38597         * manual/setjmp.texi: Likewise.
38598         * manual/signal.texi: Likewise.
38599         * manual/socket.texi: Likewise.
38600         * manual/startup.texi: Likewise.
38601         * manual/stdio.texi: Likewise.
38602         * manual/string.texi: Likewise.
38603         * manual/sysinfo.texi: Likewise.
38604         * manual/syslog.texi: Likewise.
38605         * manual/terminal.texi: Likewise.
38606         * manual/time.texi: Likewise.
38607         * manual/users.texi: Likewise.
38608         * INSTALL: Regenerated.
38609         * NOTES: Regenerated.
38610         * sysdeps/gnu/errlist.c: Regenerated.
38612 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
38614         * include/dirent.h: Include <dirstream.h> before
38615         <dirent/dirent.h>.
38617 2012-02-28  David S. Miller  <davem@davemloft.net>
38619         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38620         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38621         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38622         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38624 2012-02-27  David S. Miller  <davem@davemloft.net>
38626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38628         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38629         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38632         frame pointer instead of stack pointer relative arg slot.
38633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38634         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38635         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38637 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
38639         [BZ #3992]
38640         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38642 2012-02-27  David S. Miller  <davem@davemloft.net>
38644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38648         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38649         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38650         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38651         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38653 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38655         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38656         later.  Allow versions 5-9.
38657         * configure: Regenerated.
38658         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38659         required minimum version and 4.6 as recommended version.  Do not
38660         mention bugs in GCC 2.7 and 2.8.
38661         * INSTALL: Regenerated.
38663 2012-02-27  David S. Miller  <davem@davemloft.net>
38665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38669         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38670         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38671         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38672         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38674         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38675         manipulate bits before adding and subtracting TWO112[sx].
38676         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38678 2012-02-27  Roland McGrath  <roland@hack.frob.com>
38680         [BZ #13775]
38681         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38682         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38683         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38684         being in POSIX, because they are in 1003.1-2008.
38686         * rt/tst-aio.c: Include <fcntl.h>.
38687         * rt/tst-aio7.c: Likewise.
38688         * rt/tst-aio64.c: Likewise.
38690         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38692 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38694         * manual/install.texi (--with-headers): Describe headers as
38695         interface headers, not private headers.
38696         (Specific advice for GNU/Linux systems): Describe use of headers
38697         from "make headers_install", not private headers from older
38698         kernels.
38699         * INSTALL: Regenerated.
38700         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38701         Change to 2.6.19.
38702         * sysdeps/unix/sysv/linux/configure: Regenerated.
38704         * manual/llio.texi (fclean): Remove documentation.
38706         * manual/Makefile (libc-texi-generated): New variable.  Include
38707         version.texi.
38708         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38709         $(libc-texi-generated), not duplicated list of files.
38710         (version.texi, stamp-version): New rules.
38711         (realclean): Remove $(libc-texi-generated), not individual files
38712         from that list.  Do not remove dir-add.texinfo.
38713         * manual/libc.texinfo: Comment out uses of edition numbers and
38714         references to printed manual.  Remove last-updated dates.
38715         (EDITION): Comment out.
38716         (ISBN): Likewise.
38717         (VERSION, UPDATED): Remove.
38718         (version.texi): Include.
38720 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
38722         * sysdeps/posix/spawni.c: Include <signal.h>.
38723         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38724         * sysdeps/pthread/aio_fsync.c: Likewise.
38726 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
38728         * conform/Makefile (tests): Run only when not cross-compiling and
38729         when fast-check is not defined.
38731         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38732         * conform/data/limits.h-data: Fixes for POSIX2008.
38733         * conform/run-conformtest.sh: Run all tests.
38734         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38735         headers.
38736         * include/bits/dlfcn.h: Likewise.
38737         * include/langinfo.h: Likewise.
38738         * include/monetary.h: Likewise.
38739         * include/sys/poll.h: Likewise.
38741         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38742         for __USE_GNU.
38743         * posix/spawn.h: Define __need_sigset_t.
38744         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38745         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38746         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
38747         to get sigevent_t only.
38748         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38749         only for __USE_GNU.
38750         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38751         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38752         process_vm_writev only for __USE_GNU.
38753         * termios/termios.h: Declare tcgetsid also for POSIX2008.
38755         * conform/Makefile: For now ignore errors from run-conformtest.
38756         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
38757         POSIX to avoid namespace pollution.  Don't prepend headers.
38758         * conform/data/aio.h-data: Fixes for POSIX testing.
38759         * conform/data/fcntl.h-data: Likewise.
38760         * conform/data/glob.h-data: Likewise.
38761         * conform/data/grp.h-data: Likewise.
38762         * conform/data/pthread.h-data: Likewise.
38763         * conform/data/pwd.h-data: Likewise.
38764         * conform/data/signal.h-data: Likewise.
38765         * conform/data/spawn.h-data: Likewise.
38766         * conform/data/stdio.h-data: Likewise.
38767         * conform/data/stdlib.h-data: Likewise.
38768         * conform/data/stropts.h-data: Likewise.
38769         * conform/data/sys/mman.h-data: Likewise.
38770         * conform/data/sys/stat.h-data: Likewise.
38771         * conform/data/sys/types.h-data: Likewise.
38772         * conform/data/sys/wait.h-data: Likewise.
38773         * conform/data/time.h-data: Likewise.
38774         * conform/data/unistd.h-data: Likewise.
38775         * conform/data/utime.h-data: Likewise.
38777         * io/sys/stat.h: fchmod was always in POSIX.
38778         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38779         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38780         * rt/aio.h: Define __need_timespec before including <time.h>.
38781         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38782         struct.  Add forward declaration of pthread_attr_t and use it in
38783         sigevent.
38784         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38785         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38786         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38787         always remove CLK_TCK definition.
38789 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
38791         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38793 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
38795         * conform/run-conformtest.sh: New file.
38796         * conform/Makefile: Run run-conformtest for tests.
38797         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
38798         support.
38800         * conform/data/uchar.h-data: New file.
38801         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38802         * conform/data/arpa/inet.h-data: Likewise.
38803         * conform/data/assert.h-data: Likewise.
38804         * conform/data/complex.h-data: Likewise.
38805         * conform/data/cpio.h-data: Likewise.
38806         * conform/data/ctype.h-data: Likewise.
38807         * conform/data/dirent.h-data: Likewise.
38808         * conform/data/dlfcn.h-data: Likewise.
38809         * conform/data/errno.h-data: Likewise.
38810         * conform/data/fcntl.h-data: Likewise.
38811         * conform/data/float.h-data: Likewise.
38812         * conform/data/fmtmsg.h-data: Likewise.
38813         * conform/data/fnmatch.h-data: Likewise.
38814         * conform/data/ftw.h-data: Likewise.
38815         * conform/data/glob.h-data: Likewise.
38816         * conform/data/grp.h-data: Likewise.
38817         * conform/data/iconv.h-data: Likewise.
38818         * conform/data/inttypes.h-data: Likewise.
38819         * conform/data/langinfo.h-data: Likewise.
38820         * conform/data/libgen.h-data: Likewise.
38821         * conform/data/limits.h-data: Likewise.
38822         * conform/data/locale.h-data: Likewise.
38823         * conform/data/math.h-data: Likewise.
38824         * conform/data/monetary.h-data: Likewise.
38825         * conform/data/mqueue.h-data: Likewise.
38826         * conform/data/ndbm.h-data: Likewise.
38827         * conform/data/net/if.h-data: Likewise.
38828         * conform/data/netdb.h-data: Likewise.
38829         * conform/data/netinet/in.h-data: Likewise.
38830         * conform/data/nl_types.h-data: Likewise.
38831         * conform/data/poll.h-data: Likewise.
38832         * conform/data/pthread.h-data: Likewise.
38833         * conform/data/pwd.h-data: Likewise.
38834         * conform/data/regex.h-data: Likewise.
38835         * conform/data/sched.h-data: Likewise.
38836         * conform/data/search.h-data: Likewise.
38837         * conform/data/semaphore.h-data: Likewise.
38838         * conform/data/setjmp.h-data: Likewise.
38839         * conform/data/signal.h-data: Likewise.
38840         * conform/data/spawn.h-data: Likewise.
38841         * conform/data/stdarg.h-data: Likewise.
38842         * conform/data/stdio.h-data: Likewise.
38843         * conform/data/stdlib.h-data: Likewise.
38844         * conform/data/string.h-data: Likewise.
38845         * conform/data/strings.h-data: Likewise.
38846         * conform/data/stropts.h-data: Likewise.
38847         * conform/data/sys/ipc.h-data: Likewise.
38848         * conform/data/sys/mman.h-data: Likewise.
38849         * conform/data/sys/msg.h-data: Likewise.
38850         * conform/data/sys/resource.h-data: Likewise.
38851         * conform/data/sys/select.h-data: Likewise.
38852         * conform/data/sys/sem.h-data: Likewise.
38853         * conform/data/sys/shm.h-data: Likewise.
38854         * conform/data/sys/socket.h-data: Likewise.
38855         * conform/data/sys/stat.h-data: Likewise.
38856         * conform/data/sys/statvfs.h-data: Likewise.
38857         * conform/data/sys/time.h-data: Likewise.
38858         * conform/data/sys/timeb.h-data: Likewise.
38859         * conform/data/sys/times.h-data: Likewise.
38860         * conform/data/sys/types.h-data: Likewise.
38861         * conform/data/sys/uio.h-data: Likewise.
38862         * conform/data/sys/un.h-data: Likewise.
38863         * conform/data/sys/utsname.h-data: Likewise.
38864         * conform/data/sys/wait.h-data: Likewise.
38865         * conform/data/syslog.h-data: Likewise.
38866         * conform/data/tar.h-data: Likewise.
38867         * conform/data/termios.h-data: Likewise.
38868         * conform/data/utime.h-data: Likewise.
38869         * conform/data/utmpx.h-data: Likewise.
38870         * conform/data/varargs.h-data: Likewise.
38871         * conform/data/wchar.h-data: Likewise.
38872         * conform/data/wctype.h-data: Likewise.
38873         * conform/data/wordexp.h-data: Likewise.
38875         * include/stropts.h: New file.
38876         * include/uchar.h: New file.
38877         * include/aio.h: Changes to allow conformtest.pl to use the headers.
38878         * include/assert.h: Likewise.
38879         * include/ctype.h: Likewise.
38880         * include/dirent.h: Likewise.
38881         * include/dlfcn.h: Likewise.
38882         * include/fcntl.h: Likewise.
38883         * include/fnmatch.h: Likewise.
38884         * include/glob.h: Likewise.
38885         * include/grp.h: Likewise.
38886         * include/libio.h: Likewise.
38887         * include/locale.h: Likewise.
38888         * include/math.h: Likewise.
38889         * include/net/if.h: Likewise.
38890         * include/netdb.h: Likewise.
38891         * include/netinet/in.h: Likewise.
38892         * include/pthread.h: Likewise.
38893         * include/pwd.h: Likewise.
38894         * include/regex.h: Likewise.
38895         * include/sched.h: Likewise.
38896         * include/search.h: Likewise.
38897         * include/setjmp.h: Likewise.
38898         * include/signal.h: Likewise.
38899         * include/stdio.h: Likewise.
38900         * include/stdlib.h: Likewise.
38901         * include/string.h: Likewise.
38902         * include/sys/cdefs.h: Likewise.
38903         * include/sys/mman.h: Likewise.
38904         * include/sys/msg.h: Likewise.
38905         * include/sys/resource.h: Likewise.
38906         * include/sys/select.h: Likewise.
38907         * include/sys/socket.h: Likewise.
38908         * include/sys/stat.h: Likewise.
38909         * include/sys/statvfs.h: Likewise.
38910         * include/sys/time.h: Likewise.
38911         * include/sys/times.h: Likewise.
38912         * include/sys/uio.h: Likewise.
38913         * include/sys/utsname.h: Likewise.
38914         * include/sys/wait.h: Likewise.
38915         * include/termios.h: Likewise.
38916         * include/time.h: Likewise.
38917         * include/ulimit.h: Likewise.
38918         * include/unistd.h: Likewise.
38919         * include/utime.h: Likewise.
38920         * include/wchar.h: Likewise.
38921         * include/wctype.h: Likewise.
38922         * include/wordexp.h: Likewise.
38924         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38926         * time/time.h: TIME_UTC must be a macro.
38927         Make timespec_get available for ISO C11 only as well.
38929 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
38931         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38932         Reported by Peng Haitao <penght@cn.fujitsu.com>.
38934 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38936         * configure.in: Use -o not -a in test for unsupported multi-arch.
38938 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38940         * manual/texinfo.tex: Update to version 2012-01-19.16.
38942 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38944         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38946 2012-02-24  Roland McGrath  <roland@hack.frob.com>
38948         [BZ #13738]
38949         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38950         * manual/fdl-1.3.texi: New file.
38951         * manual/fdl-1.1.texi: File removed.
38953         [BZ #13738]
38954         * manual/libc.texinfo (FDL_VERSION): New @set.
38955         Use it for mention of FDL in cover text.
38956         (Documentation License): Use it in @include file name.
38958 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38959             Roland McGrath  <roland@hack.frob.com>
38961         [BZ #5461]
38962         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38963         (not LONG_LONG_MAX and LONG_LONG_MIN.
38964         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38965         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
38966         name.
38967         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38969 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38971         [BZ #2547]
38972         [BZ #11365]
38973         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38974         manipulate bits before adding and subtracting TWO23[sx].
38975         * math/libm-test.inc (nearbyint_test): Add more tests.
38977 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38979         [BZ #2548]
38980         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38981         bits before adding and subtracting TWO23[sx].
38982         * math/libm-test.inc (rint_test): Add more tests.
38983         (rint_test_tonearest): Likewise.
38984         (rint_test_towardzero): Likewise.
38985         (rint_test_downward): Likewise.
38986         (rint_test_upward: Likewise.
38988 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38990         [BZ #10110]
38991         * include/stdc-predef.h: New file.  Extracted from features.h.
38992         * include/features.h: Include stdc-predef.h.
38993         * Makefile (headers): Add stdc-predef.h.
38994         * CONFORMANCE (Compiler limitations): Update.
38996 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38998         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39000 2012-02-21  David S. Miller  <davem@davemloft.net>
39002         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39003         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39005 2012-02-20  David S. Miller  <davem@davemloft.net>
39007         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39008         using a normal save/restore sequence, rather than allocating a
39009         dummy stack frame just to store a frame pointer and restore.
39010         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39012 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39014         * manual/install.texi: Fix stray word in line-wrapped comment.
39016 2012-02-20  David S. Miller  <davem@davemloft.net>
39018         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39019         both binutils and gcc support GOTDATA.
39021         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39022         "rd %pc" in the PIC register setup sequences.
39024         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39025         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39026         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39027         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39028         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39029         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39030         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39031         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39032         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39033         (SYSCALL_ERROR_HANDLER): Likewise.
39034         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39035         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39036         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39037         (SYSCALL_ERROR_HANDLER): Likewise.
39039         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39040         (HAVE_GCC_GOTDATA): New.
39041         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39042         relocation support in both binutils and gcc.
39043         * sysdeps/sparc/elf/configure: Regenerate.
39045         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39046         * sysdeps/sparc/sparc32/elf/configure: Delete.
39047         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39048         * sysdeps/sparc/sparc64/elf/configure: Delete.
39049         * sysdeps/sparc/elf/configure.in: New file.
39050         * sysdeps/sparc/elf/configure: Generate.
39052         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39053         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39054         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39055         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39056         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39058 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39060         * manual/install.texi: Do not mention specific glibc version
39061         numbers.
39062         * manual/libc.texinfo (VERSION, UPDATED): Update.
39063         (@copying): Use @copyright{} and range of years.
39065 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39067         [BZ #13695]
39068         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39069         [crti.S not in sysdirs] (generated): Do not append.
39070         [crti.S not in sysdirs] (omit-deps): Likewise.
39071         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39072         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39073         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39074         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39075         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39076         Likewise.
39077         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39078         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39079         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39080         * csu/defs.awk: Remove file.
39081         * sysdeps/generic/initfini.c: Likewise.
39082         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39083         variable.
39084         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39085         Likewise.
39087 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39089         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39090         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39091         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39092         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39093         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39094         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39095         <bits/epoll.h>.
39096         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39097         (__EPOLL_PACKED): Define to empty if not defined by
39098         <bits/epoll.h>.
39099         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39100         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39101         bits/epoll.h.
39103 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39105         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39106         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39107         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39108         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39109         <bits/timerfd.h>.
39110         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39111         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39112         bits/timerfd.h.
39114 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39116         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39117         in C locale.
39118         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39119         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39120         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39123 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39125         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39126         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39128 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39130         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39131         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39132         defined.
39133         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39134         Likewise.
39135         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39136         entry for 2.16.
39138 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39140         * math/w_acos.c: Use non-signaling floating-point comparisons.
39141         * math/w_acosf.c: Likewise.
39142         * math/w_acosh.c: Likewise.
39143         * math/w_acoshf.c: Likewise.
39144         * math/w_acoshl.c: Likewise.
39145         * math/w_acosl.c: Likewise.
39146         * math/w_asin.c: Likewise.
39147         * math/w_asinf.c: Likewise.
39148         * math/w_asinl.c: Likewise.
39149         * math/w_atanh.c: Likewise.
39150         * math/w_atanhf.c: Likewise.
39151         * math/w_atanhl.c: Likewise.
39152         * math/w_exp2.c: Likewise.
39153         * math/w_exp2f.c: Likewise.
39154         * math/w_exp2l.c: Likewise.
39155         * math/w_j0.c: Likewise.
39156         * math/w_j0f.c: Likewise.
39157         * math/w_j0l.c: Likewise.
39158         * math/w_j1.c: Likewise.
39159         * math/w_j1f.c: Likewise.
39160         * math/w_j1l.c: Likewise.
39161         * math/w_jn.c: Likewise.
39162         * math/w_jnf.c: Likewise.
39163         * math/w_log.c: Likewise.
39164         * math/w_log10.c: Likewise.
39165         * math/w_log10f.c: Likewise.
39166         * math/w_log10l.c: Likewise.
39167         * math/w_log2.c: Likewise.
39168         * math/w_log2f.c: Likewise.
39169         * math/w_log2l.c: Likewise.
39170         * math/w_logf.c: Likewise.
39171         * math/w_logl.c: Likewise.
39172         * math/w_sqrt.c: Likewise.
39173         * math/w_sqrtf.c: Likewise.
39174         * math/w_sqrtl.c: Likewise.
39175         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39176         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39177         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39178         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39179         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39181 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39183         [BZ #9739]
39184         * manual/string.texi (strnlen): Use correct parameter name in
39185         equivalent expression.
39187 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39189         [BZ #11174]
39190         * manual/users.texi (seteuid): Consistently use neweuid for
39191         argument name.
39193 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39195         [BZ #13704]
39196         * manual/nss.texi (Services in the NSS configuration): Correct
39197         list of services in example configuration file.
39199 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39201         [BZ #11322]
39202         * manual/arith.texi: Remove statements about negative zero
39203         behaving identically to zero.
39205 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39207         [BZ #5993]
39208         * manual/install.texi: Do not document upgrading from libc5.
39210 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39212         [BZ #4596]
39213         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39215 2012-02-18  David S. Miller  <davem@davemloft.net>
39217         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39218         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39219         %o7 across the call.
39220         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39221         instead.
39222         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39223         SETUP_PIC_REG_LEAF.
39224         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39225         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39226         * sysdeps/sparc/crtn.S: Likewise.
39228 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39230         * aout/Makefile: Remove.
39232 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39234         [BZ #13058]
39235         * manual/examples/argp-ex1.c (main): Format definition in GNU
39236         style.
39237         * manual/examples/argp-ex2.c (main): Likewise.
39238         * manual/examples/argp-ex3.c (main): Likewise.
39239         * manual/examples/argp-ex4.c (main): Likewise.
39240         * manual/examples/longopt.c (main): Use new-style prototype
39241         definition.
39242         * manual/examples/strncat.c (main): Specify return type and use
39243         (void) for arguments.
39244         * manual/examples/subopt.c (main): Use char **argv argument.
39246 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39248         [BZ #5077]
39249         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39250         rounding modes.
39252 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39254         [BZ #6907]
39255         * manual/string.texi (strchr): Change when strchrnul is
39256         recommended.
39258 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39260         [BZ #174]
39261         * manual/locale.texi (setlocale): Document LOCPATH.
39263 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39265         [BZ #10210]
39266         * manual/process.texi (execle): Move @dots{} before last argument.
39268 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39270         [BZ #12047]
39271         * manual/charset.texi (Generic Charset Conversion): Fix typo
39272         (LC_TYPE -> LC_CTYPE).
39274 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39276         [BZ #5805]
39277         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39278         (scalbnf): Likewise.
39279         (scalbnl): Likewise.
39280         (scalbln): Likewise.
39281         (scalblnf): Likewise.
39282         (scalblnl): Likewise.
39283         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39284         (vwarnx): Likewise.
39285         (verr): Likewise.
39286         (verrx): Likewise.
39287         * manual/filesys.texi (telldir): Use braces around return type.
39288         * manual/llio.texi (mmap): Add space after comma.
39289         (mmap64): Likewise.
39290         * manual/math.texi (jn): Use @var{} on parameter names.
39291         (jnf): Likewise.
39292         (jnl): Likewise.
39293         (yn): Likewise.
39294         (ynf): Likewise.
39295         (ynl): Likewise.
39296         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39297         line.
39298         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39299         "...".
39300         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39301         (sched_get_priority_max): Likewise.
39302         * manual/signal.texi (sigvec): Add space after comma.
39303         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39304         names.
39305         (if_indextoname): Likewise.
39306         (if_freenameindex): Likewise.
39307         (sendto): Use ',' instead of '.' in prototype.
39308         * manual/startup.texi (syscall): Use @dots{} instead of literal
39309         "...".
39310         * manual/stdio.texi (__fpending): Separate initial words of
39311         paragraph from @deftypefun line.
39312         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39313         "...".
39314         (vsyslog): Use @var{} on parameter names.
39315         * manual/terminal.texi (stty): Use @var{} on parameter names.
39316         * manual/users.texi (getutmp): Use @var{} on parameter names.
39317         (getutmpx): Likewise.
39319 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39321         [BZ #6884]
39322         * manual/stdio.texi (fopen): Fix typos in description of
39323         ",ccs=STRING".
39325 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39327         [BZ #4026]
39328         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39329         get clock_id definition.
39331 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39333         [BZ #4822]
39334         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39335         (madvise): Cast every argument to void on its own.
39337 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39339         [BZ #9902]
39340         * manual/startup.texi (Exit Status): Fix typo.
39342 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39344         [BZ #10140]
39345         * manual/examples/argp-ex1.c: Include <stdlib.h>.
39346         * manual/examples/argp-ex2.c: Likewise.
39347         * manual/examples/argp-ex3.c: Likewise.
39349 2012-02-16  Richard Henderson  <rth@redhat.com>
39351         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39352         * sysdeps/s390/s390-32/initfini.c: Remove.
39353         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39354         * sysdeps/s390/s390-64/initfini.c: Remove.
39356 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39358         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39359         compiler output for sysdeps/generic/initfini.c.
39360         * sysdeps/sh/elf/initfini.c: Remove file.
39362 2012-02-16  David S. Miller  <davem@davemloft.net>
39364         [BZ #11494]
39365         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39367         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39368         * sysdeps/sparc/crti.S: New file.
39369         * sysdeps/sparc/crtn.S: New file.
39370         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39371         * sysdeps/sparc/sparc64/Makefile: Likewise.
39373 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
39375         [BZ #3335]
39376         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39378 2012-02-15  Roland McGrath  <roland@hack.frob.com>
39380         [BZ #4822]
39381         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39383         * mach/devstream.c (cookie_io_functions_t): Macro removed.
39384         (write, read, close): Likewise.
39385         Patch by Aurelien Jarno <aurelien@aurel32.net>.
39387 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
39389         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39390         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39391         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39392         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39393         <bits/signalfd.h>.
39394         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39395         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39396         bits/signalfd.h.
39398 2012-02-14  Marek Polacek  <polacek@redhat.com>
39400         * sysdeps/x86_64/crti.S: New file.
39401         * sysdeps/x86_64/crtn.S: New file.
39402         * sysdeps/x86_64/elf/initfini.c: Remove file.
39404 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39406         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39407         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39408         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39409         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39410         <bits/inotify.h>.
39411         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39412         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39413         bits/inotify.h.
39415 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39417         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39418         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39419         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39420         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39421         <bits/eventfd.h>.
39422         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39423         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39424         bits/eventfd.h.
39426 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
39428         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39429         __feraiseexcept instead of feraiseexcept.
39431         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39432         nanosleep invocations.
39433         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39434         strings, and add error checking for a nanosleep invocations.
39436 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
39438         Replace FSF snail mail address with URLs, as per GNU coding standards.
39439         Most of the snail mail addresses were wrong anyway, and omitting
39440         them makes the source code easier to maintain.  Almost all of the
39441         changes are to license notices and to locale LC_IDENTIFICATION
39442         addresses, except for this one:
39443         * manual/libc.texinfo: In "Published by", give the FSF's URL,
39444         not its snail mail address.
39446 2012-02-09  Richard Henderson  <rth@twiddle.net>
39448         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39449         of kernel-features.h.
39451         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39453 2012-02-08  Marek Polacek  <polacek@redhat.com>
39455         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39456         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39457         * sysdeps/gnu/_G_config.h: Likewise.
39458         * sysdeps/generic/_G_config.h: Likewise.
39460 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
39462         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39463         tests.
39464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39466         * sysdeps/powerpc/powerpc32/crti.S: New file.
39467         * sysdeps/powerpc/powerpc32/crtn.S: New file.
39468         * sysdeps/powerpc/powerpc64/crti.S: New file.
39469         * sysdeps/powerpc/powerpc64/crtn.S: New file.
39471         * Makeconfig (have-initfini): Don't set.
39472         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39473         * configure.in (nopic_initfini): Don't substitute.
39474         * config.h.in (HAVE_INITFINI): Don't #undef.
39475         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39476         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39478 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
39480         Support crti.S and crtn.S provided directly by architectures.
39481         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39482         [crti.S in sysdirs] (omit-deps): Likewise.
39483         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39484         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39485         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39486         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39487         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39488         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39489         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39490         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39491         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39492         compiler output for sysdeps/generic/initfini.c.
39493         * sysdeps/i386/elf/Makefile: Remove file.
39494         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39496 2012-02-07  Marek Polacek  <polacek@redhat.com>
39498         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39499         * sysdeps/gnu/_G_config.h: Likewise.
39500         * sysdeps/mach/hurd/_G_config.h: Likewise.
39502 2012-02-07  Marek Polacek  <polacek@redhat.com>
39504         * math/Makefile (tests): Add tst-CMPLX2.
39505         * math/tst-CMPLX2.c: New file.
39507 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
39509         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39511         * math/libm-test.inc (jn_test): Add missing L suffix.
39513 2012-02-06  Marek Polacek  <polacek@redhat.com>
39515         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39516         * sysdeps/i386/fpu/e_powf.S: Likewise.
39517         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39518         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39519         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39520         * sysdeps/i386/fpu/e_pow.S: Likewise.
39521         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39522         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39523         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39524         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39525         * sysdeps/i386/fpu/e_log2.S: Likewise.
39526         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39527         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39528         * sysdeps/i386/fpu/e_powl.S: Likewise.
39529         * sysdeps/i386/fpu/s_log1p.S: Likewise.
39530         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39531         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39532         * sysdeps/i386/fpu/e_logl.S: Likewise.
39533         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39534         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39535         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39536         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39537         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39538         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39539         * sysdeps/i386/fpu/e_log.S: Likewise.
39540         * sysdeps/i386/fpu/s_cexp.S: Likewise.
39541         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39542         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39543         * sysdeps/i386/fpu/e_logf.S: Likewise.
39544         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39545         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39546         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39547         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39548         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39549         * sysdeps/i386/fpu/e_log10.S: Likewise.
39550         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39551         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39552         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39553         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39554         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39555         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39556         * sysdeps/i386/asm-syntax.h: Likewise.
39557         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39558         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39559         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39560         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39561         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39562         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39563         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39564         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39565         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39566         * sysdeps/powerpc/sysdep.h: Likewise.
39567         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39568         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39570 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39572         [BZ #411]
39573         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39575 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39577         * sysdeps/i386/sysdep.h: Include <features.h>.
39578         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39579         version.
39581 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
39583         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39584         Define.
39585         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39586         LOAD_PIC_REG_STR.
39588 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39590         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39591         (SETUP_PIC_REG): Use GET_PC_THUNK.
39592         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39593         macro.
39595 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39597         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39598         for non-PIC compilation.
39599         (SETUP_PIC_REG): Add .p2align directive.
39600         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39601         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39602         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39603         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39604         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39605         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39606         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39607         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39608         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39609         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39610         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39611         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39612         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39613         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39614         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39615         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39616         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39617         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39618         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39619         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39620         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39621         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39622         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39623         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39624         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39625         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39626         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39627         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39628         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39629         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39630         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39631         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39632         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39633         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39634         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39635         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39636         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39637         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39638         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39639         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39640         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39642 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39644         * math/tst-CMPLX.c: Include <stdio.h>.
39646 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
39648         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39649         float.
39650         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39651         * sysdeps/sparc/bits/mathdef.h: Likewise.
39653 2012-01-31  Marek Polacek  <polacek@redhat.com>
39655         * libio/libio.h: Don't define _PARAMS.
39656         * locale/programs/config.h: Don't define PARAMS.
39657         * stdlib/strtol_l.c: Likewise.
39658         (__strtol_l): Remove PARAMS from the prototype.
39660 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
39662         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
39663         names.  Just use the correct names.  Remove unnecessary wrapper
39664         functions.
39665         * malloc/arena.c: Likewise.
39666         * malloc/hooks.c: Likewise.
39668         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39669         ARENA_TEST says not to.  Simplify test for creation of a new arena.
39670         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39672 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
39674         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39675         into tail calls.
39676         (update_get_addr): New function.
39677         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39678         GET_ADDR_MODULE parameter.
39680 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39682         * crypt/cert.c: Remove __STDC__ conditionals.
39683         * crypt/crypt-entry.c: Likewise.
39684         * crypt/crypt_util.c: Likewise.
39685         * libio/filedoalloc.c: Likewise.
39686         * libio/fileops.c: Likewise.
39687         * libio/genops.c: Likewise.
39688         * libio/iofclose.c: Likewise.
39689         * libio/iofdopen.c: Likewise.
39690         * libio/iofopen.c: Likewise.
39691         * libio/iofopen64.c: Likewise.
39692         * libio/iogetdelim.c: Likewise.
39693         * libio/iopopen.c: Likewise.
39694         * libio/obprintf.c: Likewise.
39695         * libio/oldfileops.c: Likewise.
39696         * libio/oldiofclose.c: Likewise.
39697         * libio/oldiofdopen.c: Likewise.
39698         * libio/oldiofopen.c: Likewise.
39699         * libio/oldiopopen.c: Likewise.
39700         * libio/wfiledoalloc.c: Likewise.
39701         * libio/wgenops.c: Likewise.
39702         * locale/programs/xmalloc.c: Likewise.
39703         * misc/syslog.c: Likewise.
39704         * stdio-common/xbug.c: Likewise.
39705         * string/memchr.c: Likewise.
39706         * string/memcmp.c: Likewise.
39707         * string/memrchr.c: Likewise.
39708         * string/rawmemchr.c: Likewise.
39709         * sysdeps/posix/getcwd.c: Likewise.
39710         * time/strftime_l.c: Likewise.
39712 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39714         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39715         * config.make.in (config-cflags-sse2avx): Define.
39716         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39717         Fix typo.
39719 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
39721         * scripts/config.guess: Update from upstream config git repository.
39722         * scripts/config.sub: Likewise.
39724 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
39726         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39727         (EM_NUM): Update.
39728         (R_TILEPRO_*, R_TILEGX_*): New macros.
39730         * scripts/firstversions.awk: Fix bug in version range handling.
39732         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39734         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39736         * include/sys/epoll.h: New file.
39737         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39738         libc_hidden_def.
39740 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
39742         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39743         Avoid unnecessary __WORDSIZE == 64 test.
39744         (fmaxf): Use VEX format if possible.
39745         (fmax): Likewise.
39746         (fminf): Likewise.
39747         (fmin): Likewise.
39749         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39750         * math/math_private.h: Remove libc_fegetround* and
39751         libc_fesetround*.
39752         * sysdeps/i386/configure.in: Check for -msse2avx.
39753         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39754         also if SSE2AVX is defined.
39755         Remove libc_fegetround* and libc_fesetround*.
39756         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39757         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
39758         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39759         of HAS_YMM_USABLE.
39760         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39761         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39762         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39763         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39764         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39766         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39768 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39770         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39771         size is not set.
39772         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39774 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
39776         [BZ #13618]
39777         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39778         relocation.
39779         * Makeconfig (libm): Define.
39780         * elf/Makefile: Add rules to build and run tst-relsort1.
39781         * elf/tst-relsort1.c: New file.
39782         * elf/tst-relsort1mod1.c: New file.
39783         * elf/tst-relsort1mod2.c: New file.
39785 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
39787         * math/s_ldexp.c: Remove __STDC__ conditionals.
39788         * math/s_ldexpf.c: Likewise.
39789         * math/s_ldexpl.c: Likewise.
39790         * math/s_nextafter.c: Likewise.
39791         * math/s_nexttowardf.c: Likewise.
39792         * math/s_significand.c: Likewise.
39793         * math/s_significandf.c: Likewise.
39794         * math/s_significandl.c: Likewise.
39795         * math/w_jnl.c: Likewise.
39796         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39797         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39798         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39799         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39800         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39801         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39802         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39803         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39804         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39805         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39806         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39807         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39808         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39809         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39810         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39811         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39812         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39813         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39814         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39815         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39816         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39817         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39818         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39819         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39820         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39821         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39822         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39823         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39824         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39825         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39826         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39827         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39828         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39829         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39830         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39831         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39832         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39833         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39834         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39835         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39836         * sysdeps/ieee754/k_standard.c: Likewise.
39837         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39838         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39839         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39840         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39841         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39842         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39843         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39844         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39845         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39846         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39847         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39848         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39849         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39850         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39851         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39852         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39853         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39854         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39855         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39856         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39857         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39858         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39859         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39860         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39861         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39862         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39863         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39864         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39865         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39866         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39867         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39868         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39869         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39870         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39871         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39872         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39873         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39874         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39875         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39876         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39877         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39878         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39879         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39880         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39881         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39882         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39883         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39884         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39885         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39886         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39887         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39888         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39889         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39890         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39891         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39892         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39893         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39894         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39895         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39896         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39897         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39898         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39899         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39900         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39901         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39902         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39903         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39904         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39905         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39906         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39907         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39908         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39909         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39910         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39911         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39912         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39913         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39914         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39915         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39916         * sysdeps/ieee754/s_matherr.c: Likewise.
39917         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39918         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39919         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39920         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39922 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39924         * crypt/md5.h: Remove __STDC__ conditionals.
39925         * libio/libioP.h: Likewise.
39926         * locale/programs/config.h: Likewise.
39927         * sysdeps/generic/sysdep.h: Likewise.
39928         * sysdeps/i386/asm-syntax.h: Likewise.
39929         * sysdeps/s390/asm-syntax.h: Likewise.
39930         * sysdeps/unix/sysdep.h: Likewise.
39931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39934 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39936         * libio/libio.h: Remove __STDC__ conditionals.
39937         * malloc/obstack.h: Likewise.
39938         * math/complex.h: Likewise.
39939         * math/math.h: Likewise.
39940         * sysdeps/generic/_G_config.h: Likewise.
39941         * sysdeps/gnu/_G_config.h: Likewise.
39942         * sysdeps/mach/hurd/_G_config.h: Likewise.
39943         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39944         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39945         * sysdeps/sparc/bits/mathdef.h: Likewise.
39947 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
39949         [BZ #13583]
39950         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39951         Clean up HAS_* macros.
39952         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39953         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39954         possible.
39955         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39956         HAS_AVX.
39957         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39958         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39959         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39960         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39961         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39963 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
39965         * elf/tst-unique3.cc (gets): Remove declaration.
39966         * elf/tst-unique3lib.cc (gets): Likewise.
39967         * elf/tst-unique3lib2.cc (gets): Likewise.
39968         * elf/tst-unique4.cc (gets): Likewise.
39970 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
39972         * include/stdio.h: Add C++ protection.  Add gets declarations and
39973         definitions.
39974         * debug/tst-chk1.c: Don't declare gets here.
39975         * stdio-common/tst-gets.c: Likewise.
39977 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39979         * posix/glob: Remove directory.
39981 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39983         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39985 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
39987         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39988         of the non-standard EPFNOSUPPORT.
39990 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39992         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39993         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39994         ANYWHERE set to 1 only on KERN_NO_SPACE error.
39996 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
39998         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40000 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40002         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40003         transient errors.
40004         * nscd/grpcache.c (cache_addgr): Likewise.
40005         * nscd/hstcache.c (cache_addhst): Likewise.
40006         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40007         * nscd/pwdcache.c (cache_addpw): Likewise.
40008         * nscd/servicescache.c (cache_addserv): Likewise.
40010 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40012         * malloc/malloc.c: Various cleanups.
40013         * malloc/hooks.c: Likewise.
40015         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40016         * stdlib/bug-fmtmsg1.c: New file.
40018         * stdlib/fmtmsg.c (init): Add missing unlock.
40019         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40021 2012-01-12  Marek Polacek  <polacek@redhat.com>
40023         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40024         and _GNU_SOURCE.
40026 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40028         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40029         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40030         macro to ensure uniqueness of label name.
40031         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40032         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40034 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40036         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40038         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40039         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40040         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40041         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40043 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40045         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40047         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40048         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40049         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40051         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40053         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40054         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40055         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40056         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40058         * math/bits/math-finite.h: Add ldexp support.
40060 2012-01-10  Marek Polacek  <polacek@redhat.com>
40062         * locale/programs/localedef.h (show_archive_content): Add noreturn
40063         attribute.
40065 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40067         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40069 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40071         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40073         * io/Makefile (headers): Add bits/poll2.h.
40075 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40078         typo #include statement.
40080 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40082         * include/sys/cdefs.h: Define __attribute_alloc_size.
40083         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40084         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40085         * elf/pldd.c: Likewise.
40086         * iconv/iconv_charmap.c: Likewise.
40087         * iconv/iconvconfig.c: Likewise.
40088         * iconv/strtab.c: Likewise.
40089         * locale/programs/locale.c: Likewise.
40090         * locale/programs/localedef.h: Likewise.
40091         * locale/programs/simple-hash.c: Likewise.
40092         * nscd/nscd.h: Likewise.
40093         * nss/makedb.c: Likewise.
40094         * sysdeps/generic/ldconfig.h: Likewise.
40095         * locale/programs/localedef.c: Remove xmalloc prototype.
40096         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40098 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40100         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40101         appropriate.
40103 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40105         * math/Makefile (tests): Add tst-CMPLX.
40106         * math/tst-CMPLX.c: New file.
40108         * math/complex.h (CMPLXL): Fix typo.
40110         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40111         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40112         GLIBC_2.16.
40113         * debug/tst-chk1.c: Add poll and ppoll tests.
40114         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40115         * include/sys/poll.h: Add hidden proto for ppoll.
40116         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40117         * sysdeps/mach/hurd/ppoll.c: Likewise.
40118         * io/ppoll.c: Likewise.
40119         * debug/poll_chk.c: New file.
40120         * debug/ppoll_chk.c: New file.
40121         * include/bits/poll2.h: New file.
40122         * io/bits/poll2.h: New file.
40124         [BZ #1350]
40125         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40127         * configure.in: static is always set to yes.  Remove.
40128         * config.make.in: Don't set build-static.
40129         * Makeconfig: Remove use of build-static.
40130         * dlfcn/Makefile: Likewise.
40131         * elf/Makefile: Likewise.
40132         * math/Makefile: Likewise.
40133         * misc/Makefile: Likewise.
40134         * nptl/Makefile: Likewise.
40135         * sysdeps/mach/hurd/Makefile: Likewise.
40137         * configure.in: PWD_P is not used anymore.
40138         * config.make.in: Remove PWD_P entry.
40140         * configure.in: Remove last remnants of RANLIB.
40141         No need to check for signed size_t anymore.
40142         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40143         and IA-64.
40144         Remove __builtin_expect test because we require at least gcc 3.4.
40145         * aclocal.m4: Likewise.
40147         * wcsmbs/mbrtoc16.c: Implement using towc function.
40148         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40149         * wcsmbs/wcsmbsload.c: Likewise.
40150         * iconv/gconv_simple.c: Likewise.
40151         * iconv/gconv_int.h: Likewise.
40152         * iconv/gconv_builtin.h: Likewise.
40153         * iconv/iconv_prog.c: Remove CHAR16 handling.
40155         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40157         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40159         * configure.in: Remove --with-elf and --enable-bounded options.
40160         Dont set base_machine for ia64.  More non-ELF conditions removed.
40161         Remove testing and setting of leading underscore information.
40162         * config.make.in (build-bounded): Set to no.
40163         * config.h.in: Remove NO_UNDERSCORES entry.
40164         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40165         them.
40166         * csu/start.c: Remove !NO_UNDERSCORE code.
40167         * locale/localeinfo.h: Likewise.
40168         * sysdeps/generic/machine-gmon.h: Likewise.
40169         * sysdeps/generic/sysdep.h: Likewise.
40170         * sysdeps/i386/sysdep.h: Likewise.
40171         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40172         * sysdeps/mach/sysdep.h: Likewise.
40173         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40174         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40175         * sysdeps/sh/sysdep.h: Likewise.
40176         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40177         * sysdeps/unix/i386/sysdep.S: Likewise.
40178         * sysdeps/unix/sparc/start.c: Likewise.
40179         * sysdeps/unix/sparc/sysdep.S: Likewise.
40180         * sysdeps/unix/sparc/sysdep.h: Likewise.
40181         * sysdeps/unix/start.c: Likewise.
40182         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40183         * sysdeps/x86_64/sysdep.h: Likewise.
40185 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40187         [BZ #13553]
40188         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40189         for non-gcc.
40190         * argp/argp-fmtstream.h: Use const instead __const.
40191         * argp/argp.h: Likewise.
40192         * assert/assert.h: Likewise.
40193         * bits/fenv.h: Likewise.
40194         * bits/sched.h: Likewise.
40195         * bits/sigset.h: Likewise.
40196         * bits/sigthread.h: Likewise.
40197         * catgets/nl_types.h: Likewise.
40198         * conform/data/pthread.h-data: Likewise.
40199         * crypt/crypt-private.h: Likewise.
40200         * crypt/crypt.h: Likewise.
40201         * crypt/crypt_util.c: Likewise.
40202         * ctype/ctype.h: Likewise.
40203         * debug/execinfo.h: Likewise.
40204         * debug/mbsnrtowcs_chk.c: Likewise.
40205         * debug/mbsrtowcs_chk.c: Likewise.
40206         * debug/wcsnrtombs_chk.c: Likewise.
40207         * debug/wcsrtombs_chk.c: Likewise.
40208         * debug/wcstombs_chk.c: Likewise.
40209         * dirent/dirent.h: Likewise.
40210         * dlfcn/dlfcn.h: Likewise.
40211         * elf/neededtest4.c: Likewise.
40212         * grp/grp.h: Likewise.
40213         * gshadow/gshadow.h: Likewise.
40214         * iconv/gconv.h: Likewise.
40215         * iconv/gconv_int.h: Likewise.
40216         * iconv/gconv_simple.c: Likewise.
40217         * iconv/iconv.h: Likewise.
40218         * iconv/loop.c: Likewise.
40219         * iconv/skeleton.c: Likewise.
40220         * include/aio.h: Likewise.
40221         * include/aliases.h: Likewise.
40222         * include/argz.h: Likewise.
40223         * include/arpa/inet.h: Likewise.
40224         * include/assert.h: Likewise.
40225         * include/dirent.h: Likewise.
40226         * include/dlfcn.h: Likewise.
40227         * include/execinfo.h: Likewise.
40228         * include/fcntl.h: Likewise.
40229         * include/fenv.h: Likewise.
40230         * include/glob.h: Likewise.
40231         * include/grp.h: Likewise.
40232         * include/libintl.h: Likewise.
40233         * include/mntent.h: Likewise.
40234         * include/netdb.h: Likewise.
40235         * include/pwd.h: Likewise.
40236         * include/rpc/netdb.h: Likewise.
40237         * include/sched.h: Likewise.
40238         * include/search.h: Likewise.
40239         * include/shadow.h: Likewise.
40240         * include/signal.h: Likewise.
40241         * include/stdio.h: Likewise.
40242         * include/stdlib.h: Likewise.
40243         * include/string.h: Likewise.
40244         * include/sys/socket.h: Likewise.
40245         * include/sys/stat.h: Likewise.
40246         * include/sys/statfs.h: Likewise.
40247         * include/sys/statvfs.h: Likewise.
40248         * include/sys/syslog.h: Likewise.
40249         * include/sys/time.h: Likewise.
40250         * include/sys/uio.h: Likewise.
40251         * include/time.h: Likewise.
40252         * include/unistd.h: Likewise.
40253         * include/utmp.h: Likewise.
40254         * include/wchar.h: Likewise.
40255         * include/wctype.h: Likewise.
40256         * inet/aliases.h: Likewise.
40257         * inet/arpa/inet.h: Likewise.
40258         * inet/netinet/ether.h: Likewise.
40259         * inet/netinet/in.h: Likewise.
40260         * intl/libintl.h: Likewise.
40261         * io/bits/fcntl2.h: Likewise.
40262         * io/fcntl.h: Likewise.
40263         * io/ftw.h: Likewise.
40264         * io/sys/poll.h: Likewise.
40265         * io/sys/stat.h: Likewise.
40266         * io/sys/statfs.h: Likewise.
40267         * io/sys/statvfs.h: Likewise.
40268         * io/utime.h: Likewise.
40269         * libio/bits/stdio.h: Likewise.
40270         * libio/bits/stdio2.h: Likewise.
40271         * libio/libio.h: Likewise.
40272         * libio/libioP.h: Likewise.
40273         * libio/stdio.h: Likewise.
40274         * locale/lc-ctype.c: Likewise.
40275         * locale/locale.h: Likewise.
40276         * login/utmp.h: Likewise.
40277         * malloc/arena.c: Likewise.
40278         * malloc/malloc.c: Likewise.
40279         * malloc/malloc.h: Likewise.
40280         * malloc/mcheck.c: Likewise.
40281         * malloc/mtrace.c: Likewise.
40282         * math/bits/mathcalls.h: Likewise.
40283         * math/fenv.h: Likewise.
40284         * math/math_private.h: Likewise.
40285         * misc/bits/error.h: Likewise.
40286         * misc/bits/syslog.h: Likewise.
40287         * misc/err.h: Likewise.
40288         * misc/error.h: Likewise.
40289         * misc/fstab.h: Likewise.
40290         * misc/mntent.h: Likewise.
40291         * misc/regexp.h: Likewise.
40292         * misc/search.h: Likewise.
40293         * misc/sgtty.h: Likewise.
40294         * misc/sys/mman.h: Likewise.
40295         * misc/sys/syslog.h: Likewise.
40296         * misc/sys/uio.h: Likewise.
40297         * misc/sys/xattr.h: Likewise.
40298         * misc/ttyent.h: Likewise.
40299         * nis/rpcsvc/ypclnt.h: Likewise.
40300         * nss/nss.h: Likewise.
40301         * posix/bits/unistd.h: Likewise.
40302         * posix/fnmatch.h: Likewise.
40303         * posix/glob.h: Likewise.
40304         * posix/sched.h: Likewise.
40305         * posix/spawn.h: Likewise.
40306         * posix/sys/wait.h: Likewise.
40307         * posix/unistd.h: Likewise.
40308         * posix/wordexp.h: Likewise.
40309         * pwd/pwd.h: Likewise.
40310         * resolv/netdb.h: Likewise.
40311         * resource/sys/resource.h: Likewise.
40312         * rt/aio.h: Likewise.
40313         * rt/bits/mqueue2.h: Likewise.
40314         * rt/mqueue.h: Likewise.
40315         * shadow/shadow.h: Likewise.
40316         * signal/signal.h: Likewise.
40317         * socket/send.c: Likewise.
40318         * socket/sendto.c: Likewise.
40319         * socket/sys/socket.h: Likewise.
40320         * stdio-common/printf.h: Likewise.
40321         * stdlib/bits/stdlib.h: Likewise.
40322         * stdlib/fmtmsg.h: Likewise.
40323         * stdlib/monetary.h: Likewise.
40324         * stdlib/stdlib.h: Likewise.
40325         * stdlib/ucontext.h: Likewise.
40326         * streams/stropts.h: Likewise.
40327         * string/argz.h: Likewise.
40328         * string/bits/string2.h: Likewise.
40329         * string/string.h: Likewise.
40330         * string/strings.h: Likewise.
40331         * sunrpc/rpc/auth.h: Likewise.
40332         * sunrpc/rpc/auth_des.h: Likewise.
40333         * sunrpc/rpc/clnt.h: Likewise.
40334         * sunrpc/rpc/netdb.h: Likewise.
40335         * sunrpc/rpc/pmap_clnt.h: Likewise.
40336         * sunrpc/rpc/xdr.h: Likewise.
40337         * sysdeps/generic/inttypes.h: Likewise.
40338         * sysdeps/generic/net/if.h: Likewise.
40339         * sysdeps/generic/sys/swap.h: Likewise.
40340         * sysdeps/gnu/net/if.h: Likewise.
40341         * sysdeps/gnu/utmpx.h: Likewise.
40342         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40343         * sysdeps/i386/i486/bits/string.h: Likewise.
40344         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40345         * sysdeps/s390/bits/string.h: Likewise.
40346         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40347         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40348         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40349         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40350         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40351         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40352         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40353         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40354         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40355         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40356         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40357         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40358         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40359         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40360         * sysdeps/unix/sysv/linux/readv.c: Likewise.
40361         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40362         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40363         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40364         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40365         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40366         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40367         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40368         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40369         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40370         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40371         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40372         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40373         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40374         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40375         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40376         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40377         * sysvipc/sys/ipc.h: Likewise.
40378         * sysvipc/sys/msg.h: Likewise.
40379         * sysvipc/sys/sem.h: Likewise.
40380         * sysvipc/sys/shm.h: Likewise.
40381         * termios/termios.h: Likewise.
40382         * time/sys/time.h: Likewise.
40383         * time/time.h: Likewise.
40384         * wcsmbs/bits/wchar2.h: Likewise.
40385         * wcsmbs/uchar.h: Likewise.
40386         * wcsmbs/wchar.h: Likewise.
40387         * wctype/wctype.h: Likewise.
40389         [BZ #13551]
40390         * Makeconfig: Remove all but ELF support including AIX support.
40391         * Makerules: Likewise.
40392         * config.h.in: Likewise.
40393         * config.make.in: Likewise.
40394         * configure: Likewise.
40395         * configure.in: Likewise.
40396         * csu/Makefile: Likewise.
40397         * csu/version.c: Likewise.
40398         * debug/Makefile: Likewise.
40399         * dlfcn/Makefile: Likewise.
40400         * elf/Makefile: Likewise.
40401         * extra-lib.mk: Likewise.
40402         * iconv/Makefile: Likewise.
40403         * include/libc-symbols.h: Likewise.
40404         * include/shlib-compat.h: Likewise.
40405         * resolv/Makefile: Likewise.
40406         * resolv/res_libc.c: Likewise.
40407         * rt/Makefile: Likewise.
40408         * sysdeps/i386/asm-syntax.h: Likewise.
40409         * sysdeps/i386/sysdep.h: Likewise.
40410         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40411         * sysdeps/mach/sysdep.h: Likewise.
40412         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40413         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40414         * sysdeps/s390/asm-syntax.h: Likewise.
40415         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40416         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40417         * sysdeps/sh/sysdep.h: Likewise.
40418         * sysdeps/unix/sparc/sysdep.h: Likewise.
40419         * sysdeps/wordsize-32/divdi3.c: Likewise.
40420         * sysdeps/x86_64/sysdep.h: Likewise.
40422         * argp/Versions: Remove _argp_unlock_xxx.
40424         [BZ #13559]
40425         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
40426         * abilist/libBrokenLocale.abilist: Likewise.
40427         * abilist/libanl.abilist: Likewise.
40428         * abilist/libc.abilist: Likewise.
40429         * abilist/libcrypt.abilist: Likewise.
40430         * abilist/libdl.abilist: Likewise.
40431         * abilist/libm.abilist: Likewise.
40432         * abilist/libnsl.abilist: Likewise.
40433         * abilist/libpthread.abilist: Likewise.
40434         * abilist/libresolv.abilist: Likewise.
40435         * abilist/librt.abilist: Likewise.
40436         * abilist/libthread_db.abilist: Likewise.
40437         * abilist/libutil.abilist: Likewise.
40438         * abilist/libnss_db.abilist: New file.
40440         * scripts/abilist.awk: Add support for indirect functions.
40442         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40444         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40446         * shlib-versions: Remove entries for ports architectures.
40448         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
40449         files in ports.
40450         * elf/stackguard-macros.h: Remove support for IA-64.
40451         * elf/tst-auditmod1.c: Likewise.
40452         * sysdeps/generic/ldsodefs.h: Likewise.
40454         * sysdeps/unix/sysv/linux/configure.in: Ports should define
40455         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40456         configure files.
40458         [BZ #13552]
40459         * configure.in: Remove --enable-omitfp support.
40460         * FAQ.in: Adjust.
40461         * config.make.in: Likewise.
40462         * Makeconfig: Likewise.
40463         * manual/install.texi: Likewise.
40465         In case anyone cares, the IA-64 architecture could move to ports.
40466         * sysdeps/ia64/*: Removed.
40467         * sysdeps/unix/sysv/linux/ia64/*: Removed.
40468         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40470         [BZ #13555]
40471         * configure.in: Remove entries for unsupported architectures.
40473         [BZ #13533]
40474         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40475         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
40476         routines.
40477         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40478         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40479         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
40480         fall back to using wcrtomb.
40481         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40482         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
40483         renaming.
40484         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40485         * wcsmbs/tst-c16c32-1.c: New file.
40487         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40488         local variable.
40490         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40492         * elf/tst-unique3.cc: Add explicit declaration of gets.
40493         * elf/tst-unique3lib.cc: Likewise.
40494         * elf/tst-unique3lib2.cc: Likewise.
40495         * elf/tst-unique4.cc: Likewise.
40497         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40499 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
40501         [BZ #13566]
40502         * assert/assert.h (static_assert): Don't define for C++.
40503         * libio/stdio.h (gets): Do declare for C++ <= C++11.
40504         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40506 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
40508         * iconv/loop.c (single loop): Fix assertion in storing of
40509         remaining bytes.
40511         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40513 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
40515         * posix/getconf.c: Update copyright year.
40516         * nss/getent.c: Likewise.
40517         * nss/makedb.c: Likewise.
40518         * iconv/iconvconfig.c: Likewise.
40519         * iconv/iconv_prog.c: Likewise.
40520         * elf/ldconfig.c: Likewise.
40521         * elf/pldd.c: Likewise.
40522         * elf/sotruss.ksh: Likewise.
40523         * catgets/gencat.c: Likewise.
40524         * csu/version.c: Likewise.
40525         * elf/ldd.bash.in: Likewise.
40526         * elf/sprof.c (print_version): Likewise.
40527         * locale/programs/locale.c: Likewise.
40528         * locale/programs/localedef.c: Likewise.
40529         * login/programs/pt_chown.c: Likewise.
40530         * nscd/nscd.c (print_version): Likewise.
40531         * debug/xtrace.sh: Likewise.
40532         * malloc/memusage.sh: Likewise.
40533         * malloc/mtrace.pl: Likewise.
40534         * debug/catchsegv.sh: Likewise.
40536 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
40538         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40539         pure attribute.
40541 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
40543         [BZ #13533]
40544         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40545         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40546         transformations.
40547         * iconv/gconv_int.h: Likewise.
40548         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40549         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40550         from libc for GLIBC_2.16.
40551         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40552         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40553         * wcsmbs/uchar.h: Really define mbstate_t.
40554         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40555         * wcsmbs/c16rtomb.c: New file.
40556         * wcsmbs/mbrtoc16.c: New file.
40557         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40558         for C/POSIX locale.
40559         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40560         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40562         * wcsmbs/wchar.h: Add missing __restrict.
40564 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40566         [BZ #13532]
40567         * time/Makefile (routines): Add timespec_get.
40568         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40569         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
40570         timespec for ISO C11.
40571         * time/timespec_get.c: New file.
40572         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40573         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40575         [BZ #13531]
40576         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40577         * stdlib/stdlib.h: Declare aligned_alloc.
40578         * Versions.def: Add GLIBC_2.16 for libc.
40579         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40581         [BZ 13527]
40582         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40583         ISO C11.
40585         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40586         code.
40588         [BZ #13528]
40589         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40591         [BZ #13529]
40592         * assert/assert.h (static_assert): Define.
40594         * version.h: Update for 2.16 development version.
40596         [BZ #13526]
40597         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40598         _ISOC11_SOURCE.
40600         * version.h (RELEASE): Bump for 2.15 release.
40601         * include/features.h (__GLIBC_MINOR__): Bump to 15.
40603         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40604         Patch by Marek Polacek <mpolacek@redhat.com>.
40606         * bits/byteswap.h: Protect long long constants with __extension__.
40607         * sysdeps/i386/bits/byteswap.h: Likewise.
40608         * sysdeps/ia64/bits/byteswap.h: Likewise.
40609         * sysdeps/s390/bits/byteswap.h: Likewise.
40610         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40612 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40614         [BZ #13540]
40615         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40616         destination buffer.
40617         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40619 2011-12-23  Marek Polacek  <polacek@redhat.com>
40621         * elf/dl-addr.c (determine_info): Add inline keyword.
40622         * elf/tst-auditmod4b.c (check_avx): Likewise.
40623         * elf/tst-auditmod6b.c (check_avx): Likewise.
40624         * elf/tst-auditmod6c.c (check_avx): Likewise.
40625         * elf/tst-auditmod7b.c (check_avx): Likewise.
40627 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40629         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40630         !__SSE_MATH__.
40632 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40634         [BZ #13540]
40635         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40636         processing for last bytes.
40638 2011-08-06  Bruno Haible  <bruno@clisp.org>
40640         [BZ #13061]
40641         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40642         U+0385, not to U+1FEE.
40644         [BZ #13062]
40645         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40646         entry for U+00A5 U+0301.
40648 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40650         [BZ #13166]
40651         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40652         buffer for the output is too small.
40654         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40655         optimization.
40657         [BZ #13185]
40658         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40659         SSE flags if possible.
40661 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40663         [BZ #13540]
40664         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40665         processing for last bytes.
40667 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
40669         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40670         (syscall-list-default-options, syscall-list-default-condition)
40671         (syscall-list-includes): Define.
40672         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40673         list of ABIs and options and #if conditions for each ABI.  Do not
40674         handle common syscalls between ABIs specially.
40675         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40676         Remove.
40677         (syscall-list-variants, syscall-list-32bit-options)
40678         (syscall-list-32bit-condition, syscall-list-64bit-options)
40679         (syscall-list-64bit-condition): Define.
40680         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40681         (syscall-list-variants, syscall-list-32bit-options)
40682         (syscall-list-32bit-condition, syscall-list-64bit-options)
40683         (syscall-list-64bit-condition): Define.
40684         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40685         Remove.
40686         (syscall-list-variants, syscall-list-32bit-options)
40687         (syscall-list-32bit-condition, syscall-list-64bit-options)
40688         (syscall-list-64bit-condition): Define.
40689         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40690         Remove.
40691         (syscall-list-variants, syscall-list-32bit-options)
40692         (syscall-list-32bit-condition, syscall-list-64bit-options)
40693         (syscall-list-64bit-condition): Define.
40695 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40697         * locale/iso-639.def: Add brx entry.
40699         [BZ #13328]
40700         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40701         Proposed by Mariusz_Cukr <marcukr@op.pl>.
40703         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40704         __feraiseexcept_renamed.
40706 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40708         [BZ #13538]
40709         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40710         EPOLLET with unsigned values.
40711         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40712         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40714         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40715         to large cancellation.
40716         * math/s_cacoshf.c: Likewise.
40717         * math/s_cacoshl.c: Likewise.
40719 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
40721         [BZ #13305]
40722         [BZ #12786]
40723         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40724         * math/s_cacoshf.c: Likewise.
40725         * math/s_cacoshl.c: Likewise.
40727 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40729         [BZ #13439]
40730         * iconv/gconv.h: Define __GCONV_SWAP.
40731         * iconvdata/unicode.c: The swap bit must be stored in __flags.
40732         * iconvdata/utf-16.c: Likewise.
40733         * iconvdata/utf-32.c: Likewise.
40735 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40737         [BZ #13524]
40738         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40739         numerator after shifting it by one limb.
40741 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
40743         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40744         under [__USE_EXTERN_INLINES].
40746 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40748         [BZ #13446]
40749         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40751 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40753         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40754         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40755         optimized code.
40756         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40757         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40758         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40759         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40760         for strncasecmp/strncasecmp_l compilation.
40761         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40762         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40764 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
40766         [BZ #13484]
40767         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40768         of __asm__.
40770 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40772         [BZ #13506]
40773         * time/tzfile.c (__tzfile_read): Check values from file header.
40775 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40777         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40778         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40779         * powerpc/powerpc32/dl-start.S: Likewise.
40780         * powerpc/powerpc32/elf/start.S: Likewise.
40781         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40782         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40783         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40784         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40785         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40786         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40787         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40788         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40789         * powerpc/powerpc32/fpu/s_round.S: Likewise.
40790         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40791         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40792         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40793         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40794         * powerpc/powerpc32/memset.S: Likewise.
40795         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40796         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40797         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40798         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40799         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40800         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40801         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40802         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40803         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40804         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40805         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40806         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40807         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40809 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40811         * math/libm-test.inc: Added more nearbyint tests.
40812         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40813         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40814         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40815         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40817 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
40819         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40820         FD_CLOEXEC.
40822 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40824         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40825         Add wcscpy-ssse3 wcscpy-c.
40826         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40827         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40828         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40829         * sysdeps/x86_64/wcschr.S: New file.
40830         * sysdeps/x86_64/wcsrchr.S: New file.
40831         * string/test-strcmp.c: Remove checking of wcscmp function for
40832         wrong alignments.
40833         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40834         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40835         wcsrchr-sse2 wcsrchr-c.
40836         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40837         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40838         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40839         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40840         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40841         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40842         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40843         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40844         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40845         * wcsmbc/wcschr.c (WCSCHR): New macro.
40847 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40849         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40850         * wcsmbs/test-wcsrchr.c: New file.
40851         * string/test-strrchr.c: Add wcsrchr support.
40852         (WIDE): New macro.
40853         * wcsmbs/test-wcscpy.c: New file.
40854         * string/test-strcpy.c: Add wcscpy support.
40855         (WIDE): New macro.
40857 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
40859         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40860         the inner loop.
40862 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
40864         [BZ #13472]
40865         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40867 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
40869         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40870         Minor optimizations.
40872         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40873         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40874         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40876 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
40878         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40879         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40880         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40881         for gcc to avoid warnings.
40882         * inet/Makefile (tests): Add tst-checks.
40883         * inet/tst-checks.c: New file.
40885         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40886         warning.
40888         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40889         __wmemcmp_sse2.
40891         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40892         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40894         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40896 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
40898         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40899         problem.
40901         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40903 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
40905         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40906         conditional on GCC version.
40907         (__arch_compare_and_exchange_val_8_acq)
40908         (__arch_compare_and_exchange_val_16_acq)
40909         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40910         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40911         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40913 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
40915         * sysdeps/sh/backtrace.c: New file.
40917 2011-12-02  Andreas Schwab  <schwab@redhat.com>
40919         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
40920         parenthesis.
40922 2011-12-01  Andreas Schwab  <schwab@redhat.com>
40924         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40925         falling back to utime.
40927 2011-11-30  Andreas Schwab  <schwab@redhat.com>
40929         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40930         expectations for float.
40932 2011-11-29  Andreas Schwab  <schwab@redhat.com>
40934         * locale/weight.h (findidx): Add parameter len.
40935         * locale/weightwc.h (findidx): Likewise.
40936         * posix/fnmatch_loop.c (FCT): Adjust caller.
40937         * posix/regcomp.c (build_equiv_class): Likewise.
40938         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40939         * posix/regexec.c (check_node_accept_bytes): Likewise.
40940         * string/strcoll_l.c (STRCOLL): Likewise.
40941         * string/strxfrm_l.c (STRXFRM): Likewise.
40943 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
40945         * Makefile.in: Remove CVSOPT handling.
40946         * configure.in: Remove use of AC_REVISION.
40947         * iconvdata/Makefile (distribute): No need to filter out CVS.
40948         * scripts/list-sources.sh: Remove CVS, subversion and monotone
40949         handling.
40951 2011-11-16  Andreas Schwab  <schwab@redhat.com>
40953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40954         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40955         [USE_AS_STRNCASECMP_L]: Likewise.
40956         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40957         NO_TLS_DIRECT_SEG_REFS.
40958         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40959         Fix argument offsets for non-PIC.
40960         [USE_AS_STRNCASECMP_L]: Likewise.
40961         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40962         NO_TLS_DIRECT_SEG_REFS.
40964 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40966         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40967         O_CLOEXEC.
40968         * locale/loadlocale.c (_nl_load_locale): Likewise.
40970 2011-11-15  Andreas Schwab  <schwab@redhat.com>
40972         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40973         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40974         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40975         (SYSCALL_GETTIME): Set errno on error.
40977         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40978         count references to noai6ai_cached.
40980 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40982         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40984         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40985         FD_CLOEXEC for /proc/self/maps.
40987         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40988         FD_CLOEXEC for /proc/meminfo.
40990         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40991         gai.conf.
40993         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
40994         FD_CLOEXEC for given file.
40996         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40998         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40999         FD_CLOEXEC for /etc/hosts.
41000         (_gethtent): Likewise.
41002         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41004         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41005         cancellation and set FD_CLOEXEC for /etc/netgroup.
41007         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41008         reading /etc/publickey.
41010         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41011         allow cancellation when reading /etc/group.
41013         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41014         cancellation.
41015         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41017         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41018         when using data file.
41020         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41022         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41023         (write_nis_obj): Use "c" and "e" in fopen.
41025         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41027         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41029         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41031         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41033         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41034         locale.alias.
41036         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41038         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41040         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41042         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41043         file parsing and set FD_CLOEXEC.
41045 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41047         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41049 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41051         * malloc/arena.c (arena_get2): Don't call reused_arena when
41052         _int_new_arena failed.
41054 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41056         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41057         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41058         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41059         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41060         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41061         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41062         to compile strcasecmp and strncasecmp.
41063         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41064         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41066         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41068 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41070         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41071         locale-defines.sym to gen-as-const-headers.
41072         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41073         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41074         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41075         to compile strcasecmp and strncasecmp.
41076         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41077         strcasecmp_l and strncasecmp_l.
41078         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41079         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41080         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41081         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41082         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41083         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41084         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41085         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41086         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41087         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41088         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41090 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41092         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41093         result of SYSDEP_GETTIME_CPU to retval.
41094         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41095         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41097         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41098         variable.
41100         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41101         mantissa words.
41102         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41104         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41105         from unused variable.
41107         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41108         DWARF definitions.
41109         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41110         for assembling.
41112         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41113         over namespaces.
41115         * sunrpc/rpc_prot.c (rejected): Fix case value.
41117         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41118         unsigned long long int to avoid warnings in shift.
41120         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41121         of use of trans.
41122         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41123         variable tmp.
41125         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41126         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41127         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41129         * nis/nis_table.c (nis_list): Use variable of correct type for
41130         result of __follow_path call.
41132 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41134         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41135         of math functions ceil, trunc, floor, round, and sqrt, when
41136         avaliable on the platform.
41137         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41138         name clash.
41139         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41140         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41141         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41143 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41145         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41146         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41148 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41150         * include/unistd.h: Fix __readlink return type.
41151         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41153 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41155         * stdlib/ucontext.h: Undo last change for makecontext.
41157 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41159         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41161         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41162         * setjmp/setjmp.h: Mark functions as non-leaf.
41163         * setjmp/bits/setjmp2.h: Likewise.
41164         * stdlib/ucontext.h: Likewise.
41166 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41168         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41169         (reused_arena): Don't check arena limit.
41170         (arena_get2): Atomically check arena limit.
41172 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41174         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41175         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41177         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41178         instructions.
41180 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41182         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41183         handler when locking.
41185         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41186         Fix size of allocated buffer.
41188 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41190         [BZ #10103]
41191         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41192         declarations for long double functions.
41193         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41195         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41197 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41199         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41200         installed.
41202         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41203         is disabled.
41205 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41207         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41209 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41211         * include/alloca.h (stackinfo_alloca_round): Define.
41212         (extend_alloca): Use it.
41213         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41214         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41215         here.
41217         * scripts/check-local-headers.sh: Ignore libaudit.h.
41219         * nscd/Makefile (extra-objs): Make recursively expanded.
41221 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41223         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41224         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41226         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41227         * posix/tst-rfc3484-2.c: Likewise.
41228         * posix/tst-rfc3484-3.c: Likewise.
41230         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41231         process_vm_writev.
41232         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41233         process_vm_writev.
41234         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41235         process_vm_writev from libc using GLIBC_2.15 version.
41237         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41239 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41241         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41242         stack usage.
41244 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41246         [BZ #13367]
41247         * nss/getent.c (initgroups_keys): Show error message in case no group
41248         names are given.
41250         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41251         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41252         __bump_nl_timestamp.
41253         * nscd/connections (nscd_init): When host database is served open
41254         netlink socket and request notification about configuration changes.
41255         (main_loop_poll): Track netlink file descriptor and bump timestamp
41256         in case data becomes available.
41257         (main_loop_epoll): Likewise.
41258         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41259         (database_pers_head): Add extra_data fileds.
41260         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41261         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41262         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41263         Adjust caller.
41264         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41265         in6ai data, call __free_in6ai.
41266         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41267         Add -DHAVE_NETLINK.
41268         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41269         interface information.  Reuse previous data if netlink timestamp
41270         is not changed.
41271         (__bump_nl_timestamp): New function.
41272         (__free_in6ai): New function.
41274 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41276         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41277         close_not_cancel_no_status here.
41278         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41280 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41282         [BZ #13276]
41283         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41284         return value.
41286         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41287         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41288         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41290 2011-07-03  Andreas Jaeger  <aj@suse.de>
41292         [BZ #10709]
41293         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41294         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41295         * math/libm-test.inc (sin_test): Add test case.
41297 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41299         [BZ #13337]
41300         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41301         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41303         * elf/chroot_canon.c (chroot_canon): Cleanups.
41305         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41307         [BZ #13335]
41308         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41309         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41311         * string/test-strchr.c: Make usable for strchrnul testing.
41312         * string/test-strchrnul.c: New file.
41313         * string/Makefile (strop-tests): Add strchrnul.
41315         * po/it.po: Update from translation team.
41316         * po/es.po: Likewise.
41318 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41320         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41321         the three constants needed as parameters.  Drop the others.
41322         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41323         __m128i_strloadu_tolower.
41324         Create and initialize variable zero and use it in all the places
41325         where _mm_setzero_si128 was used.
41327         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41328         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41329         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41330         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41331         anymore.
41332         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41333         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41334         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41335         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41336         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41337         __mpranred, __mptan.
41338         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41339         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41340         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41341         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41342         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41343         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41344         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41345         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41346         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41348 2011-10-28  Andreas Schwab  <schwab@redhat.com>
41350         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41351         redefine if SHARED.
41352         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41354         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41355         wide char related routines to wcsmbs subdir.
41357 2011-10-27  Andreas Schwab  <schwab@redhat.com>
41359         [BZ #13344]
41360         * misc/sys/cdefs.h (__THROWNL): Define.
41361         * posix/unistd.h: Use __THREADNL instead of __THREAD
41362         for memory synchronization functions.
41364 2011-10-26  Roland McGrath  <roland@hack.frob.com>
41366         [BZ #13349]
41367         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41368         doesn't exist.
41369         * manual/stdio.texi (Obstack Streams): Node removed.
41371 2011-10-26  Andreas Schwab  <schwab@redhat.com>
41373         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41374         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41375         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41377         * math/math_private.h (math_force_eval): Allow non-addressable
41378         arguments.
41379         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41381 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41383         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41384         file is not needed.
41386         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41387         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41388         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41389         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41390         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41391         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41392         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41393         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41394         Add AVX variants.
41395         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41396         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41397         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41398         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41399         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41400         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41401         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41402         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41403         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41404         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41405         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41406         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41407         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41408         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41409         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41410         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41411         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41412         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41413         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41415         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41416         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
41418         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41419         place.  Use VEX encoding when compiling for AVX.
41421 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41423         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41424         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41426         * string/test-strchr.c (do_test): Don't generate NUL bytes.
41428 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41430         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41431         useless if() expression.
41432         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41433         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41434         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41435         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41436         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41437         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41438         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41439         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41440         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41441         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41442         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41443         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41444         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41445         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41446         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41447         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41448         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41449         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41450         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41452         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41454 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41456         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41457         condition.
41458         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41460 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41462         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41463         .text section.  Avoid duplicate constants.
41464         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41465         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41466         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41467         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41468         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41469         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41470         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41471         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41472         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41473         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41474         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41475         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41476         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41477         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41478         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41479         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41480         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41481         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41482         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41483         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41484         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41485         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41486         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41487         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41488         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41489         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41490         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41491         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41492         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41493         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41494         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41495         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41496         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41497         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41498         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41499         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41500         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41501         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41502         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41503         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41504         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41505         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41506         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41507         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41508         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41510 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
41512         * sysdeps/x86_64/dla.h: Move to ...
41513         * sysdeps/x86_64/fpu/dla.h: ...here.
41514         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41515         situations.  Use __builtin_fma only for gcc 4.6 and up.
41517         * config.make.in: Add have-mfma4 entry.
41518         * configure.in: Substitute libc_cv_cc_fma4.
41519         * math/Makefile (dbl-only-routines): Add sincostab.
41520         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41521         Use __sincostab not sincos.
41522         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41523         name is a macro.
41524         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41525         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41526         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41527         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
41528         using __copysign.
41529         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
41530         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
41531         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41532         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41533         and __inv.
41534         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41535         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41536         __copysign.
41537         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
41538         define aliases when function name is a macro.
41539         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41540         sysdeps/ieee754/dbl-64/sincos.tbl.
41541         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41542         fma4-enabled routines.
41543         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41544         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41545         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41546         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41547         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41548         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41549         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41550         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41551         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41552         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41553         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41554         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41555         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41556         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41557         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41558         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41559         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41560         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41561         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41562         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41563         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41564         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41565         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41566         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41567         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41568         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41569         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41570         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41571         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41572         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41574         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41575         rename.
41576         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41577         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41578         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41579         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41580         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41581         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41582         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41583         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41585 2011-10-24  Andreas Schwab  <schwab@redhat.com>
41587         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41589 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41591         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41593         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41594         prediction.
41595         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41597         * string/strnlen.c: Don't define STRNLEN, reverse logic.
41598         Remove unused variable magic_bits.
41599         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41601         * string/strnlen.c: Define and use STRNLEN macro.
41602         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41603         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41604         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41605         * wcsmbs/wcslen.c: Define and use WCSLEN.
41606         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41607         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41608         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41609         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41610         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41611         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41612         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41614 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41616         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41617         strnlen-sse2-no-bsf.
41618         Rename strlen-no-bsf to strlen-sse2-no-bsf.
41619         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41620         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41621         Add strnlen support.
41622         (USE_AS_STRNLEN): New macro.
41623         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41624         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41625         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41626         * sysdeps/x86_64/wcslen.S: New file.
41628 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
41630         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41631         XMM-moves are used for copying on small sizes.
41633 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41635         * wcsmbs/Makefile (strop-tests): Add wcschr.
41636         * wcsmbs/test-wcschr.c: New file.
41637         * string/test-strchr.c: Update.
41638         Add wcschr support.
41639         (WIDE): New macro.
41641 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41643         * wcsmbs/Makefile (strop-tests): Add wcslen.
41644         * wcsmbs/test-wcslen.c: New file.
41645         * string/test-strlen.c: Update.
41646         Add wcslen support.
41647         (WIDE): New macro.
41649 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41651         * po/it.po: Update from translation team.
41653 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41655         * sysdeps/x86_64/wcscmp.S: Update.
41656         Fix wrong comparison semantics.
41657         wcscmp shall use signed comparison not unsigned.
41658         Don't use substraction to avoid overflow bug.
41659         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41660         * wcsmbc/wcscmp.c: Likewise.
41661         * string/test-strcmp.c: Likewise.
41662         Add new tests to check cases with negative values.
41664 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41666         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41667         * sysdeps/x86_64/dla.h: ...here.  New file.
41668         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41669         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41670         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41671         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41672         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41673         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41674         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41675         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41676         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41678 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
41680         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41681         __ynl_finite aliases.
41683 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41687         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41688         define DLA_FMA.
41689         [DLA_FMA] (EMULV): Use DLA_FMA.
41690         [DLA_FMA] (MUL12): Use EMULV.
41691         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41692         that are not needed.
41693         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41694         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41695         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41696         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41698         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41699         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41701 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
41703         * math/s_nan.c: Undef __nan.
41704         * math/s_nanf.c: Undef __nanf.
41705         * math/s_nanl.c: Undef __nanl.
41706         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41707         "math_private.h".
41709 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41711         * math/s_catan.c: Add branch predictions.
41712         * math/s_catanf.c: Likewise.
41713         * math/s_catanh.c: Likewise.
41714         * math/s_catanhf.c: Likewise.
41715         * math/s_catanhl.c: Likewise.
41716         * math/s_catanl.c: Likewise.
41717         * math/s_cexp.c: Likewise.
41718         * math/s_cexpf.c: Likewise.
41719         * math/s_cexpl.c: Likewise.
41720         * math/s_clog.c: Likewise.
41721         * math/s_clog10.c: Likewise.
41722         * math/s_clog10f.c: Likewise.
41723         * math/s_clog10l.c: Likewise.
41724         * math/s_clogf.c: Likewise.
41725         * math/s_clogl.c: Likewise.
41726         * math/s_csqrt.c: Likewise.
41727         * math/s_csqrtf.c: Likewise.
41728         * math/s_csqrtl.c: Likewise.
41729         * math/s_ctanf.c: Likewise.
41730         * math/s_ctanh.c: Likewise.
41731         * math/s_ctanhf.c: Likewise.
41732         * math/s_ctanhl.c: Likewise.
41733         * math/s_ctanl.c: Likewise.
41735         * math/math_private.h: Define __nan, __nanf, __nanl.
41736         * math/s_cacosh.c: Include <math_private.h>.
41737         * math/s_cacoshl.c: Likewise.
41738         * math/s_casinh.c: Likewise.
41739         * math/s_casinhf.c: Likewise.
41740         * math/s_casinhl.c: Likewise.
41741         * math/s_ccos.c: Rely entire on ccosh.
41742         * math/s_ccosf.c: Rely entire on ccoshf.
41743         * math/s_ccosl.c: Rely entirely on ccoshl.
41744         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
41745         Remove tests for FE_INVALID.
41746         * math/s_ccoshf.c: Likewise.
41747         * math/s_ccoshl.c: Likewise.
41748         * math/s_csin.c: Likewise.
41749         * math/s_csinf.c: Likewise.
41750         * math/s_csinh.c Likewise.
41751         * math/s_csinhf.c: Likewise.
41752         * math/s_csinhl.c: Likewise.
41753         * math/s_csinl.c: Likewise.
41754         * math/s_ctan.c: Likewise.
41755         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41756         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41757         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41759 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
41761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41762         compilation problems.
41764         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41765         __builtin_expect.
41767 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
41769         * sysdeps/i386/configure.in: Test for -mfma4 option.
41770         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41771         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41772         COMMON_CPUID_INDEX_80000001.
41773         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41774         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41775         use it if FMA3 is not supported.
41776         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41778         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41779         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41781 2011-10-20  Andreas Schwab  <schwab@redhat.com>
41783         [BZ #12892]
41784         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41785         it would create a cycle with a link time dependency.
41787 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
41789         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41790         instruction.
41791         * string/Makefile (strop-tests): Add rawmemchr.
41792         * string/test-rawmemchr.c: New file.
41794         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41795         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
41796         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
41797         when compiling str{,n}casecmp and when AVX is available.  Hook up
41798         new optimized code in initializers.
41800 2011-10-19  Andreas Schwab  <schwab@redhat.com>
41802         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41803         __feraiseexcept instead of feraiseexcept.
41805 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
41807         * math/math_private.h: Define defaults for libc_fetestexcept and
41808         libc_feupdateenv.
41809         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41810         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41811         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41812         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41813         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41814         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41815         libc_fetestexcept and libc_feupdateenv.
41817         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41818         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41819         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41820         * sysdeps/x86_64/fpu/math_private.h: Define special version of
41821         libc_feholdexcept_setround.
41823         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41824         Add s_nearbyint-c and s_nearbyintf-c.
41825         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41826         nearbyintf inlines.
41827         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41828         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41829         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41830         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41832         * math/math_private.h: Define defaults for libc_fegetround,
41833         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41834         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41835         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41836         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41837         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41838         standard functions.
41839         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41840         Remove comments and hacks for old compiler versions.
41841         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41842         libc_fegetround, libc_fesetround, libc_feholdexcept, and
41843         libc_feholdexceptl.
41845 2011-10-18  Andreas Schwab  <schwab@redhat.com>
41847         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41848         (__feraiseexcept_renamed): Add __NTH.
41849         (feraiseexcept): Add __NTH.  Rename local variables to fix
41850         namespace violations.
41852 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
41854         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41856         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41858         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41859         recently added interfaces.
41860         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41862         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41863         about macro parameter expansion.
41865         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41866         __NO_MATH_INLINES is defined.  Cleanups.
41868         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41869         and __floorf is target has SSE4.1.
41870         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41871         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41872         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41873         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41875         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41876         name.
41877         (floorf): Likewise.
41879         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41881 2011-10-17  Andreas Schwab  <schwab@redhat.com>
41883         * misc/sys/cdefs.h: Fix last change.
41885         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41886         database lookup.
41888 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
41890         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41892         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41893         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41894         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41895         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41896         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41897         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41898         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41899         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41900         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41901         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41902         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41903         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41904         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41905         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41906         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41907         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41908         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41909         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41910         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41911         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41912         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41913         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41915         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41916         ceil, ceilf, floor, floorf.
41918         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41919         Perform IRELATIVE relocations last.
41921         * elf/do-rel.h: Add another parameter nrelative, replacing the
41922         local variable with the same name.  Change name of the function
41923         to end in Rel or Rela (uppercase).
41924         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41925         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
41926         elf_dynamic_do_##reloc function.
41928 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41930         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41931         is sufficient, at least on modern CPUs.
41933         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41935         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41936         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41938         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41939         __expl_finite.
41940         * math/bits/math-finite.h: Add entries for exp.
41941         * math/e_expl.c: Add __*_finite alias.
41942         * sysdeps/i386/fpu/e_exp.S: Likewise.
41943         * sysdeps/i386/fpu/e_expf.S: Likewise.
41944         * sysdeps/i386/fpu/e_expl.c: Likewise.
41945         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41946         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41947         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41948         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41949         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41950         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41951         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41953         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41954         is sufficient, at least on modern CPUs.
41956         * ctype/ctype-info.c (__ctype_init): Define.
41957         * include/ctype.h (__ctype_init): Declare.
41958         (__ctype_b_loc): The variable is always initialized.
41959         (__ctype_toupper_loc): Likewise.
41960         (__ctype_tolower_loc): Likewise.
41961         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41962         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41964 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
41966         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41968         * configure.in: Also look in $cxxmachine/include for C++ system
41969         headers.
41971 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41973         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41974         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41975         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41976         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
41977         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41978         (USE_AS_WMEMCMP): New macro.
41979         Fixing indents.
41980         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41981         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41982         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41983         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41984         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41985         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41986         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41987         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41988         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41989         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41990         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41991         (USE_AS_WMEMCMP): New macro.
41992         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41993         * sysdeps/string/test-memcmp.c: Update.
41994         Fix simple_wmemcmp.
41995         Add new tests.
41996         * wcsmbs/wmemcmp.c: Update.
41997         (WMEMCMP): New macro.
41998         Fix overflow bug.
42000 2011-10-12  Andreas Jaeger  <aj@suse.de>
42002         [BZ #13268]
42003         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42005 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42007         * libio/iofwide.c (do_length): Avoid warning.
42009         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42011 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42013         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42015         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42016         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42017         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42018         * sysdeps/i386/i686/fpu/e_log.S: New file.
42019         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42020         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42022         * ctype/ctype.h: Add support for inlined isXXX functions when
42023         compiling C++ code.
42025 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42027         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42029         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42031 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42033         [BZ #13291]
42034         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42036 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42038         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42039         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42040         feraiseexcept.
42042         * sysdeps/x86_64/memrchr.S: Check for zero size.
42044         * string/stratcliff.c: Add memrchr tests.
42046 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42048         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42049         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42050         rawmemchr-sse2 rawmemchr-sse2-bsf.
42051         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42052         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42053         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42054         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42055         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42056         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42057         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42058         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42059         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42060         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42061         * string/memrchr.c (MEMRCHR): New macro.
42063 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42065         Add integration with gcc's -ffinite-math-only and optimize wrapper
42066         functions in libm.
42067         * Versions.def: Define GLIBC_2.15 version for libm.
42068         * math/Makefile (headers): Add bits/math-finite.h.
42069         * math/bits/math-finite.h: New file.
42070         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42071         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42072         * math/e_acoshl.c: Add __*_finite alias.
42073         * math/e_acosl.c: Likewise.
42074         * math/e_asinl.c: Likewise.
42075         * math/e_atan2l.c: Likewise.
42076         * math/e_atanhl.c: Likewise.
42077         * math/e_coshl.c: Likewise.
42078         * math/e_exp10.c: Likewise.
42079         * math/e_exp10f.c: Likewise.
42080         * math/e_exp10l.c: Likewise.
42081         * math/e_exp2l.c: Likewise.
42082         * math/e_fmodl.c: Likewise.
42083         * math/e_gammal_r.c: Likewise.
42084         * math/e_hypotl.c: Likewise.
42085         * math/e_j0l.c: Likewise.
42086         * math/e_j1l.c: Likewise.
42087         * math/e_jnl.c: Likewise.
42088         * math/e_lgammal_r.c: Likewise.
42089         * math/e_log10l.c: Likewise.
42090         * math/e_log2l.c: Likewise.
42091         * math/e_logl.c: Likewise.
42092         * math/e_powl.c: Likewise.
42093         * math/e_sinhl.c: Likewise.
42094         * math/e_sqrtl.c: Likewise.
42095         * math/e_scalb.c: Completely rewritten and optimized.
42096         * math/e_scalbf.c: Likewise.
42097         * math/e_scalbl.c: Likewise.
42098         * math/w_acos.c: Likewise.
42099         * math/w_acosf.c: Likewise.
42100         * math/w_acosl.c: Likewise.
42101         * math/w_acosh.c: Likewise.
42102         * math/w_acoshf.c: Likewise.
42103         * math/w_acoshl.c: Likewise.
42104         * math/w_asin.c: Likewise.
42105         * math/w_asinf.c: Likewise.
42106         * math/w_asinl.c: Likewise.
42107         * math/w_atan2.c: Likewise.
42108         * math/w_atan2f.c: Likewise.
42109         * math/w_atan2l.c: Likewise.
42110         * math/w_atanh.c: Likewise.
42111         * math/w_atanhf.c: Likewise.
42112         * math/w_atanhl.c: Likewise.
42113         * math/w_exp10.c: Likewise.
42114         * math/w_exp10f.c: Likewise.
42115         * math/w_exp10l.c: Likewise.
42116         * math/w_fmod.c: Likewise.
42117         * math/w_fmodf.c: Likewise.
42118         * math/w_fmodl.c: Likewise.
42119         * math/w_j0.c: Likewise.
42120         * math/w_j0f.c: Likewise.
42121         * math/w_j0l.c: Likewise.
42122         * math/w_j1.c: Likewise.
42123         * math/w_j1f.c: Likewise.
42124         * math/w_j1l.c: Likewise.
42125         * math/w_jn.c: Likewise.
42126         * math/w_jnf.c: Likewise.
42127         * math/w_log.c: Likewise.
42128         * math/w_logf.c: Likewise.
42129         * math/w_logl.c: Likewise.
42130         * math/w_log10.c: Likewise.
42131         * math/w_log10f.c: Likewise.
42132         * math/w_log10l.c: Likewise.
42133         * math/w_log2.c: Likewise.
42134         * math/w_log2f.c: Likewise.
42135         * math/w_log2l.c: Likewise.
42136         * math/w_pow.c: Likewise.
42137         * math/w_powf.c: Likewise.
42138         * math/w_powl.c: Likewise.
42139         * math/w_remainder.c: Likewise.
42140         * math/w_remainderf.c: Likewise.
42141         * math/w_remainderl.c: Likewise.
42142         * math/w_scalb.c: Likewise.
42143         * math/w_scalbf.c: Likewise.
42144         * math/w_scalbl.c: Likewise.
42145         * math/w_sqrt.c: Likewise.
42146         * math/w_sqrtf.c: Likewise.
42147         * math/w_sqrtl.c: Likewise.
42148         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42149         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42150         used.
42151         * math/math_private.h: Declare __kernel_standard_f.
42152         * math/w_cosh.c: Remove cruft and optimize a bit.
42153         * math/w_coshf.c: Likewise.
42154         * math/w_coshl.c: Likewise.
42155         * math/w_exp2.c: Likewise.
42156         * math/w_exp2f.c: Likewise.
42157         * math/w_exp2l.c: Likewise.
42158         * math/w_hypot.c: Likewise.
42159         * math/w_hypotf.c: Likewise.
42160         * math/w_hypotl.c: Likewise.
42161         * math/w_lgamma.c: Likewise.
42162         * math/w_lgamma_r.c: Likewise.
42163         * math/w_lgammaf.c: Likewise.
42164         * math/w_lgammaf_r.c: Likewise.
42165         * math/w_lgammal.c: Likewise.
42166         * math/w_lgammal_r.c: Likewise.
42167         * math/w_sinh.c: Likewise.
42168         * math/w_sinhf.c: Likewise.
42169         * math/w_sinhl.c: Likewise.
42170         * math/w_tgamma.c: Likewise.
42171         * math/w_tgammaf.c: Likewise.
42172         * math/w_tgammal.c: Likewise.
42173         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42174         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42175         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42176         Minor optimizations.  Pretty printing.  Remove cruft.
42177         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42178         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42179         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42180         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42181         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42182         * sysdeps/i386/fpu/e_asin.S: Likewise.
42183         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42184         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42185         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42186         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42187         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42188         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42189         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42190         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42191         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42192         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42193         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42194         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42195         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42196         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42197         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42198         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42199         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42200         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42201         * sysdeps/i386/fpu/e_log.S: Likewise.
42202         * sysdeps/i386/fpu/e_log10.S: Likewise.
42203         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42204         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42205         * sysdeps/i386/fpu/e_log2.S: Likewise.
42206         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42207         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42208         * sysdeps/i386/fpu/e_logf.S: Likewise.
42209         * sysdeps/i386/fpu/e_logl.S: Likewise.
42210         * sysdeps/i386/fpu/e_pow.S: Likewise.
42211         * sysdeps/i386/fpu/e_powf.S: Likewise.
42212         * sysdeps/i386/fpu/e_powl.S: Likewise.
42213         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42214         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42215         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42216         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42217         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42218         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42219         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42220         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42221         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42222         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42223         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42224         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42225         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42226         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42227         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42228         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42229         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42230         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42231         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42232         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42233         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42234         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42235         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42236         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42237         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42238         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42239         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42240         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42241         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42242         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42243         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42244         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42245         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42246         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42247         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42248         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42249         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42250         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42251         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42252         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42253         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42254         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42255         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42256         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42257         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42258         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42259         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42260         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42261         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42262         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42263         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42264         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42265         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42266         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42267         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42268         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42269         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42270         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42271         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42272         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42273         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42274         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42275         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42276         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42277         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42278         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42279         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42280         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42281         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42282         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42283         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42284         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42285         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42286         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42287         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42288         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42289         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42290         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42291         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42292         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42293         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42294         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42295         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42296         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42297         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42298         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42299         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42300         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42301         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42302         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42303         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42304         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42305         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42306         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42307         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42308         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42309         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42310         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42311         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42312         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42313         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42314         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42315         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42316         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42317         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42318         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42319         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42320         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42321         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42322         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42323         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42324         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42325         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42326         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42327         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42328         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42329         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42330         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42331         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42332         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42333         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42334         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42335         (__isnanf): Likewise.
42336         (__isinf_ns): Likewise.
42337         (__isinf_nsf): Likewise.
42338         (__finite): Likewise.
42339         (__finitef): Likewise.
42340         (__ieee754_sqrt): Define as macro.
42341         (__ieee754_sqrtf): Define as macro.
42342         (__ieee754_sqrtl): Define as macro.
42343         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42344         inlined copy.
42345         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42346         __FINITE_MATH_ONLY__ consistent.
42347         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42349 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
42351         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42352         of rawmemchr.
42354         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42356 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
42358         * po/ja.po: Update from translation team.
42360 2011-10-08  Roland McGrath  <roland@hack.frob.com>
42362         * locale/programs/locarchive.c (prepare_address_space): New function.
42363         (create_archive, enlarge_archive, open_archive): Use it.
42365         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42366         inside [SHARED], where it is used.
42368         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42370         * nss/getent.c (netgroup_keys): Remove unused variable.
42371         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42373 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
42375         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42376         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42377         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42378         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42379         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42380         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42381         * math/Makefile (libm-calls): Add s_isinf_ns.
42382         * math/divtc3.c: Use __isinf_nsl instead of isinf.
42383         * math/multc3.c: Likewise.
42384         * math/s_casin.c: Likewise.
42385         * math/s_casinf.c: Likewise.
42386         * math/s_casinl.c: Likewise.
42387         * math/s_ccos.c: Likewise.
42388         * math/s_ccosf.c: Likewise.
42389         * math/s_ccosl.c: Likewise.
42390         * math/s_ctan.c: Likewise.
42391         * math/s_ctanf.c: Likewise.
42392         * math/s_ctanh.c: Likewise.
42393         * math/s_ctanhf.c: Likewise.
42394         * math/s_ctanhl.c: Likewise.
42395         * math/s_ctanl.c: Likewise.
42396         * math/w_fmod.c: Likewise.
42397         * math/w_fmodf.c: Likewise.
42398         * math/w_fmodl.c: Likewise.
42399         * math/w_remainder.c: Likewise.
42400         * math/w_remainderf.c: Likewise.
42401         * math/w_remainderl.c: Likewise.
42402         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42403         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42404         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42405         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42406         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42407         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42408         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42409         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42411         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42412         of the number.
42413         * stdio-common/printf_fphex.c: Likewise.
42414         * stdio-common/printf_size.c: Likewise.
42416         * math/e_exp10.c: Include math_private.h using <...> not "...".
42417         * math/e_exp10f.c: Likewise.
42418         * math/e_exp10l.c: Likewise.
42419         * math/e_exp2l.c: Likewise.
42420         * math/e_j0l.c: Likewise.
42421         * math/e_j1l.c: Likewise.
42422         * math/e_jnl.c: Likewise.
42423         * math/e_lgammal_r.c: Likewise.
42424         * math/e_rem_pio2l.c: Likewise.
42425         * math/e_scalb.c: Likewise.
42426         * math/e_scalbf.c: Likewise.
42427         * math/e_scalbl.c: Likewise.
42428         * math/k_cosl.c: Likewise.
42429         * math/k_sinl.c: Likewise.
42430         * math/k_tanl.c: Likewise.
42431         * math/s_cacoshf.c: Likewise.
42432         * math/s_catan.c: Likewise.
42433         * math/s_catanf.c: Likewise.
42434         * math/s_catanh.c: Likewise.
42435         * math/s_catanhf.c: Likewise.
42436         * math/s_catanhl.c: Likewise.
42437         * math/s_catanl.c: Likewise.
42438         * math/s_ccosh.c: Likewise.
42439         * math/s_ccoshf.c: Likewise.
42440         * math/s_ccoshl.c: Likewise.
42441         * math/s_cexp.c: Likewise.
42442         * math/s_cexpf.c: Likewise.
42443         * math/s_cexpl.c: Likewise.
42444         * math/s_clog.c: Likewise.
42445         * math/s_clog10.c: Likewise.
42446         * math/s_clog10f.c: Likewise.
42447         * math/s_clog10l.c: Likewise.
42448         * math/s_clogf.c: Likewise.
42449         * math/s_clogl.c: Likewise.
42450         * math/s_csin.c: Likewise.
42451         * math/s_csinf.c: Likewise.
42452         * math/s_csinh.c: Likewise.
42453         * math/s_csinhf.c: Likewise.
42454         * math/s_csinhl.c: Likewise.
42455         * math/s_csinl.c: Likewise.
42456         * math/s_csqrt.c: Likewise.
42457         * math/s_csqrtf.c: Likewise.
42458         * math/s_csqrtl.c: Likewise.
42459         * math/s_ctan.c: Likewise.
42460         * math/s_ctanf.c: Likewise.
42461         * math/s_ctanh.c: Likewise.
42462         * math/s_ctanhf.c: Likewise.
42463         * math/s_ctanhl.c: Likewise.
42464         * math/s_ctanl.c: Likewise.
42465         * math/s_ldexp.c: Likewise.
42466         * math/s_ldexpf.c: Likewise.
42467         * math/s_ldexpl.c: Likewise.
42468         * math/s_significand.c: Likewise.
42469         * math/s_significandf.c: Likewise.
42470         * math/s_significandl.c: Likewise.
42471         * math/w_acos.c: Likewise.
42472         * math/w_acosf.c: Likewise.
42473         * math/w_acosh.c: Likewise.
42474         * math/w_acoshf.c: Likewise.
42475         * math/w_acoshl.c: Likewise.
42476         * math/w_acosl.c: Likewise.
42477         * math/w_asin.c: Likewise.
42478         * math/w_asinf.c: Likewise.
42479         * math/w_asinl.c: Likewise.
42480         * math/w_atan2.c: Likewise.
42481         * math/w_atan2f.c: Likewise.
42482         * math/w_atan2l.c: Likewise.
42483         * math/w_atanh.c: Likewise.
42484         * math/w_atanhf.c: Likewise.
42485         * math/w_atanhl.c: Likewise.
42486         * math/w_cosh.c: Likewise.
42487         * math/w_coshf.c: Likewise.
42488         * math/w_coshl.c: Likewise.
42489         * math/w_dremf.c: Likewise.
42490         * math/w_exp10.c: Likewise.
42491         * math/w_exp10f.c: Likewise.
42492         * math/w_exp10l.c: Likewise.
42493         * math/w_exp2.c: Likewise.
42494         * math/w_exp2f.c: Likewise.
42495         * math/w_fmod.c: Likewise.
42496         * math/w_fmodf.c: Likewise.
42497         * math/w_fmodl.c: Likewise.
42498         * math/w_hypot.c: Likewise.
42499         * math/w_hypotf.c: Likewise.
42500         * math/w_hypotl.c: Likewise.
42501         * math/w_j0.c: Likewise.
42502         * math/w_j0f.c: Likewise.
42503         * math/w_j0l.c: Likewise.
42504         * math/w_j1.c: Likewise.
42505         * math/w_j1f.c: Likewise.
42506         * math/w_j1l.c: Likewise.
42507         * math/w_jn.c: Likewise.
42508         * math/w_jnf.c: Likewise.
42509         * math/w_jnl.c: Likewise.
42510         * math/w_lgamma.c: Likewise.
42511         * math/w_lgamma_r.c: Likewise.
42512         * math/w_lgammaf.c: Likewise.
42513         * math/w_lgammaf_r.c: Likewise.
42514         * math/w_lgammal.c: Likewise.
42515         * math/w_lgammal_r.c: Likewise.
42516         * math/w_log.c: Likewise.
42517         * math/w_log10.c: Likewise.
42518         * math/w_log10f.c: Likewise.
42519         * math/w_log10l.c: Likewise.
42520         * math/w_log2.c: Likewise.
42521         * math/w_log2f.c: Likewise.
42522         * math/w_log2l.c: Likewise.
42523         * math/w_logf.c: Likewise.
42524         * math/w_logl.c: Likewise.
42525         * math/w_pow.c: Likewise.
42526         * math/w_powf.c: Likewise.
42527         * math/w_powl.c: Likewise.
42528         * math/w_remainder.c: Likewise.
42529         * math/w_remainderf.c: Likewise.
42530         * math/w_remainderl.c: Likewise.
42531         * math/w_scalb.c: Likewise.
42532         * math/w_scalbf.c: Likewise.
42533         * math/w_scalbl.c: Likewise.
42534         * math/w_sinh.c: Likewise.
42535         * math/w_sinhf.c: Likewise.
42536         * math/w_sinhl.c: Likewise.
42537         * math/w_sqrt.c: Likewise.
42538         * math/w_sqrtf.c: Likewise.
42539         * math/w_sqrtl.c: Likewise.
42540         * math/w_tgamma.c: Likewise.
42541         * math/w_tgammaf.c: Likewise.
42542         * math/w_tgammal.c: Likewise.
42544         * po/ja.po: Update from translation team.
42546 2011-09-29  Andreas Jaeger  <aj@suse.de>
42548         [BZ #13179]
42549         * sunrpc/netname.c (netname2host): Fix logic.
42551         [BZ #6779]
42552         [BZ #6783]
42553         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42554         correctly.
42555         * math/w_remainder.c (__remainder): Likewise.
42556         * math/w_remainderf.c (__remainderf): Likewise.
42557         * math/libm-test.inc (remainder_test): Add test cases.
42559 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42561         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
42562         sdiv_qrnnd.
42564 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42566         * string/test-memcmp.c: Avoid unncessary #defines.
42567         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42569 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42571         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42572         Use new sse2 version for core i3 - i7 as it's faster
42573         than sse42 version.
42574         (bit_Prefer_PMINUB_for_stringop): New.
42575         * sysdeps/x86_64/rawmemchr.S: Update.
42576         Replace with faster SSE2 version.
42577         * sysdeps/x86_64/memrchr.S: New file.
42578         * sysdeps/x86_64/memchr.S: Update.
42579         Replace with faster SSE2 version.
42581 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
42583         * elf/dl-load.c (lose): Add cast to avoid warning.
42585 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42587         * po/ca.po: Update from translation team.
42589         * inet/getnetgrent_r.c: Hook up nscd.
42590         * nscd/Makefile (routines): Add nscd_netgroup.
42591         (nscd-modules): Add netgroupcache.
42592         (CFLAGS-netgroupcache.c): Define.
42593         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42594         (cache_search): Add const to second parameter.
42595         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42596         INNETGR.
42597         (dbs): Add netgrdb entry.
42598         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42599         (verify_persistent_db): Handle netgrdb.
42600         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42601         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42602         GETFDNETGR.
42603         (netgroup_response_header): Define.
42604         (innetgroup_response_header): Define.
42605         (datahead): Add netgroup_response_header and innetgroup_response_header
42606         elements.
42607         * nscd/nscd.conf: Add entries for netgroup cache.
42608         * nscd/nscd.h (dbtype): Add netgrdb.
42609         (_PATH_NSCD_NETGROUP_DB): Define.
42610         (netgroup_iov_disabled): Declare.
42611         (xmalloc, xcalloc, xrealloc): Move declarations here.
42612         (cache_search): Adjust prototype.
42613         Add netgroup-related prototypes.
42614         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42615         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42616         (__nscd_innetgr): Declare.
42617         * nscd/selinux.c (perms): Use access_vector_t as element type and
42618         add netgroup-related initializers.
42619         * nscd/netgroupcache.c: New file.
42620         * nscd/nscd_netgroup.c: New file.
42621         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42622         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42623         For four parameters use innetgr.
42624         * nss/nss_files/files-init.c: Add definition and callback for netgr.
42625         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42626         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42627         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42629         * nscd/connections.c (register_traced_file): Don't register file
42630         for disabled databases.
42632 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
42634         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42636         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42637         from tree and freeing node.
42639 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
42641         * nss/nsswitch.c (__nss_database_lookup): Handle
42642         nss_parse_service_list out of memory case.
42644 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
42646         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42647         out of memory case.
42649 2011-10-04  Andreas Schwab  <schwab@redhat.com>
42651         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42652         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42653         pass it down.
42654         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42655         elf_machine_rela, elf_machine_lazy_rel.
42656         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42657         (ELF_DYNAMIC_DO_REL): Likewise.
42658         (ELF_DYNAMIC_DO_RELA): Likewise.
42659         (ELF_DYNAMIC_RELOCATE): Likewise.
42660         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42661         to ELF_DYNAMIC_DO_REL.
42662         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42663         (dl_main): In trace mode always set __RTLD_NOIFUNC.
42664         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42665         elf_machine_rela.
42666         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42667         skip_ifunc, don't call ifunc function if non-zero.
42668         (elf_machine_rela): Likewise.
42669         (elf_machine_lazy_rel): Likewise.
42670         (elf_machine_lazy_rela): Likewise.
42671         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42672         (elf_machine_lazy_rel): Likewise.
42673         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42674         Likewise.
42675         (elf_machine_lazy_rel): Likewise.
42676         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42677         Likewise.
42678         (elf_machine_lazy_rel): Likewise.
42679         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42680         (elf_machine_lazy_rel): Likewise.
42681         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42682         (elf_machine_lazy_rel): Likewise.
42683         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42684         (elf_machine_lazy_rel): Likewise.
42685         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42686         (elf_machine_lazy_rel): Likewise.
42687         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42688         (elf_machine_lazy_rel): Likewise.
42689         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42690         (elf_machine_lazy_rel): Likewise.
42692 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
42694         * nss/nss_files/files-init.c (_nss_files_init): Use static
42695         initialization for all the *_traced_file variables.
42697 2011-09-28  Andreas Schwab  <schwab@redhat.com>
42699         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42701 2011-09-27  Roland McGrath  <roland@hack.frob.com>
42703         [BZ #13226]
42704         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42706 2011-09-27  Andreas Schwab  <schwab@redhat.com>
42708         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42709         Reread the line before reparsing it.
42711 2011-09-26  Andreas Schwab  <schwab@redhat.com>
42713         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42715 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
42716             Maxim Kuvyrkov  <maxim@codesourcery.com>
42717             Joseph Myers  <joseph@codesourcery.com>
42719         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42720         if needed for __stack_chk_guard.
42722 2011-09-19  Roland McGrath  <roland@hack.frob.com>
42724         * sysdeps/posix/spawni.c (script_execute): Always define it.
42725         It will be optimized away if unused.
42726         (maybe_script_execute): New function.
42727         (__spawni): Call it.
42729         * Makerules: Don't include tls.make.
42730         (config-tls): Always set to thread.
42731         * tls.make.c: File removed.
42733 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
42735         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42736         * config.make.in (CPPFLAGS-config): New substituted variable.
42738 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42740         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42742         [BZ #13192]
42743         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42744         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42746 2011-09-15  Roland McGrath  <roland@hack.frob.com>
42748         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42749         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42750         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42751         (CALL_FAIL): Likewise.
42752         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42753         (CALL_FAIL): Macro removed.
42754         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42756 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42758         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42759         for __FINITE_MATH_ONLY__ == 1.
42761 2011-09-15  Andreas Schwab  <schwab@redhat.com>
42763         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42764         __ieee754_sqrt instead of sqrt.
42765         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42766         __ieee754_sqrtf instead of sqrtf.
42767         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42768         __floorf instead of floorf.
42769         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42770         __floorf, __truncf instead of floorf, truncf.
42772 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
42774         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42776         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42777         __extern_always_inline.
42778         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42779         32-bit.
42781 2011-09-14  Andreas Schwab  <schwab@redhat.com>
42783         * elf/rtld.c (dl_main): Also relocate in dependency order when
42784         doing symbol dependency testing.
42786 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
42788         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42789         Always define `refsym'.
42791 2011-09-13  Andreas Schwab  <schwab@redhat.com>
42793         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42794         (__FD_ELT): Renamed from __FDELT.
42795         * misc/bits/select2.h (__FD_ELT): Likewise.
42796         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42797         __FD_MASK instead of __FDELT, __FDMASK.
42798         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42799         Likewise.
42800         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42801         Likewise.
42803         * elf/Makefile (gen-ldd): Fix pattern.
42805         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42806         (init_tls): Likewise.
42808 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
42810         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42812 2011-09-12  Andreas Schwab  <schwab@redhat.com>
42814         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42815         `struct cmsghdr *' instead of `void *'.
42816         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42817         Likewise.
42819 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
42821         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42822         if non-absolute.
42823         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42824         ldd_rewrite_script.
42826 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
42828         * configure.in: Remove --with-tls option.
42829         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42830         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42831         out in case it is missing.
42832         * sysdeps/ia64/elf/configure.in: Likewise.
42833         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42834         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42835         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42836         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42837         * sysdeps/sh/elf/configure.in: Likewise.
42838         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42839         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42840         * sysdeps/x86_64/elf/configure.in: Likewise.
42841         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42842         * sysdeps/mach/hurd/tls.h: Likewise.
42844         [BZ #13067]
42845         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42847         [BZ #13090]
42848         * configure.in: Fix use of AC_INIT.
42850         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42852 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
42854         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42855         __set_errno.
42856         * malloc/hooks.c: Likewise.
42858         [BZ #11929]
42859         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
42860         variables statically.
42861         (narenas): Initialize.
42862         (list_lock): Initialize.
42863         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
42864         initializtion of main_arena and list_lock.  Small cleanups.
42865         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42866         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
42867         Add initializers to main_arena and mp_.
42868         (malloc_state): Remove pagesize member.  Change all users to use
42869         GLRO(dl_pagesize).
42871         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42872         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
42873         is always initialized.
42875         * malloc/malloc.c: Removed unused configurations and dead code.
42876         * malloc/arena.c: Likewise.
42877         * malloc/hooks.c: Likewise.
42878         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42880         * include/tls.h: Removed.  USE___THREAD must always be defined.
42881         * bits/libc-tsd.h: Don't handle !USE___THREAD.
42882         * elf/dl-libc.c: Likewise.
42883         * elf/dl-tsd.c: Likewise.
42884         * include/errno.h: Likewise.
42885         * include/netdb.h: Likewise.
42886         * include/resolv.h: Likewise.
42887         * inet/herrno-loc.c: Likewise.
42888         * inet/herrno.c: Likewise.
42889         * malloc/arena.c: Likewise.
42890         * malloc/hooks.c: Likewise.
42891         * malloc/malloc.c: Likewise.
42892         * resolv/res-state.c: Likewise.
42893         * resolv/res_libc.c: Likewise.
42894         * sysdeps/i386/dl-machine.h: Likewise.
42895         * sysdeps/ia64/dl-machine.h: Likewise.
42896         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42897         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42898         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42899         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42900         * sysdeps/sh/dl-machine.h: Likewise.
42901         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42902         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42903         * sysdeps/unix/i386/sysdep.S: Likewise.
42904         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42905         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42906         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42907         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42908         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42909         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42910         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42911         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42912         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42913         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42914         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42915         * sysdeps/x86_64/dl-machine.h: Likewise.
42916         * tls.make.c: Likewise.
42918         * configure.in: Remove --with-__thread option.  Make tests for
42919         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42920         tls_model attribute fail if no support is available.  Remove
42921         USE_IN_LIBIO.
42922         * Makeconfig: Adjust for dropped configure option.  All features are
42923         now mandatory.
42924         * Makerules: Likewise.
42925         * Versions.def: Likewise.
42926         * argp/argp-fmtstream.c: Likewise.
42927         * argp/argp-fmtstream.h: Likewise.
42928         * argp/argp-help.c: Likewise.
42929         * assert/assert.c: Likewise.
42930         * config.h.in: Likewise.
42931         * config.make.in: Likewise.
42932         * configure: Likewise.
42933         * configure.in: Likewise.
42934         * csu/Versions: Likewise.
42935         * csu/init.c: Likewise.
42936         * elf/tst-audit2.c: Likewise.
42937         * elf/tst-tls10.c: Likewise.
42938         * elf/tst-tls10.h: Likewise.
42939         * elf/tst-tls11.c: Likewise.
42940         * elf/tst-tls12.c: Likewise.
42941         * elf/tst-tls14.c: Likewise.
42942         * elf/tst-tlsmod11.c: Likewise.
42943         * elf/tst-tlsmod12.c: Likewise.
42944         * elf/tst-tlsmod13.c: Likewise.
42945         * elf/tst-tlsmod13a.c: Likewise.
42946         * elf/tst-tlsmod14a.c: Likewise.
42947         * elf/tst-tlsmod15b.c: Likewise.
42948         * elf/tst-tlsmod16a.c: Likewise.
42949         * elf/tst-tlsmod16b.c: Likewise.
42950         * elf/tst-tlsmod7.c: Likewise.
42951         * elf/tst-tlsmod8.c: Likewise.
42952         * elf/tst-tlsmod9.c: Likewise.
42953         * gmon/gmon.c: Likewise.
42954         * grp/fgetgrent_r.c: Likewise.
42955         * grp/putgrent.c: Likewise.
42956         * hurd/fopenport.c: Likewise.
42957         * include/libc-symbols.h: Likewise.
42958         * include/tls.h: Likewise.
42959         * intl/gettextP.h: Likewise.
42960         * intl/loadinfo.h: Likewise.
42961         * locale/global-locale.c: Likewise.
42962         * locale/localeinfo.h: Likewise.
42963         * mach/devstream.c: Likewise.
42964         * malloc/arena.c: Likewise.
42965         * malloc/set-freeres.c: Likewise.
42966         * misc/err.c: Likewise.
42967         * misc/getttyent.c: Likewise.
42968         * misc/mntent_r.c: Likewise.
42969         * posix/getopt.c: Likewise.
42970         * posix/wordexp.c: Likewise.
42971         * pwd/fgetpwent_r.c: Likewise.
42972         * resolv/Versions: Likewise.
42973         * resolv/res_hconf.c: Likewise.
42974         * shadow/fgetspent_r.c: Likewise.
42975         * shadow/putspent.c: Likewise.
42976         * stdio-common/printf_fphex.c: Likewise.
42977         * stdio-common/tmpfile.c: Likewise.
42978         * stdlib/abort.c: Likewise.
42979         * stdlib/fmtmsg.c: Likewise.
42980         * sunrpc/auth_unix.c: Likewise.
42981         * sunrpc/clnt_perr.c: Likewise.
42982         * sunrpc/clnt_tcp.c: Likewise.
42983         * sunrpc/clnt_udp.c: Likewise.
42984         * sunrpc/clnt_unix.c: Likewise.
42985         * sunrpc/openchild.c: Likewise.
42986         * sunrpc/svc_simple.c: Likewise.
42987         * sunrpc/svc_tcp.c: Likewise.
42988         * sunrpc/svc_udp.c: Likewise.
42989         * sunrpc/svc_unix.c: Likewise.
42990         * sunrpc/xdr.c: Likewise.
42991         * sunrpc/xdr_array.c: Likewise.
42992         * sunrpc/xdr_rec.c: Likewise.
42993         * sunrpc/xdr_ref.c: Likewise.
42994         * sunrpc/xdr_stdio.c: Likewise.
42996 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42998         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43000 2011-07-03  Andreas Jaeger  <aj@suse.de>
43002         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43003         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43004         regenerate with gen-libm-tests.pl.
43006 2010-05-12  Petr Baudis  <pasky@suse.cz>
43008         [BZ #11589]
43009         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43010         around j0() zero points by switching to j1().
43011         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43012         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43013         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43014         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43016 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43018         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43019         instead of 0.
43020         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43021         instead of 0.
43022         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43023         Patch in part by Pavel Roskin <proski@gnu.org>.
43025         [BZ #13138]
43026         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43027         realloc.
43028         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43029         Free memory block if necessary.
43031         [BZ #12847]
43032         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43033         be NULL.  Don't lock in this case.
43035 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43037         * elf/elf.h (ELFOSABI_GNU): New macro.
43038         (ELFOSABI_LINUX): Define to that.
43040 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43042         * string/strncat.c (strncat): Undef the symbol in case it has been
43043         defined in bits/string.h.
43045 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43047         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43049         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43050         link map.
43052 2011-08-17  Andreas Jaeger  <aj@suse.de>
43054         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43056 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43057             Ian Lance Taylor  <iant@google.com>
43059         * math/libm-test.inc (lround_test): New testcase.
43060         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43062 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43064         * Makefile: Remove support for automatic cvs check-ins.
43065         * Makerules: Likewise.
43066         * config.make.in: Likewise.
43067         * configure.in: Likewise.
43068         * intl/Makefile: Likewise.
43069         * locale/Makefile: Likewise.
43070         * po/Makefile: Likewise.
43071         * posix/Makefile: Likewise.
43072         * sysdeps/gnu/Makefile: Likewise.
43073         * sysdeps/mach/hurd/Makefile: Likewise.
43074         * sysdeps/sparc/sparc32/Makefile: Likewise.
43076         [BZ #13118]
43077         * posix/Makefile (bug-regex32-ENV): Define.
43078         Patch by John Stanley <jpsinthemix@verizon.net>.
43080         * misc/Makefile (headers): Add bits/select2.h.
43081         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43082         * misc/bits/select2.h: New file.
43083         * include/bits/select2.h: New file.
43084         * debug/Makefile (routines): Add fdelt_chk.
43085         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43086         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43087         FD_ISSET.
43088         * debug/fdelt_chk.c: New file.
43090         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43091         * wcsmbs/test-wmemcmp.c: Likewise.
43092         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43093         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43095 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43097         * string/Makefile (strop-tests): Add memcmp.
43098         * string/test-wmemcmp.c: New file.
43099         * string/test-memcmp.c: Add wmemcmp support.
43101 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43103         [BZ #13153]
43104         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43105         2011-07-19 change.
43107         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43108         garbage value in a __mach_port_mod_refs call in the cases of the
43109         task-self and thread-self ports.
43111 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43113         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43115 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43117         * elf/dl-load.c (lose): Check for non-null L.
43119 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43121         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43123         * elf/dl-libc.c (dlerror_run): Pass back error code from
43124         dl_catch_error.
43126         [BZ #13123]
43127         * elf/dl-load.c (lose): Free l_origin if it is valid.
43129         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43130         names.
43131         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43132         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43133         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43134         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43135         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43136         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43138 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43140         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43141         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43142         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43143         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43144         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43145         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43146         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43147         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43148         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43149         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43151 2011-08-15  Alan Modra  <amodra@gmail.com>
43153         [BZ #13092]
43154         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43155         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43156         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43157         ppc_mcount to static-only-routines.
43158         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43159         __mcount_internal.
43160         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43161         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43163 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43165         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43166         for finite and infinity parameters.
43168 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43170         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43171         and add nop instructions for throughput optimization.
43172         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43174 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43176         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43177         aligned copy for power7 with vector-scalar instructions.
43178         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43180 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43182         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43183         AVX check.
43185 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43187         [BZ #13144]
43188         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43189         last change.
43191 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43193         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43194         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43195         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43196         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43197         clock_gettime.
43199 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43201         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43202         Forgot to demangle the pointer.
43204         * sysdeps/i386/sysdep.h: Define atom_text_section.
43205         * sysdeps/x86_64/sysdep.h: Likewise.
43206         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43207         section with atom_text_section.
43208         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43209         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43210         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43211         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43212         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43214         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43215         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43216         already be defined.  Change to take two parameters and don't assign
43217         result to variable.  Adjust all users.
43218         Define INTERNAL_GETTIME if not already defined.
43219         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43220         call.
43221         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43222         HAVE_CLOCK_GETTIME_VSYSCALL.
43223         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43225         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43226         gettimeofday vsyscall, just use time.
43228 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43230         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43231         <errno.h>.
43233 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43235         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43236         syscall on x86-64.
43237         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43238         syscall.
43239         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43240         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43241         syscall if possible.
43243 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43245         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43246         e_ident.  Don't pass to find_mapsXX.
43247         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43249 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43252         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43253         * sysdeps/x86_64/multiarch/strchr.S: Update.
43254         Check bit_slow_BSF bit.
43255         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43256         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43257         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43259 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43261         [BZ #13134]
43262         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43263         before glibc 2.15.
43264         (tryshell): Define.
43265         (__spawni): Change last parameter to be flag.  Test
43266         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43267         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43268         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43269         * posix/spawni.c: Likewise.
43270         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43271         * posix/spawnp.c: Likewise.  Change normal version to use
43272         SPAWN_XFLAGS_USE_PATH.
43273         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43274         SPAWN_XFLAGS_TRY_SHELL.
43276         [BZ #13150]
43277         * posix/glob.h: Remove gcc 1.x support.
43279         [BZ #13068]
43280         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43282 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43284         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43285         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43286         strrchr-sse2-bsf
43287         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43288         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43289         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43290         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43291         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43292         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43294 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43296         * sysdeps/x86_64/wcscmp.S: New file.
43298         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43299         wcscmp-c wcscmp-sse2
43300         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43301         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43302         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43303         * wcsmbs/wcscmp.c: Allow renaming.
43305 2011-09-05  David S. Miller  <davem@davemloft.net>
43307         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43308         stack slot, rather than the struct return pointer slot.
43309         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43310         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43312         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43314 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43316         * po/ja.po: Update from translation team.
43318         [BZ #13144]
43319         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43320         kernel in 64-bit binaries.
43322 2011-09-01  David S. Miller  <davem@davemloft.net>
43324         * elf/elf.h (HWCAP_SPARC_*): Move to..
43325         * sysdeps/sparc/sysdep.h: this new file and add new values.
43326         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43327         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43328         _DL_HWCAP_COUNT to 24.
43329         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43330         entries.
43331         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43332         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43333         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43334         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43335         instead of magic constants.
43336         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43338 2011-08-31  David S. Miller  <davem@davemloft.net>
43340         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43341         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43342         Reimplement to do errno handling inline.
43343         (SYSCALL_ERROR_HANDLER): New macro.
43344         (__SYSCALL_STRING): Do not do errno handling in asm.
43345         (__CLONE_SYSCALL_STRING): Delete.
43346         (__INTERNAL_SYSCALL_STRING): Delete.
43347         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43348         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43349         (PSEUDO): Reimplement to do errno handling inline.
43350         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43351         (SYSCALL_ERROR_HANDLER): New macro.
43352         (__SYSCALL_STRING): Do not do errno handling in asm.
43353         (__CLONE_SYSCALL_STRING): Delete.
43354         (__INTERNAL_SYSCALL_STRING): Delete.
43355         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43356         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43357         i386.
43358         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43359         (inline_syscall*): Add 'err' argument.
43360         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43361         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43362         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43363         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43365         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43366         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43368 2011-08-30  Andreas Schwab  <schwab@redhat.com>
43370         * elf/rtld.c (dl_main): Relocate objects in dependency order.
43372 2011-08-29  Jiri Olsa <jolsa@redhat.com>
43374         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43375         directive.
43377 2011-08-24  David S. Miller  <davem@davemloft.net>
43379         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43381 2011-08-24  Andreas Schwab  <schwab@redhat.com>
43383         * elf/Makefile: Add rules to build and run unload8 test.
43384         * elf/unload8.c: New file.
43385         * elf/unload8mod1.c: New file.
43386         * elf/unload8mod1x.c: New file.
43387         * elf/unload8mod2.c: New file.
43388         * elf/unload8mod3.c: New file.
43390         * elf/dl-close.c (_dl_close_worker): Reset private search list if
43391         it wasn't used.
43393 2011-08-23  David S. Miller  <davem@davemloft.net>
43395         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43396         subtract stack bias.
43397         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43398         %sp not %fp in calculations.
43399         (_JMPBUF_UNWINDS_ADJ): Likewise.
43401         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43402         (aio_suspend): Call it to force an exception region around the
43403         AIO_MISC_WAIT() invocation.
43405 2011-08-23  Andreas Schwab  <schwab@redhat.com>
43407         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43408         backslash.
43410 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
43412         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43413         protection macro.
43414         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43415         and <dl-machine.h>.
43416         (Elf64_FuncDesc): Remove.
43418 2011-08-22  David S. Miller  <davem@davemloft.net>
43420         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43421         sigaltstack check, add missing cfi directives.
43422         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43423         missing cfi directives, and sigaltstack handling.
43425 2011-08-16  Andreas Schwab  <schwab@redhat.com>
43427         [BZ #11724]
43428         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43429         object is seen twice.
43430         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43432         * elf/Makefile (distribute): Add tst-initorder2.c.
43433         (tests): Add tst-initorder2.
43434         (modules-names): Add tst-initorder2a tst-initorder2b
43435         tst-initorder2c tst-initorder2d.  Add rules to build them.
43436         ($(objpfx)tst-initorder2.out): New rule.
43437         * elf/tst-initorder2.c: New file.
43438         * elf/tst-initorder2.exp: New file.
43440 2011-08-22  Andreas Schwab  <schwab@redhat.com>
43442         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43444         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43445         dependencies back to end of function.
43447         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43448         $(elfobjdir)/ld.so.
43450 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
43452         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43453         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43454         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43455         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43456         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43457         of __vdso_gettimeofday.
43458         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43459         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
43460         attribute_hidden.
43461         (_libc_vdso_platform_setup): Remove initialization of
43462         __vdso_gettimeofday and __vdso_time.
43464 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43466         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43467         and fgetc_unlocked.
43468         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43469         getc_unlocked.
43471         * elf/dl-open.c (add_to_global): Report additions to the global scope
43472         for LD_DEBUG=scopes.
43473         (dl_open_worker): Also print scope of newly loaded dependencies.
43474         (_dl_show_scope): Indicate if there is no scope.
43476         [BZ #13114]
43477         * stdio-common/Makefile (tests): Add bug24.
43478         * stdio-common/bug24.c: New file.
43480 2011-08-19  Andreas Jaeger  <aj@suse.de>
43482         [BZ #13114]
43483         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43484         non-existant file when using close-on-exec mode.
43486 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43488         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43489         the very first instruction.
43491         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43492         the CFI state in the end.
43493         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43494         inclusion of dl-trampoline.h.
43495         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43497 2011-08-19  Andreas Schwab  <schwab@redhat.com>
43499         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43500         expectations for long double.
43502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43503         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43505 2011-08-14  David S. Miller  <davem@davemloft.net>
43507         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43508         artificual limit depends upon the system page size.
43510 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43512         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43513         * resolv/Makefile: Define CFLAGS-libresolv.
43515 2011-08-17  Andreas Schwab  <schwab@redhat.com>
43517         * nss/makedb.c (compute_tables): Make variables used in nested
43518         function static.
43520 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43522         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43523         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43524         if buffer was too small.
43526         * elf/pldd.c (main): Attach to all threads in the process.
43527         Rewrite /proc handling to use *at functions.
43529 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
43531         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43532         specifies first scope to show.
43533         (dl_open_worker): Update callers.  Move printing scope of new
43534         object to before the relocation.
43535         * elf/rtld.c (dl_main): Update _dl_show_scope call.
43536         * sysdeps/generic/ldsodefs.h: Update declaration.
43538         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43539         string for the scope number.
43541 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
43543         * nscd/servicescache.c (cache_addserv): Make sure written is always
43544         initialized.
43546 2011-08-14  Roland McGrath  <roland@hack.frob.com>
43548         * sysdeps/i386/i486/bits/atomic.h
43549         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43550         statement expression, so as to suppress "set but not used" warning.
43551         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43553         * string/strncat.c (STRNCAT): Use prototype definition.
43555         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43556         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43557         -Iprograms here.
43558         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43559         (localedef-modules): Add localedef.
43560         (locale-modules): Add locale.
43562         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43563         * elf/rtld.c (dl_main): Invert order of assignment in last change,
43564         to avoid a warning.
43566 2011-08-14  David S. Miller  <davem@davemloft.net>
43568         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43569         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43571 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
43573         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43574         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43575         * elf/rtld.c (dl_main): Set l_name of vDSO.
43576         Call _dl_show_scope when DL_DEBUG_SCOPES.
43577         (process_dl_debug): Recognize scopes flag and also set it for all.
43578         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43579         Declare _dl_show_scope.
43581         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43582         (do_dlopen): Pass caller_dlopen to dl_open.
43583         (__libc_dlopen_mode): Initialize caller_dlopen.
43585         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43586         of libc.  Make tolower call locale-independent.  Optimize a bit by
43587         using isdigit instead of isalnum.
43588         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43590 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
43592         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43593         was a dependency or dynamically loaded.
43595 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
43597         * intl/l10nflist.c: Allow architecture-specific pop function.
43598         * sysdeps/x86_64/l10nflist.c: New file.
43600         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43601         classification.
43603 2011-08-10  Andreas Schwab  <schwab@redhat.com>
43605         * include/dirent.h: Add libc_hidden_proto for scandirat and
43606         scandirat64.  Don't declare __scandirat64.
43607         * dirent/scandirat.c: Add libc_hidden_def.
43608         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43609         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43611 2011-08-10  David S. Miller  <davem@davemloft.net>
43613         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43614         enum.
43615         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43616         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43617         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43619 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
43621         * Versions.def [libc]: Add GLIBC_2.15.
43622         * dirent/Makefile (routines): Add scandirat and scandirat64.
43623         * dirent/Versions [libc]: Export scandirat and scandirat64 for
43624         GLIBC_2.15.
43625         * dirent/dirent.h: Declare scandirat and scandirat64.
43626         * dirent/scandirat.c: New file.
43627         * dirent/scandirat64.c: New file.
43628         * sysdeps/wordsize-64/scandirat.c: New file.
43629         * sysdeps/wordsize-64/scandirat64.c: New file.
43630         * dirent/opendir.c: Define opendirat.
43631         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
43632         using scandirat.
43633         * dirent/scandir64.c: Adjust for scandir.c change.
43634         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
43635         __scandirat64, and __scandir_cancel_handler.
43636         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
43637         additional parameter and use openat instead of open (outside of ld.so).
43638         Add new __opendir as wrapper around __opendirat.
43639         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43640         here without requiring old scandirat implementation.
43642 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
43644         * dirent/scandir.c (cancel_handler): Renamed to
43645         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
43646         defined.  Adjust users.
43647         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43648         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43650 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
43652         * string/test-string.h (IMPL): Use __STRING to expand name and then
43653         stringify it.
43655         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
43656         of cleanups.
43658 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43660         * string/Makefile: Update.
43661         (strop-tests): Append strncat.
43662         * string/test-wcscmp.c: New file.
43663         New comprehensive test for wcscmp.
43664         * string/test-strcmp.c: Update.
43665         (WIDE): New define.
43667 2011-07-22  Andreas Schwab  <schwab@redhat.com>
43669         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43670         line.
43672 2011-07-26  Andreas Schwab  <schwab@redhat.com>
43674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43675         encoding to ACE if AI_IDN.
43677 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
43679         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43680         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43682 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43684         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43685         Fix overflow bug in strncat.
43686         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43688         * string/test-strncat.c: Update.
43689         Add new tests for checking overflow bugs.
43691 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43693         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43694         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43695         * sysdeps/i386/i686/multiarch/strcat.S: New file.
43696         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43697         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43698         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43699         * sysdeps/i386/i686/multiarch/strncat.S: New file.
43700         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43701         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43703         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43704         (USE_AS_STRCAT): Define.
43705         Add strcat and strncat support.
43706         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43708 2011-07-25  Andreas Schwab  <schwab@redhat.com>
43710         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43711         __n bigger than INT_MAX+1.
43712         (__strncmp_g): Likewise.
43714 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
43716         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43717         * libio/stido.h: Likewise.
43719         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43720         (AF_NFC): Define.
43721         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43722         (AF_NFC): Define.
43724         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43725         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43726         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43727         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43728         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43730         [BZ #13021]
43731         * scripts/test-installation.pl: Don't expect libnss_test1 to be
43732         installed.
43734         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43735         typo.
43736         (_dl_x86_64_save_sse): Likewise.
43738 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
43740         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43741         OSXSAVE.
43742         (_dl_x86_64_save_sse): Likewise.
43744         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43746         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43748 2011-07-21  Andreas Schwab  <schwab@redhat.com>
43750         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43751         change.
43752         (_dl_x86_64_save_sse): Use correct AVX check.
43754 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43756         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43757         bug in strncpy/strncat.
43758         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43760 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
43762         * string/tester.c (test_strcat): Add tests for different alignments
43763         of source and destination.
43764         (test_strncat): Likewise.
43766 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43768         [BZ #12852]
43769         * posix/glob.c (glob): Check passed in values before using them in
43770         expressions to avoid some overflows.
43771         (glob_in_dir): Likewise.
43773         [BZ #13007]
43774         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43775         check for AVX enablement so that we don't crash with old kernels and
43776         new hardware.
43777         * elf/tst-audit4.c: Add same checks here.
43778         * elf/tst-audit6.c: Likewise.
43780         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43782 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
43784         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43786 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43788         * po/cs.po: Update from translation team.
43789         * po/bg.po: Likewise.
43791 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
43793         * misc/sys/cdefs.h: Add support for const attribute.
43794         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43795         to gnu_dev_{major,minor,makedev} functions.
43797 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
43799         * intl/dcigettext.c (get_output_charset): Add missing bracket.
43801 2011-07-20  Andreas Schwab  <schwab@redhat.com>
43803         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43804         strlen results.
43806 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43808         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43809         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43810         register in order to avoid conflicts with the soft frame pointer
43811         being held in r11 when necessary.
43812         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43813         (INTERNAL_VSYSCALL_NCS): Likewise.
43815 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
43817         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43818         * elf/dl-fini.c (_dl_fini): Adjust caller.
43819         * elf/dl-close.c (_dl_close_worker): Likewise.
43820         * sysdeps/generic/ldsodefs.h: Adjust declaration.
43822 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43824         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43825         "aux_cache->nlibs < 0".
43827         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43828         in the reload-count case.
43830 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43832         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43833         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43834         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43835         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43836         * sysdeps/x86_64/multiarch/strcat.S: New file.
43837         * sysdeps/x86_64/multiarch/strncat.S: New file.
43838         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43839         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43840         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43841         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43842         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43843         (USE_AS_STRCAT): Define.
43844         Add strcat and strncat support.
43845         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43846         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43847         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43848         * string/strncat.c: Update.
43849         (USE_AS_STRNCAT): Define.
43850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43851         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43852         and i7.
43853         * sysdeps/x86_64/multiarch/init-arch.h
43854         (bit_Prefer_PMINUB_for_stringop): New.
43855         (index_Prefer_PMINUB_for_stringop): Likewise.
43856         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43857         bit_Prefer_PMINUB_for_stringop.
43859 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43861         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43862         buffer64.
43863         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43864         of casting of buffer.
43865         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43866         buffer32 and buffer64.
43867         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43868         writes instead of casting of buffer.
43869         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43870         buffer32.
43871         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43872         casting of buffer.
43874 2011-07-19  Andreas Schwab  <schwab@redhat.com>
43876         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43878 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43880         * nscd/nscd.c (termination_handler): Don't do anything for a database
43881         if it has not yet been initialized.
43883 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43885         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43887 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43889         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43891 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43893         * po/nl.po: Update from translation team.
43894         * po/sv.po: Likewise.
43896 2011-07-16  Roland McGrath  <roland@hack.frob.com>
43898         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43899         now disallowed by GCC.
43901         * configure.in (use-default-link): Default to yes if a test -shared
43902         link meets our qualifications.
43903         * configure: Regenerated.
43905         * config.make.in (output-format): New variable.
43906         * configure.in: Check for ld --print-output-format support.
43907         * configure: Regenerated.
43908         * Makerules ($(common-objpfx)format.lds)
43909         [$(output-format) != unknown]: Just use $(output-format),
43910         instead of the linker-script munging.
43912 2011-07-14  Roland McGrath  <roland@hack.frob.com>
43914         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43915         of $(common-objpfx)shlib.lds.
43916         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43918         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43919         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43921         * configure.in (-z relro check): Adjust test code to add a large
43922         writable data section after it.
43923         * configure: Regenerated.
43925 2011-07-11  Roland McGrath  <roland@hack.frob.com>
43927         * configure.in (-z relro check): Fix test code to make the variable
43928         truly const.
43929         * configure: Regenerated.
43931 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
43933         * nscd/nscd.h (struct traced_file): Define.
43934         (struct database_dyn): Remove inotify_descr, reset_res, and filename
43935         elements.  Add traced_files.
43936         (inotify_fd): Declare.
43937         (register_traced_file): Declare.
43938         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43939         (inotify_fd): Export.
43940         (resolv_conf_descr): Remove.
43941         (nscd_init): Move inotify descriptor creation to main.
43942         Don't register files for notification here.
43943         (register_traced_file): New function.
43944         (invalidate_cache): Don't use reset_res to determine whether to call
43945         res_init, go through the list of registered files.
43946         (main_loop_poll): The inotify descriptors are now stored in the
43947         structures for the traced files.
43948         (main_loop_epoll): Likewise
43949         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
43950         to __nss_disable_nscd.
43951         * nscd/cache.c (prune_cache): There is no single inotify descriptor
43952         for a database anymore.  Check the records for all the registered
43953         files instead.
43954         * nss/Makefile (libnss_files-routines): Add files-init.
43955         (libnss_db-routines): Add db-init.
43956         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43957         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43958         * nss/nss_db/db-init.c: New file.
43959         * nss/nss_files/files-init.c: New file.
43960         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
43961         __nss_lookup_function.
43962         (__nss_lookup_function): Call nss_load_library.
43963         (nss_load_all_libraries): New function.
43964         (__nss_disable_nscd): Take parameter with callback function for files
43965         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
43966         used for the cached services.
43967         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43968         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43969         options for features to all the files in nscd.
43971         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43973 2011-07-10  Roland McGrath  <roland@hack.frob.com>
43975         * csu/elf-init.c (__libc_csu_init): Comment typo.
43977 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
43979         * po/pl.po: Update from translation team.
43980         * po/ja.po: Likewise.
43981         * po/ru.po: Likewise.
43982         * po/ko.po: Likewise.
43983         * po/fr.po: Likewise.
43985 2011-07-09  Roland McGrath  <roland@hack.frob.com>
43987         * configure.in (.ctors/.dtors header and trailer check):
43988         Use an empirical test on a built program.
43989         * configure: Regenerated.
43991         * configure.in (-z relro check): Use an empirical test on a built DSO.
43992         Detect, but do not require, on ia64.
43993         * configure: Regenerated.
43995         * configure.in (READELF): Find it with AC_CHECK_TOOL.
43996         Update tests that use readelf to use $READELF instead.
43997         * configure: Regenerated.
43999 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44001         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44002         if the result is not used.
44004 2011-07-05  Andreas Jaeger  <aj@suse.de>
44006         [BZ#9696]
44007         * stdlib/tst-strtod.c: Add testcase.
44009 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44011         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44012         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44013         The latter has a higher limit.  Take additional parameter to pass to
44014         the new function.
44015         (__pathconf): Pass file to __statfs_link_max.
44016         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44017         __statfs_link_max.
44018         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44019         __statfs_link_max.
44021         [BZ #12868]
44022         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44023         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44024         Handle Lustre.
44025         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44026         (__statfs_filesize_max): Likewise.
44027         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44029 2011-07-05  Andreas Jaeger  <aj@suse.de>
44031         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44033 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44035         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44036         `status' variable.
44037         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44038         Likewise.
44040 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44042         * Makefile (strop-tests): Add strncat.
44043         * string/test-strncat.c: New file.
44045 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44047         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44049 2011-06-21  Andreas Jaeger  <aj@suse.de>
44051         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44052         Copy rule from iconvdata/Makefile.
44054 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44056         [BZ #12922]
44057         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44058         but no long options are defined, just return 'W'.
44060 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44062         [BZ #9696]
44063         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44065 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44067         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44068         netgroups to read.
44069         (innetgr): Likewise.
44071 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44073         * config.make.in (install_root): Default to $(DESTDIR).
44075 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44077         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44079 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44081         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44083         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44084         containing directory rather than embedding absolute directory names.
44086         * scripts/check-local-headers.sh: Rewritten using awk.
44087         Match by word, not by line.  Print error messages for matches.
44088         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44090         * Makerules [shlib-lds-flags empty]:
44091         ($(common-objpfx)libc_pic.opts): New target.
44092         ($(common-objpfx)libc_pic.os.clean): New target.
44093         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44095         * config.make.in (OBJCOPY): New variable.
44096         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44097         * configure: Regenerated.
44099         * config.make.in (use-default-link): New variable.
44100         * configure.in (use_default_link): Grok --with-default-link to set it.
44101         * configure: Regenerated.
44102         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44103         (shlib-lds, shlib-lds-flags): Define to empty.
44105         * Makerules (shlib-lds): New variable.
44106         (shlib-lds-flags): New variable.
44107         (build-shlib, build-moduile, build-module-asneeded): Use it.
44108         ($(common-objpfx)libc.so): Use $(shlib-lds).
44109         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44110         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44112         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44113         DT_FLAGS/DT_FLAGS_1 with zero flags.
44115         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44116         linker script munging.
44118 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44120         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44121         as 128-bit value.
44122         * crypt/sha512.c (sha512_process_block): Perform total addition using
44123         128-bit if possible.
44124         (__sha512_finish_ctx): Likewise.
44125         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44126         as 64-bit value.
44127         * crypt/sha256.c (SWAP64): Define.
44128         (sha256_process_block): Perform total addition using 64-bit if
44129         possible.
44130         (__sha256_finish_ctx): Likewise.
44132 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44134         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44135         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44136         * nscd/hstcache.c (cache_addhst): Likewise.
44137         * nscd/grpcache.c (cache_addgr): Likewise.
44138         * nscd/aicache.c (addhstaiX): Likewise
44139         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44141 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44143         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44144         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44145         * nscd/hstcache.c (cache_addhst): Likewise.
44146         * nscd/grpcache.c (cache_addgr): Likewise.
44147         * nscd/aicache.c (addhstaiX): Likewise
44149 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44151         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44152         domain only when needed.
44154 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44157         is always restored.
44159 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44161         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44162         are re-adding the entry.
44163         * nscd/servicescache.c (cache_addserv): Likewise.
44165 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44167         * sysdeps/generic/dl-irel.h: fix protection against multiple
44168         inclusions.
44169         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44171 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44173         [BZ #12935]
44174         * malloc/memusage.sh: Fix quoting in message.
44175         * debug/xtrace.sh: Likewise.
44177         * configure.in: Remove support for --experimental-malloc option, make
44178         it the default.
44179         * config.make.in: Likewise.
44180         * malloc/Makefile: Likewise.
44182 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44184         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44185         two-byte characters.
44187 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44189         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44190         AC_CACHE_CHECK invocation.
44191         * configure: Regenerated.
44193         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44195 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44197         [BZ #12350]
44198         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44199         bit from old_res_options.
44201         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44203         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44204         value type for setfct.
44206 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44208         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44209         __gettimeofday instead of gettimeofday.
44211 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44213         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44215 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44217         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44219         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44220         info.
44222 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44225         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44226         strcpy-sse2-unaligned strncpy-sse2-unaligned
44227         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44228         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44229         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44230         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44231         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44232         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44233         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44234         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44235         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44236         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44237         (STRCPY): Support SSE2 and SSSE3 versions.
44239 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44241         [BZ #12874]
44242         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44243         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44244         kernels which artificially limit size of requests.
44246 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44248         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44249         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44250         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44251         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44252         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44253         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44254         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44255         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44256         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44257         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44258         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44259         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44260         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44261         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44262         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44264         Enable unaligned load optimization for Intel Core i3, i5 and i7
44265         processors.
44266         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44267         Define.
44268         (index_Fast_Unaligned_Load): Define.
44269         (HAS_FAST_UNALIGNED_LOAD): Define.
44271 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44273         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44275 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44277         [BZ #12907]
44278         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44279         until it is clear that the information is realy needed.
44280         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44282 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44284         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44286 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44288         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44289         /sys/devices/system/cpu/online if it is usable.
44291         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44292         reading the information from the /proc filesystem to once a second.
44294 2011-06-21  Andreas Jaeger  <aj@suse.de>
44296         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44297         NULL after inclusion of kernel headers.
44299 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44301         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44302         calls to internal_setent.
44304         [BZ #12885]
44305         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44306         addresses using gethostbyname4_r ignore IPv4 addresses.
44308         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44309         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44311         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44313 2011-06-20  David S. Miller  <davem@davemloft.net>
44315         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44316         inclusions.
44317         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44319         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44320         (elf_irel): Use it.
44321         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44322         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44323         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44324         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44325         * sysdeps/x86_64/dl-irel.h: Likewise.
44327         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44328         * elf/dl-sym.c: Likewise.
44330 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44332         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44333         need to dereference resplen2.
44335 2011-06-14  Andreas Schwab  <schwab@redhat.com>
44337         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44339 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44341         * Makeconfig: Define vardbdir and inst_vardbdir.
44342         * nss/Makefile: Add rules to install db-Makefile.
44344         * nss/nss_db/db-XXX.c: Cleanup.
44346         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44347         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44348         GLIBC_PRIVATE.
44349         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44350         * nss/makedb.c: Implement -g option to specify that value strings
44351         are generated and should not be added to table iterated over for
44352         get*ent calls.
44353         * nss/nss_db/db-initgroups.c: New file.
44355         * nss/getent.c: Add support for initgroups lookups through getgrouplist
44356         interface.
44358         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44359         (internal_getgrouplist): Adjust to name change.
44360         Update use_initgroups_entry if this is not the first call.
44361         * nss/databases.def: Add initgroups entry.
44363         * nss/makedb.c (compute_tables): Check result of multiple hash table
44364         sizes to minimize maximum chain length.
44366 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
44368         * Versions.def: Add entry for libnss_db.
44369         * shlib-versions: Likewise.
44370         * nss/Makefile: Add rules to build libnss_db.
44371         * nss/Versions: Add libnss_db information.  Organize libnss_files
44372         entries better.
44373         * nss/db-Makefile: Add gshadow support.  Change rules for the new
44374         makedb progra.  Some minor improvements to generate smaller files.
44375         * nss/nss_db/nss_db.h: Move NSS database header data structures to
44376         here from...
44377         * nss/makedb.c: ...here.
44378         Improve database format to be smaller and require less memory at
44379         runtime.
44380         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
44381         db anymore.
44382         * nss/nss_db/db-netgrp.c: Likewise.
44383         * nss/nss_db/db-open.c: Likewise.
44384         * nss/nss_files/flies-XXX.x: Adjust comments.
44385         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44386         * nss/nss_files/files-grp.c: Likewise.
44387         * nss/nss_files/files-hosts.c: Likewise.
44388         * nss/nss_files/files-network.c: Likewise.
44389         * nss/nss_files/files-proto.c: Likewise.
44390         * nss/nss_files/files-pwd.c: Likewise.
44391         * nss/nss_files/files-rpc.c: Likewise.
44392         * nss/nss_files/files-service.c: Likewise.
44393         * nss/nss_files/files-sgrp.c: Likewise.
44394         * nss/nss_files/files-spwd.c: Likewise.
44395         * nss/nss_db/db-alias.c: Removed.
44396         * nss/nss_db/dummy-db.h: Removed.
44398 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
44400         * nss/makedb.c: Rewritten to not use database library.
44401         * nss/Makefile: Update to build new makedb program.
44403 2011-06-14  Andreas Jaeger  <aj@suse.de>
44405         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44406         memset declaration.
44408 2011-06-10  Andreas Schwab  <schwab@redhat.com>
44410         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44411         tmpbuf.
44413 2011-06-10  Roland McGrath  <roland@hack.frob.com>
44415         * Makerules (shlib.lds): Fail if the linker script comes out empty.
44416         * elf/Makefile ($(objpfx)ld.so): Likewise.
44418         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44419         Don't list ld.so twice in dependencies.
44421         * posix/bug-regex31.c: Include <stdlib.h>.
44423         * nscd/hstcache.c (cache_addhst): Remove unused variable.
44425         * nis/nss_compat/compat-spwd.c
44426         (getspent_next_nss_netgr): Remove unused variable.
44427         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44429         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44430         nonmembers" output to use the right array.
44432         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44434         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44436         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44437         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44438         * catgets/gencat.c (read_input_file): Likewise.
44439         * locale/programs/locarchive.c (enlarge_archive): Likewise.
44441         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44442         variable definition inside #if's controlling its use.
44444         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44446         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44448         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44450         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44451         unreachable code.
44453         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44455         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44456         * configure: Regenerated.
44458         * Makerules: Revert last change.
44459         * elf/Makefile: Likewise.
44461 2011-06-09  Roland McGrath  <roland@hack.frob.com>
44463         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44464         * elf/Makefile ($(objpfx)librtld.os): Likewise.
44465         (reloc-link): Likewise.
44467 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
44469         * elf/Makefile: Add rules to build pldd.
44470         * elf/pldd.c: New file.
44471         * elf/pldd-xx.c: New file.
44473 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
44475         * version.h: Update for 2.15 development version.
44477 2011-06-07  David S. Miller  <davem@davemloft.net>
44479         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44480         ifuncs.
44481         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44482         elf_machine_lazy_rel): Likewise.
44483         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44484         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44485         elf_machine_lazy_rel): Likewise.
44486         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44487         dl_hwcap via passed in argument.
44488         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44489         Likewise.
44491 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44493         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
44495 2011-06-06  Roland McGrath  <roland@hack.frob.com>
44497         [BZ #12849]
44498         * manual/fdl-1.1.texi: New file, verbatim from:
44499         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44500         * manual/lgpl-2.1.texi: New file, verbatim from:
44501         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44502         * manual/Makefile (licenses): New variable, list those new file names.
44503         (texis): Use it.
44504         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44506         * manual/fdl.texi: File removed.
44507         * manual/lesser.texi: File removed.
44508         * manual/libc.texinfo (Copying, Documentation License):
44509         Use new @include file names, put @appendix directive before @include.
44511 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
44513         [BZ #12841]
44514         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44515         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44516         (mq_open): Add __NTH.
44518 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
44520         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44521         Assume Intel Core i3/i5/i7 processor if AVX is available.
44523 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44525         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44526         typo.
44528 2011-05-31  Andreas Schwab  <schwab@redhat.com>
44530         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44531         memory.  Use alloca_account.  Fix memory leak when retrying.
44533 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44535         * version.h (RELEASE): Bump for 2.14 release.
44536         * include/features.h (__GLIBC_MINOR__): Bump to 14.
44538         * config.make.in (RANLIB): Remove entry.
44540 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
44542         * po/Makefile (po-sed-cmd): Add ksh to extensions.
44543         (libc.pot): Work around missing support for .ksh extension in xgettext.
44545         [BZ #12684]
44546         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44547         if both request failed.
44548         (send_dg): In case of server errors clear resplen or *resplen2.
44550         [BZ #12454]
44551         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44552         when there are multiple maps.
44553         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44554         (_dl_fini): Remove test here.
44556         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44558 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
44560         [BZ #12350]
44561         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44562         bit from old_res_options.
44563         (gaih_inet): Likewise.
44565         [BZ #11099]
44566         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44567         as signed.
44569         * resolv/res_init.c (res_setoptions): Make the code more compact.
44571         [BZ #11558]
44572         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44573         set RES_USEVC.
44575         [BZ #11634]
44576         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44578         * malloc/malloc.h: Mark malloc hook variables as deprecated.
44580         [BZ #11781]
44581         * malloc/malloc.h: Declare malloc hook variables as volatile.
44583         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44584         in last patch.
44586         [BZ #11799]
44587         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44588         raise in the comment.
44589         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44590         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44591         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44593 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
44595         [BZ #12811]
44596         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44597         grow the buffers more if it already has to be sufficient.
44598         (build_wcs_upper_buffer): Likewise.
44599         * posix/regexec.c (check_matching): Likewise.
44600         (clean_state_log_if_needed): Likewise.
44601         (extend_buffers): Don't enlarge buffers beyond size of the input
44602         buffer.
44603         Patches mostly by Emil Wojak <emil@wojak.eu>.
44604         * posix/bug-regex32.c: New file.
44605         * posix/Makefile (tests): Add bug-regex32.
44607         * locale/findlocale.c (_nl_find_locale): Return right away if
44608         _nl_explode_name failed.
44609         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44611         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44613         * debug/xtrace.sh: Unify messages.
44614         * malloc/memusage.sh: Likewise.
44616         [BZ #12813]
44617         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44618         time symbol from vDSO.  Substitute with vsyscall if not available.
44619         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44620         __vdso_time.
44622         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44623         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44624         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44625         Add sendmmsg and internal_sendmmsg.
44626         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44627         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44628         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44630         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44631         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44632         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44634 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
44636         [BZ #12813]
44637         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44638         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
44639         available.
44640         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44641         __vdso_getcpu.
44643         [BZ #12814]
44644         * iconvdata/Makefile (tests): Add bug-iconv9.
44645         * iconvdata/bug-iconv9.c: New file.
44647 2011-05-27  Andreas Schwab  <schwab@redhat.com>
44649         [BZ #12814]
44650         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44652 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
44654         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44655         (struct user_regs_struct): Change intcs field back to cs.
44657 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
44659         * po/ja.po: Update from translation team.
44661 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
44663         [BZ #12795]
44664         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44665         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44667 2011-05-20  Andreas Schwab  <schwab@redhat.com>
44669         * stdlib/longlong.h: Update from GCC.
44671 2011-05-23  Andreas Schwab  <schwab@redhat.com>
44673         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44674         parameter name.
44675         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44676         Add parameter name.
44677         (__sysconf): Pass it down.
44679 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
44681         [BZ #12671]
44682         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44683         some situations.
44684         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44685         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44686         add in in __libc_use_alloca calls.  Adjust callers.
44687         (glob): Use malloc in some situations.
44689         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44690         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44691         pltexit.
44693 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
44695         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44696         and CLOCK_BOOTTIME_ALARM.
44698         [BZ #12782]
44699         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44700         is returned.
44702         * string/_strerror.c (__strerror_r): Print negative errors as signed
44703         numbers.
44705         [BZ #12777]
44706         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44707         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44708         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44710         * configure.in: Fix typo in redirection and correct removal of test
44711         files in two cases.
44713         [BZ #12788]
44714         * locale/setlocale.c (new_composite_name): Fix test to check for
44715         identical name of all categories.
44717         [BZ #12792]
44718         * libio/filedoalloc.c (local_isatty): New function.
44719         (_IO_file_doallocate): Use local_isatty.
44720         * stdio-common/perror.c (perror): In case a new stream is used
44721         forward the stream error.
44722         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44723         error flag.
44725 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
44727         [BZ #11869]
44728         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44729         alloca.
44730         * include/alloca.h (extend_alloca_account): Define.
44732         [BZ #11857]
44733         * posix/regex.h: Fix comments with documentation of user-accessible
44734         fields after compilation and describe correct free'ing of pattern
44735         after re_compile_pattern.
44736         Patch by Reuben Thomas <rrt@sc3d.org>.
44738 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
44740         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44741         and -mno-altivec to prevent the compiler from using Altivec and/or
44742         VSX instructions when the corresponding registers are not available.
44744 2011-05-19  Andreas Schwab  <schwab@redhat.com>
44746         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44748 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
44750         * libio/freopen.c (freopen): Use __dup2, not dup2.
44751         * libio/freopen64.c (freopen64): Likewise.
44753 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44755         [BZ #12775]
44756         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44757         * math/Makefile (tests): Add test-powl.
44758         (CFLAGS-test-powl.c): Define.
44759         * math/test-powl.c: New file.
44761 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44763         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44765 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
44767         [BZ #11837]
44768         * iconvdata/gb18030.c: Update to GB18020-2005.
44770 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
44772         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44773         RE_SYNTAX_POSIX_AWK): Update to match recent development.
44774         Patch by Aharon Robbins <arnold@skeeve.com>.
44776         [BZ #11892]
44777         * stdlib/putenv.c (putenv): Don't always create copy of the variable
44778         on the stack.
44780         [BZ #11895]
44781         * misc/pselect.c (__pselect): Handle timeout value errors hidden
44782         through underflows.
44784         [BZ #12766]
44785         * misc/error.c (error_at_line): Ensure file_name and old_file_name
44786         point to strings before performing equality test for error_one_per_line
44787         mode.
44789         [BZ #11697]
44790         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44792         [BZ #11820]
44793         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44794         (struct user_fpregs_struct): Avoid __uint*_t types.
44796         [BZ #6420]
44797         * malloc/mtrace.c (tr_where): Add additional parameter to point to
44798         symbol info.  Use it instead of calling _dl_addr locally.
44799         (lock_and_info): New function.
44800         (tr_freehook): Call lock_and_info and pass symbol info as additional
44801         parameter to tr_where.
44802         (tr_mallochook): Likewise.
44803         (tr_reallochook): Likewise.
44804         (tr_memalignhook): Likewise.
44806         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
44807         used and couldn't be at all thread-safe.
44809 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
44811         * libio/freopen.c (freopen): Don't close old file descriptor
44812         before the new one is opened.  Instead dup the new file descriptor
44813         to the old one after the new stream is created.
44814         * libio/freopen64.c (freopen64): Likewise.
44815         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44816         * libio/fileops.c (_IO_new_file_close_it): Handle new
44817         _IO_FLAGS2_NOCLOSE flag.
44818         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44819         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44820         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44821         _IO_FLAGS2_NOCLOSE flag.
44822         * include/unistd.h: Add hidden_proto for dup3.
44823         Define __have_dup3.
44824         * io/dup3.c: Define hidden symbol.
44825         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44827         [BZ #7101]
44828         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44829         when an incomplete long option is used.
44830         * posix/tst-getopt_long1.c: New file.
44831         * posix/Makefile (tests): Add tst-getopt_long1.
44833         [BZ #10138]
44834         * scripts/config.guess: Update from autoconf-2.68.
44835         * scripts/config.sub: Likewise.
44837         [BZ #10157]
44838         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44839         tests into ...
44840         (has_cpuclock): ...this.  New function.
44841         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44842         macro here based on has_cpuclock code.
44844         [BZ #10149]
44845         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44846         First byte (not low byte) is now always NUL.
44847         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44849         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44850         Use non-cancelable interfaces.
44852         [BZ #9809]
44853         * locale/iso-639.def: Add entry for Sorani.
44855         [BZ #11901]
44856         * include/stdlib.h: Move include protection to the right place.
44857         Define abort_msg_s.  Declare __abort_msg with it.
44858         * stdlib/abort.c (__abort_msg): Adjust type.
44859         * assert/assert.c (__assert_fail_base): New function.  Majority
44860         of code from __assert_fail.  Allocate memory for __abort_msg with
44861         mmap.
44862         (__assert_fail): Now call __assert_fail_base.
44863         * assert/assert-perr.c: Remove bulk of implementation.  Use
44864         __assert_fail_base.
44865         * include/assert.hL Declare __assert_fail_base.
44866         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44867         mmap.
44868         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44870 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
44872         [BZ #11952]
44873         [BZ #12453]
44874         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44875         until all modules are registered in the DTV.
44876         * elf/Makefile: Add rules to build and run tst-tls19.
44877         * elf/tst-tls19.c: New file.
44878         * elf/tst-tls19mod1.c: New file.
44879         * elf/tst-tls19mod2.c: New file.
44880         * elf/tst-tls19mod3.c: New file.
44881         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44883         [BZ #12083]
44884         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44885         correctly.
44887         [BZ #12601]
44888         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44889         two-byte sequence errors.
44890         * iconvdata/Makefile (tests): Add bug-iconv8.
44891         * iconvdata/bug-iconv8.c: New file.
44893         [BZ #12626]
44894         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44895         buf2 definition.
44897         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44899         [BZ #12432]
44900         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44901         (dummy_getcfa): New function.
44902         (init): Get _Unwind_GetCFA address, use dummy if not found.
44903         (backtrace_helper): In recursion check, also check whether CFA changes.
44904         (__backtrace): Completely initialize arg.
44906         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44907         storing incomplete byte sequence in state object.  Avoid testing for
44908         guaranteed too small input if we know there is enough data available.
44910 2011-05-11  Andreas Schwab  <schwab@redhat.com>
44912         * Makeconfig (+link-pie): Indent.
44913         * Rules (binaries-pie): Define if $(have-fpie) and
44914         $(build-shared).
44915         (binaries-shared): Also filter out $(binaries-pie).
44916         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44917         * nscd/Makefile (others-pie): Add nscd.
44918         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44919         ($(objpfx)nscd): Remove command override.
44920         * login/Makefile (others-pie): Add pt_chown.
44921         ($(objpfx)pt_chown): Remove command override.
44922         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44923         remove command overrides.
44925 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
44927         * libio/tst_putwc.c: Fix error messages.
44929         [BZ #12724]
44930         * libio/fileops.c (_IO_new_file_close_it): Always flush when
44931         currently writing and seek to current position when not.
44932         * libio/Makefile (tests): Add bug-fclose1.
44933         * libio/bug-fclose1.c: New file.
44935 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
44937         [BZ #12511]
44938         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44939         don't set DF_1_NODELETE here.
44940         (do_lookup_x): When entering new entry test for copy relocation
44941         and if necessary set DF_1_NODELETE flag.
44942         * elf/tst-unique4.cc: New file.
44943         * elf/tst-unique4.h: New file.
44944         * elf/tst-unique4lib.cc: New file.
44945         * elf/Makefile: Add rules to build and run tst-unique4.
44946         Patch by Piotr Bury <pbury@goahead.com>.
44948 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
44950         [BZ #12052]
44951         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44953         [BZ #12625]
44954         * misc/mntent_r.c (addmntent): Flush the stream after the output
44956         [BZ #12393]
44957         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44958         (is_trusted_path_normalize): Skip initial colon.  Append slash
44959         to empty buffer.  Duplicate is_trusted_path code but allow
44960         constructed patch to be prefix.
44961         (is_dst): Allow $ORIGIN followed by /.
44962         (_dl_dst_substitute): Correct clearing of check_for_trusted.
44963         Correct testing of result of is_trusted_path_normalize
44964         (decompose_rpath): Fix warning.
44966 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
44968         [BZ #11257]
44969         * grp/initgroups.c (internal_getgrouplist): When we found the service
44970         list through the initgroups entry in nsswitch.conf do not always
44971         continue on a successful lookup.  Don't always use the
44972         __nss_group_database value if it is set.
44973         * nss/nsswitch.conf (initgroups): Change action for successful db
44974         lookup to continue for compatibility.
44976 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
44978         [BZ #11532]
44979         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44980         and CP774 modules.
44981         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44982         and CP774 modules.
44983         * iconvdata/tst-tables.sh: Likewise.
44984         * iconvdata/cp770.c: New file.
44985         * iconvdata/cp771.c: New file.
44986         * iconvdata/cp772.c: New file.
44987         * iconvdata/cp773.c: New file.
44988         * iconvdata/cp774.c: New file.
44989         * iconvdata/testdata/CP770: New file.
44990         * iconvdata/testdata/CP770..UTF8: New file.
44991         * iconvdata/testdata/CP771: New file.
44992         * iconvdata/testdata/CP771..UTF8: New file.
44993         * iconvdata/testdata/CP772: New file.
44994         * iconvdata/testdata/CP772..UTF8: New file.
44995         * iconvdata/testdata/CP773: New file.
44996         * iconvdata/testdata/CP773..UTF8: New file.
44997         * iconvdata/testdata/CP774: New file.
44998         * iconvdata/testdata/CP774..UTF8: New file.
45000         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45001         END CHARMAP line.
45002         * iconvdata/gen-8bit-gap.sh: Likewise.
45003         * iconvdata/gen-8bit.sh: Likewise.
45005         * locale/iso-639.def: Add ary entry.
45007         [BZ #11258]
45008         * locale/C-translit.h.in: Add U20A1 transliteration.
45010         [BZ #12178]
45011         * locale/iso-639.def: Add wae entry.
45012         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45014         [BZ #12545]
45015         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45016         for n.
45018         [BZ #12711]
45019         * locale/C-translit.h.in: Add entry for U20B9.
45020         Patch by pravin.d.s@gmail.com.
45022 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45024         [BZ #12713]
45025         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45026         ENAMETOOLONG use generic getcwd.
45027         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45028         in rtld.  Use *stat64.
45029         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45030         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45031         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45032         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45033         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45034         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45035         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45036         __fstatat64 macros.
45037         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45038         * dirent/rewinddir.c: Add libc_hidden_def.
45039         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45040         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45042         * include/dirent.h (__alloc_dir): Add flags parameter.
45043         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45044         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45045         __alloc_dir.
45046         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45047         from fdopendir if O_CLOEXEC is already set.
45049 2011-03-15  Alan Modra  <amodra@gmail.com>
45051         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45052         l_tls_firstbyte_offset non-zero.  Save padding offset in
45053         l_tls_firstbyte_offset for later use.
45054         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45055         freeing static tls block.
45057 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45059         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45060         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45061         being defined by the kernel headers.
45063 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45065         [BZ #12734]
45066         * resolv/resolv.h: Define RES_NOTLDQUERY.
45067         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45068         no-tld-query and set RES_NOTLDQUERY.
45069         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45070         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45071         modern BIND to search name as TLD unless forbidden.
45073 2011-05-07  Petr Baudis  <pasky@suse.cz>
45074             Ulrich Drepper  <drepper@gmail.com>
45076         [BZ #12393]
45077         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45078         (is_trusted_path): ...to here.
45079         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45080         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45081         using is_trusted_path_normalize() in setuid scripts.
45083 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45085         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45086         __BEGIN/__END_DECLS.
45088 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45090         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45091         NSS_STATUS_NOTFOUND if no record was found.
45093 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45095         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45096         (headers-not-in-tirpc): Remove rpc/netdb.h
45097         * resolv/netdb.h: Revert last change.
45099 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45101         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45102         circular dependency between libgcc.a and libc.a.
45104 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45106         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45107         * nis/Makefile: Don't install rpcsvc/*.
45108         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45109         instead of <rpc/types.h>.
45110         (MAXHOSTNAMELEN): Define.
45112 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45114         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45116 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45118         [BZ #12714]
45119         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45120         gethostbyname4_r when IPv6 results are possible.
45122 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45124         [BZ #12723]
45125         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45126         _PC_PIPE_BUF handling.
45128 2011-04-30  Bruno Haible  <bruno@clisp.org>
45130         [BZ #12717]
45131         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45132         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45133         to 'int'.
45134         * inet/getnameinfo.c (getnameinfo): Likewise.
45136 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45138         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45139         to groups setting in database lookup.
45140         * nss/nsswitch.conf: Add initgroups entry.
45142 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45144         [BZ #12685]
45145         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45146         mode string.
45147         Patch by Eric Blake <eblake@redhat.com>.
45149 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45151         * sunrpc/Makefile (need-export-routines): Add svc_run.
45152         (routines): Remove svc_run.
45153         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45154         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45155         * sunrpc/svc_run.c (svc_run): Likewise.
45156         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45158 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45160         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45161         problem in reallocation in last patch.
45163 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45165         * sunrpc/Makefile: Move inclusion of Rules.
45167 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45169         * nss/nss_files/files-initgroups.c: New file.
45170         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45171         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45172         _nss_files_initgroups_dyn.
45174 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45176         * elf/elf.h (R_ARM_IRELATIVE): Define.
45178 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45180         * po/ru.po: Update from translation team.
45182 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45184         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45185         dependencies.
45187 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45189         [BZ #12653]
45190         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45191         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45192         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45193         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45194         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45196 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45198         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45199         differing bytes.
45200         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45201         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45202         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45204 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45206         [BZ #12420]
45207         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45208         storing it.
45209         * stdlib/bug-getcontext.c: New file.
45210         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45212 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45214         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45215         instructions into .machine "z9-109".
45216         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45217         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45219 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45221         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45222         between environment variables and auxiliary vector.
45224 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45226         * Makefile: Add rules to build linkobj/libc.so.
45227         * include/libc-symbols.h: Define libc_hidden_nolink.
45228         * include/rpc/auth.h: Mark functions which are to be hidden.
45229         * include/rpc/auth_des.h: Likewise.
45230         * include/rpc/auth_unix.h: Likewise.
45231         * include/rpc/clnt.h: Likewise.
45232         * include/rpc/des_crypt.h: Likewise.
45233         * include/rpc/key_prot.h: Likewise.
45234         * include/rpc/pmap_clnt.h: Likewise.
45235         * include/rpc/pmap_prot.h: Likewise.
45236         * include/rpc/pmap_rmt.h: Likewise.
45237         * include/rpc/rpc_msg.h: Likewise.
45238         * include/rpc/svc.h: Likewise.
45239         * include/rpc/svc_auth.h: Likewise.
45240         * include/rpc/xdr.h: Likewise.
45241         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45242         * nss/Makefile: Likewise.
45243         * sunrpc/Makefile: Don't install headers.  Build library with normal
45244         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45245         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45246         for the compat linking library.  Remove use of INTDEF/INTUSE.
45247         * sunrpc/auth_none.c: Likewise.
45248         * sunrpc/auth_unix.c: Likewise.
45249         * sunrpc/authdes_prot.c: Likewise.
45250         * sunrpc/authuxprot.c: Likewise.
45251         * sunrpc/clnt_gen.c: Likewise.
45252         * sunrpc/clnt_perr.c: Likewise.
45253         * sunrpc/clnt_raw.c: Likewise.
45254         * sunrpc/clnt_simp.c: Likewise.
45255         * sunrpc/clnt_tcp.c: Likewise.
45256         * sunrpc/clnt_udp.c: Likewise.
45257         * sunrpc/clnt_unix.c: Likewise.
45258         * sunrpc/des_crypt.c: Likewise.
45259         * sunrpc/des_soft.c: Likewise.
45260         * sunrpc/get_myaddr.c: Likewise.
45261         * sunrpc/key_call.c: Likewise.
45262         * sunrpc/key_prot.c: Likewise.
45263         * sunrpc/netname.c: Likewise.
45264         * sunrpc/pm_getmaps.c: Likewise.
45265         * sunrpc/pm_getport.c: Likewise.
45266         * sunrpc/pmap_clnt.c: Likewise.
45267         * sunrpc/pmap_prot.c: Likewise.
45268         * sunrpc/pmap_prot2.c: Likewise.
45269         * sunrpc/pmap_rmt.c: Likewise.
45270         * sunrpc/publickey.c: Likewise.
45271         * sunrpc/rpc_cmsg.c: Likewise.
45272         * sunrpc/rpc_common.c: Likewise.
45273         * sunrpc/rpc_dtable.c: Likewise.
45274         * sunrpc/rpc_prot.c: Likewise.
45275         * sunrpc/rpc_thread.c: Likewise.
45276         * sunrpc/rtime.c: Likewise.
45277         * sunrpc/svc.c: Likewise.
45278         * sunrpc/svc_auth.c: Likewise.
45279         * sunrpc/svc_authux.c: Likewise.
45280         * sunrpc/svc_raw.c: Likewise.
45281         * sunrpc/svc_run.c: Likewise.
45282         * sunrpc/svc_simple.c: Likewise.
45283         * sunrpc/svc_tcp.c: Likewise.
45284         * sunrpc/svc_udp.c: Likewise.
45285         * sunrpc/svc_unix.c: Likewise.
45286         * sunrpc/svcauth_des.c: Likewise.
45287         * sunrpc/xcrypt.c: Likewise.
45288         * sunrpc/xdr.c: Likewise.
45289         * sunrpc/xdr_array.c: Likewise.
45290         * sunrpc/xdr_float.c: Likewise.
45291         * sunrpc/xdr_intXX_t.c: Likewise.
45292         * sunrpc/xdr_mem.c: Likewise.
45293         * sunrpc/xdr_rec.c: Likewise.
45294         * sunrpc/xdr_ref.c: Likewise.
45295         * sunrpc/xdr_sizeof.c: Likewise.
45296         * sunrpc/xdr_stdio.c: Likewise.
45298 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45300         [BZ #12650]
45301         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45302         * sysdeps/ia64/dl-tls.h: Likewise.
45303         * sysdeps/powerpc/dl-tls.h: Likewise.
45304         * sysdeps/s390/dl-tls.h: Likewise.
45305         * sysdeps/sh/dl-tls.h: Likewise.
45306         * sysdeps/sparc/dl-tls.h: Likewise.
45307         * sysdeps/x86_64/dl-tls.h: Likewise.
45308         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45310 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45312         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45313         rpath element also skip the following colon.
45314         (expand_dynamic_string_token): Add is_path parameter and pass
45315         down to DL_DST_REQUIRED and _dl_dst_substitute.
45316         (decompose_rpath): Call expand_dynamic_string_token with
45317         non-zero is_path.  Ignore empty rpaths.
45318         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45319         with zero is_path.
45321 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45324         Make cancelable.
45326 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45328         [BZ #12655]
45329         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45330         Patch by Filipe David Manana <fdmanana@apache.org>.
45332 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45334         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45335         Maintain aligned stack.
45336         (CHECK_RSP): Remove unused macro.
45338 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
45340         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45341         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45343 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
45345         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45347         * include/features.h: Mention __USE_XOPEN2K8 in comment.
45349 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
45351         [BZ #12518]
45352         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45353         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45354         * sysdeps/x86_64/memmove.c: New file.
45355         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45356         (memcpy): Renamed to ...
45357         (__new_memcpy): This.
45358         (memcpy): Provide GLIBC_2_14 memcpy.
45359         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45360         (memcpy): Provide GLIBC_2_2_5 memcpy.
45362 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45364         [BZ #12631]
45365         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45367 2011-03-30  Andreas Schwab  <schwab@redhat.com>
45369         * misc/syncfs.c: New file.
45370         * misc/Makefile (routines): Add syncfs.
45371         * posix/unistd.h: Declare syncfs.
45372         * sysdeps/unix/syscalls.list: Add syncfs.
45374 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45376         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45377         open_by_handle_at.
45378         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45379         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45380         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45381         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45382         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45383         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45384         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45386 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45388         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45389         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45390         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45391         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45392         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45393         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45394         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45396         * io/Makefile: Compile fallocate.c, fallocate64.c, and
45397         sync_file_range.c with -fexceptions.
45398         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45399         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45400         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45401         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45402         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45403         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45404         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45405         sync_file_range as cancellation point
45406         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
45407         now a wrapper around __call_sync_file_range with cancellation handling.
45408         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45409         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
45410         function name to __call_sync_file_range.
45411         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45412         Add call_sync_file_range.
45414 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45416         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45417         bits/timex.h.
45419 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45421         * iconv/iconv.h: Fix typo in comment.
45422         * io/fcntl.h: Likewise.
45423         * libio/stdio.h: Likewise.
45424         * posix/spawn.h: Likewise.
45425         * posix/unistd.h: Likewise.
45426         * stdlib/stdlib.h: Likewise.
45427         * time/time.h: Likewise.
45428         * wcsmbs/wchar.h: Likewise.
45430         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45431         open_by_handle): Add.
45432         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45433         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
45434         Augment a few comments.
45435         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45436         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45437         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45438         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45439         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45440         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45441         open_by_handle.
45443         * io/fcntl.h (AT_EMPTY_PATH): Define.
45445 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
45447         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45448         * sysdeps/unix/sysv/linux/bits/time.h: New file.
45449         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45450         to...
45451         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
45452         * Versions.def: Add GLIBC_2.14.
45453         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45454         Export.
45456 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
45458         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45459         round counter.
45460         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45462 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45464         [BZ #12597]
45465         * string/test-strncmp.c (do_page_test): New function.
45466         (check2): Likewise.
45467         (test_main): Call check2.
45468         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45470 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
45472         [BZ #12587]
45473         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45474         Handle cache information in CPU leaf 4.
45475         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45477 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
45479         [BZ #12583]
45480         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45481         character representation.
45482         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45484 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
45486         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45487         END(__isnan) to END(__isnanf) to match function entry point/label
45488         EALIGN(__isnanf,...).
45490 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
45492         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45494 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
45496         [BZ #12510]
45497         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45498         copy from the symbol referenced in the relocation to initialize the
45499         used variable.
45500         Patch by Piotr Bury <pbury@goahead.com>.
45501         * elf/Makefile: Add rules to build and tst-unique3.
45502         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45503         * elf/tst-unique3.cc: New file.
45504         * elf/tst-unique3.h: New file.
45505         * elf/tst-unique3lib.cc: New file.
45506         * elf/tst-unique3lib2.cc: New file.
45508         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45510 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
45512         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45513         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
45514         to _start.
45516 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
45518         * elf/dl-load.c (_dl_map_object): If we are looking for the first
45519         to-be-loaded object along a path to loader is ld.so.
45521 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45522             Ulrich Drepper  <drepper@gmail.com>
45524         * sysdeps/x86_64/memset.S: After aligning destination, code
45525         branches to different locations depending on the value of
45526         misalignment, when multiarch is enabled. Fix this.
45528 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45530         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45531         Set _x86_64_preferred_memory_instruction for AMD processsors.
45532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45533         Set bit_Prefer_SSE_for_memop for AMD processors.
45535 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
45537         * libio/fmemopen.c (fmemopen): Optimize a bit.
45539 2011-03-03  Andreas Schwab  <schwab@redhat.com>
45541         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45543 2011-03-03  Roland McGrath  <roland@redhat.com>
45545         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45547 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
45549         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45550         __bzero_ultra1 instead of __memset_ultra1.
45552 2011-02-23  Andreas Schwab  <schwab@redhat.com>
45553             Ulrich Drepper  <drepper@gmail.com>
45555         [BZ #12509]
45556         * include/link.h (struct link_map): Add l_orig_initfini.
45557         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45558         returning unsuccessfully.
45559         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45560         close of a file loaded at startup, restore the original l_initfini
45561         list.
45562         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45563         list, store the pointer.
45564         * elf/Makefile ($(objpfx)noload-mem): New rule.
45565         (noload-ENV): Define.
45566         (tests): Add $(objpfx)noload-mem.
45567         * elf/noload.c: Include <memcheck.h>.
45568         (main): Call mtrace.  Close all opened handles.
45570 2011-02-17  Andreas Schwab  <schwab@redhat.com>
45572         [BZ #12454]
45573         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45574         dependencies are missing.
45576 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45578         Fix __if_freereq crash: Unlike the generic version which uses free,
45579         Hurd needs munmap.
45580         * sysdeps/mach/hurd/ifreq.h: New file.
45582 2011-01-27  Petr Baudis  <pasky@suse.cz>
45583             Ulrich Drepper  <drepper@gmail.com>
45585         [BZ 12445]#
45586         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45587         to extend_alloca().
45588         * stdio-common/bug23.c: New file.
45589         * stdio-common/Makefile (tests): Add bug23.
45591 2010-09-28  Andreas Schwab  <schwab@redhat.com>
45592             Ulrich Drepper  <drepper@gmail.com>
45594         [BZ #12489]
45595         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45596         before performing relro protection.  At old place add assertion
45597         to make sure nothing changed.
45599 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
45600             Glauber de Oliveira Costa  <glommer@gmail.com>
45602         * elf/elf.h: Add new ARM TLS relocs.
45604 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
45606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45607         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45608         cast from r3.
45609         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
45610         'tests' variable.
45611         * sysdeps/wordsize-64/tst-writev.c: New file.
45613 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
45615         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45616         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45617         insns in _dl_start to prevent a TOC reference before relocs are
45618         resolved.
45620 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
45622         [BZ #12469]
45623         * Makeconfig: Remove RANLIB definition.
45624         * Makerules: Don't use RANLIB.
45625         * aclocal.m4: Remove ranlib test.
45626         * configure.in: No need to check for ranlib.
45627         * elf/rtld-Rules: Don't use RANLIB.
45629 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45631         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45632         protection macro.
45633         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45634         inclusion protection macro.
45636         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45637         SIGRTMIN and SIGRTMAX and print information in that case only when
45638         SIGRTMIN is defined.
45640 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
45642         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45643         arginfo fn returning -1.
45645         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45646         and thousands string is zero terminated.
45648 2011-02-03  Andreas Schwab  <schwab@redhat.com>
45650         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45651         sysdeps/unix/sysv/linux/bits/socket.h.
45653 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45655         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45656         (__CPU_COUNT): Remove old macros.
45657         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45658         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45659         (__CPU_ALLOC, __CPU_FREE): Add macros.
45660         (__sched_cpualloc, __sched_cpufree): Add declarations.
45662 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
45664         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45665         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45666         * nscd/aicache.c (addhstaiX): Return timeout of added value.
45667         (readdhstai): Return value of addhstaiX call.
45668         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45669         (addgrbyX): Return value returned by cache_addgr.
45670         (readdgrbyname): Return value returned by addgrbyX.
45671         (readdgrbygid): Likewise.
45672         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45673         (addpwbyX): Return value returned by cache_addpw.
45674         (readdpwbyname): Return value returned by addhstbyX.
45675         (readdpwbyuid): Likewise.
45676         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45677         (addservbyX): Return value returned by cache_addserv.
45678         (readdservbyname): Return value returned by addservbyX:
45679         (readdservbyport): Likewise.
45680         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45681         (addhstbyX): Return value returned by cache_addhst.
45682         (readdhstbyname): Return value returned by addhstbyX.
45683         (readdhstbyaddr): Likewise.
45684         (readdhstbynamev6): Likewise.
45685         (readdhstbyaddrv6): Likewise.
45686         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45687         (readdinitgroups): Return value returned by addinitgroupsX.
45688         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45689         (prune_cache): Keep track of timeout value of re-added entries.
45690         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45691         * nscd/nscd.h: Adjust prototypes of readd* functions.
45693 2011-02-04  Roland McGrath  <roland@redhat.com>
45695         * nis/nis_server.c (nis_servstate): Use the right name for 0.
45696         (nis_stats): Likewise.
45697         * nis/nis_modify.c (nis_modify): Likewise.
45698         * nis/nis_remove.c (nis_remove): Likewise.
45699         * nis/nis_add.c (nis_add): Likewise.
45701         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45703         * posix/fnmatch_loop.c: Add some consts.
45705         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45707 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
45709         [BZ #12460]
45710         * config.make.in (config-cflags-novzeroupper): Define.
45711         * configure.in: Substitute libc_cv_cc_novzeroupper.
45712         * elf/Makefile (AVX-CFLAGS): Define.
45713         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45714         (CFLAGS-tst-auditmod4a.c): Likewise.
45715         (CFLAGS-tst-auditmod4b.c): Likewise.
45716         (CFLAGS-tst-auditmod6b.c): Likewise.
45717         (CFLAGS-tst-auditmod6c.c): Likewise.
45718         (CFLAGS-tst-auditmod7b.c): Likewise.
45719         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45721 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
45723         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45724         function to the callback.
45725         Patch partly by Jiri Olsa <jolsa@redhat.com>.
45727 2011-02-02  Andreas Schwab  <schwab@redhat.com>
45729         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45730         of errno.
45732 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
45734         [BZ #11724]
45735         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45736         of constructors.
45737         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45738         of destructors.
45739         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45741         [BZ #11724]
45742         * elf/Makefile: Add rules to build and run new test.
45743         * elf/tst-initorder.c: New file.
45744         * elf/tst-initorder.exp: New file.
45745         * elf/tst-initordera1.c: New file.
45746         * elf/tst-initordera2.c: New file.
45747         * elf/tst-initordera3.c: New file.
45748         * elf/tst-initordera4.c: New file.
45749         * elf/tst-initorderb1.c: New file.
45750         * elf/tst-initorderb2.c: New file.
45751         * elf/tst-order-a1.c: New file.
45752         * elf/tst-order-a2.c: New file.
45753         * elf/tst-order-a3.c: New file.
45754         * elf/tst-order-a4.c: New file.
45755         * elf/tst-order-b1.c: New file.
45756         * elf/tst-order-b2.c: New file.
45757         * elf/tst-order-main.c: New file.
45758         New test case by George Gensure <werkt0@gmail.com>.
45760 2010-10-01  Andreas Schwab  <schwab@redhat.com>
45762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45763         decoding ACE if AI_CANONIDN.
45765 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
45767         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45769 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
45771         * version.h (RELEASE): Bump for 2.13 release.
45772         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45774         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45776         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45777         MADV_NOHUGEPAGE.
45778         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45779         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45780         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45781         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45782         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45783         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45785         * posix/getconf.c: Update copyright year.
45786         * catgets/gencat.c: Likewise.
45787         * csu/version.c: Likewise.
45788         * debug/catchsegv.sh: Likewise.
45789         * debug/xtrace.sh: Likewise.
45790         * elf/ldconfig.c: Likewise.
45791         * elf/ldd.bash.in: Likewise.
45792         * elf/sprof.c (print_version): Likewise.
45793         * iconv/iconv_prog.c: Likewise.
45794         * iconv/iconvconfig.c: Likewise.
45795         * locale/programs/locale.c: Likewise.
45796         * locale/programs/localedef.c: Likewise.
45797         * malloc/memusage.sh: Likewise.
45798         * malloc/mtrace.pl: Likewise.
45799         * nscd/nscd.c (print_version): Likewise.
45800         * nss/getent.c: Likewise.
45802         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45803         PF_CAIF, and PF_ALG.
45804         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45806 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
45808         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45809         (modules-names): Use them.
45810         (ifunc-test-modules, ifunc-pie-tests): Define.
45811         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45812         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45813         (test-extras): Likewise.
45814         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45815         $(compile-command.c).
45816         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45817         (all-built-dso): Define.
45818         (check-textrel.out, check-execstack.out): Depend on it.
45820         * configure.in: Don't override --enable-multi-arch.
45822 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
45824         [BZ #6812]
45825         * nscd/hstcache.c (tryagain): Define.
45826         (cache_addhst): Return tryagain not notfound for temporary errors.
45827         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45828         failed.
45830 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
45832         [BZ #10563]
45833         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45834         to make the syscall.
45835         * sysdeps/unix/sysv/linux/setgroups.c: New file.
45837         [BZ #12378]
45838         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45839         and fall back to matching as normal character if the string ends before
45840         the matching ']' is found.  This is what POSIX requires.
45841         * posix/testfnm.c: Adjust test result.
45842         * posix/globtest.sh: Adjust test result.  Add new test.
45843         * posix/tst-fnmatch.input: Likewise.
45844         * posix/tst-fnmatch2.c: Add new test.
45846 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
45848         * elf/Makefile (check-execstack): Revert last change.  Depend on
45849         check-execstack.h.
45850         (check-execstack.h): New target.
45851         (generated): Add check-execstack.h.
45852         * elf/check-execstack.c: Include "check-execstack.h".
45853         (main): Revert last change.
45854         (handle_file): Return zero if GNU_STACK is absent and
45855         DEFAULT_STACK_PERMS doesn't include PF_X.
45857 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
45859         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45860         in child fails because the descriptor is already closed.
45861         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45862         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45863         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45865         [BZ #12397]
45866         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45867         syscall.
45869         [BZ #10484]
45870         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45871         temporary buffer used to handle multi lookups locally.
45872         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45874 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45876         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45877         loader is ld.so.
45879 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
45881         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45882         alignment for SSE2.
45884 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45886         [BZ #12394]
45887         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45888         characters.  When rounding increased number of integer digits recompute
45889         number of groups.
45890         * stdio-common/tst-grouping.c: New file.
45891         * stdio-common/Makefile: Add rules to build and run tst-grouping.
45893 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
45895         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45896         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
45898         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45899         void.
45900         * bits/select.h: Likewise.
45902 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
45904         * po/ja.po: Update from translation team.
45906 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
45908         [BZ #11155]
45909         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45910         implementation just like for lxstat, fxstatat, et al.
45912 2010-12-27  Jim Meyering  <meyering@redhat.com>
45914         [BZ #12348]
45915         * posix/regexec.c (build_trtable): Return failure indication upon
45916         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
45918 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
45920         [BZ #12201]
45921         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45922         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45923         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45924         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45926         [BZ #12207]
45927         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45929         [BZ #12204]
45930         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45931         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45933 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
45935         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45936         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45937         script has SORT_BY_INIT_PRIORITY.
45938         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45939         NO_CTORS_DTORS_SECTIONS is defined.
45940         * elf/soinit.c: Likewise.
45941         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45942         NO_CTORS_DTORS_SECTIONS is defined.
45943         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45944         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45945         * sysdeps/sh/init-first.c: Likewise.
45946         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45948 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
45950         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45951         always use the slow path.
45953 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
45955         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45956         similar rule which adds the sysdep directories to the header search in
45957         order to pick up the correct platform stackinfo.h.
45958         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45959         perform test if it is, otherwise return successfully without testing.
45960         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45961         DEFAULT_STACK_PERMS define in stackinfo.h.
45962         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45963         defined in stackinfo.h.
45964         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45965         DEFAULT_STACK_PERMS defined in stackinfo.h.
45966         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45967         * sysdeps/ia64/stackinfo.h: Likewise.
45968         * sysdeps/s390/stackinfo.h: Likewise.
45969         * sysdeps/sh/stackinfo.h: Likewise.
45970         * sysdeps/sparc/stackinfo.h: Likewise.
45971         * sysdeps/x86_64/stackinfo.h: Likewise.
45972         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45973         PF_X for powerpc64.  Retain PF_X for powerpc32.
45975 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
45977         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45978         accurately.
45979         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45980         GETDENTS_64BIT_ALIGNED.
45982 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
45984         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45986 2010-12-10  Andreas Schwab  <schwab@redhat.com>
45988         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45989         _GNU_SOURCE.
45991         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45992         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45993         Remove __restrict.
45994         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45995         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45997 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45999         [BZ #11655]
46000         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46001         are initialized.
46003 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46005         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46007 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46009         * po/it.po: Update from translation team.
46011 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46013         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46014         unused codes.
46016 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46018         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46020 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46022         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46023         specially.
46024         (gaih_getanswer_slice): Likewise.
46026 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46028         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46030 2010-05-31  Petr Baudis  <pasky@suse.cz>
46032         [BZ #11149]
46033         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46034         silently even in the chroot mode.
46036 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46038         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46039         last patch a bit.  Pretty printing
46041 2010-05-31  Petr Baudis <pasky@suse.cz>
46043         [BZ #10085]
46044         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46045         initialization of skip_initgroups_dyn.
46047 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46049         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46050         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46052 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46054         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46056 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46058         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46059         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46060         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46061         ($(objpfx)tst-fnmatch-mem): New rule.
46062         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46063         * posix/tst-fnmatch.c (main): Call mtrace.
46065 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46068         Support Intel processor model 6 and model 0x2c.
46070 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46072         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46073           signed comparison.
46075 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46077         [BZ #12205]
46078         * string/test-strncasecmp.c (check_result): New function.
46079         (do_one_test): Use it.
46080         (check1): New function.
46081         (test_main): Use it.
46082         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46083         Support strcasecmp and strncasecmp.
46085 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46087         [BZ #12194]
46088         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46089         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46091 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46093         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46094         IFUNC support.
46095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46096         memset-x86-64.
46097         * sysdeps/x86_64/multiarch/bzero.S: New file.
46098         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46099         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46100         * sysdeps/x86_64/multiarch/memset.S: New file.
46101         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46102         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46103         Set bit_Prefer_SSE_for_memop for Intel processors.
46104         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46105         Define.
46106         (index_Prefer_SSE_for_memop): Define.
46107         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46109 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46111         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46112         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46114 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46116         [BZ #12191]
46117         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46118         (__x86_64_raw_data_cache_size_half): Likewise.
46119         (__x86_64_raw_shared_cache_size): Likewise.
46120         (__x86_64_raw_shared_cache_size_half): Likewise.
46122         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46123         (__x86_64_raw_data_cache_size_half): Likewise.
46124         (__x86_64_raw_shared_cache_size): Likewise.
46125         (__x86_64_raw_shared_cache_size_half): Likewise.
46126         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46127         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46128         and __x86_64_raw_shared_cache_size_half.  Round
46129         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46130         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46131         to multiple of 256 bytes.
46133 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46135         [BZ #12167]
46136         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46137         of inacessible symlinks.  Verify result of symlink before returning it.
46138         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46139         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46141 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46143         * math/math.h (isinf): Fix typo in comment.
46145 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46147         * po/da.po: Update from translation team.
46149 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46151         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46152         is added to the list.
46154 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46155             Ulrich Drepper  <drepper@gmail.com>
46157         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46158         the global list here.  Move code to...
46159         (_dl_add_to_namespace_list): ...here.  New function.
46160         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46161         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46162         * elf/dl-load.c (lose): Don't remove the element from the list.
46163         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46164         (_dl_map_object): Likewise.
46166 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46168         [BZ #12159]
46169         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46170         into all bytes of SSE register.
46171         Patch by Richard Li <richardpku@gmail.com>.
46173 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46175         [BZ #12140]
46176         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46177         perturbing.
46179 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46181         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46182         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46183         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46184         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46186         submachine.
46187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46189 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46191         * include/dlfcn.h (__RTLD_SECURE): Define.
46192         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46193         mode & __RTLD_SECURE instead.
46194         (open_path): Rename preloaded parameter to secure.
46195         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46196         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46197         * elf/dl-deps.c (openaux): Likewise.
46198         * elf/rtld.c (struct map_args): Remove is_preloaded.
46199         (map_doit): Don't use it.
46200         (dl_main): Likewise.
46201         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46202         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46204 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46206         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46207         (sysd-rules-targets): Remove duplicates.
46208         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46209         rtld-%.$o dependency.
46211 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46213         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46214         _dl_map_object do it.
46216 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46218         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46219         fast fma builtins, define the macros in the C99 standard.
46220         (FP_FAST_FMAF): Likewise.
46221         (FP_FAST_FMAL): Likewise.
46222         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46224         * bits/mathdef.h: Update copyright year.
46225         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46227 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46229         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46230         builtins, define the macros in the C99 standard.
46231         (FP_FAST_FMAF): Likewise.
46232         (FP_FAST_FMAL): Likewise.
46233         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46234         multiply/add.
46235         (FP_FAST_FMAF): Likewise.
46237 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46239         [BZ #3268]
46240         * math/libm-test.inc (fma_test): Some new testcases.
46241         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46242         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46243         y and infinite z.  Do multiplication by C already in long double.
46244         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46246         y and infinite z.  Do bitwise or of inexact bit into u.d.
46247         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46248         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46249         * sysdeps/i386/fpu/s_fma.S: Removed.
46250         * sysdeps/i386/fpu/s_fmal.S: Removed.
46252 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46254         [BZ #3268]
46255         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46256         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46257         computation is not scheduled after fetestexcept.  Fix value
46258         of minimum denormal long double.
46260 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46262         [BZ #3268]
46263         * math/libm-test.inc (fma_test): Add some more tests.
46264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46265         correctly.
46267 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46269         * scripts/data/localplt-s390-linux-gnu.data: New file.
46270         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46272 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46274         [BZ #3268]
46275         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46276         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46277         instead of dbl-64.
46278         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46279         inlines.
46280         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46281         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46282         if one of x and y is very large and the other is subnormal.
46283         * sysdeps/s390/fpu/s_fmaf.c: New file.
46284         * sysdeps/s390/fpu/s_fma.c: New file.
46285         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46286         * sysdeps/powerpc/fpu/s_fma.S: New file.
46287         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46288         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46289         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46291 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46293         [BZ #3268]
46294         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46295         fma tests.
46296         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46297         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46298         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46299         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46300         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46301         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46302         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46304 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46306         [BZ #12078]
46307         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46308         * posix/bug-regex31.input: Add test case.
46310 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46312         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46313         * posix/bug-regex31.input: New file.
46315         [BZ #12078]
46316         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46317         (parse_sub_exp): Fix last change, use postorder.
46319         * posix/bug-regex31.c: New file.
46320         * posix/Makefile: Add rules to build and run bug-regex31.
46322         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46324         [BZ #12078]
46325         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46327         [BZ #12108]
46328         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46329         to have entries in sys_siglist.
46331         [BZ #12093]
46332         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46333         be NULL.
46335 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
46337         [BZ #3268]
46338         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46339         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46340         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46341         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46342         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46343         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46344         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46345         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46346         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46347         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46348         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46349         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46350         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46351         * math/ftestexcept.c (fetestexcept): Likewise.
46352         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46353         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46354         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46355         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46356         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46357         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46358         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46360 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46362         [BZ #12107]
46363         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46364         newline.
46366 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
46368         * string/bug-strstr1.c: New file.
46369         * string/Makefile: Add rules to build and run bug-strstr1.
46371 2010-10-05  Eric Blake  <eblake@redhat.com>
46373         [BZ #12092]
46374         * string/str-two-way.h (two_way_long_needle): Always clear memory
46375         when skipping input due to the shift table.
46377 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
46379         [BZ #12005]
46380         * malloc/mcheck.c: Handle large requests.
46382         [BZ #12077]
46383         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46384         for strncmp and strncasecmp.
46385         * string/stratcliff.c: Add tests for strcmp and strncmp.
46386         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46388 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46390         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46391         __set_fpscr.
46393 2010-09-30  Andreas Jaeger  <aj@suse.de>
46395         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46396         (CGROUP_SUPER_MAGIC): Define.
46397         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46398         Handle btrfs and cgroup file systems.
46399         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46400         Likewise.
46402 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
46404         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46405         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46407 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46409         [BZ #12067]
46410         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46411         trying to locate the ELF header.
46413 2010-09-27  Andreas Schwab  <schwab@redhat.com>
46415         [BZ #11611]
46416         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46417         Mask out sign-bit copies when constructing f_fsid.
46419 2010-09-24  Petr Baudis <pasky@suse.cz>
46421         * debug/stack_chk_fail_local.c: Add missing licence exception.
46422         * debug/warning-nop.c: Likewise.
46424 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
46426         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46427         implementing getdents64 using getdents syscall, set d_type if
46428         __ASSUME_GETDENTS32_D_TYPE.
46430 2010-09-16  Andreas Schwab  <schwab@redhat.com>
46432         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46433         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46435 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
46437         [BZ #12037]
46438         * posix/unistd.h: Undo change of feature selection for ftruncate from
46439         2010-01-11.
46441 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
46443         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46444         detection.
46446 2010-09-20  Andreas Schwab  <schwab@redhat.com>
46448         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46449         fanotify_mark.
46450         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46452 2010-09-14  Andreas Schwab  <schwab@redhat.com>
46454         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46455         variables after CHECK_SP call.
46456         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46458 2010-09-13  Andreas Schwab  <schwab@redhat.com>
46459             Ulrich Drepper  <drepper@redhat.com>
46461         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46462         re-relocationg ld.so.
46463         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46464         _dl_init_paths call.
46465         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
46466         here anymore.
46468 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
46470         * resolv/res_init.c (__res_vinit): Count the default server we added.
46472 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
46473             Ulrich Drepper  <drepper@redhat.com>
46475         [BZ #11968]
46476         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46477         (____longjmp_chk): Use %ebx for saving value across system call.
46478         Add unwind info.
46480 2010-09-06  Andreas Schwab  <schwab@redhat.com>
46482         * manual/Makefile: Don't mix pattern rules with normal rules.
46484 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46486         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46487         operation.
46488         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46489         * libio/iofopncook.c (_IO_cookie_init): Likewise.
46490         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46491         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46492         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46493         Likewise.
46495 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
46497         [BZ #11979]
46498         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46499         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46501 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
46503         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46504         * sysdeps/x86_64/addmul_1.S: Likewise.
46505         * sysdeps/x86_64/lshift.S: Likewise.
46506         * sysdeps/x86_64/mul_1.S: Likewise.
46507         * sysdeps/x86_64/rshift.S: Likewise.
46508         * sysdeps/x86_64/sub_n.S: Likewise.
46509         * sysdeps/x86_64/submul_1.S: Likewise.
46511 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46513         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46514         Define __sched_param instead of SCHED_* and sched_param when
46515         <bits/sched.h> is included with __need_schedparam defined.
46516         * bits/sched.h [__need_schedparam]
46517         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46518         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46519         (__defined_schedparam): Define to 1.
46520         (__sched_param): New structure, identical to sched_param.
46521         (__need_schedparam): Undefine.
46523 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
46525         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46526         (epoll_create1): Declare.
46528         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46530 2010-08-31  Andreas Schwab  <schwab@redhat.com>
46532         [BZ #7066]
46533         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46534         shifting retval into place.
46536 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
46538         * nis/rpcsvc/nis.h: Update copyright notice.
46539         * nis/rpcsvc/nis.x: Likewise.
46540         * nis/rpcsvc/nis_callback.h: Likewise.
46541         * nis/rpcsvc/nis_callback.x: Likewise.
46542         * nis/rpcsvc/nis_object.x: Likewise.
46543         * nis/rpcsvc/nis_tags.h: Likewise.
46544         * nis/rpcsvc/yp.h: Likewise.
46545         * nis/rpcsvc/yp.x: Likewise.
46546         * nis/rpcsvc/ypupd.h: Likewise.
46547         * nis/yp_xdr.c: Likewise.
46548         * nis/ypupdate_xdr.c: Likewise.
46550         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
46551         mainly the body of pmap_getport.  Add parameters to specify timeouts.
46552         (pmap_getport): Use __libc_rpc_getport.
46553         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46554         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46555         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46557 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
46559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46560         fanotify_mark.
46562 2010-08-27  Roland McGrath  <roland@redhat.com>
46564         * sysdeps/i386/i686/multiarch/Makefile
46565         (CFLAGS-varshift.c): New variable.
46567 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
46569         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46570         * sysdeps/i386/i686/multiarch/varshift.c: New file.
46572         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46574         * sysdeps/x86_64/strlen.S: Minimal code improvement.
46576 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
46578         * sysdeps/x86_64/strlen.S: Unroll the loop.
46579         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46580         strlen-sse2 strlen-sse2-bsf.
46581         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46582         __strlen_no_bsf if bit_Slow_BSF is set.
46583         (__strlen_sse42): Removed.
46584         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46585         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46587 2010-08-25  Roland McGrath  <roland@redhat.com>
46589         * sysdeps/x86_64/multiarch/varshift.S: File removed.
46590         * sysdeps/x86_64/multiarch/varshift.c: New file.
46591         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46592         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46593         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46594         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46596 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
46598         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46599         strlen-sse2 strlen-sse2-bsf.
46600         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46601         __strlen_sse2_bsf if bit_Slow_BSF is unset.
46602         (__strlen_sse2): Removed.
46603         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46604         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46606         bit_Slow_BSF for Atom.
46607         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46608         (index_Slow_BSF): Define.
46609         (HAS_SLOW_BSF): Define.
46611 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
46613         [BZ #10851]
46614         * resolv/res_init.c (__res_vinit): When no server address at all
46615         is given default to loopback.
46617 2010-08-24  Roland McGrath  <roland@redhat.com>
46619         * configure.in: Remove config-name.h generation.
46620         * configure: Regenerated.
46621         * config-name.in: File removed.
46622         * scripts/config-uname.sh: New file.
46623         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46624         ($(objdir)config-name.h): New target.
46626         * sunrpc/rpc_parse.h: Avoid nested comment.
46628 2010-08-24  Richard Henderson  <rth@redhat.com>
46629             Ulrich Drepper  <drepper@redhat.com>
46630             H.J. Lu  <hongjiu.lu@intel.com>
46632         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46634         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46635         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
46636         _mm_alignr_epi8 with _mm_loadu_si128.
46637         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46638         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46639         (__m128i_shift_right): Removed.
46640         * sysdeps/i386/i686/multiarch/varshift.h: New file.
46641         * sysdeps/i386/i686/multiarch/varshift.S: New file.
46642         * sysdeps/x86_64/multiarch/varshift.h: New file.
46643         * sysdeps/x86_64/multiarch/varshift.S: New file.
46645 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
46647         * configure.in: Move assembler checks to before sysdep dir checking.
46649 2010-08-20  Petr Baudis  <pasky@suse.cz>
46651         * LICENSES: Sync the sunrpc license.
46653 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
46655         * sunrpc/auth_des.c: Update copyright notice once again.
46656         * sunrpc/auth_none.c: Likewise.
46657         * sunrpc/auth_unix.c: Likewise.
46658         * sunrpc/authdes_prot.c: Likewise.
46659         * sunrpc/authuxprot.c: Likewise.
46660         * sunrpc/bindrsvprt.c: Likewise.
46661         * sunrpc/clnt_gen.c: Likewise.
46662         * sunrpc/clnt_perr.c: Likewise.
46663         * sunrpc/clnt_raw.c: Likewise.
46664         * sunrpc/clnt_simp.c: Likewise.
46665         * sunrpc/clnt_tcp.c: Likewise.
46666         * sunrpc/clnt_udp.c: Likewise.
46667         * sunrpc/clnt_unix.c: Likewise.
46668         * sunrpc/des_crypt.c: Likewise.
46669         * sunrpc/des_soft.c: Likewise.
46670         * sunrpc/get_myaddr.c: Likewise.
46671         * sunrpc/getrpcport.c: Likewise.
46672         * sunrpc/key_call.c: Likewise.
46673         * sunrpc/key_prot.c: Likewise.
46674         * sunrpc/openchild.c: Likewise.
46675         * sunrpc/pm_getmaps.c: Likewise.
46676         * sunrpc/pm_getport.c: Likewise.
46677         * sunrpc/pmap_clnt.c: Likewise.
46678         * sunrpc/pmap_prot.c: Likewise.
46679         * sunrpc/pmap_prot2.c: Likewise.
46680         * sunrpc/pmap_rmt.c: Likewise.
46681         * sunrpc/rpc/auth.h: Likewise.
46682         * sunrpc/rpc/auth_unix.h: Likewise.
46683         * sunrpc/rpc/clnt.h: Likewise.
46684         * sunrpc/rpc/des_crypt.h: Likewise.
46685         * sunrpc/rpc/key_prot.h: Likewise.
46686         * sunrpc/rpc/netdb.h: Likewise.
46687         * sunrpc/rpc/pmap_clnt.h: Likewise.
46688         * sunrpc/rpc/pmap_prot.h: Likewise.
46689         * sunrpc/rpc/pmap_rmt.h: Likewise.
46690         * sunrpc/rpc/rpc.h: Likewise.
46691         * sunrpc/rpc/rpc_des.h: Likewise.
46692         * sunrpc/rpc/rpc_msg.h: Likewise.
46693         * sunrpc/rpc/svc.h: Likewise.
46694         * sunrpc/rpc/svc_auth.h: Likewise.
46695         * sunrpc/rpc/types.h: Likewise.
46696         * sunrpc/rpc/xdr.h: Likewise.
46697         * sunrpc/rpc_clntout.c: Likewise.
46698         * sunrpc/rpc_cmsg.c: Likewise.
46699         * sunrpc/rpc_common.c: Likewise.
46700         * sunrpc/rpc_cout.c: Likewise.
46701         * sunrpc/rpc_dtable.c: Likewise.
46702         * sunrpc/rpc_hout.c: Likewise.
46703         * sunrpc/rpc_main.c: Likewise.
46704         * sunrpc/rpc_parse.c: Likewise.
46705         * sunrpc/rpc_parse.h: Likewise.
46706         * sunrpc/rpc_prot.c: Likewise.
46707         * sunrpc/rpc_sample.c: Likewise.
46708         * sunrpc/rpc_scan.c: Likewise.
46709         * sunrpc/rpc_scan.h: Likewise.
46710         * sunrpc/rpc_svcout.c: Likewise.
46711         * sunrpc/rpc_tblout.c: Likewise.
46712         * sunrpc/rpc_util.c: Likewise.
46713         * sunrpc/rpc_util.h: Likewise.
46714         * sunrpc/rpcinfo.c: Likewise.
46715         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46716         * sunrpc/rpcsvc/key_prot.x: Likewise.
46717         * sunrpc/rpcsvc/klm_prot.x: Likewise.
46718         * sunrpc/rpcsvc/mount.x: Likewise.
46719         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46720         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46721         * sunrpc/rpcsvc/rex.x: Likewise.
46722         * sunrpc/rpcsvc/rstat.x: Likewise.
46723         * sunrpc/rpcsvc/rusers.x: Likewise.
46724         * sunrpc/rpcsvc/sm_inter.x: Likewise.
46725         * sunrpc/rpcsvc/spray.x: Likewise.
46726         * sunrpc/rpcsvc/yppasswd.x: Likewise.
46727         * sunrpc/rtime.c: Likewise.
46728         * sunrpc/svc.c: Likewise.
46729         * sunrpc/svc_auth.c: Likewise.
46730         * sunrpc/svc_authux.c: Likewise.
46731         * sunrpc/svc_raw.c: Likewise.
46732         * sunrpc/svc_run.c: Likewise.
46733         * sunrpc/svc_simple.c: Likewise.
46734         * sunrpc/svc_tcp.c: Likewise.
46735         * sunrpc/svc_udp.c: Likewise.
46736         * sunrpc/svc_unix.c: Likewise.
46737         * sunrpc/svcauth_des.c: Likewise.
46738         * sunrpc/xcrypt.c: Likewise.
46739         * sunrpc/xdr.c: Likewise.
46740         * sunrpc/xdr_array.c: Likewise.
46741         * sunrpc/xdr_float.c: Likewise.
46742         * sunrpc/xdr_mem.c: Likewise.
46743         * sunrpc/xdr_rec.c: Likewise.
46744         * sunrpc/xdr_ref.c: Likewise.
46745         * sunrpc/xdr_sizeof.c: Likewise.
46746         * sunrpc/xdr_stdio.c: Likewise.
46748         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46749         handling.
46751 2010-08-19  Andreas Schwab  <schwab@redhat.com>
46753         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46755 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
46757         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46758         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46759         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46760         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46761         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46762         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46763         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46764         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46765         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46766         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46767         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46768         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46769         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46770         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46772 2010-07-26  Anton Blanchard  <anton@samba.org>
46774         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46775         * malloc/arena.c (heap_trim): Likewise.
46777 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
46779         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46780         here.  Not...
46781         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46782         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46784 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46786         * sysdeps/i386/elf/Makefile: New file.
46788 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46790         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46791         from fanotify_init.
46792         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46793         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46795 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
46797         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46798         of strncasecmp_l.
46799         * sysdeps/multiarch/strcmp.S: Likewise.
46801 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
46803         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46804         strncase_l-nonascii.
46805         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46806         Add strncase_l-ssse3.
46807         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46808         * sysdeps/x86_64/strcmp.S: Likewise.
46809         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46810         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46811         * sysdeps/x86_64/strncase.S: New file.
46812         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46813         * sysdeps/x86_64/strncase_l.S: New file.
46814         * string/Makefile (strop-tests): Add strncasecmp.
46815         * string/test-strncasecmp.c: New file.
46817         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46818         warning.
46820         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46821         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46823 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46825         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46827 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
46829         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46830         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46831         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46833 2010-05-01  Alan Modra  <amodra@gmail.com>
46835         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46836         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46837         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46838         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46839         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46840         tidying.  Don't tail-call __sigjmp_save for static lib.
46841         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46842         save location.
46843         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46844         (CALL_MCOUNT): Add eh info, and nop after bl.
46845         (TAIL_CALL_SYSCALL_ERROR): New macro.
46846         (PSEUDO_RET): Use it.
46847         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46848         Correct save location of integer regs and cr.
46849         (_dl_profile_resolve): Correct cr save location.  Delete nops
46850         after bl when SHARED.  Reduce cfi size a little by better
46851         placement of cfi directives.
46852         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46853         make a stack frame.  Instead use parm save area as a temp.
46854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46855         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
46856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46857         Don't make a stack frame for parent, use parm save area.
46858         Increase child stack frame to 112 bytes.  Don't save unused reg,
46859         and adjust reg usage.  Set up cfi on error recovery and
46860         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46862         (__makecontext): Add dummy nop after jump to exit.
46863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46864         Use correct parm save area and cr save, reduce stack frame.
46865         Correct cfi for possible PSEUDO_RET frame setup.
46866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46867         Branch to local label emitted by PSEUDO_RET rather than
46868         __syscall_error.
46870 2010-08-12  Andreas Schwab  <schwab@redhat.com>
46872         [BZ #11904]
46873         * locale/programs/locale.c (print_assignment): New function.
46874         (show_locale_vars): Use it.
46876 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
46878         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46879         field.
46880         (struct statfs64): Likewise.
46881         (_STATFS_F_FLAGS): Define.
46882         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46883         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46884         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46885         (ST_VALID): Define locally.
46886         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46887         __statvfs_getflags, use the provided value.
46888         * sysdeps/unix/sysv/linux/kernel-features.h: Define
46889         __ASSUME_STATFS_F_FLAGS.
46891         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46893         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46894         Add sys/fanotify.h.
46895         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46896         fanotify_mask for GLIBC_2.13.
46897         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46898         fanotify_init and fanotify_mark.
46899         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46900         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46902         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46903         Add prlimit.
46904         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46905         prlimit64 for GLIBC_2.13.
46906         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46907         prlimit64.
46908         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46909         syscall.
46910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46911         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46912         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46913         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46914         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
46915         add prlimit alias.
46916         * sysdeps/unix/sysv/linux/prlimit.c: New file.
46918         [BZ #11903]
46919         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46920         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46922         * nss/Makefile: Add rules to build and run tst-nss-test1.
46923         * shlib-versions: Add entry for libnss_test1.
46924         * nss/nss_test1.c: New file.
46925         * nss/tst-nss-test1.c: New file.
46927         * nss/nsswitch.c (__nss_database_custom): Define new variable.
46928         (__nss_configure_lookup): Set appropriate entry in
46929         __nss_configure_lookup to true.
46930         * nss/nsswitch.h: Define enum with indeces of databases in
46931         databases and __nss_database_custom arrays.  Declare
46932         __nss_database_custom.
46933         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46934         to avoid using nscd when custom rules are installed.
46935         * nss/getXXbyYY_r.c: Likewise.
46936         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46938         * nss/nss_files/files-parse.c: Whitespace fixes.
46940 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
46942         [BZ #11883]
46943         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46944         * posix/fnmatch_loop.c: Likewise.
46946 2010-07-17  Andi Kleen  <ak@linux.intel.com>
46948         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46949         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46950         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46951         * Versions.def [GLIBC_2.13]: Add.
46953 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
46955         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46956         Also fail if tpwd after pwuid call is NULL.
46958 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46960         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46961         when converting to ms.
46963 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46965         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46966         EOPNOTSUPP errors with ENOTTY.
46967         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46968         EOPNOTSUPP errors with ENOTTY.
46970 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
46972         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46973         Add strcasecmp_l-ssse3.
46974         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46975         strcasecmp.
46976         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46977         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46978         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46980 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
46982         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46984         * string/Makefile (strop-tests): Add strcasecmp.
46985         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46986         strcasecmp_l-nonascii.
46987         (gen-as-const-headers): Add locale-defines.sym.
46988         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46989         * sysdeps/x86_64/strcasecmp.S: New file.
46990         * sysdeps/x86_64/strcasecmp_l.S: New file.
46991         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46992         * sysdeps/x86_64/locale-defines.sym: New file.
46993         * string/test-strcasecmp.c: New file.
46995         * string/test-strcasestr.c: Test both ends of the range of characters.
46996         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46998 2010-07-29  Roland McGrath  <roland@redhat.com>
47000         [BZ #11856]
47001         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47003 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47005         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47006         for ld.so.
47008 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47010         * manual/memory.texi (Malloc Tunable Parameters): Document
47011         M_PERTURB.
47013 2010-07-26  Roland McGrath  <roland@redhat.com>
47015         [BZ #11840]
47016         * configure.in (-fgnu89-inline check): Set and substitute
47017         gnu89_inline, not libc_cv_gnu89_inline.
47018         * configure: Regenerated.
47019         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47021 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47023         * string/test-strnlen.c: New file.
47024         * string/Makefile (strop-tests): Add strnlen.
47025         * string/tester.c (test_strnlen): Add a few more test cases.
47026         * string/tst-strlen.c: Better error reporting.
47028         * sysdeps/x86_64/strnlen.S: New file.
47030 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47032         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47033         lower-latency instructions.
47035 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47037         * string/test-strcasestr.c: New file.
47038         * string/test-strstr.c: New file.
47039         * string/Makefile (strop-tests): Add strstr and strcasestr.
47040         * string/str-two-way.h: Don't undefine MAX.
47041         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47043 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47045         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47046         strcasestr-nonascii.
47047         (CFLAGS-strcasestr-nonascii.c): Define.
47048         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47049         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47050         Remove unused attribute.
47052 2010-07-20  Roland McGrath  <roland@redhat.com>
47054         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47055         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47056         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47057         like LD_HWCAP_MASK can disable hwcaps.
47059 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47061         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47063 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47065         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47066         call in strcasestr.
47067         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47068         __strcasestr_sse42_nonascii.
47069         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47070         strcasestr-nonascii.c.
47071         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47073 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47075         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47076         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47077         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47078         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47080 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47082         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47083         fcntl.
47085 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47087         [BZ #11577]
47088         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47089         dl_signal_cerror.
47091 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47093         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47094         _PC_PIPE_BUF using F_GETPIPE_SZ.
47096 2010-07-05  Roland McGrath  <roland@redhat.com>
47098         * manual/arith.texi (Rounding Functions): Fix rint description
47099         implicit in round description.
47101 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47103         * elf/Makefile: Fix linking for a few tests to make recent linker
47104         happy.
47106 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47108         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47109         $(common-objpfx)libc_nonshared.a.
47111 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47113         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47114         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47115         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47116         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47117         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47118         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47119         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47120         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47135         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47136         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47137         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47138         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47139         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47140         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47141         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47142         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47143         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47144         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47145         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47146         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47162 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47164         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47165         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47166         * string/memmove.c (memmove): Renamed to ...
47167         (MEMMOVE): ...this.  Default to memmove.
47168         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47169         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47170         (END_CHK): Define.
47171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47172         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47173         mempcpy-ssse3-back memmove-ssse3-back.
47174         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47175         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47176         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47177         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47178         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47179         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47180         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47181         * sysdeps/x86_64/multiarch/memmove.c: New file.
47182         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47183         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47184         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47185         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47186         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47187         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47188         Define.
47189         (index_Fast_Copy_Backward): Define.
47190         (HAS_ARCH_FEATURE): Define.
47191         (HAS_FAST_REP_STRING): Define.
47192         (HAS_FAST_COPY_BACKWARD): Define.
47194 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47196         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47197         Restore proper fallback handling.
47199 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47201         [BZ #11701]
47202         * posix/group_member.c (__group_member): Correct checking loop.
47204         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47205         OOM in getpwuid_r correctly.  Return error number when the caller
47206         should return, otherwise -1.
47207         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47208         call returning > 0 value.
47209         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47211 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47213         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47214         libc_nonshared.a from targets in modules-names.
47216 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47218         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47219         requires it.
47221 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47223         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47224         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47225         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47226         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47228 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47230         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47232 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47234         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47235         and F_GETPIPE_SZ.
47236         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47237         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47238         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47239         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47240         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47241         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47243 2010-06-14  Roland McGrath  <roland@redhat.com>
47245         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47247 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47249         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47250         __REDIRECT followed by __THROW.
47251         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47252         * posix/getopt.h (getopt): Likewise.
47254 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47256         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47257         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47258         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47259         in AT_FLAGS.
47260         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47261         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47263 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47265         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47267 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47269         [BZ #11640]
47270         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47271         Properly check family and model.
47273 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47275         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47277 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47279         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47281 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47283         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47284         symbol reference.
47286 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47288         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47289         symbol reference.
47291 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47293         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47294         and internal_recvmmsg.
47295         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47296         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47297         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47298         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47300         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47301         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47302         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47304 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47306         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47308 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47310         POWER7 optimizations.
47311         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47312         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47314 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47316         * version.h: Update for 2.13 development version.
47318 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47320         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47321         exceptions.  Return 0.
47323 2010-05-07  Roland McGrath  <roland@redhat.com>
47325         * elf/ldconfig.c (main): Add a const.
47327 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47329         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47330         (args_options): Add no-idn option.
47331         (ahosts_keys_int): Add idn_flags to ai_flags.
47332         (parse_option): Handle 'i' option to clear idn_flags.
47334         * malloc/malloc.c (_int_free): Possible race in the most recently
47335         added check.  Only act on the data if no current modification
47336         happened.
47338 See ChangeLog.17 for earlier changes.